@vertesia/tools-sdk 1.5.0-dev.20260807.073259Z → 1.5.0-dev.20260901.005903Z
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/lib/auth.d.ts +2 -2
- package/lib/auth.d.ts.map +1 -1
- package/package.json +7 -7
package/lib/auth.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import type { AuthTokenPayload } from '@vertesia/common';
|
|
|
3
3
|
import type { Context } from 'hono';
|
|
4
4
|
import { type JWTVerifyGetKey } from 'jose';
|
|
5
5
|
import type { ToolExecutionContext } from './types.js';
|
|
6
|
-
export declare function getJwks(url: string): Promise<JWTVerifyGetKey
|
|
7
|
-
export declare function verifyToken(token: string): Promise<import("jose").JWTVerifyResult<AuthTokenPayload> & import("jose").ResolvedKey
|
|
6
|
+
export declare function getJwks(url: string): Promise<JWTVerifyGetKey<CryptoKey | Uint8Array<ArrayBufferLike>>>;
|
|
7
|
+
export declare function verifyToken(token: string): Promise<import("jose").JWTVerifyResult<AuthTokenPayload> & import("jose").ResolvedKey<CryptoKey | Uint8Array<ArrayBufferLike>>>;
|
|
8
8
|
export interface EndpointOverrides {
|
|
9
9
|
studio?: string;
|
|
10
10
|
store?: string;
|
package/lib/auth.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../src/auth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAEpC,OAAO,EAAoD,KAAK,eAAe,EAAa,MAAM,MAAM,CAAC;AACzG,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAIvD,wBAAsB,OAAO,CAAC,GAAG,EAAE,MAAM,
|
|
1
|
+
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AE,WAAW,EAU5B;IAEK,SAAS,4BAYd;CACJ"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vertesia/tools-sdk",
|
|
3
|
-
"version": "1.5.0-dev.
|
|
3
|
+
"version": "1.5.0-dev.20260901.005903Z",
|
|
4
4
|
"description": "Tools SDK - utilities for building remote tools",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -23,14 +23,14 @@
|
|
|
23
23
|
"@vertesia/tsconfig": "0.1.0"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"hono": "^4.
|
|
26
|
+
"hono": "^4.13.1"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"jose": "^6.2.
|
|
29
|
+
"jose": "^6.2.8",
|
|
30
30
|
"zod": "^4.4.3",
|
|
31
|
-
"@llumiverse/common": "1.5.0-dev.
|
|
32
|
-
"@vertesia/
|
|
33
|
-
"@vertesia/
|
|
31
|
+
"@llumiverse/common": "1.5.0-dev.20260831.235912Z",
|
|
32
|
+
"@vertesia/common": "1.5.0-dev.20260901.005903Z",
|
|
33
|
+
"@vertesia/client": "1.5.0-dev.20260901.005903Z"
|
|
34
34
|
},
|
|
35
35
|
"repository": {
|
|
36
36
|
"type": "git",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"agents",
|
|
47
47
|
"typescript"
|
|
48
48
|
],
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "73de8716696201bda20b5ec0d0134bafd597387e",
|
|
50
50
|
"scripts": {
|
|
51
51
|
"lint": "biome lint src",
|
|
52
52
|
"test": "vitest run",
|