@pluv/io 0.43.0 → 0.44.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,9 +1,9 @@
1
1
 
2
- > @pluv/io@0.43.0 build /home/runner/work/pluv/pluv/packages/io
2
+ > @pluv/io@0.44.0 build /home/runner/work/pluv/pluv/packages/io
3
3
  > pnpm run version && tsup src/index.ts --format esm,cjs --dts
4
4
 
5
5
 
6
- > @pluv/io@0.43.0 version /home/runner/work/pluv/pluv/packages/io
6
+ > @pluv/io@0.44.0 version /home/runner/work/pluv/pluv/packages/io
7
7
  > genversion ./src/version.generated.ts --esm
8
8
 
9
9
  CLI Building entry: src/index.ts
@@ -12,11 +12,11 @@
12
12
  CLI Target: es6
13
13
  ESM Build start
14
14
  CJS Build start
15
- ESM dist/index.mjs 50.72 KB
16
- ESM ⚡️ Build success in 150ms
17
15
  CJS dist/index.js 52.90 KB
18
- CJS ⚡️ Build success in 151ms
16
+ CJS ⚡️ Build success in 142ms
17
+ ESM dist/index.mjs 50.73 KB
18
+ ESM ⚡️ Build success in 143ms
19
19
  DTS Build start
20
- DTS ⚡️ Build success in 2855ms
20
+ DTS ⚡️ Build success in 3191ms
21
21
  DTS dist/index.d.mts 32.19 KB
22
22
  DTS dist/index.d.ts 32.19 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @pluv/io
2
2
 
3
+ ## 0.44.0
4
+
5
+ ### Patch Changes
6
+
7
+ - @pluv/crdt@0.44.0
8
+ - @pluv/types@0.44.0
9
+
3
10
  ## 0.43.0
4
11
 
5
12
  ### Minor Changes
package/dist/index.js CHANGED
@@ -1141,7 +1141,7 @@ var pickBy = (obj, by) => {
1141
1141
  };
1142
1142
 
1143
1143
  // src/version.generated.ts
1144
- var version = "0.43.0";
1144
+ var version = "0.44.0";
1145
1145
 
1146
1146
  // src/PluvServer.ts
1147
1147
  var PluvServer = class {
@@ -1192,7 +1192,7 @@ var PluvServer = class {
1192
1192
  update
1193
1193
  ];
1194
1194
  if (updates.some((_update) => !!_update)) {
1195
- const encodedState2 = doc.batchApplyEncodedState(updates).getEncodedState();
1195
+ const encodedState2 = doc.batchApplyEncodedState({ updates }).getEncodedState();
1196
1196
  yield this._platform.persistence.setStorageState(room, encodedState2);
1197
1197
  this._getListeners().onStorageUpdated({
1198
1198
  context,
package/dist/index.mjs CHANGED
@@ -1099,7 +1099,7 @@ var pickBy = (obj, by) => {
1099
1099
  };
1100
1100
 
1101
1101
  // src/version.generated.ts
1102
- var version = "0.43.0";
1102
+ var version = "0.44.0";
1103
1103
 
1104
1104
  // src/PluvServer.ts
1105
1105
  var PluvServer = class {
@@ -1150,7 +1150,7 @@ var PluvServer = class {
1150
1150
  update
1151
1151
  ];
1152
1152
  if (updates.some((_update) => !!_update)) {
1153
- const encodedState2 = doc.batchApplyEncodedState(updates).getEncodedState();
1153
+ const encodedState2 = doc.batchApplyEncodedState({ updates }).getEncodedState();
1154
1154
  yield this._platform.persistence.setStorageState(room, encodedState2);
1155
1155
  this._getListeners().onStorageUpdated({
1156
1156
  context,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pluv/io",
3
- "version": "0.43.0",
3
+ "version": "0.44.0",
4
4
  "description": "@pluv/io server-side websocket manager",
5
5
  "author": "leedavidcs",
6
6
  "license": "MIT",
@@ -21,16 +21,16 @@
21
21
  "jose": "^5.10.0",
22
22
  "kleur": "^4.1.5",
23
23
  "wonka": "^6.3.5",
24
- "@pluv/crdt": "^0.43.0",
25
- "@pluv/types": "^0.43.0"
24
+ "@pluv/crdt": "^0.44.0",
25
+ "@pluv/types": "^0.44.0"
26
26
  },
27
27
  "devDependencies": {
28
28
  "eslint": "^9.25.1",
29
29
  "genversion": "^3.2.0",
30
30
  "tsup": "^8.4.0",
31
31
  "typescript": "^5.8.3",
32
- "@pluv/tsconfig": "^0.43.0",
33
- "eslint-config-pluv": "^0.43.0"
32
+ "@pluv/tsconfig": "^0.44.0",
33
+ "eslint-config-pluv": "^0.44.0"
34
34
  },
35
35
  "scripts": {
36
36
  "build": "pnpm run version && tsup src/index.ts --format esm,cjs --dts",
package/src/PluvServer.ts CHANGED
@@ -134,7 +134,7 @@ export class PluvServer<
134
134
  ];
135
135
 
136
136
  if (updates.some((_update) => !!_update)) {
137
- const encodedState = doc.batchApplyEncodedState(updates).getEncodedState();
137
+ const encodedState = doc.batchApplyEncodedState({ updates }).getEncodedState();
138
138
 
139
139
  await this._platform.persistence.setStorageState(room, encodedState);
140
140
 
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '0.43.0'
2
+ export const version = '0.44.0'