@pluv/platform-pluv 0.41.7 → 0.43.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,5 +1,5 @@
1
1
 
2
- > @pluv/platform-pluv@0.41.7 build /home/runner/work/pluv/pluv/packages/platform-pluv
2
+ > @pluv/platform-pluv@0.43.0 build /home/runner/work/pluv/pluv/packages/platform-pluv
3
3
  > tsup src/index.ts --format esm,cjs --dts
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -9,10 +9,10 @@
9
9
  ESM Build start
10
10
  CJS Build start
11
11
  CJS dist/index.js 13.95 KB
12
- CJS ⚡️ Build success in 89ms
13
- ESM dist/index.mjs 12.11 KB
14
- ESM ⚡️ Build success in 92ms
12
+ CJS ⚡️ Build success in 99ms
13
+ ESM dist/index.mjs 12.12 KB
14
+ ESM ⚡️ Build success in 100ms
15
15
  DTS Build start
16
- DTS ⚡️ Build success in 6461ms
17
- DTS dist/index.d.mts 3.66 KB
18
- DTS dist/index.d.ts 3.66 KB
16
+ DTS ⚡️ Build success in 6605ms
17
+ DTS dist/index.d.mts 3.67 KB
18
+ DTS dist/index.d.ts 3.67 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # @pluv/platform-pluv
2
2
 
3
+ ## 0.43.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [e60a677]
8
+ - Updated dependencies [0063e80]
9
+ - Updated dependencies [244a973]
10
+ - Updated dependencies [4b0fbb3]
11
+ - @pluv/io@0.43.0
12
+ - @pluv/crdt@0.43.0
13
+ - @pluv/types@0.43.0
14
+
15
+ ## 0.42.0
16
+
17
+ ### Patch Changes
18
+
19
+ - def08bc: Fix default endpoint for `createToken`.
20
+ - Updated dependencies [cf1529a]
21
+ - @pluv/io@0.42.0
22
+ - @pluv/crdt@0.42.0
23
+ - @pluv/types@0.42.0
24
+
3
25
  ## 0.41.7
4
26
 
5
27
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -82,7 +82,7 @@ declare class PluvPlatform<TContext extends Record<string, any> = {}, TUser exte
82
82
  private _webhooksRouter;
83
83
  }
84
84
 
85
- type PlatformPluvCreateIOParams<TContext extends Record<string, any> = {}, TUser extends BaseUser$1 = BaseUser$1> = Id<PluvPlatformConfig & Omit<CreateIOParams<PluvPlatform, TContext, TUser>, "authorize" | "context" | "platform"> & {
85
+ type PlatformPluvCreateIOParams<TContext extends Record<string, any> = {}, TUser extends BaseUser$1 = BaseUser$1> = Id<PluvPlatformConfig & Omit<CreateIOParams<PluvPlatform, TContext, TUser>, "authorize" | "context" | "limits" | "platform"> & {
86
86
  authorize: PluvIOAuthorize<PluvPlatform, TUser, InferInitContextType<PluvPlatform>>;
87
87
  context?: PluvContext<PluvPlatform, TContext>;
88
88
  }>;
package/dist/index.d.ts CHANGED
@@ -82,7 +82,7 @@ declare class PluvPlatform<TContext extends Record<string, any> = {}, TUser exte
82
82
  private _webhooksRouter;
83
83
  }
84
84
 
