@grantex/sdk 0.3.8 → 0.3.9
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/README.md +84 -3
- package/dist/client.d.ts +2 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +17 -5
- package/dist/client.js.map +1 -1
- package/dist/http.d.ts +8 -5
- package/dist/http.d.ts.map +1 -1
- package/dist/http.js +33 -12
- package/dist/http.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/resources/commerce.d.ts +284 -0
- package/dist/resources/commerce.d.ts.map +1 -0
- package/dist/resources/commerce.js +178 -0
- package/dist/resources/commerce.js.map +1 -0
- package/dist/types.d.ts +4 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +74 -74
package/package.json
CHANGED
|
@@ -1,78 +1,78 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@grantex/sdk",
|
|
3
|
-
"version": "0.3.
|
|
4
|
-
"description": "TypeScript SDK for the Grantex delegated authorization protocol",
|
|
5
|
-
"homepage": "https://grantex.dev",
|
|
6
|
-
"bugs": {
|
|
7
|
-
"url": "https://github.com/mishrasanjeev/grantex/issues"
|
|
8
|
-
},
|
|
9
|
-
"type": "module",
|
|
10
|
-
"exports": {
|
|
11
|
-
".": {
|
|
12
|
-
"import": "./dist/index.js",
|
|
13
|
-
"types": "./dist/index.d.ts"
|
|
14
|
-
},
|
|
15
|
-
"./manifests/*": {
|
|
16
|
-
"import": "./dist/manifests/*.js",
|
|
17
|
-
"types": "./dist/manifests/*.d.ts"
|
|
18
|
-
},
|
|
19
|
-
"./manifests": {
|
|
20
|
-
"import": "./dist/manifests/index.js",
|
|
21
|
-
"types": "./dist/manifests/index.d.ts"
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
"main": "./dist/index.js",
|
|
25
|
-
"types": "./dist/index.d.ts",
|
|
26
|
-
"files": [
|
|
27
|
-
"dist",
|
|
28
|
-
"README.md"
|
|
29
|
-
],
|
|
30
|
-
"scripts": {
|
|
31
|
-
"build": "tsc -p tsconfig.build.json",
|
|
32
|
-
"typecheck": "tsc --noEmit",
|
|
33
|
-
"test": "vitest run",
|
|
34
|
-
"test:watch": "vitest"
|
|
35
|
-
},
|
|
36
|
-
"dependencies": {
|
|
37
|
-
"jose": "^
|
|
38
|
-
},
|
|
39
|
-
"overrides": {
|
|
40
|
-
"esbuild": ">=0.25.0"
|
|
41
|
-
},
|
|
42
|
-
"devDependencies": {
|
|
43
|
-
"@types/node": "^
|
|
44
|
-
"@vitest/coverage-v8": "^4.1.2",
|
|
45
|
-
"typescript": "^
|
|
46
|
-
"vitest": "^4.1.2"
|
|
47
|
-
},
|
|
48
|
-
"engines": {
|
|
49
|
-
"node": ">=18.0.0"
|
|
50
|
-
},
|
|
51
|
-
"keywords": [
|
|
52
|
-
"grantex",
|
|
53
|
-
"ai-agents",
|
|
54
|
-
"authorization",
|
|
55
|
-
"oauth",
|
|
56
|
-
"jwt",
|
|
57
|
-
"delegated-auth",
|
|
58
|
-
"sdk",
|
|
59
|
-
"agent-permissions",
|
|
60
|
-
"grant-token",
|
|
61
|
-
"agent-identity",
|
|
62
|
-
"verifiable-credentials",
|
|
63
|
-
"webauthn",
|
|
64
|
-
"fido2",
|
|
65
|
-
"did",
|
|
66
|
-
"sd-jwt",
|
|
67
|
-
"mpp",
|
|
68
|
-
"machine-payments",
|
|
69
|
-
"agent-delegation",
|
|
70
|
-
"revocation",
|
|
71
|
-
"scoped-permissions"
|
|
72
|
-
],
|
|
73
|
-
"license": "Apache-2.0",
|
|
1
|
+
{
|
|
2
|
+
"name": "@grantex/sdk",
|
|
3
|
+
"version": "0.3.9",
|
|
4
|
+
"description": "TypeScript SDK for the Grantex delegated authorization protocol",
|
|
5
|
+
"homepage": "https://grantex.dev",
|
|
6
|
+
"bugs": {
|
|
7
|
+
"url": "https://github.com/mishrasanjeev/grantex/issues"
|
|
8
|
+
},
|
|
9
|
+
"type": "module",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"import": "./dist/index.js",
|
|
13
|
+
"types": "./dist/index.d.ts"
|
|
14
|
+
},
|
|
15
|
+
"./manifests/*": {
|
|
16
|
+
"import": "./dist/manifests/*.js",
|
|
17
|
+
"types": "./dist/manifests/*.d.ts"
|
|
18
|
+
},
|
|
19
|
+
"./manifests": {
|
|
20
|
+
"import": "./dist/manifests/index.js",
|
|
21
|
+
"types": "./dist/manifests/index.d.ts"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"main": "./dist/index.js",
|
|
25
|
+
"types": "./dist/index.d.ts",
|
|
26
|
+
"files": [
|
|
27
|
+
"dist",
|
|
28
|
+
"README.md"
|
|
29
|
+
],
|
|
30
|
+
"scripts": {
|
|
31
|
+
"build": "tsc -p tsconfig.build.json",
|
|
32
|
+
"typecheck": "tsc --noEmit",
|
|
33
|
+
"test": "vitest run",
|
|
34
|
+
"test:watch": "vitest"
|
|
35
|
+
},
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"jose": "^6.2.3"
|
|
38
|
+
},
|
|
39
|
+
"overrides": {
|
|
40
|
+
"esbuild": ">=0.25.0"
|
|
41
|
+
},
|
|
42
|
+
"devDependencies": {
|
|
43
|
+
"@types/node": "^25.9.1",
|
|
44
|
+
"@vitest/coverage-v8": "^4.1.2",
|
|
45
|
+
"typescript": "^6.0.3",
|
|
46
|
+
"vitest": "^4.1.2"
|
|
47
|
+
},
|
|
48
|
+
"engines": {
|
|
49
|
+
"node": ">=18.0.0"
|
|
50
|
+
},
|
|
51
|
+
"keywords": [
|
|
52
|
+
"grantex",
|
|
53
|
+
"ai-agents",
|
|
54
|
+
"authorization",
|
|
55
|
+
"oauth",
|
|
56
|
+
"jwt",
|
|
57
|
+
"delegated-auth",
|
|
58
|
+
"sdk",
|
|
59
|
+
"agent-permissions",
|
|
60
|
+
"grant-token",
|
|
61
|
+
"agent-identity",
|
|
62
|
+
"verifiable-credentials",
|
|
63
|
+
"webauthn",
|
|
64
|
+
"fido2",
|
|
65
|
+
"did",
|
|
66
|
+
"sd-jwt",
|
|
67
|
+
"mpp",
|
|
68
|
+
"machine-payments",
|
|
69
|
+
"agent-delegation",
|
|
70
|
+
"revocation",
|
|
71
|
+
"scoped-permissions"
|
|
72
|
+
],
|
|
73
|
+
"license": "Apache-2.0",
|
|
74
74
|
"repository": {
|
|
75
75
|
"type": "git",
|
|
76
|
-
"url": "https://github.com/mishrasanjeev/grantex"
|
|
76
|
+
"url": "git+https://github.com/mishrasanjeev/grantex.git"
|
|
77
77
|
}
|
|
78
78
|
}
|