summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package-lock.json31
-rw-r--r--package.json1
-rw-r--r--src/streaming.ts5
3 files changed, 4 insertions, 33 deletions
diff --git a/package-lock.json b/package-lock.json
index 9b956955be..f9363223e1 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,14 +1,13 @@
{
"name": "misskey-js",
- "version": "0.0.4",
+ "version": "0.0.5",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "misskey-js",
- "version": "0.0.4",
+ "version": "0.0.5",
"dependencies": {
- "@vue/reactivity": "^3.1.2",
"autobind-decorator": "^2.4.0",
"eventemitter3": "^4.0.7",
"reconnecting-websocket": "^4.4.0"
@@ -1302,19 +1301,6 @@
"integrity": "sha512-37RSHht+gzzgYeobbG+KWryeAW8J33Nhr69cjTqSYymXVZEN9NbRYWoYlRtDhHKPVT1FyNKwaTPC1NynKZpzRA==",
"dev": true
},
- "node_modules/@vue/reactivity": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.1.2.tgz",
- "integrity": "sha512-glJzJoN2xE7I2lRvwKM5u1BHRPTd1yc8iaf//Lai/78/uYAvE5DXp5HzWRFOwMlbRvMGJHIQjOqoxj87cDAaag==",
- "dependencies": {
- "@vue/shared": "3.1.2"
- }
- },
- "node_modules/@vue/shared": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.1.2.tgz",
- "integrity": "sha512-EmH/poaDWBPJaPILXNI/1fvUbArJQmmTyVCwvvyDYDFnkPoTclAbHRAtyIvqfez7jybTDn077HTNILpxlsoWhg=="
- },
"node_modules/abab": {
"version": "2.0.5",
"resolved": "https://registry.npmjs.org/abab/-/abab-2.0.5.tgz",
@@ -7268,19 +7254,6 @@
"integrity": "sha512-37RSHht+gzzgYeobbG+KWryeAW8J33Nhr69cjTqSYymXVZEN9NbRYWoYlRtDhHKPVT1FyNKwaTPC1NynKZpzRA==",
"dev": true
},
- "@vue/reactivity": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.1.2.tgz",
- "integrity": "sha512-glJzJoN2xE7I2lRvwKM5u1BHRPTd1yc8iaf//Lai/78/uYAvE5DXp5HzWRFOwMlbRvMGJHIQjOqoxj87cDAaag==",
- "requires": {
- "@vue/shared": "3.1.2"
- }
- },
- "@vue/shared": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.1.2.tgz",
- "integrity": "sha512-EmH/poaDWBPJaPILXNI/1fvUbArJQmmTyVCwvvyDYDFnkPoTclAbHRAtyIvqfez7jybTDn077HTNILpxlsoWhg=="
- },
"abab": {
"version": "2.0.5",
"resolved": "https://registry.npmjs.org/abab/-/abab-2.0.5.tgz",
diff --git a/package.json b/package.json
index 19e4c84dd9..eafdc9cfa1 100644
--- a/package.json
+++ b/package.json
@@ -31,7 +31,6 @@
"built"
],
"dependencies": {
- "@vue/reactivity": "^3.1.2",
"autobind-decorator": "^2.4.0",
"eventemitter3": "^4.0.7",
"reconnecting-websocket": "^4.4.0"
diff --git a/src/streaming.ts b/src/streaming.ts
index 26137d1885..d8feb700bd 100644
--- a/src/streaming.ts
+++ b/src/streaming.ts
@@ -2,7 +2,6 @@ import autobind from 'autobind-decorator';
import { EventEmitter } from 'eventemitter3';
import ReconnectingWebsocket from 'reconnecting-websocket';
import { stringify } from 'querystring';
-import { markRaw } from '@vue/reactivity';
import { BroadcasrEvents, Channels } from './streaming.types';
function urlQuery(obj: {}): string {
@@ -72,7 +71,7 @@ export default class Stream extends EventEmitter<StreamEvents> {
this.sharedConnectionPools.push(pool);
}
- const connection = markRaw(new SharedConnection(this, channel, pool, name));
+ const connection = new SharedConnection(this, channel, pool, name);
this.sharedConnections.push(connection);
return connection;
}
@@ -89,7 +88,7 @@ export default class Stream extends EventEmitter<StreamEvents> {
@autobind
private connectToChannel<C extends keyof Channels>(channel: C, params: Channels[C]['params']): NonSharedConnection<Channels[C]> {
- const connection = markRaw(new NonSharedConnection(this, channel, this.genId(), params));
+ const connection = new NonSharedConnection(this, channel, this.genId(), params);
this.nonSharedConnections.push(connection);
return connection;
}