@pluv/platform-node 0.42.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.
- package/.turbo/turbo-build.log +6 -6
- package/CHANGELOG.md +19 -0
- package/dist/index.js +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +6 -6
- package/src/platformNode.ts +3 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @pluv/platform-node@0.
|
|
2
|
+
> @pluv/platform-node@0.44.0 build /home/runner/work/pluv/pluv/packages/platform-node
|
|
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
|
-
[
|
|
12
|
-
[
|
|
13
|
-
[
|
|
14
|
-
[
|
|
11
|
+
[32mCJS[39m [1mdist/index.js [22m[32m11.28 KB[39m
|
|
12
|
+
[32mCJS[39m ⚡️ Build success in 110ms
|
|
13
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m9.49 KB[39m
|
|
14
|
+
[32mESM[39m ⚡️ Build success in 113ms
|
|
15
15
|
[34mDTS[39m Build start
|
|
16
|
-
[32mDTS[39m ⚡️ Build success in
|
|
16
|
+
[32mDTS[39m ⚡️ Build success in 5019ms
|
|
17
17
|
[32mDTS[39m [1mdist/index.d.mts [22m[32m6.50 KB[39m
|
|
18
18
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m6.50 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @pluv/platform-node
|
|
2
2
|
|
|
3
|
+
## 0.44.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- @pluv/io@0.44.0
|
|
8
|
+
- @pluv/types@0.44.0
|
|
9
|
+
|
|
10
|
+
## 0.43.0
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- 29fe3fc: Update `platformNode` and `platformCloudflare` to be able to configure limits for `PluvIO` (when self-hosted).
|
|
15
|
+
- Updated dependencies [e60a677]
|
|
16
|
+
- Updated dependencies [0063e80]
|
|
17
|
+
- Updated dependencies [244a973]
|
|
18
|
+
- Updated dependencies [4b0fbb3]
|
|
19
|
+
- @pluv/io@0.43.0
|
|
20
|
+
- @pluv/types@0.43.0
|
|
21
|
+
|
|
3
22
|
## 0.42.0
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -343,12 +343,13 @@ var NodePlatform = class _NodePlatform extends import_io2.AbstractPlatform {
|
|
|
343
343
|
|
|
344
344
|
// src/platformNode.ts
|
|
345
345
|
var platformNode = (config = {}) => {
|
|
346
|
-
const { authorize, context, crdt, debug } = config;
|
|
346
|
+
const { authorize, context, crdt, debug, limits } = config;
|
|
347
347
|
return {
|
|
348
348
|
authorize,
|
|
349
349
|
context,
|
|
350
350
|
crdt,
|
|
351
351
|
debug,
|
|
352
|
+
limits,
|
|
352
353
|
platform: new NodePlatform(config)
|
|
353
354
|
};
|
|
354
355
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -308,12 +308,13 @@ var NodePlatform = class _NodePlatform extends AbstractPlatform {
|
|
|
308
308
|
|
|
309
309
|
// src/platformNode.ts
|
|
310
310
|
var platformNode = (config = {}) => {
|
|
311
|
-
const { authorize, context, crdt, debug } = config;
|
|
311
|
+
const { authorize, context, crdt, debug, limits } = config;
|
|
312
312
|
return {
|
|
313
313
|
authorize,
|
|
314
314
|
context,
|
|
315
315
|
crdt,
|
|
316
316
|
debug,
|
|
317
|
+
limits,
|
|
317
318
|
platform: new NodePlatform(config)
|
|
318
319
|
};
|
|
319
320
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pluv/platform-node",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.44.0",
|
|
4
4
|
"description": "@pluv/io adapter for node.js",
|
|
5
5
|
"author": "leedavidcs",
|
|
6
6
|
"license": "MIT",
|
|
@@ -17,19 +17,19 @@
|
|
|
17
17
|
"access": "public"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@types/node": "^22.15.
|
|
20
|
+
"@types/node": "^22.15.3",
|
|
21
21
|
"@types/ws": "^8.18.1",
|
|
22
22
|
"path-to-regexp": "^8.2.0",
|
|
23
|
-
"@pluv/io": "^0.
|
|
24
|
-
"@pluv/types": "^0.
|
|
23
|
+
"@pluv/io": "^0.44.0",
|
|
24
|
+
"@pluv/types": "^0.44.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"eslint": "^9.25.1",
|
|
28
28
|
"tsup": "^8.4.0",
|
|
29
29
|
"typescript": "^5.8.3",
|
|
30
30
|
"ws": "^8.18.1",
|
|
31
|
-
"@pluv/tsconfig": "^0.
|
|
32
|
-
"eslint-config-pluv": "^0.
|
|
31
|
+
"@pluv/tsconfig": "^0.44.0",
|
|
32
|
+
"eslint-config-pluv": "^0.44.0"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
35
|
"ws": "^8.0.0"
|
package/src/platformNode.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CreateIOParams, InferInitContextType, PluvContext, PluvIOAuthorize } from "@pluv/io";
|
|
1
|
+
import type { CreateIOParams, InferInitContextType, PluvContext, PluvIOAuthorize, PluvIOLimits } from "@pluv/io";
|
|
2
2
|
import type { BaseUser, Id, IOAuthorize, Json } from "@pluv/types";
|
|
3
3
|
import type { NodePlatformConfig } from "./NodePlatform";
|
|
4
4
|
import { NodePlatform } from "./NodePlatform";
|
|
@@ -31,13 +31,14 @@ export const platformNode = <
|
|
|
31
31
|
>(
|
|
32
32
|
config: PlatformNodeCreateIOParams<TMeta, TContext, TUser> = {},
|
|
33
33
|
): CreateIOParams<NodePlatform<IOAuthorize<TUser, TContext>, TMeta>, TContext, TUser> => {
|
|
34
|
-
const { authorize, context, crdt, debug } = config;
|
|
34
|
+
const { authorize, context, crdt, debug, limits } = config;
|
|
35
35
|
|
|
36
36
|
return {
|
|
37
37
|
authorize,
|
|
38
38
|
context,
|
|
39
39
|
crdt,
|
|
40
40
|
debug,
|
|
41
|
+
limits,
|
|
41
42
|
platform: new NodePlatform<IOAuthorize<TUser, TContext>, TMeta>(config),
|
|
42
43
|
};
|
|
43
44
|
};
|