@pluv/io 2.2.5 → 2.2.7
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 +7 -7
- package/CHANGELOG.md +15 -0
- package/README.md +4 -2
- package/dist/index.js +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +5 -5
- package/src/PluvServer.ts +1 -0
- package/src/version.generated.ts +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
> @pluv/io@2.2.
|
|
2
|
+
> @pluv/io@2.2.7 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@2.2.
|
|
6
|
+
> @pluv/io@2.2.7 version /home/runner/work/pluv/pluv/packages/io
|
|
7
7
|
> genversion ./src/version.generated.ts --esm
|
|
8
8
|
|
|
9
9
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
[34mCLI[39m Target: es6
|
|
13
13
|
[34mESM[39m Build start
|
|
14
14
|
[34mCJS[39m Build start
|
|
15
|
-
[32mESM[39m [1mdist/index.mjs [22m[32m52.
|
|
16
|
-
[32mESM[39m ⚡️ Build success in
|
|
17
|
-
[32mCJS[39m [1mdist/index.js [22m[32m54.
|
|
18
|
-
[32mCJS[39m ⚡️ Build success in
|
|
15
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m52.36 KB[39m
|
|
16
|
+
[32mESM[39m ⚡️ Build success in 108ms
|
|
17
|
+
[32mCJS[39m [1mdist/index.js [22m[32m54.54 KB[39m
|
|
18
|
+
[32mCJS[39m ⚡️ Build success in 109ms
|
|
19
19
|
[34mDTS[39m Build start
|
|
20
|
-
[32mDTS[39m ⚡️ Build success in
|
|
20
|
+
[32mDTS[39m ⚡️ Build success in 4021ms
|
|
21
21
|
[32mDTS[39m [1mdist/index.d.mts [22m[32m32.28 KB[39m
|
|
22
22
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m32.28 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @pluv/io
|
|
2
2
|
|
|
3
|
+
## 2.2.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- ec2717b: Fixed `ioServer.fetch` not receiving the `PluvServer` config.
|
|
8
|
+
- @pluv/crdt@2.2.7
|
|
9
|
+
- @pluv/types@2.2.7
|
|
10
|
+
|
|
11
|
+
## 2.2.6
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- @pluv/crdt@2.2.6
|
|
16
|
+
- @pluv/types@2.2.6
|
|
17
|
+
|
|
3
18
|
## 2.2.5
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -118,7 +118,7 @@ The full documentation is available at [pluv.io](https://pluv.io/docs/introducti
|
|
|
118
118
|
- ✅ Awareness + Presence
|
|
119
119
|
- ✅ [CRDTs](https://en.wikipedia.org/wiki/Conflict-free_replicated_data_type)
|
|
120
120
|
- ✅ [Yjs](https://docs.yjs.dev/)
|
|
121
|
-
-
|
|
121
|
+
- ✅ [Provider](https://github.com/yjs/yjs?tab=readme-ov-file#providers)
|
|
122
122
|
- ✅ **Shared Types**
|
|
123
123
|
- ✅ [Map](https://docs.yjs.dev/api/shared-types/y.map)
|
|
124
124
|
- ✅ [Array](https://docs.yjs.dev/api/shared-types/y.array)
|
|
@@ -128,10 +128,12 @@ The full documentation is available at [pluv.io](https://pluv.io/docs/introducti
|
|
|
128
128
|
- ✅ [XmlText](https://docs.yjs.dev/api/shared-types/y.xmltext)
|
|
129
129
|
- ✅ [Loro](https://loro.dev/) (preview)
|
|
130
130
|
- ✅ **Containers**
|
|
131
|
+
- ✅ Counter
|
|
131
132
|
- ✅ List
|
|
132
133
|
- ✅ Map
|
|
134
|
+
- ✅ Moveable List
|
|
133
135
|
- ✅ Text
|
|
134
|
-
-
|
|
136
|
+
- ✅ Tree
|
|
135
137
|
- ⬜ Studio (admin & developer panel)
|
|
136
138
|
|
|
137
139
|
## Runtimes
|
package/dist/index.js
CHANGED
|
@@ -1168,7 +1168,7 @@ var IORoom = class {
|
|
|
1168
1168
|
};
|
|
1169
1169
|
|
|
1170
1170
|
// src/version.generated.ts
|
|
1171
|
-
var version = "2.2.
|
|
1171
|
+
var version = "2.2.7";
|
|
1172
1172
|
|
|
1173
1173
|
// src/PluvServer.ts
|
|
1174
1174
|
var PluvServer = class {
|
|
@@ -1196,6 +1196,7 @@ var PluvServer = class {
|
|
|
1196
1196
|
}
|
|
1197
1197
|
get fetch() {
|
|
1198
1198
|
const platform = this._config.platform();
|
|
1199
|
+
platform.validateConfig(this._config);
|
|
1199
1200
|
return (...args) => {
|
|
1200
1201
|
if (!platform._fetch)
|
|
1201
1202
|
throw new Error(`\`${platform._name}\` does not support \`fetch\``);
|
package/dist/index.mjs
CHANGED
|
@@ -1126,7 +1126,7 @@ var IORoom = class {
|
|
|
1126
1126
|
};
|
|
1127
1127
|
|
|
1128
1128
|
// src/version.generated.ts
|
|
1129
|
-
var version = "2.2.
|
|
1129
|
+
var version = "2.2.7";
|
|
1130
1130
|
|
|
1131
1131
|
// src/PluvServer.ts
|
|
1132
1132
|
var PluvServer = class {
|
|
@@ -1154,6 +1154,7 @@ var PluvServer = class {
|
|
|
1154
1154
|
}
|
|
1155
1155
|
get fetch() {
|
|
1156
1156
|
const platform = this._config.platform();
|
|
1157
|
+
platform.validateConfig(this._config);
|
|
1157
1158
|
return (...args) => {
|
|
1158
1159
|
if (!platform._fetch)
|
|
1159
1160
|
throw new Error(`\`${platform._name}\` does not support \`fetch\``);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pluv/io",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.7",
|
|
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": "^2.2.
|
|
25
|
-
"@pluv/types": "^2.2.
|
|
24
|
+
"@pluv/crdt": "^2.2.7",
|
|
25
|
+
"@pluv/types": "^2.2.7"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"eslint": "^9.27.0",
|
|
29
29
|
"genversion": "^3.2.0",
|
|
30
30
|
"tsup": "^8.5.0",
|
|
31
31
|
"typescript": "^5.8.3",
|
|
32
|
-
"@pluv/tsconfig": "^2.2.
|
|
33
|
-
"eslint-config-pluv": "^2.2.
|
|
32
|
+
"@pluv/tsconfig": "^2.2.7",
|
|
33
|
+
"eslint-config-pluv": "^2.2.7"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"build": "pnpm run version && tsup src/index.ts --format esm,cjs --dts",
|
package/src/PluvServer.ts
CHANGED
|
@@ -102,6 +102,7 @@ export class PluvServer<
|
|
|
102
102
|
|
|
103
103
|
public get fetch(): (...args: any[]) => Promise<any> {
|
|
104
104
|
const platform = this._config.platform();
|
|
105
|
+
platform.validateConfig(this._config);
|
|
105
106
|
|
|
106
107
|
return ((...args: any[]): Promise<any> => {
|
|
107
108
|
if (!platform._fetch)
|
package/src/version.generated.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '2.2.
|
|
2
|
+
export const version = '2.2.7'
|