@pluv/io 0.38.4 → 0.38.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,9 +1,9 @@
1
1
 
2
- > @pluv/io@0.38.4 build /home/runner/work/pluv/pluv/packages/io
2
+ > @pluv/io@0.38.5 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.38.4 version /home/runner/work/pluv/pluv/packages/io
6
+ > @pluv/io@0.38.5 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
- CJS dist/index.js 46.46 KB
16
- CJS ⚡️ Build success in 126ms
17
15
  ESM dist/index.mjs 44.29 KB
18
- ESM ⚡️ Build success in 126ms
16
+ ESM ⚡️ Build success in 115ms
17
+ CJS dist/index.js 46.46 KB
18
+ CJS ⚡️ Build success in 116ms
19
19
  DTS Build start
20
- DTS ⚡️ Build success in 2648ms
21
- DTS dist/index.d.mts 30.95 KB
22
- DTS dist/index.d.ts 30.95 KB
20
+ DTS ⚡️ Build success in 2388ms
21
+ DTS dist/index.d.mts 30.94 KB
22
+ DTS dist/index.d.ts 30.94 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @pluv/io
2
2
 
3
+ ## 0.38.5
4
+
5
+ ### Patch Changes
6
+
7
+ - @pluv/crdt@0.38.5
8
+ - @pluv/types@0.38.5
9
+
3
10
  ## 0.38.4
4
11
 
5
12
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -426,7 +426,7 @@ declare class PluvServer<TPlatform extends AbstractPlatform<any> = AbstractPlatf
426
426
  private readonly _getInitialStorage;
427
427
  private readonly _platform;
428
428
  private readonly _router;
429
- get fetch(): NonNullable<typeof this$1._platform._fetch>;
429
+ get fetch(): (...args: any[]) => Promise<any>;
430
430
  /**
431
431
  * @ignore
432
432
  * @readonly
package/dist/index.d.ts CHANGED
@@ -426,7 +426,7 @@ declare class PluvServer<TPlatform extends AbstractPlatform<any> = AbstractPlatf
426
426
  private readonly _getInitialStorage;
427
427
  private readonly _platform;
428
428
  private readonly _router;
429
- get fetch(): NonNullable<typeof this$1._platform._fetch>;
429
+ get fetch(): (...args: any[]) => Promise<any>;
430
430
  /**
431
431
  * @ignore
432
432
  * @readonly
package/dist/index.js CHANGED
@@ -1009,7 +1009,7 @@ var IORoom = class {
1009
1009
  };
1010
1010
 
1011
1011
  // src/version.generated.ts
1012
- var version = "0.38.4";
1012
+ var version = "0.38.5";
1013
1013
 
1014
1014
  // src/PluvServer.ts
1015
1015
  var PluvServer = class {
package/dist/index.mjs CHANGED
@@ -967,7 +967,7 @@ var IORoom = class {
967
967
  };
968
968
 
969
969
  // src/version.generated.ts
970
- var version = "0.38.4";
970
+ var version = "0.38.5";
971
971
 
972
972
  // src/PluvServer.ts
973
973
  var PluvServer = class {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pluv/io",
3
- "version": "0.38.4",
3
+ "version": "0.38.5",
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.38.4",
25
- "@pluv/types": "^0.38.4"
24
+ "@pluv/crdt": "^0.38.5",
25
+ "@pluv/types": "^0.38.5"
26
26
  },
27
27
  "devDependencies": {
28
28
  "eslint": "^8.57.1",
29
29
  "genversion": "^3.2.0",
30
30
  "tsup": "^8.4.0",
31
31
  "typescript": "^5.8.2",
32
- "@pluv/tsconfig": "^0.38.4",
33
- "eslint-config-pluv": "^0.38.4"
32
+ "@pluv/tsconfig": "^0.38.5",
33
+ "eslint-config-pluv": "^0.38.5"
34
34
  },
35
35
  "scripts": {
36
36
  "build": "pnpm run version && tsup src/index.ts --format esm,cjs --dts",
package/src/PluvServer.ts CHANGED
@@ -199,7 +199,7 @@ export class PluvServer<
199
199
  private readonly _platform: TPlatform;
200
200
  private readonly _router: PluvRouter<TPlatform, TAuthorize, TContext, TEvents>;
201
201
 
202
- public get fetch(): NonNullable<typeof this._platform._fetch> {
202
+ public get fetch(): (...args: any[]) => Promise<any> {
203
203
  return ((...args: any[]): Promise<any> => {
204
204
  if (!this._platform._fetch) throw new Error(`\`${this._platform._name}\` does not support \`fetch\``);
205
205
 
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '0.38.4'
2
+ export const version = '0.38.5'