@settlemint/dalp-sdk 3.1.25 → 3.1.26-main.37116470199
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 +239 -172
- package/dist/auth/client.d.ts +103 -0
- package/dist/auth/invite-step-up.d.ts +2 -0
- package/dist/auth/live.d.ts +47 -0
- package/dist/auth/native-passkey.d.ts +9 -0
- package/dist/{auth-permissions.d.ts → auth/permissions.d.ts} +0 -8
- package/dist/{auth-wallet-plugins.d.ts → auth/wallet-plugins.d.ts} +68 -6
- package/dist/auth-surface.d.ts +2 -0
- package/dist/auth.d.ts +8 -115
- package/dist/auth.js +525 -0
- package/dist/chunk-4f4kjtt0.js +149 -0
- package/dist/chunk-b03ycwb7.js +68 -0
- package/dist/chunk-ghgcmyhk.js +5 -0
- package/dist/chunk-h241xecg.js +1625 -0
- package/dist/chunk-hqz56e6q.js +4 -0
- package/dist/chunk-k3ntysxx.js +57 -0
- package/dist/chunk-pjjrxre1.js +36 -0
- package/dist/chunk-qvtjb3dz.js +102 -0
- package/dist/chunk-v54k7mgr.js +271 -0
- package/dist/chunk-w361dpdk.js +5 -0
- package/dist/client/conditional-request.d.ts +8 -0
- package/dist/client/factory.d.ts +4 -0
- package/dist/client/query-serializer.d.ts +1 -0
- package/dist/client/request-compression.d.ts +12 -0
- package/dist/client/ssr-fetch.d.ts +10 -0
- package/dist/client/step-up-challenge.d.ts +10 -0
- package/dist/effect.d.ts +38 -0
- package/dist/effect.js +87 -0
- package/dist/errors/api-error.d.ts +35 -0
- package/dist/errors/error-codes.d.ts +21 -0
- package/dist/errors/find-current-error.d.ts +2 -0
- package/dist/errors/sdk-error.d.ts +52 -0
- package/dist/errors/sdk-error.js +8 -0
- package/dist/generated/api-types.d.ts +69961 -0
- package/dist/generated/console-routes.d.ts +12 -0
- package/dist/generated/error-catalog.d.ts +9 -0
- package/dist/generated/error-codes.d.ts +9 -0
- package/dist/generated/response-scalars.d.ts +9 -0
- package/dist/generated/response-schemas.d.ts +9 -0
- package/dist/generated/route-error-codes.d.ts +9 -0
- package/dist/generated/routes.d.ts +12 -0
- package/dist/index.d.ts +28 -45
- package/dist/index.js +150 -96216
- package/dist/proxy/builder.d.ts +17 -0
- package/dist/proxy/client-core.d.ts +28 -0
- package/dist/proxy/client.d.ts +5 -0
- package/dist/proxy/fetch-executor.d.ts +6 -0
- package/dist/proxy/flat-args.d.ts +24 -0
- package/dist/proxy/response-decode.d.ts +37 -0
- package/dist/proxy/sse.d.ts +11 -0
- package/dist/proxy/step-up-challenge.d.ts +4 -0
- package/dist/proxy/tanstack.d.ts +6 -0
- package/dist/proxy/transport.d.ts +63 -0
- package/dist/react-query.d.ts +2 -0
- package/dist/react-query.js +12 -0
- package/dist/readonly-deep.d.ts +3 -0
- package/dist/routes/console.d.ts +14 -0
- package/dist/routes/console.js +25 -0
- package/dist/routes/index.d.ts +4 -0
- package/dist/routes/index.js +10 -0
- package/dist/routes/types.d.ts +72 -0
- package/dist/runtime-exports.d.ts +4 -0
- package/dist/runtime-exports.js +16 -0
- package/dist/runtime.d.ts +11 -0
- package/dist/scalars/big-decimal.d.ts +4 -0
- package/dist/scalars/ethereum-address.d.ts +5 -0
- package/dist/scalars/exchange-rates.d.ts +13 -0
- package/dist/scalars/index.d.ts +10 -0
- package/dist/scalars/index.js +102 -0
- package/dist/scalars/organization-id.d.ts +5 -0
- package/dist/scalars/token-decimals.d.ts +4 -0
- package/dist/secret.d.ts +12 -0
- package/dist/sign-webhook-receipt.d.ts +16 -0
- package/dist/sign-webhook-receipt.js +26 -0
- package/dist/transport/cookie-store.d.ts +9 -0
- package/dist/transport/sse-lifecycle.d.ts +24 -0
- package/dist/types.d.ts +37 -114
- package/dist/url.d.ts +0 -1
- package/dist/verify-webhook.d.ts +17 -28
- package/dist/verify-webhook.js +8 -0
- package/dist/version.d.ts +0 -3
- package/dist/wait-for-transaction.d.ts +44 -86
- package/dist/wait-for-transaction.js +151 -0
- package/dist/webhook-events.d.ts +543 -33
- package/package.json +110 -34
- package/dist/api-types.generated.d.ts +0 -14160
- package/dist/api-types.generated.d.ts.map +0 -1
- package/dist/auth-permissions.d.ts.map +0 -1
- package/dist/auth-wallet-plugins.d.ts.map +0 -1
- package/dist/auth.d.ts.map +0 -1
- package/dist/bundler.d.ts +0 -217
- package/dist/bundler.d.ts.map +0 -1
- package/dist/chunk-xm8h1dzh.js +0 -33
- package/dist/client.d.ts +0 -19
- package/dist/client.d.ts.map +0 -1
- package/dist/contract-errors.d.ts +0 -4156
- package/dist/contract-errors.d.ts.map +0 -1
- package/dist/contract.d.ts +0 -22
- package/dist/contract.d.ts.map +0 -1
- package/dist/cookie-store.d.ts +0 -10
- package/dist/cookie-store.d.ts.map +0 -1
- package/dist/dapi-errors.d.ts +0 -654
- package/dist/dapi-errors.d.ts.map +0 -1
- package/dist/errors.d.ts +0 -637
- package/dist/errors.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/platform.d.ts +0 -41
- package/dist/platform.d.ts.map +0 -1
- package/dist/plugins/index.d.ts +0 -13
- package/dist/plugins/index.d.ts.map +0 -1
- package/dist/plugins/index.js +0 -10
- package/dist/sdk-error.d.ts +0 -74
- package/dist/sdk-error.d.ts.map +0 -1
- package/dist/serializers.d.ts +0 -41
- package/dist/serializers.d.ts.map +0 -1
- package/dist/types.d.ts.map +0 -1
- package/dist/url.d.ts.map +0 -1
- package/dist/verify-webhook.d.ts.map +0 -1
- package/dist/version.d.ts.map +0 -1
- package/dist/version.generated.d.ts +0 -8
- package/dist/version.generated.d.ts.map +0 -1
- package/dist/wait-for-transaction.d.ts.map +0 -1
- package/dist/webhook-events.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@settlemint/dalp-sdk",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.26-main.37116470199",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Fully typed SDK for the DALP tokenization platform API",
|
|
6
6
|
"homepage": "https://settlemint.com",
|
|
@@ -19,8 +19,16 @@
|
|
|
19
19
|
"LICENSE"
|
|
20
20
|
],
|
|
21
21
|
"type": "module",
|
|
22
|
+
"sideEffects": [
|
|
23
|
+
"./src/**"
|
|
24
|
+
],
|
|
22
25
|
"exports": {
|
|
23
26
|
"./package.json": "./package.json",
|
|
27
|
+
"./runtime-exports": {
|
|
28
|
+
"types": "./dist/runtime-exports.d.ts",
|
|
29
|
+
"import": "./dist/runtime-exports.js",
|
|
30
|
+
"default": "./dist/runtime-exports.js"
|
|
31
|
+
},
|
|
24
32
|
".": {
|
|
25
33
|
"types": "./dist/index.d.ts",
|
|
26
34
|
"import": "./dist/index.js",
|
|
@@ -31,50 +39,118 @@
|
|
|
31
39
|
"import": "./dist/types.js",
|
|
32
40
|
"default": "./dist/types.js"
|
|
33
41
|
},
|
|
34
|
-
"./
|
|
35
|
-
"types": "./dist/
|
|
36
|
-
"import": "./dist/
|
|
37
|
-
"default": "./dist/
|
|
42
|
+
"./scalars": {
|
|
43
|
+
"types": "./dist/scalars/index.d.ts",
|
|
44
|
+
"import": "./dist/scalars/index.js",
|
|
45
|
+
"default": "./dist/scalars/index.js"
|
|
46
|
+
},
|
|
47
|
+
"./react-query": {
|
|
48
|
+
"types": "./dist/react-query.d.ts",
|
|
49
|
+
"import": "./dist/react-query.js",
|
|
50
|
+
"default": "./dist/react-query.js"
|
|
51
|
+
},
|
|
52
|
+
"./auth": {
|
|
53
|
+
"types": "./dist/auth.d.ts",
|
|
54
|
+
"import": "./dist/auth.js",
|
|
55
|
+
"default": "./dist/auth.js"
|
|
56
|
+
},
|
|
57
|
+
"./verify-webhook": {
|
|
58
|
+
"types": "./dist/verify-webhook.d.ts",
|
|
59
|
+
"import": "./dist/verify-webhook.js",
|
|
60
|
+
"default": "./dist/verify-webhook.js"
|
|
61
|
+
},
|
|
62
|
+
"./wait-for-transaction": {
|
|
63
|
+
"types": "./dist/wait-for-transaction.d.ts",
|
|
64
|
+
"import": "./dist/wait-for-transaction.js",
|
|
65
|
+
"default": "./dist/wait-for-transaction.js"
|
|
66
|
+
},
|
|
67
|
+
"./sdk-error": {
|
|
68
|
+
"types": "./dist/errors/sdk-error.d.ts",
|
|
69
|
+
"import": "./dist/errors/sdk-error.js",
|
|
70
|
+
"default": "./dist/errors/sdk-error.js"
|
|
71
|
+
},
|
|
72
|
+
"./sign-webhook-receipt": {
|
|
73
|
+
"types": "./dist/sign-webhook-receipt.d.ts",
|
|
74
|
+
"import": "./dist/sign-webhook-receipt.js",
|
|
75
|
+
"default": "./dist/sign-webhook-receipt.js"
|
|
76
|
+
},
|
|
77
|
+
"./effect": {
|
|
78
|
+
"types": "./dist/effect.d.ts",
|
|
79
|
+
"import": "./dist/effect.js",
|
|
80
|
+
"default": "./dist/effect.js"
|
|
81
|
+
},
|
|
82
|
+
"./routes": {
|
|
83
|
+
"types": "./dist/routes/index.d.ts",
|
|
84
|
+
"import": "./dist/routes/index.js",
|
|
85
|
+
"default": "./dist/routes/index.js"
|
|
86
|
+
},
|
|
87
|
+
"./routes/console": {
|
|
88
|
+
"types": "./dist/routes/console.d.ts",
|
|
89
|
+
"import": "./dist/routes/console.js",
|
|
90
|
+
"default": "./dist/routes/console.js"
|
|
38
91
|
}
|
|
39
92
|
},
|
|
40
93
|
"publishConfig": {
|
|
41
94
|
"access": "public"
|
|
42
95
|
},
|
|
43
96
|
"scripts": {
|
|
44
|
-
"build": "
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
97
|
+
"build": "taskguard sh -c 'bun scripts/build.ts && bun scripts/check-dts-portability.ts'",
|
|
98
|
+
"codegen": "taskguard bun scripts/codegen.ts",
|
|
99
|
+
"publint": "publint run --strict --pack bun",
|
|
100
|
+
"attw": "archive=$(bun pm pack --destination \"$PWD\" --quiet | tail -n 1) && attw \"$archive\" --profile esm-only; code=$?; rm -f \"$archive\"; exit $code",
|
|
101
|
+
"publish": "cp ../LICENSE . && bun run --cwd .. publish-if-absent \"$PWD\"",
|
|
102
|
+
"prepack": "cp ../LICENSE .",
|
|
103
|
+
"test": "taskguard bun --bun vitest run --config node_modules/@tools/vitest-config/vitest.config.mjs --configLoader native --project unit --testTimeout 30000 tests/unit",
|
|
104
|
+
"test:coverage": "taskguard bun --bun vitest run --config node_modules/@tools/vitest-config/vitest.config.mjs --configLoader native --project unit --testTimeout 30000 tests/unit --coverage",
|
|
105
|
+
"lint": "taskguard oxlint --deny-warnings .",
|
|
106
|
+
"typecheck": "taskguard sh -c 'tsc -p . && tsc --noEmit -p scripts/tsconfig.json && tsc -p tsconfig.generated-types.json'",
|
|
107
|
+
"check:dts-portability": "bun scripts/check-dts-portability.ts",
|
|
108
|
+
"check:auth-coverage": "bun scripts/check-auth-coverage.ts",
|
|
109
|
+
"codegen:webhook-events-sdk": "bun scripts/generate-webhook-events-sdk.ts"
|
|
53
110
|
},
|
|
54
111
|
"dependencies": {
|
|
55
|
-
"@better-auth/api-key": "1.
|
|
56
|
-
"@better-auth/passkey": "1.
|
|
57
|
-
"@
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"better-auth": "1.6.19",
|
|
61
|
-
"currency-codes": "2.2.0",
|
|
62
|
-
"date-fns": "4.4.0",
|
|
112
|
+
"@better-auth/api-key": "1.7.7",
|
|
113
|
+
"@better-auth/passkey": "1.7.7",
|
|
114
|
+
"@domains/webhooks-contract": "3.1.5",
|
|
115
|
+
"better-auth": "1.7.7",
|
|
116
|
+
"better-call": "1.4.0",
|
|
63
117
|
"dnum": "2.17.0",
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"viem": "2.52.2",
|
|
67
|
-
"zod": "4.4.3"
|
|
118
|
+
"standardwebhooks": "1.1.1",
|
|
119
|
+
"viem": "2.57.2"
|
|
68
120
|
},
|
|
69
121
|
"devDependencies": {
|
|
70
|
-
"@arethetypeswrong/cli": "0.18.
|
|
71
|
-
"@
|
|
72
|
-
"@
|
|
73
|
-
"@
|
|
74
|
-
"@
|
|
75
|
-
"@
|
|
76
|
-
"
|
|
77
|
-
"
|
|
122
|
+
"@arethetypeswrong/cli": "0.18.5",
|
|
123
|
+
"@domains/trading-venue-contract": "0.0.0",
|
|
124
|
+
"@kernel/evm": "3.1.11",
|
|
125
|
+
"@kernel/json": "3.1.11",
|
|
126
|
+
"@tanstack/react-query": "5.104.0",
|
|
127
|
+
"@tools/typescript-config": "3.1.11",
|
|
128
|
+
"@tools/vitest-config": "3.1.11",
|
|
129
|
+
"@types/bun": "1.4.2",
|
|
130
|
+
"@wire/http-contract": "3.1.11",
|
|
131
|
+
"abort-controller": "3.0.0",
|
|
132
|
+
"effect": "4.0.0",
|
|
133
|
+
"publint": "0.3.24",
|
|
134
|
+
"typescript": "7.0.2",
|
|
135
|
+
"vitest": "5.0.3",
|
|
136
|
+
"whatwg-fetch": "3.6.20",
|
|
137
|
+
"zod": "4.6.5"
|
|
138
|
+
},
|
|
139
|
+
"peerDependencies": {
|
|
140
|
+
"@tanstack/react-query": "^5.101.4",
|
|
141
|
+
"effect": "^4.0.0",
|
|
142
|
+
"zod": "^4.5.4"
|
|
143
|
+
},
|
|
144
|
+
"peerDependenciesMeta": {
|
|
145
|
+
"@tanstack/react-query": {
|
|
146
|
+
"optional": true
|
|
147
|
+
},
|
|
148
|
+
"effect": {
|
|
149
|
+
"optional": true
|
|
150
|
+
},
|
|
151
|
+
"zod": {
|
|
152
|
+
"optional": true
|
|
153
|
+
}
|
|
78
154
|
},
|
|
79
155
|
"engines": {
|
|
80
156
|
"node": ">=20"
|