@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.
- package/.turbo/turbo-build.log +7 -7
- package/CHANGELOG.md +22 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +9 -9
- package/src/PluvPlatform.ts +1 -1
- package/src/platformPluv.ts +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @pluv/platform-pluv@0.
|
|
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
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
[34mESM[39m Build start
|
|
10
10
|
[34mCJS[39m Build start
|
|
11
11
|
[32mCJS[39m [1mdist/index.js [22m[32m13.95 KB[39m
|
|
12
|
-
[32mCJS[39m ⚡️ Build success in
|
|
13
|
-
[32mESM[39m [1mdist/index.mjs [22m[32m12.
|
|
14
|
-
[32mESM[39m ⚡️ Build success in
|
|
12
|
+
[32mCJS[39m ⚡️ Build success in 99ms
|
|
13
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m12.12 KB[39m
|
|
14
|
+
[32mESM[39m ⚡️ Build success in 100ms
|
|
15
15
|
[34mDTS[39m Build start
|
|
16
|
-
[32mDTS[39m ⚡️ Build success in
|
|
17
|
-
[32mDTS[39m [1mdist/index.d.mts [22m[32m3.
|
|
18
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[32m3.
|
|
16
|
+
[32mDTS[39m ⚡️ Build success in 6605ms
|
|
17
|
+
[32mDTS[39m [1mdist/index.d.mts [22m[32m3.67 KB[39m
|
|
18
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m3.67 KB[39m
|
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.
|
|
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.
|
|
20
|
+
"@types/node": "^22.15.3",
|
|
21
21
|
"fast-json-stable-stringify": "^2.1.0",
|
|
22
|
-
"hono": "^4.7.
|
|
22
|
+
"hono": "^4.7.8",
|
|
23
23
|
"zod": "^3.24.3",
|
|
24
|
-
"@pluv/
|
|
25
|
-
"@pluv/
|
|
26
|
-
"@pluv/
|
|
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.
|
|
29
|
+
"eslint": "^9.25.1",
|
|
30
30
|
"tsup": "^8.4.0",
|
|
31
31
|
"typescript": "^5.8.3",
|
|
32
|
-
"@pluv/tsconfig": "^0.
|
|
33
|
-
"eslint-config-pluv": "^0.
|
|
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",
|
package/src/PluvPlatform.ts
CHANGED
|
@@ -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;
|
package/src/platformPluv.ts
CHANGED
|
@@ -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
|
}
|