@pluv/react 3.1.3 → 3.1.5

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/react@3.1.3 build /home/runner/work/pluv/pluv/packages/react
2
+ > @pluv/react@3.1.5 build /home/runner/work/pluv/pluv/packages/react
3
3
  > tsup src/index.ts --format esm,cjs --dts --external react
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
- CJS dist/index.js 19.65 KB
12
- CJS ⚡️ Build success in 149ms
13
- ESM dist/index.mjs 17.26 KB
14
- ESM ⚡️ Build success in 150ms
11
+ CJS dist/index.js 19.63 KB
12
+ CJS ⚡️ Build success in 107ms
13
+ ESM dist/index.mjs 17.24 KB
14
+ ESM ⚡️ Build success in 107ms
15
15
  DTS Build start
16
- DTS ⚡️ Build success in 6191ms
16
+ DTS ⚡️ Build success in 6174ms
17
17
  DTS dist/index.d.mts 6.00 KB
18
18
  DTS dist/index.d.ts 6.00 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @pluv/react
2
2
 
3
+ ## 3.1.5
4
+
5
+ ### Patch Changes
6
+
7
+ - @pluv/client@3.1.5
8
+ - @pluv/crdt@3.1.5
9
+ - @pluv/types@3.1.5
10
+
11
+ ## 3.1.4
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies [e443b66]
16
+ - @pluv/client@3.1.4
17
+ - @pluv/crdt@3.1.4
18
+ - @pluv/types@3.1.4
19
+
3
20
  ## 3.1.3
4
21
 
5
22
  ### Patch Changes
package/dist/index.js CHANGED
@@ -267,7 +267,7 @@ var createBundle = (client, options = {}) => {
267
267
  addons: options.addons,
268
268
  debug,
269
269
  initialPresence,
270
- initialStorage: typeof initialStorage === "function" ? (_a = client._defs.initialStorage) == null ? void 0 : _a.getFactory(initialStorage) : client._defs.initialStorage,
270
+ initialStorage: typeof initialStorage === "function" ? (_a = client._defs.initialStorage) == null ? void 0 : _a.getFactory(initialStorage) : void 0,
271
271
  metadata,
272
272
  onAuthorizationFail,
273
273
  router: options.router
package/dist/index.mjs CHANGED
@@ -243,7 +243,7 @@ var createBundle = (client, options = {}) => {
243
243
  addons: options.addons,
244
244
  debug,
245
245
  initialPresence,
246
- initialStorage: typeof initialStorage === "function" ? (_a = client._defs.initialStorage) == null ? void 0 : _a.getFactory(initialStorage) : client._defs.initialStorage,
246
+ initialStorage: typeof initialStorage === "function" ? (_a = client._defs.initialStorage) == null ? void 0 : _a.getFactory(initialStorage) : void 0,
247
247
  metadata,
248
248
  onAuthorizationFail,
249
249
  router: options.router
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pluv/react",
3
- "version": "3.1.3",
3
+ "version": "3.1.5",
4
4
  "description": "@pluv/client React.js bindings",
5
5
  "author": "leedavidcs",
6
6
  "license": "MIT",
@@ -18,9 +18,9 @@
18
18
  },
19
19
  "dependencies": {
20
20
  "fast-deep-equal": "^3.1.3",
21
- "@pluv/client": "^3.1.3",
22
- "@pluv/crdt": "^3.1.3",
23
- "@pluv/types": "^3.1.3"
21
+ "@pluv/client": "^3.1.5",
22
+ "@pluv/crdt": "^3.1.5",
23
+ "@pluv/types": "^3.1.5"
24
24
  },
25
25
  "peerDependencies": {
26
26
  "@types/react": "^18.0.0 || ^19.0.0",
@@ -32,8 +32,8 @@
32
32
  "react": "^19.1.0",
33
33
  "tsup": "^8.5.0",
34
34
  "typescript": "^5.8.3",
35
- "@pluv/tsconfig": "^3.1.3",
36
- "eslint-config-pluv": "^3.1.3"
35
+ "@pluv/tsconfig": "^3.1.5",
36
+ "eslint-config-pluv": "^3.1.5"
37
37
  },
38
38
  "scripts": {
39
39
  "build": "tsup src/index.ts --format esm,cjs --dts --external react",
@@ -162,7 +162,7 @@ export const createBundle = <
162
162
  initialStorage:
163
163
  typeof initialStorage === "function"
164
164
  ? client._defs.initialStorage?.getFactory(initialStorage)
165
- : client._defs.initialStorage,
165
+ : undefined,
166
166
  metadata,
167
167
  onAuthorizationFail,
168
168
  router: options.router,