@metatrongg/sdk 0.8.0-dev.65a4da4 → 0.8.0-dev.70f0c99
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/LICENSE +1 -0
- package/dist/browser/index.d.ts +843 -217
- package/dist/browser/index.js +1 -1
- package/dist/contracts/index.d.ts +7999 -3492
- package/dist/contracts/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/node/index.d.ts +905 -229
- package/dist/node/index.js +1 -1
- package/dist/react/index.d.ts +4 -4
- package/dist/react/index.js +1 -1
- package/dist/webhook/express.d.ts +3 -3
- package/dist/webhook/express.js +1 -1
- package/dist/webhook/fastify.d.ts +2 -2
- package/dist/webhook/fastify.js +1 -1
- package/dist/webhook/hono.d.ts +3 -3
- package/dist/webhook/hono.js +1 -1
- package/dist/webhook/index.js +1 -1
- package/package.json +114 -113
package/package.json
CHANGED
|
@@ -1,114 +1,115 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
}
|
|
2
|
+
"name": "@metatrongg/sdk",
|
|
3
|
+
"version": "0.8.0-dev.70f0c99",
|
|
4
|
+
"description": "Typed TypeScript client for the Metatron API -- generated from the published OpenAPI spec. OAuth 2.1, payments, realtime sockets, webhook verification, and the full user/developer/admin surface.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
7
|
+
"homepage": "https://github.com/yokai-laboratory/metatron/tree/main/packages/sdk#readme",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/yokai-laboratory/metatron.git",
|
|
11
|
+
"directory": "packages/sdk"
|
|
12
|
+
},
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/yokai-laboratory/metatron/issues"
|
|
15
|
+
},
|
|
16
|
+
"keywords": [
|
|
17
|
+
"metatron",
|
|
18
|
+
"sdk",
|
|
19
|
+
"openapi",
|
|
20
|
+
"oauth2",
|
|
21
|
+
"pkce",
|
|
22
|
+
"payments",
|
|
23
|
+
"typescript",
|
|
24
|
+
"zod"
|
|
25
|
+
],
|
|
26
|
+
"sideEffects": false,
|
|
27
|
+
"publishConfig": {
|
|
28
|
+
"access": "public"
|
|
29
|
+
},
|
|
30
|
+
"files": [
|
|
31
|
+
"dist",
|
|
32
|
+
"LICENSE",
|
|
33
|
+
"README.md"
|
|
34
|
+
],
|
|
35
|
+
"exports": {
|
|
36
|
+
".": {
|
|
37
|
+
"types": "./dist/index.d.ts",
|
|
38
|
+
"default": "./dist/index.js"
|
|
39
|
+
},
|
|
40
|
+
"./browser": {
|
|
41
|
+
"types": "./dist/browser/index.d.ts",
|
|
42
|
+
"default": "./dist/browser/index.js"
|
|
43
|
+
},
|
|
44
|
+
"./node": {
|
|
45
|
+
"types": "./dist/node/index.d.ts",
|
|
46
|
+
"default": "./dist/node/index.js"
|
|
47
|
+
},
|
|
48
|
+
"./react": {
|
|
49
|
+
"types": "./dist/react/index.d.ts",
|
|
50
|
+
"default": "./dist/react/index.js"
|
|
51
|
+
},
|
|
52
|
+
"./contracts": {
|
|
53
|
+
"types": "./dist/contracts/index.d.ts",
|
|
54
|
+
"default": "./dist/contracts/index.js"
|
|
55
|
+
},
|
|
56
|
+
"./webhook": {
|
|
57
|
+
"types": "./dist/webhook/index.d.ts",
|
|
58
|
+
"default": "./dist/webhook/index.js"
|
|
59
|
+
},
|
|
60
|
+
"./webhook/hono": {
|
|
61
|
+
"types": "./dist/webhook/hono.d.ts",
|
|
62
|
+
"default": "./dist/webhook/hono.js"
|
|
63
|
+
},
|
|
64
|
+
"./webhook/express": {
|
|
65
|
+
"types": "./dist/webhook/express.d.ts",
|
|
66
|
+
"default": "./dist/webhook/express.js"
|
|
67
|
+
},
|
|
68
|
+
"./webhook/fastify": {
|
|
69
|
+
"types": "./dist/webhook/fastify.d.ts",
|
|
70
|
+
"default": "./dist/webhook/fastify.js"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"dependencies": {
|
|
74
|
+
"zod": "4.4.3"
|
|
75
|
+
},
|
|
76
|
+
"peerDependencies": {
|
|
77
|
+
"hono": "4.12.26",
|
|
78
|
+
"react": "19.2.7"
|
|
79
|
+
},
|
|
80
|
+
"peerDependenciesMeta": {
|
|
81
|
+
"hono": {
|
|
82
|
+
"optional": true
|
|
83
|
+
},
|
|
84
|
+
"react": {
|
|
85
|
+
"optional": true
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"devDependencies": {
|
|
89
|
+
"@hey-api/openapi-ts": "0.98.2",
|
|
90
|
+
"@types/node": "26.0.0",
|
|
91
|
+
"@types/react": "19.2.17",
|
|
92
|
+
"@vitest/coverage-v8": "4.1.9",
|
|
93
|
+
"eslint": "10.5.0",
|
|
94
|
+
"hono": "4.12.26",
|
|
95
|
+
"react": "19.2.7",
|
|
96
|
+
"tsdown": "0.22.3",
|
|
97
|
+
"typescript": "6.0.3",
|
|
98
|
+
"vitest": "4.1.9",
|
|
99
|
+
"@metatron/contracts": "0.0.0",
|
|
100
|
+
"@metatron/eslint-config": "0.0.0",
|
|
101
|
+
"@metatron/typescript-config": "0.0.0",
|
|
102
|
+
"@metatron/vitest-config": "0.0.0"
|
|
103
|
+
},
|
|
104
|
+
"scripts": {
|
|
105
|
+
"build": "tsdown",
|
|
106
|
+
"clean": "pnpm -w exec rimraf dist",
|
|
107
|
+
"generate": "openapi-ts",
|
|
108
|
+
"lint": "eslint . --cache --cache-location node_modules/.cache/eslint/",
|
|
109
|
+
"lint:fix": "eslint . --fix",
|
|
110
|
+
"test": "vitest run",
|
|
111
|
+
"test:coverage": "vitest run --coverage",
|
|
112
|
+
"test:watch": "vitest",
|
|
113
|
+
"typecheck": "tsc --noEmit"
|
|
114
|
+
}
|
|
115
|
+
}
|