@pluv/client 0.21.1 → 0.22.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @pluv/client@0.21.1 build /home/runner/work/pluv/pluv/packages/client
2
+ > @pluv/client@0.22.0 build /home/runner/work/pluv/pluv/packages/client
3
3
  > tsup src/index.ts --format esm,cjs --dts
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -8,11 +8,11 @@
8
8
  CLI Target: es6
9
9
  ESM Build start
10
10
  CJS Build start
11
- ESM dist/index.mjs 41.89 KB
12
- ESM ⚡️ Build success in 92ms
13
- CJS dist/index.js 43.15 KB
14
- CJS ⚡️ Build success in 93ms
11
+ CJS dist/index.js 43.13 KB
12
+ CJS ⚡️ Build success in 128ms
13
+ ESM dist/index.mjs 41.86 KB
14
+ ESM ⚡️ Build success in 129ms
15
15
  DTS Build start
16
- DTS ⚡️ Build success in 2873ms
16
+ DTS ⚡️ Build success in 3161ms
17
17
  DTS dist/index.d.mts 14.60 KB
18
18
  DTS dist/index.d.ts 14.60 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @pluv/client
2
2
 
3
+ ## 0.22.0
4
+
5
+ ### Patch Changes
6
+
7
+ - @pluv/crdt@0.22.0
8
+ - @pluv/types@0.22.0
9
+
3
10
  ## 0.21.1
4
11
 
5
12
  ### Patch Changes
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
- initialPresence,
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
- initialPresence,
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.21.1",
3
+ "version": "0.22.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.21.1",
22
- "@pluv/types": "^0.21.1"
21
+ "@pluv/crdt": "^0.22.0",
22
+ "@pluv/types": "^0.22.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.21.1",
29
- "eslint-config-pluv": "^0.21.1"
28
+ "@pluv/tsconfig": "^0.22.0",
29
+ "eslint-config-pluv": "^0.22.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
- initialPresence,
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 {