@pluv/platform-pluv 0.32.9 → 0.33.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 +5 -5
- package/CHANGELOG.md +9 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +10 -10
- package/src/PluvIO.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.33.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
|
|
@@ -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[32m8.85 KB[39m
|
|
12
|
-
[32mESM[39m ⚡️ Build success in 71ms
|
|
13
11
|
[32mCJS[39m [1mdist/index.js [22m[32m9.75 KB[39m
|
|
14
|
-
[32mCJS[39m ⚡️ Build success in
|
|
12
|
+
[32mCJS[39m ⚡️ Build success in 100ms
|
|
13
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m8.85 KB[39m
|
|
14
|
+
[32mESM[39m ⚡️ Build success in 101ms
|
|
15
15
|
[34mDTS[39m Build start
|
|
16
|
-
[32mDTS[39m ⚡️ Build success in
|
|
16
|
+
[32mDTS[39m ⚡️ Build success in 6378ms
|
|
17
17
|
[32mDTS[39m [1mdist/index.d.mts [22m[32m6.99 KB[39m
|
|
18
18
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m6.99 KB[39m
|
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -163,7 +163,7 @@ var verifyWebhook = (params) => __async(void 0, null, function* () {
|
|
|
163
163
|
// src/PluvIO.ts
|
|
164
164
|
var PluvIO = class {
|
|
165
165
|
constructor(options) {
|
|
166
|
-
this._webhooks = new import_hono.Hono().basePath("/").post("/
|
|
166
|
+
this._webhooks = new import_hono.Hono().basePath("/").post("/", (c) => __async(this, null, function* () {
|
|
167
167
|
var _a, _b;
|
|
168
168
|
const signature = c.req.header(SIGNATURE_HEADER);
|
|
169
169
|
if (!this._webhookSecret || !signature) return c.json({ error: "Unauthorized" }, 401);
|
package/dist/index.mjs
CHANGED
|
@@ -145,7 +145,7 @@ var verifyWebhook = (params) => __async(void 0, null, function* () {
|
|
|
145
145
|
// src/PluvIO.ts
|
|
146
146
|
var PluvIO = class {
|
|
147
147
|
constructor(options) {
|
|
148
|
-
this._webhooks = new Hono().basePath("/").post("/
|
|
148
|
+
this._webhooks = new Hono().basePath("/").post("/", (c) => __async(this, null, function* () {
|
|
149
149
|
var _a, _b;
|
|
150
150
|
const signature = c.req.header(SIGNATURE_HEADER);
|
|
151
151
|
if (!this._webhookSecret || !signature) return c.json({ error: "Unauthorized" }, 401);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pluv/platform-pluv",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.33.0",
|
|
4
4
|
"description": "@pluv/io adapter for pluv.io",
|
|
5
5
|
"author": "leedavidcs",
|
|
6
6
|
"license": "MIT",
|
|
@@ -17,19 +17,19 @@
|
|
|
17
17
|
"access": "public"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@types/node": "^22.
|
|
21
|
-
"hono": "^4.6.
|
|
20
|
+
"@types/node": "^22.10.1",
|
|
21
|
+
"hono": "^4.6.13",
|
|
22
22
|
"zod": "^3.23.8",
|
|
23
|
-
"@pluv/crdt": "^0.
|
|
24
|
-
"@pluv/io": "^0.
|
|
25
|
-
"@pluv/types": "^0.
|
|
23
|
+
"@pluv/crdt": "^0.33.0",
|
|
24
|
+
"@pluv/io": "^0.33.0",
|
|
25
|
+
"@pluv/types": "^0.33.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"eslint": "^8.57.
|
|
28
|
+
"eslint": "^8.57.1",
|
|
29
29
|
"tsup": "^8.3.5",
|
|
30
|
-
"typescript": "^5.
|
|
31
|
-
"@pluv/tsconfig": "^0.
|
|
32
|
-
"eslint-config-pluv": "^0.
|
|
30
|
+
"typescript": "^5.7.2",
|
|
31
|
+
"@pluv/tsconfig": "^0.33.0",
|
|
32
|
+
"eslint-config-pluv": "^0.33.0"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
35
|
"build": "tsup src/index.ts --format esm,cjs --dts",
|
package/src/PluvIO.ts
CHANGED
|
@@ -100,7 +100,7 @@ export class PluvIO<TUser extends BaseUser> implements IOLike<PluvAuthorize<TUse
|
|
|
100
100
|
return handle(app);
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
private _webhooks = new Hono().basePath("/").post("/
|
|
103
|
+
private _webhooks = new Hono().basePath("/").post("/", async (c) => {
|
|
104
104
|
const signature = c.req.header(SIGNATURE_HEADER);
|
|
105
105
|
|
|
106
106
|
if (!this._webhookSecret || !signature) return c.json({ error: "Unauthorized" }, 401);
|