@dvmkit/sdk 0.0.0 → 0.1.0-rc.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/NOTICE +2 -0
- package/README.md +38 -2
- package/dist/chunk-27V2ILSR.js +291 -0
- package/dist/chunk-5GFED3GJ.js +955 -0
- package/dist/chunk-6JZIX5WW.js +1155 -0
- package/dist/chunk-7IH5SG2A.js +1038 -0
- package/dist/chunk-AT6V3SY7.js +102 -0
- package/dist/chunk-DCNT4PJS.js +733 -0
- package/dist/chunk-DMNLFNTW.js +135 -0
- package/dist/chunk-FROTD5XQ.js +70 -0
- package/dist/chunk-H25M54MI.js +149 -0
- package/dist/chunk-KQAJVVZT.js +712 -0
- package/dist/chunk-KXWROQGK.js +74 -0
- package/dist/chunk-L4OYF4DQ.js +67 -0
- package/dist/chunk-NTK5DJ6R.js +1256 -0
- package/dist/chunk-RPXHKMYE.js +3808 -0
- package/dist/chunk-S3XAHZQY.js +63 -0
- package/dist/chunk-YG7G4DPZ.js +25 -0
- package/dist/credit-ledger-EDMEZSA2.js +28 -0
- package/dist/index.d.ts +144 -0
- package/dist/index.js +303 -0
- package/dist/job-store-C5n6bhap.d.ts +5090 -0
- package/dist/memory-credit-ledger-7TTZDSRS.js +9 -0
- package/dist/mpp-secret-state-WNAQQ6K4.js +127 -0
- package/dist/mpp-setup-MOBWGTWJ.js +30 -0
- package/dist/postgres-consumed-credential-store-VHBT4KEA.js +72 -0
- package/dist/postgres-job-store-J5F4GUWU.js +7 -0
- package/dist/postgres-kv-store-JFBDP5IP.js +7 -0
- package/dist/postgres-replay-store-UJXRT6VO.js +7 -0
- package/dist/pricing-4CEB34RM.js +48 -0
- package/dist/processed-payment-store-HAA4SFNK.js +11 -0
- package/dist/revenue-reporter-M35KP6V7.js +435 -0
- package/dist/server/index.d.ts +4108 -0
- package/dist/server/index.js +22538 -0
- package/dist/ssrf-BdHsrrIb.d.ts +325 -0
- package/dist/tempo-charge-store-6GJEMNUU.js +130 -0
- package/dist/tempo-session-store-FTEEGZXA.js +467 -0
- package/dist/testing/index.d.ts +135 -0
- package/dist/testing/index.js +151 -0
- package/dist/x402-35VLYFKZ.js +1272 -0
- package/package.json +89 -6
package/package.json
CHANGED
|
@@ -1,10 +1,93 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dvmkit/sdk",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.1.0-rc.1",
|
|
4
|
+
"description": "SDK for building accountless, pay-per-use Digital Vending Machines",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/dvmkit/sdk.git"
|
|
9
|
+
},
|
|
10
|
+
"homepage": "https://dvmkit.ai/docs/sdk",
|
|
11
|
+
"bugs": {
|
|
12
|
+
"url": "https://github.com/dvmkit/sdk/issues"
|
|
13
|
+
},
|
|
14
|
+
"publishConfig": {
|
|
15
|
+
"access": "public"
|
|
16
|
+
},
|
|
17
|
+
"type": "module",
|
|
18
|
+
"exports": {
|
|
19
|
+
".": {
|
|
20
|
+
"types": "./dist/index.d.ts",
|
|
21
|
+
"import": "./dist/index.js"
|
|
22
|
+
},
|
|
23
|
+
"./testing": {
|
|
24
|
+
"types": "./dist/testing/index.d.ts",
|
|
25
|
+
"import": "./dist/testing/index.js"
|
|
26
|
+
},
|
|
27
|
+
"./server": {
|
|
28
|
+
"types": "./dist/server/index.d.ts",
|
|
29
|
+
"import": "./dist/server/index.js"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"files": [
|
|
33
|
+
"dist",
|
|
34
|
+
"NOTICE"
|
|
35
|
+
],
|
|
36
|
+
"engines": {
|
|
37
|
+
"node": ">=22"
|
|
38
|
+
},
|
|
39
|
+
"scripts": {
|
|
40
|
+
"build": "tsup --config tsup.config.ts && node scripts/prune-sdk-dist.mjs",
|
|
41
|
+
"check:api": "node scripts/check-api-surface.mjs",
|
|
42
|
+
"check:consumer": "node scripts/consumer-smoke.mjs",
|
|
43
|
+
"check:package": "node scripts/package-smoke.mjs",
|
|
44
|
+
"check:public-safety": "node scripts/public-safety.mjs",
|
|
45
|
+
"check:release": "node scripts/check-release.mjs",
|
|
46
|
+
"check:toolchain": "node scripts/check-toolchain.mjs",
|
|
47
|
+
"clean-install-smoke": "node scripts/clean-install-smoke.mjs",
|
|
48
|
+
"lint": "eslint . --max-warnings 0",
|
|
49
|
+
"release:tag": "node scripts/release-tag.mjs",
|
|
50
|
+
"test": "vitest run --config vitest.config.ts",
|
|
51
|
+
"test:db": "vitest run --config vitest.db.config.ts",
|
|
52
|
+
"typecheck": "tsc --noEmit",
|
|
53
|
+
"typecheck:scripts": "tsc --noEmit --project tsconfig.scripts.json",
|
|
54
|
+
"verify": "node scripts/verify.mjs"
|
|
55
|
+
},
|
|
56
|
+
"dependencies": {
|
|
57
|
+
"@cashu/cashu-ts": "4.2.1",
|
|
58
|
+
"@hono/node-server": "1.19.17",
|
|
59
|
+
"@noble/curves": "2.0.1",
|
|
60
|
+
"@noble/hashes": "2.0.1",
|
|
61
|
+
"@scure/base": "2.0.0",
|
|
62
|
+
"@scure/bip32": "2.2.0",
|
|
63
|
+
"@scure/bip39": "2.0.1",
|
|
64
|
+
"@x402/core": "2.21.0",
|
|
65
|
+
"@x402/evm": "2.21.0",
|
|
66
|
+
"hono": "4.12.27",
|
|
67
|
+
"jose": "6.2.1",
|
|
68
|
+
"mppx": "0.8.15",
|
|
69
|
+
"nostr-tools": "2.23.3",
|
|
70
|
+
"proper-lockfile": "4.1.2",
|
|
71
|
+
"undici": "7.29.0",
|
|
72
|
+
"ws": "8.21.0",
|
|
73
|
+
"zod": "4.4.3"
|
|
74
|
+
},
|
|
75
|
+
"optionalDependencies": {
|
|
76
|
+
"pg": "8.20.0",
|
|
77
|
+
"viem": "2.55.11"
|
|
78
|
+
},
|
|
79
|
+
"devDependencies": {
|
|
80
|
+
"@eslint/js": "10.0.1",
|
|
81
|
+
"@types/node": "25.3.4",
|
|
82
|
+
"@types/pg": "8.18.0",
|
|
83
|
+
"@types/proper-lockfile": "4.1.4",
|
|
84
|
+
"@types/ws": "8.18.1",
|
|
85
|
+
"eslint": "10.9.1",
|
|
86
|
+
"globals": "17.11.0",
|
|
87
|
+
"tsup": "8.5.1",
|
|
88
|
+
"typescript": "5.9.3",
|
|
89
|
+
"typescript-eslint": "8.68.0",
|
|
90
|
+
"vitest": "4.1.10",
|
|
91
|
+
"yaml": "2.9.0"
|
|
92
|
+
}
|
|
10
93
|
}
|