@pluv/platform-node 2.2.4 → 2.2.6

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/platform-node@2.2.4 build /home/runner/work/pluv/pluv/packages/platform-node
2
+ > @pluv/platform-node@2.2.6 build /home/runner/work/pluv/pluv/packages/platform-node
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
- CJS dist/index.js 11.33 KB
12
- CJS ⚡️ Build success in 91ms
13
- ESM dist/index.mjs 9.52 KB
14
- ESM ⚡️ Build success in 92ms
11
+ ESM dist/index.mjs 9.56 KB
12
+ ESM ⚡️ Build success in 152ms
13
+ CJS dist/index.js 11.39 KB
14
+ CJS ⚡️ Build success in 152ms
15
15
  DTS Build start
16
- DTS ⚡️ Build success in 5622ms
17
- DTS dist/index.d.mts 6.50 KB
18
- DTS dist/index.d.ts 6.50 KB
16
+ DTS ⚡️ Build success in 5175ms
17
+ DTS dist/index.d.mts 6.57 KB
18
+ DTS dist/index.d.ts 6.57 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @pluv/platform-node
2
2
 
3
+ ## 2.2.6
4
+
5
+ ### Patch Changes
6
+
7
+ - @pluv/io@2.2.6
8
+ - @pluv/types@2.2.6
9
+
10
+ ## 2.2.5
11
+
12
+ ### Patch Changes
13
+
14
+ - @pluv/io@2.2.5
15
+ - @pluv/types@2.2.5
16
+
3
17
  ## 2.2.4
4
18
 
5
19
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -57,6 +57,7 @@ declare class NodePlatform<TAuthorize extends IOAuthorize<any, any> | null = nul
57
57
  };
58
58
  router: true;
59
59
  }> {
60
+ readonly id: `${string}-${string}-${string}-${string}-${string}`;
60
61
  readonly _config: {
61
62
  authorize: {
62
63
  secret: true;
package/dist/index.d.ts CHANGED
@@ -57,6 +57,7 @@ declare class NodePlatform<TAuthorize extends IOAuthorize<any, any> | null = nul
57
57
  };
58
58
  router: true;
59
59
  }> {
60
+ readonly id: `${string}-${string}-${string}-${string}-${string}`;
60
61
  readonly _config: {
61
62
  authorize: {
62
63
  secret: true;
package/dist/index.js CHANGED
@@ -286,6 +286,7 @@ var NodePlatform = class _NodePlatform extends import_io2.AbstractPlatform {
286
286
  super(__spreadValues({
287
287
  roomContext
288
288
  }, persistence && pubSub ? { persistence, pubSub } : {}));
289
+ this.id = import_node_crypto2.default.randomUUID();
289
290
  this._name = "platformNode";
290
291
  this._config = {
291
292
  authorize: {
package/dist/index.mjs CHANGED
@@ -251,6 +251,7 @@ var NodePlatform = class _NodePlatform extends AbstractPlatform {
251
251
  super(__spreadValues({
252
252
  roomContext
253
253
  }, persistence && pubSub ? { persistence, pubSub } : {}));
254
+ this.id = crypto2.randomUUID();
254
255
  this._name = "platformNode";
255
256
  this._config = {
256
257
  authorize: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pluv/platform-node",
3
- "version": "2.2.4",
3
+ "version": "2.2.6",
4
4
  "description": "@pluv/io adapter for node.js",
5
5
  "author": "leedavidcs",
6
6
  "license": "MIT",
@@ -20,16 +20,16 @@
20
20
  "@types/node": "^22.15.21",
21
21
  "@types/ws": "^8.18.1",
22
22
  "path-to-regexp": "^8.2.0",
23
- "@pluv/io": "^2.2.4",
24
- "@pluv/types": "^2.2.4"
23
+ "@pluv/io": "^2.2.6",
24
+ "@pluv/types": "^2.2.6"
25
25
  },
26
26
  "devDependencies": {
27
27
  "eslint": "^9.27.0",
28
28
  "tsup": "^8.5.0",
29
29
  "typescript": "^5.8.3",
30
30
  "ws": "^8.18.2",
31
- "@pluv/tsconfig": "^2.2.4",
32
- "eslint-config-pluv": "^2.2.4"
31
+ "@pluv/tsconfig": "^2.2.6",
32
+ "eslint-config-pluv": "^2.2.6"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "ws": "^8.0.0"
@@ -49,6 +49,7 @@ export class NodePlatform<
49
49
  router: true;
50
50
  }
51
51
  > {
52
+ public readonly id = crypto.randomUUID();
52
53
  public readonly _config;
53
54
  public readonly _name = "platformNode";
54
55