@pluv/client 0.21.1 → 0.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +6 -6
- package/CHANGELOG.md +14 -0
- package/dist/index.js +2 -7
- package/dist/index.mjs +2 -7
- package/package.json +5 -5
- package/src/PluvRoom.ts +2 -8
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @pluv/client@0.
|
|
2
|
+
> @pluv/client@0.23.0 build /home/runner/work/pluv/pluv/packages/client
|
|
3
3
|
> tsup src/index.ts --format esm,cjs --dts
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
[34mCLI[39m Target: es6
|
|
9
9
|
[34mESM[39m Build start
|
|
10
10
|
[34mCJS[39m Build start
|
|
11
|
-
[32mESM[39m [1mdist/index.mjs [22m[32m41.
|
|
12
|
-
[32mESM[39m ⚡️ Build success in
|
|
13
|
-
[32mCJS[39m [1mdist/index.js [22m[32m43.
|
|
14
|
-
[32mCJS[39m ⚡️ Build success in
|
|
11
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m41.86 KB[39m
|
|
12
|
+
[32mESM[39m ⚡️ Build success in 124ms
|
|
13
|
+
[32mCJS[39m [1mdist/index.js [22m[32m43.13 KB[39m
|
|
14
|
+
[32mCJS[39m ⚡️ Build success in 140ms
|
|
15
15
|
[34mDTS[39m Build start
|
|
16
|
-
[32mDTS[39m ⚡️ Build success in
|
|
16
|
+
[32mDTS[39m ⚡️ Build success in 3033ms
|
|
17
17
|
[32mDTS[39m [1mdist/index.d.mts [22m[32m14.60 KB[39m
|
|
18
18
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m14.60 KB[39m
|
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -681,13 +681,8 @@ var PluvRoom = class extends AbstractRoom {
|
|
|
681
681
|
onAuthorizationFail == null ? void 0 : onAuthorizationFail(error);
|
|
682
682
|
}
|
|
683
683
|
};
|
|
684
|
-
this._usersManager = new UsersManager({
|
|
685
|
-
|
|
686
|
-
presence
|
|
687
|
-
});
|
|
688
|
-
this._crdtManager = new CrdtManager({
|
|
689
|
-
initialStorage
|
|
690
|
-
});
|
|
684
|
+
this._usersManager = new UsersManager({ initialPresence, presence });
|
|
685
|
+
this._crdtManager = new CrdtManager({ initialStorage });
|
|
691
686
|
}
|
|
692
687
|
get storageLoaded() {
|
|
693
688
|
return this._crdtManager.initialized;
|
package/dist/index.mjs
CHANGED
|
@@ -652,13 +652,8 @@ var PluvRoom = class extends AbstractRoom {
|
|
|
652
652
|
onAuthorizationFail == null ? void 0 : onAuthorizationFail(error);
|
|
653
653
|
}
|
|
654
654
|
};
|
|
655
|
-
this._usersManager = new UsersManager({
|
|
656
|
-
|
|
657
|
-
presence
|
|
658
|
-
});
|
|
659
|
-
this._crdtManager = new CrdtManager({
|
|
660
|
-
initialStorage
|
|
661
|
-
});
|
|
655
|
+
this._usersManager = new UsersManager({ initialPresence, presence });
|
|
656
|
+
this._crdtManager = new CrdtManager({ initialStorage });
|
|
662
657
|
}
|
|
663
658
|
get storageLoaded() {
|
|
664
659
|
return this._crdtManager.initialized;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pluv/client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.23.0",
|
|
4
4
|
"description": "@pluv/io frontend client",
|
|
5
5
|
"author": "leedavidcs",
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,15 +18,15 @@
|
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"wonka": "^6.3.4",
|
|
21
|
-
"@pluv/crdt": "^0.
|
|
22
|
-
"@pluv/types": "^0.
|
|
21
|
+
"@pluv/crdt": "^0.23.0",
|
|
22
|
+
"@pluv/types": "^0.23.0"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"eslint": "^8.57.0",
|
|
26
26
|
"tsup": "^8.2.4",
|
|
27
27
|
"typescript": "^5.5.4",
|
|
28
|
-
"@pluv/tsconfig": "^0.
|
|
29
|
-
"eslint-config-pluv": "^0.
|
|
28
|
+
"@pluv/tsconfig": "^0.23.0",
|
|
29
|
+
"eslint-config-pluv": "^0.23.0"
|
|
30
30
|
},
|
|
31
31
|
"scripts": {
|
|
32
32
|
"build": "tsup src/index.ts --format esm,cjs --dts",
|
package/src/PluvRoom.ts
CHANGED
|
@@ -215,14 +215,8 @@ export class PluvRoom<
|
|
|
215
215
|
},
|
|
216
216
|
};
|
|
217
217
|
|
|
218
|
-
this._usersManager = new UsersManager<TIO, TPresence>({
|
|
219
|
-
|
|
220
|
-
presence,
|
|
221
|
-
});
|
|
222
|
-
|
|
223
|
-
this._crdtManager = new CrdtManager<TStorage>({
|
|
224
|
-
initialStorage,
|
|
225
|
-
});
|
|
218
|
+
this._usersManager = new UsersManager<TIO, TPresence>({ initialPresence, presence });
|
|
219
|
+
this._crdtManager = new CrdtManager<TStorage>({ initialStorage });
|
|
226
220
|
}
|
|
227
221
|
|
|
228
222
|
public get storageLoaded(): boolean {
|