@pluv/platform-pluv 0.32.0 → 0.32.1
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 +9 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +6 -6
- package/src/PluvIO.ts +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @pluv/platform-pluv@0.32.
|
|
2
|
+
> @pluv/platform-pluv@0.32.1 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
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
[34mCLI[39m Target: es6
|
|
9
9
|
[34mESM[39m Build start
|
|
10
10
|
[34mCJS[39m Build start
|
|
11
|
-
[32mESM[39m [1mdist/index.mjs [22m[32m3.
|
|
12
|
-
[32mESM[39m ⚡️ Build success in
|
|
13
|
-
[32mCJS[39m [1mdist/index.js [22m[32m4.
|
|
14
|
-
[32mCJS[39m ⚡️ Build success in
|
|
11
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m3.64 KB[39m
|
|
12
|
+
[32mESM[39m ⚡️ Build success in 79ms
|
|
13
|
+
[32mCJS[39m [1mdist/index.js [22m[32m4.82 KB[39m
|
|
14
|
+
[32mCJS[39m ⚡️ Build success in 81ms
|
|
15
15
|
[34mDTS[39m Build start
|
|
16
|
-
[32mDTS[39m ⚡️ Build success in
|
|
16
|
+
[32mDTS[39m ⚡️ Build success in 6419ms
|
|
17
17
|
[32mDTS[39m [1mdist/index.d.mts [22m[32m2.29 KB[39m
|
|
18
18
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m2.29 KB[39m
|
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -114,7 +114,7 @@ var PluvIO = class {
|
|
|
114
114
|
return __async(this, null, function* () {
|
|
115
115
|
var _a;
|
|
116
116
|
const parsed = this._authorize.user.parse(params.user);
|
|
117
|
-
const res = yield fetch("https://pluv.io/api/
|
|
117
|
+
const res = yield fetch("https://pluv.io/api/room/token", {
|
|
118
118
|
method: "post",
|
|
119
119
|
body: JSON.stringify({
|
|
120
120
|
maxAge: (_a = params.maxAge) != null ? _a : null,
|
package/dist/index.mjs
CHANGED
|
@@ -89,7 +89,7 @@ var PluvIO = class {
|
|
|
89
89
|
return __async(this, null, function* () {
|
|
90
90
|
var _a;
|
|
91
91
|
const parsed = this._authorize.user.parse(params.user);
|
|
92
|
-
const res = yield fetch("https://pluv.io/api/
|
|
92
|
+
const res = yield fetch("https://pluv.io/api/room/token", {
|
|
93
93
|
method: "post",
|
|
94
94
|
body: JSON.stringify({
|
|
95
95
|
maxAge: (_a = params.maxAge) != null ? _a : null,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pluv/platform-pluv",
|
|
3
|
-
"version": "0.32.
|
|
3
|
+
"version": "0.32.1",
|
|
4
4
|
"description": "@pluv/io adapter for pluv.io",
|
|
5
5
|
"author": "leedavidcs",
|
|
6
6
|
"license": "MIT",
|
|
@@ -20,16 +20,16 @@
|
|
|
20
20
|
"@types/node": "^22.7.4",
|
|
21
21
|
"hono": "^4.6.3",
|
|
22
22
|
"zod": "^3.23.8",
|
|
23
|
-
"@pluv/crdt": "^0.32.
|
|
24
|
-
"@pluv/io": "^0.32.
|
|
25
|
-
"@pluv/types": "^0.32.
|
|
23
|
+
"@pluv/crdt": "^0.32.1",
|
|
24
|
+
"@pluv/io": "^0.32.1",
|
|
25
|
+
"@pluv/types": "^0.32.1"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"eslint": "^8.57.0",
|
|
29
29
|
"tsup": "^8.3.0",
|
|
30
30
|
"typescript": "^5.6.2",
|
|
31
|
-
"@pluv/tsconfig": "^0.32.
|
|
32
|
-
"eslint-config-pluv": "^0.32.
|
|
31
|
+
"@pluv/tsconfig": "^0.32.1",
|
|
32
|
+
"eslint-config-pluv": "^0.32.1"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
35
|
"build": "tsup src/index.ts --format esm,cjs --dts",
|
package/src/PluvIO.ts
CHANGED
|
@@ -89,7 +89,7 @@ export class PluvIO<TUser extends BaseUser> {
|
|
|
89
89
|
public async createToken(params: JWTEncodeParams<TUser, PluvPlatform>): Promise<string> {
|
|
90
90
|
const parsed = this._authorize.user.parse(params.user);
|
|
91
91
|
|
|
92
|
-
const res = await fetch("https://pluv.io/api/
|
|
92
|
+
const res = await fetch("https://pluv.io/api/room/token", {
|
|
93
93
|
method: "post",
|
|
94
94
|
body: JSON.stringify({
|
|
95
95
|
maxAge: params.maxAge ?? null,
|