@settlemint/dalp-sdk 3.1.26-main.37116470199 → 3.1.26

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.
Files changed (123) hide show
  1. package/README.md +172 -239
  2. package/dist/api-types.generated.d.ts +14160 -0
  3. package/dist/api-types.generated.d.ts.map +1 -0
  4. package/dist/{auth/permissions.d.ts → auth-permissions.d.ts} +8 -0
  5. package/dist/auth-permissions.d.ts.map +1 -0
  6. package/dist/{auth/wallet-plugins.d.ts → auth-wallet-plugins.d.ts} +6 -68
  7. package/dist/auth-wallet-plugins.d.ts.map +1 -0
  8. package/dist/auth.d.ts +115 -8
  9. package/dist/auth.d.ts.map +1 -0
  10. package/dist/bundler.d.ts +217 -0
  11. package/dist/bundler.d.ts.map +1 -0
  12. package/dist/chunk-xm8h1dzh.js +33 -0
  13. package/dist/client.d.ts +19 -0
  14. package/dist/client.d.ts.map +1 -0
  15. package/dist/contract-errors.d.ts +4156 -0
  16. package/dist/contract-errors.d.ts.map +1 -0
  17. package/dist/contract.d.ts +22 -0
  18. package/dist/contract.d.ts.map +1 -0
  19. package/dist/cookie-store.d.ts +10 -0
  20. package/dist/cookie-store.d.ts.map +1 -0
  21. package/dist/dapi-errors.d.ts +654 -0
  22. package/dist/dapi-errors.d.ts.map +1 -0
  23. package/dist/errors.d.ts +637 -0
  24. package/dist/errors.d.ts.map +1 -0
  25. package/dist/index.d.ts +45 -28
  26. package/dist/index.d.ts.map +1 -0
  27. package/dist/index.js +96216 -150
  28. package/dist/platform.d.ts +41 -0
  29. package/dist/platform.d.ts.map +1 -0
  30. package/dist/plugins/index.d.ts +13 -0
  31. package/dist/plugins/index.d.ts.map +1 -0
  32. package/dist/plugins/index.js +10 -0
  33. package/dist/sdk-error.d.ts +74 -0
  34. package/dist/sdk-error.d.ts.map +1 -0
  35. package/dist/serializers.d.ts +41 -0
  36. package/dist/serializers.d.ts.map +1 -0
  37. package/dist/types.d.ts +114 -37
  38. package/dist/types.d.ts.map +1 -0
  39. package/dist/url.d.ts +1 -0
  40. package/dist/url.d.ts.map +1 -0
  41. package/dist/verify-webhook.d.ts +28 -17
  42. package/dist/verify-webhook.d.ts.map +1 -0
  43. package/dist/version.d.ts +3 -0
  44. package/dist/version.d.ts.map +1 -0
  45. package/dist/version.generated.d.ts +8 -0
  46. package/dist/version.generated.d.ts.map +1 -0
  47. package/dist/wait-for-transaction.d.ts +86 -44
  48. package/dist/wait-for-transaction.d.ts.map +1 -0
  49. package/dist/webhook-events.d.ts +33 -543
  50. package/dist/webhook-events.d.ts.map +1 -0
  51. package/package.json +34 -110
  52. package/dist/auth/client.d.ts +0 -103
  53. package/dist/auth/invite-step-up.d.ts +0 -2
  54. package/dist/auth/live.d.ts +0 -47
  55. package/dist/auth/native-passkey.d.ts +0 -9
  56. package/dist/auth-surface.d.ts +0 -2
  57. package/dist/auth.js +0 -525
  58. package/dist/chunk-4f4kjtt0.js +0 -149
  59. package/dist/chunk-b03ycwb7.js +0 -68
  60. package/dist/chunk-ghgcmyhk.js +0 -5
  61. package/dist/chunk-h241xecg.js +0 -1625
  62. package/dist/chunk-hqz56e6q.js +0 -4
  63. package/dist/chunk-k3ntysxx.js +0 -57
  64. package/dist/chunk-pjjrxre1.js +0 -36
  65. package/dist/chunk-qvtjb3dz.js +0 -102
  66. package/dist/chunk-v54k7mgr.js +0 -271
  67. package/dist/chunk-w361dpdk.js +0 -5
  68. package/dist/client/conditional-request.d.ts +0 -8
  69. package/dist/client/factory.d.ts +0 -4
  70. package/dist/client/query-serializer.d.ts +0 -1
  71. package/dist/client/request-compression.d.ts +0 -12
  72. package/dist/client/ssr-fetch.d.ts +0 -10
  73. package/dist/client/step-up-challenge.d.ts +0 -10
  74. package/dist/effect.d.ts +0 -38
  75. package/dist/effect.js +0 -87
  76. package/dist/errors/api-error.d.ts +0 -35
  77. package/dist/errors/error-codes.d.ts +0 -21
  78. package/dist/errors/find-current-error.d.ts +0 -2
  79. package/dist/errors/sdk-error.d.ts +0 -52
  80. package/dist/errors/sdk-error.js +0 -8
  81. package/dist/generated/api-types.d.ts +0 -69961
  82. package/dist/generated/console-routes.d.ts +0 -12
  83. package/dist/generated/error-catalog.d.ts +0 -9
  84. package/dist/generated/error-codes.d.ts +0 -9
  85. package/dist/generated/response-scalars.d.ts +0 -9
  86. package/dist/generated/response-schemas.d.ts +0 -9
  87. package/dist/generated/route-error-codes.d.ts +0 -9
  88. package/dist/generated/routes.d.ts +0 -12
  89. package/dist/proxy/builder.d.ts +0 -17
  90. package/dist/proxy/client-core.d.ts +0 -28
  91. package/dist/proxy/client.d.ts +0 -5
  92. package/dist/proxy/fetch-executor.d.ts +0 -6
  93. package/dist/proxy/flat-args.d.ts +0 -24
  94. package/dist/proxy/response-decode.d.ts +0 -37
  95. package/dist/proxy/sse.d.ts +0 -11
  96. package/dist/proxy/step-up-challenge.d.ts +0 -4
  97. package/dist/proxy/tanstack.d.ts +0 -6
  98. package/dist/proxy/transport.d.ts +0 -63
  99. package/dist/react-query.d.ts +0 -2
  100. package/dist/react-query.js +0 -12
  101. package/dist/readonly-deep.d.ts +0 -3
  102. package/dist/routes/console.d.ts +0 -14
  103. package/dist/routes/console.js +0 -25
  104. package/dist/routes/index.d.ts +0 -4
  105. package/dist/routes/index.js +0 -10
  106. package/dist/routes/types.d.ts +0 -72
  107. package/dist/runtime-exports.d.ts +0 -4
  108. package/dist/runtime-exports.js +0 -16
  109. package/dist/runtime.d.ts +0 -11
  110. package/dist/scalars/big-decimal.d.ts +0 -4
  111. package/dist/scalars/ethereum-address.d.ts +0 -5
  112. package/dist/scalars/exchange-rates.d.ts +0 -13
  113. package/dist/scalars/index.d.ts +0 -10
  114. package/dist/scalars/index.js +0 -102
  115. package/dist/scalars/organization-id.d.ts +0 -5
  116. package/dist/scalars/token-decimals.d.ts +0 -4
  117. package/dist/secret.d.ts +0 -12
  118. package/dist/sign-webhook-receipt.d.ts +0 -16
  119. package/dist/sign-webhook-receipt.js +0 -26
  120. package/dist/transport/cookie-store.d.ts +0 -9
  121. package/dist/transport/sse-lifecycle.d.ts +0 -24
  122. package/dist/verify-webhook.js +0 -8
  123. package/dist/wait-for-transaction.js +0 -151