85
- type PlatformPluvCreateIOParams<TContext extends Record<string, any> = {}, TUser extends BaseUser$1 = BaseUser$1> = Id<PluvPlatformConfig & Omit<CreateIOParams<PluvPlatform, TContext, TUser>, "authorize" | "context" | "platform"> & {
85
+ type PlatformPluvCreateIOParams<TContext extends Record<string, any> = {}, TUser extends BaseUser$1 = BaseUser$1> = Id<PluvPlatformConfig & Omit<CreateIOParams<PluvPlatform, TContext, TUser>, "authorize" | "context" | "limits" | "platform"> & {
86
86
  authorize: PluvIOAuthorize<PluvPlatform, TUser, InferInitContextType<PluvPlatform>>;
87
87
  context?: PluvContext<PluvPlatform, TContext>;
88
88
  }>;
package/dist/index.js CHANGED
@@ -319,7 +319,7 @@ var PluvPlatform = class extends import_io.AbstractPlatform {
319
319
  const { _defs, context, basePath, publicKey, secretKey, webhookSecret } = params;
320
320
  this._basePath = basePath;
321
321
  this._context = typeof context === "function" ? context(this._roomContext) : context;
322
- this._endpoints = (_a = _defs == null ? void 0 : _defs.endpoints) != null ? _a : { createToken: "https://pluv.io/api/room/token" };
322
+ this._endpoints = (_a = _defs == null ? void 0 : _defs.endpoints) != null ? _a : { createToken: "https://rooms.pluv.io/api/room/token" };
323
323
  this._publicKey = publicKey;
324
324
  this._secretKey = secretKey;
325
325
  this._webhookSecret = webhookSecret;
package/dist/index.mjs CHANGED
@@ -289,7 +289,7 @@ var PluvPlatform = class extends AbstractPlatform {
289
289
  const { _defs, context, basePath, publicKey, secretKey, webhookSecret } = params;
290
290
  this._basePath = basePath;
291
291
  this._context = typeof context === "function" ? context(this._roomContext) : context;
292
- this._endpoints = (_a = _defs == null ? void 0 : _defs.endpoints) != null ? _a : { createToken: "https://pluv.io/api/room/token" };
292
+ this._endpoints = (_a = _defs == null ? void 0 : _defs.endpoints) != null ? _a : { createToken: "https://rooms.pluv.io/api/room/token" };
293
293
  this._publicKey = publicKey;
294
294
  this._secretKey = secretKey;
295
295
  this._webhookSecret = webhookSecret;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pluv/platform-pluv",
3
- "version": "0.41.7",
3
+ "version": "0.43.0",
4
4
  "description": "@pluv/io adapter for pluv.io",
5
5
  "author": "leedavidcs",
6
6
  "license": "MIT",
@@ -17,20 +17,20 @@
17
17
  "access": "public"
18
18
  },
19
19
  "dependencies": {
20
- "@types/node": "^22.14.1",
20
+ "@types/node": "^22.15.3",
21
21
  "fast-json-stable-stringify": "^2.1.0",
22
- "hono": "^4.7.7",
22
+ "hono": "^4.7.8",
23
23
  "zod": "^3.24.3",
24
- "@pluv/io": "^0.41.7",
25
- "@pluv/types": "^0.41.7",
26
- "@pluv/crdt": "^0.41.7"
24
+ "@pluv/crdt": "^0.43.0",
25
+ "@pluv/io": "^0.43.0",
26
+ "@pluv/types": "^0.43.0"
27
27
  },
28
28
  "devDependencies": {
29
- "eslint": "^9.25.0",
29
+ "eslint": "^9.25.1",
30
30
  "tsup": "^8.4.0",
31
31
  "typescript": "^5.8.3",
32
- "@pluv/tsconfig": "^0.41.7",
33
- "eslint-config-pluv": "^0.41.7"
32
+ "@pluv/tsconfig": "^0.43.0",
33
+ "eslint-config-pluv": "^0.43.0"
34
34
  },
35
35
  "scripts": {
36
36
  "build": "tsup src/index.ts --format esm,cjs --dts",
@@ -130,7 +130,7 @@ export class PluvPlatform<
130
130
 
131
131
  this._basePath = basePath;
132
132
  this._context = typeof context === "function" ? context(this._roomContext) : context;
133
- this._endpoints = _defs?.endpoints ?? { createToken: "https://pluv.io/api/room/token" };
133
+ this._endpoints = _defs?.endpoints ?? { createToken: "https://rooms.pluv.io/api/room/token" };
134
134
  this._publicKey = publicKey;
135
135
  this._secretKey = secretKey;
136
136
  this._webhookSecret = webhookSecret;
@@ -8,7 +8,7 @@ export type PlatformPluvCreateIOParams<
8
8
  TUser extends BaseUser = BaseUser,
9
9
  > = Id<
10
10
  PluvPlatformConfig &
11
- Omit<CreateIOParams<PluvPlatform, TContext, TUser>, "authorize" | "context" | "platform"> & {
11
+ Omit<CreateIOParams<PluvPlatform, TContext, TUser>, "authorize" | "context" | "limits" | "platform"> & {
12
12
  authorize: PluvIOAuthorize<PluvPlatform, TUser, InferInitContextType<PluvPlatform>>;
13
13
  context?: PluvContext<PluvPlatform, TContext>;
14
14
  }