@@ -1,57 +0,0 @@
1
- // src/errors/sdk-error.ts
2
- var DALP_SDK_ERROR_CODE = "DALP_SDK_ERROR";
3
- var DALP_SDK_ERROR_CATEGORY = "sdk.configuration";
4
-
5
- class DalpSdkError2 extends Error {
6
- code;
7
- routeId;
8
- category;
9
- status;
10
- retryable;
11
- why;
12
- fix;
13
- details;
14
- retryAfterSeconds;
15
- constructor(options) {
16
- super(options.message, { cause: options.cause });
17
- this.name = "DalpSdkError";
18
- this.code = options.code ?? DALP_SDK_ERROR_CODE;
19
- this.routeId = options.routeId;
20
- this.category = options.category;
21
- this.status = options.status;
22
- this.retryable = options.retryable;
23
- this.why = options.why;
24
- this.fix = options.fix;
25
- this.details = options.details;
26
- this.retryAfterSeconds = options.retryAfterSeconds;
27
- }
28
- toJSON() {
29
- return {
30
- name: "DalpSdkError",
31
- code: this.code,
32
- category: this.category,
33
- retryable: this.retryable,
34
- message: this.message,
35
- why: this.why,
36
- fix: this.fix,
37
- ...this.routeId === undefined ? {} : { routeId: this.routeId },
38
- ...this.status === undefined ? {} : { status: this.status },
39
- ...this.details === undefined ? {} : { details: this.details },
40
- ...this.retryAfterSeconds === undefined ? {} : { retryAfterSeconds: this.retryAfterSeconds }
41
- };
42
- }
43
- }
44
- function createDalpSdkConfigurationError2(input) {
45
- return new DalpSdkError2({
46
- code: DALP_SDK_ERROR_CODE,
47
- category: DALP_SDK_ERROR_CATEGORY,
48
- status: 400,
49
- retryable: false,
50
- message: input.message,
51
- why: input.why,
52
- fix: input.fix,
53
- cause: input.cause
54
- });
55
- }
56
-
57
- export { DalpSdkError2, createDalpSdkConfigurationError2 };
@@ -1,36 +0,0 @@
1
- import {
2
- createTransport,
3
- streamRequest,
4
- sendRequest,
5
- createFetchExecutor,
6
- createTanstackFactories
7
- } from "./chunk-h241xecg.js";
8
- import {
9
- buildProxy,
10
- findRoute
11
- } from "./chunk-b03ycwb7.js";
12
-
13
- // src/proxy/client-core.ts
14
- function buildDalpClient(options, table) {
15
- const transport = createTransport(options);
16
- const api = buildProxy(table, createFetchExecutor(transport), createTanstackFactories(transport));
17
- const routeFor = (routeId) => {
18
- const route = findRoute(table, routeId);
19
- if (route === undefined) {
20
- throw new TypeError(`Unknown DALP route \`${routeId}\``);
21
- }
22
- return route;
23
- };
24
- return {
25
- api,
26
- conditionalRequests: transport.conditionalRequests,
27
- execute: async (routeId, input, callOptions) => {
28
- const route = routeFor(routeId);
29
- return route.serializer === "sse" ? streamRequest(transport, route, routeId, { flat: input }, callOptions) : await sendRequest(transport, route, routeId, { flat: input }, callOptions);
30
- },
31
- sendParts: async (routeId, parts, callOptions) => sendRequest(transport, routeFor(routeId), routeId, { parts }, callOptions),
32
- streamParts: (routeId, parts, callOptions) => streamRequest(transport, routeFor(routeId), routeId, { parts }, callOptions)
33
- };
34
- }
35
-
36
- export { buildDalpClient };
@@ -1,102 +0,0 @@
1
- // src/verify-webhook.ts
2
- import { Webhook as StandardWebhook } from "standardwebhooks";
3
- var DEFAULT_TIMESTAMP_TOLERANCE_SECONDS = 5 * 60;
4
- function toStandardWebhookSecret2(secret) {
5
- return secret.replace(/^dalp_whsk_/u, "");
6
- }
7
- async function verifyWebhook2(input) {
8
- const headers = normalizeHeaders(input.headers);
9
- const nowMillis = input.now instanceof Date ? input.now.getTime() : input.now ?? Date.now();
10
- const tolerance = input.timestampToleranceSeconds ?? DEFAULT_TIMESTAMP_TOLERANCE_SECONDS;
11
- if (!hasFiniteTimestamp(headers) || isOutsideTimestampTolerance(headers, nowMillis, tolerance)) {
12
- return { ok: false, code: "TIMESTAMP_SKEW" };
13
- }
14
- const rawText = typeof input.rawBody === "string" ? input.rawBody : new TextDecoder().decode(input.rawBody);
15
- const eventId = headers["webhook-id"];
16
- if (eventId !== undefined && await input.replayStore?.has(eventId) === true) {
17
- return { ok: false, code: "REPLAYED_EVENT" };
18
- }
19
- let sawMalformedBody = false;
20
- let sawReplayStoreFailure = false;
21
- for (const candidate of Array.isArray(input.secret) ? input.secret : [input.secret]) {
22
- if (!matchesSignature(candidate, rawText, headers)) {
23
- continue;
24
- }
25
- let event;
26
- try {
27
- event = JSON.parse(rawText);
28
- } catch {
29
- sawMalformedBody = true;
30
- continue;
31
- }
32
- if (eventId !== undefined && input.replayStore !== undefined) {
33
- try {
34
- await input.replayStore.add(eventId);
35
- } catch {
36
- sawReplayStoreFailure = true;
37
- continue;
38
- }
39
- }
40
- return { ok: true, event };
41
- }
42
- if (sawReplayStoreFailure) {
43
- return { ok: false, code: "REPLAY_STORE_FAILURE" };
44
- }
45
- if (sawMalformedBody) {
46
- return { ok: false, code: "MALFORMED_BODY" };
47
- }
48
- return { ok: false, code: classifySignatureFailure(rawText, headers) };
49
- }
50
- function matchesSignature(secret, rawBody, headers) {
51
- const eventId = headers["webhook-id"];
52
- const timestamp = Number(headers["webhook-timestamp"]);
53
- const signatures = headers["webhook-signature"];
54
- if (eventId === undefined || !Number.isFinite(timestamp) || signatures === undefined) {
55
- return false;
56
- }
57
- const expected = new StandardWebhook(toStandardWebhookSecret2(secret)).sign(eventId, new Date(timestamp * 1000), rawBody);
58
- return signatures.split(" ").some((signature) => {
59
- const left = new TextEncoder().encode(signature);
60
- const right = new TextEncoder().encode(expected);
61
- if (left.byteLength !== right.byteLength) {
62
- return false;
63
- }
64
- let difference = 0;
65
- for (let index = 0;index < left.byteLength; index += 1) {
66
- difference |= (left[index] ?? 0) ^ (right[index] ?? 0);
67
- }
68
- return difference === 0;
69
- });
70
- }
71
- function normalizeHeaders(input) {
72
- if (input instanceof Headers) {
73
- return Object.fromEntries(input.entries());
74
- }
75
- const headers = {};
76
- for (const [key, value] of Object.entries(input)) {
77
- if (value !== undefined) {
78
- headers[key.toLowerCase()] = typeof value === "string" ? value : value.join(",");
79
- }
80
- }
81
- return headers;
82
- }
83
- function hasFiniteTimestamp(headers) {
84
- return Number.isFinite(Number(headers["webhook-timestamp"]));
85
- }
86
- function isOutsideTimestampTolerance(headers, nowMillis, toleranceSeconds) {
87
- const timestamp = Number(headers["webhook-timestamp"]);
88
- return Number.isFinite(timestamp) && Math.abs(nowMillis / 1000 - timestamp) > toleranceSeconds;
89
- }
90
- function classifySignatureFailure(rawBody, headers) {
91
- try {
92
- const parsed = JSON.parse(rawBody);
93
- if (typeof parsed.evt_id !== "string" || parsed.evt_id !== headers["webhook-id"]) {
94
- return "BODY_HASH_MISMATCH";
95
- }
96
- } catch {
97
- return "BODY_HASH_MISMATCH";
98
- }
99
- return "SECRET_MISMATCH";
100
- }
101
-
102
- export { toStandardWebhookSecret2, verifyWebhook2 };
@@ -1,271 +0,0 @@
1
- import {
2
- keepBufferingMarker
3
- } from "./chunk-4f4kjtt0.js";
4
-
5
- // src/transport/cookie-store.ts
6
- var parseCookieHeader = (header) => {
7
- const cookies = new Map;
8
- for (const part of header.split(";")) {
9
- const pair = part.trim();
10
- const separator = pair.indexOf("=");
11
- if (separator > 0) {
12
- cookies.set(pair.slice(0, separator), pair);
13
- }
14
- }
15
- return cookies;
16
- };
17
- var isCookieDeletion = (setCookie, now = Date.now()) => {
18
- if (/\bmax-age\s*=\s*-?0+\b/iu.test(setCookie) || /\bmax-age\s*=\s*-\d+\b/iu.test(setCookie)) {
19
- return true;
20
- }
21
- const expires = /\bexpires\s*=\s*([^;]+)/iu.exec(setCookie)?.[1];
22
- if (expires === undefined) {
23
- return false;
24
- }
25
- const parsed = Date.parse(expires.trim());
26
- return !Number.isNaN(parsed) && parsed <= now;
27
- };
28
- function makeCookieStore2(initialHeader = "") {
29
- const cookies = parseCookieHeader(initialHeader);
30
- return {
31
- header: () => [...cookies.values()].join("; "),
32
- isEmpty: () => cookies.size === 0,
33
- setCookieHeader: (header) => {
34
- cookies.clear();
35
- for (const [name, pair] of parseCookieHeader(header)) {
36
- cookies.set(name, pair);
37
- }
38
- },
39
- storeSetCookieHeaders: (headers) => {
40
- for (const setCookie of headers) {
41
- const pair = setCookie.split(";", 1)[0]?.trim() ?? "";
42
- const separator = pair.indexOf("=");
43
- if (separator <= 0) {
44
- continue;
45
- }
46
- const name = pair.slice(0, separator);
47
- if (isCookieDeletion(setCookie)) {
48
- cookies.delete(name);
49
- } else {
50
- cookies.set(name, pair);
51
- }
52
- }
53
- }
54
- };
55
- }
56
- var getSetCookieHeaders = (headers) => {
57
- const { getSetCookie } = headers;
58
- if (getSetCookie !== undefined) {
59
- return getSetCookie.call(headers);
60
- }
61
- const value = headers.get("set-cookie");
62
- return value === null ? [] : splitCombinedSetCookie(value);
63
- };
64
- var splitCombinedSetCookie = (value) => {
65
- const cookies = [];
66
- const lowered = value.toLowerCase();
67
- let start = 0;
68
- let inExpires = false;
69
- for (let index = 0;index < value.length; index += 1) {
70
- if (lowered.startsWith("expires=", index)) {
71
- inExpires = true;
72
- }
73
- const character = value[index];
74
- if (character === ";") {
75
- inExpires = false;
76
- }
77
- if (character !== "," || inExpires) {
78
- continue;
79
- }
80
- const next = value.slice(index + 1);
81
- if (!/^\s*[\w!#$%&'*+\-.^`|~]+=/u.test(next)) {
82
- continue;
83
- }
84
- cookies.push(value.slice(start, index).trim());
85
- start = index + 1;
86
- }
87
- const finalCookie = value.slice(start).trim();
88
- if (finalCookie.length > 0) {
89
- cookies.push(finalCookie);
90
- }
91
- return cookies;
92
- };
93
- function createCookieStoreFetch2(cookieStore, fetchImpl = globalThis.fetch) {
94
- const cookieStoreFetch = async (input, init) => {
95
- const headers = new Headers(init?.headers ?? (input instanceof Request ? input.headers : undefined));
96
- if (!cookieStore.isEmpty() && !headers.has("cookie")) {
97
- headers.set("cookie", cookieStore.header());
98
- }
99
- const response = await fetchImpl(input, { ...init, headers });
100
- if (response.status < 500) {
101
- cookieStore.storeSetCookieHeaders(getSetCookieHeaders(response.headers));
102
- }
103
- return response;
104
- };
105
- return keepBufferingMarker(fetchImpl, cookieStoreFetch);
106
- }
107
- // package.json
108
- var package_default = {
109
- name: "@settlemint/dalp-sdk",
110
- version: "3.1.26-main.37116470199",
111
- private: false,
112
- description: "Fully typed SDK for the DALP tokenization platform API",
113
- homepage: "https://settlemint.com",
114
- bugs: {
115
- email: "support@settlemint.com"
116
- },
117
- license: "SEE LICENSE IN LICENSE",
118
- author: {
119
- name: "SettleMint",
120
- email: "support@settlemint.com",
121
- url: "https://settlemint.com"
122
- },
123
- files: [
124
- "dist",
125
- "README.md",
126
- "LICENSE"
127
- ],
128
- type: "module",
129
- sideEffects: [
130
- "./src/**"
131
- ],
132
- exports: {
133
- "./package.json": "./package.json",
134
- "./runtime-exports": {
135
- types: "./dist/runtime-exports.d.ts",
136
- import: "./dist/runtime-exports.js",
137
- default: "./dist/runtime-exports.js"
138
- },
139
- ".": {
140
- types: "./dist/index.d.ts",
141
- import: "./dist/index.js",
142
- default: "./dist/index.js"
143
- },
144
- "./types": {
145
- types: "./dist/types.d.ts",
146
- import: "./dist/types.js",
147
- default: "./dist/types.js"
148
- },
149
- "./scalars": {
150
- types: "./dist/scalars/index.d.ts",
151
- import: "./dist/scalars/index.js",
152
- default: "./dist/scalars/index.js"
153
- },
154
- "./react-query": {
155
- types: "./dist/react-query.d.ts",
156
- import: "./dist/react-query.js",
157
- default: "./dist/react-query.js"
158
- },
159
- "./auth": {
160
- types: "./dist/auth.d.ts",
161
- import: "./dist/auth.js",
162
- default: "./dist/auth.js"
163
- },
164
- "./verify-webhook": {
165
- types: "./dist/verify-webhook.d.ts",
166
- import: "./dist/verify-webhook.js",
167
- default: "./dist/verify-webhook.js"
168
- },
169
- "./wait-for-transaction": {
170
- types: "./dist/wait-for-transaction.d.ts",
171
- import: "./dist/wait-for-transaction.js",
172
- default: "./dist/wait-for-transaction.js"
173
- },
174
- "./sdk-error": {
175
- types: "./dist/errors/sdk-error.d.ts",
176
- import: "./dist/errors/sdk-error.js",
177
- default: "./dist/errors/sdk-error.js"
178
- },
179
- "./sign-webhook-receipt": {
180
- types: "./dist/sign-webhook-receipt.d.ts",
181
- import: "./dist/sign-webhook-receipt.js",
182
- default: "./dist/sign-webhook-receipt.js"
183
- },
184
- "./effect": {
185
- types: "./dist/effect.d.ts",
186
- import: "./dist/effect.js",
187
- default: "./dist/effect.js"
188
- },
189
- "./routes": {
190
- types: "./dist/routes/index.d.ts",
191
- import: "./dist/routes/index.js",
192
- default: "./dist/routes/index.js"
193
- },
194
- "./routes/console": {
195
- types: "./dist/routes/console.d.ts",
196
- import: "./dist/routes/console.js",
197
- default: "./dist/routes/console.js"
198
- }
199
- },
200
- publishConfig: {
201
- access: "public"
202
- },
203
- scripts: {
204
- build: "taskguard sh -c 'bun scripts/build.ts && bun scripts/check-dts-portability.ts'",
205
- codegen: "taskguard bun scripts/codegen.ts",
206
- publint: "publint run --strict --pack bun",
207
- attw: 'archive=$(bun pm pack --destination "$PWD" --quiet | tail -n 1) && attw "$archive" --profile esm-only; code=$?; rm -f "$archive"; exit $code',
208
- publish: 'cp ../LICENSE . && bun run --cwd .. publish-if-absent "$PWD"',
209
- prepack: "cp ../LICENSE .",
210
- test: "taskguard bun --bun vitest run --config node_modules/@tools/vitest-config/vitest.config.mjs --configLoader native --project unit --testTimeout 30000 tests/unit",
211
- "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",
212
- lint: "taskguard oxlint --deny-warnings .",
213
- typecheck: "taskguard sh -c 'tsc -p . && tsc --noEmit -p scripts/tsconfig.json && tsc -p tsconfig.generated-types.json'",
214
- "check:dts-portability": "bun scripts/check-dts-portability.ts",
215
- "check:auth-coverage": "bun scripts/check-auth-coverage.ts",
216
- "codegen:webhook-events-sdk": "bun scripts/generate-webhook-events-sdk.ts"
217
- },
218
- dependencies: {
219
- "@better-auth/api-key": "1.7.7",
220
- "@better-auth/passkey": "1.7.7",
221
- "@domains/webhooks-contract": "workspace:*",
222
- "better-auth": "1.7.7",
223
- "better-call": "1.4.0",
224
- dnum: "2.17.0",
225
- standardwebhooks: "1.1.1",
226
- viem: "2.57.2"
227
- },
228
- devDependencies: {
229
- "@arethetypeswrong/cli": "0.18.5",
230
- "@domains/trading-venue-contract": "workspace:*",
231
- "@kernel/evm": "workspace:*",
232
- "@kernel/json": "workspace:*",
233
- "@tanstack/react-query": "5.104.0",
234
- "@tools/typescript-config": "workspace:*",
235
- "@tools/vitest-config": "workspace:*",
236
- "@types/bun": "1.4.2",
237
- "@wire/http-contract": "workspace:*",
238
- "abort-controller": "3.0.0",
239
- effect: "4.0.0",
240
- publint: "0.3.24",
241
- typescript: "7.0.2",
242
- vitest: "5.0.3",
243
- "whatwg-fetch": "3.6.20",
244
- zod: "4.6.5"
245
- },
246
- peerDependencies: {
247
- "@tanstack/react-query": "^5.101.4",
248
- effect: "^4.0.0",
249
- zod: "^4.5.4"
250
- },
251
- peerDependenciesMeta: {
252
- "@tanstack/react-query": {
253
- optional: true
254
- },
255
- effect: {
256
- optional: true
257
- },
258
- zod: {
259
- optional: true
260
- }
261
- },
262
- engines: {
263
- node: ">=20"
264
- }
265
- };
266
-
267
- // src/version.ts
268
- var SDK_VERSION2 = package_default.version;
269
- var SDK_USER_AGENT2 = `DALP SDK v${SDK_VERSION2}`;
270
-
271
- export { makeCookieStore2, createCookieStoreFetch2, SDK_VERSION2, SDK_USER_AGENT2 };