@settlemint/dalp-sdk 3.1.10 → 3.1.11-main.33556892334
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 +111 -177
- package/dist/auth/client.d.ts +115 -0
- package/dist/auth/live.d.ts +4366 -0
- package/dist/{auth-permissions.d.ts → auth/permissions.d.ts} +1 -2
- package/dist/{auth-wallet-plugins.d.ts → auth/wallet-plugins.d.ts} +69 -5
- package/dist/auth.d.ts +22 -115
- package/dist/auth.js +248 -0
- package/dist/bundler.d.ts +17 -207
- package/dist/bundler.js +111 -0
- package/dist/chunk-63xjs3xe.js +45725 -0
- package/dist/chunk-cy9b59s6.js +503 -0
- package/dist/chunk-h12fatty.js +63 -0
- package/dist/chunk-nac758dt.js +14542 -0
- package/dist/chunk-q8bjy1aa.js +255 -0
- package/dist/chunk-r0vsftj4.js +102 -0
- package/dist/chunk-w21k7p99.js +843 -0
- package/dist/chunk-y0d2c7kp.js +54 -0
- package/dist/client/conditional-request.d.ts +16 -0
- package/dist/client/factory.d.ts +39 -0
- package/dist/client/query-serializer.d.ts +2 -0
- package/dist/client/request-compression.d.ts +47 -0
- package/dist/client/ssr-fetch.d.ts +12 -0
- package/dist/errors/api-error.d.ts +29 -0
- package/dist/errors/find-current-error.d.ts +8 -0
- package/dist/errors/sdk-error.d.ts +52 -0
- package/dist/errors/sdk-error.js +8 -0
- package/dist/generated/@tanstack/react-query.gen.d.ts +17380 -0
- package/dist/generated/client/client.gen.d.ts +2 -0
- package/dist/generated/client/index.d.ts +10 -0
- package/dist/generated/client/types.gen.d.ts +120 -0
- package/dist/generated/client/utils.gen.d.ts +37 -0
- package/dist/generated/client.gen.d.ts +12 -0
- package/dist/generated/core/auth.gen.d.ts +25 -0
- package/dist/generated/core/bodySerializer.gen.d.ts +25 -0
- package/dist/generated/core/params.gen.d.ts +43 -0
- package/dist/generated/core/pathSerializer.gen.d.ts +33 -0
- package/dist/generated/core/queryKeySerializer.gen.d.ts +18 -0
- package/dist/generated/core/serverSentEvents.gen.d.ts +71 -0
- package/dist/generated/core/types.gen.d.ts +83 -0
- package/dist/generated/core/utils.gen.d.ts +19 -0
- package/dist/generated/index.d.ts +2 -0
- package/dist/generated/sdk.gen.d.ts +5214 -0
- package/dist/generated/types.gen.d.ts +137282 -0
- package/dist/generated/zod.gen.d.ts +181286 -0
- package/dist/index.d.ts +23 -40
- package/dist/index.js +208 -96098
- package/dist/operations.d.ts +12 -0
- package/dist/operations.js +1747 -0
- package/dist/react-query.d.ts +11 -0
- package/dist/react-query.js +16485 -0
- package/dist/readonly-deep.d.ts +12 -0
- package/dist/runtime-exports.d.ts +20 -0
- package/dist/runtime-exports.js +16 -0
- package/dist/scalars/big-decimal.d.ts +16 -0
- package/dist/scalars/ethereum-address.d.ts +8 -0
- package/dist/scalars/exchange-rates.d.ts +36 -0
- package/dist/scalars/index.d.ts +15 -0
- package/dist/scalars/index.js +39 -0
- package/dist/scalars/organization-id.d.ts +8 -0
- package/dist/schemas.d.ts +10 -0
- package/dist/schemas.js +12040 -0
- package/dist/secret.d.ts +14 -0
- package/dist/sign-webhook-receipt.d.ts +76 -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 +44 -0
- package/dist/types.d.ts +67 -102
- 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 -1
- package/dist/wait-for-transaction.d.ts +40 -86
- package/dist/wait-for-transaction.js +112 -0
- package/dist/webhook-events.d.ts +44 -27
- package/package.json +98 -30
- 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.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 -17
- 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 -650
- package/dist/dapi-errors.d.ts.map +0 -1
- package/dist/errors.d.ts +0 -633
- 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/wait-for-transaction.d.ts.map +0 -1
- package/dist/webhook-events.d.ts.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,45 +1,28 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* DALP SDK
|
|
2
|
+
* Effect-free DALP SDK public entry.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* // All methods are fully typed with auto-complete
|
|
14
|
-
* const tokens = await dalp.token.list({ query: {} });
|
|
15
|
-
* const system = await dalp.system.read({});
|
|
16
|
-
* ```
|
|
4
|
+
* This entry carries only what every consumer needs: the client factory, its
|
|
5
|
+
* config and errors, and the transport policy around it. Everything that costs
|
|
6
|
+
* real weight sits on its own subpath, so the cost is something a consumer opts
|
|
7
|
+
* into rather than something the root hands them — `./bundler` (viem, ~385 KiB),
|
|
8
|
+
* `./auth` (the Better Auth client family, ~69 KiB), `./verify-webhook` and
|
|
9
|
+
* `./sign-webhook-receipt` (`standardwebhooks`; the latter is Node-only), and
|
|
10
|
+
* `./wait-for-transaction`, which calls a generated operation and therefore
|
|
11
|
+
* inherits the generated validator module's full weight.
|
|
17
12
|
*
|
|
18
13
|
* @module
|
|
19
14
|
*/
|
|
20
|
-
export { createDalpClient } from "./client.
|
|
21
|
-
export {
|
|
22
|
-
export type {
|
|
23
|
-
export {
|
|
24
|
-
export
|
|
25
|
-
export {
|
|
26
|
-
export
|
|
27
|
-
export
|
|
28
|
-
export {
|
|
29
|
-
export
|
|
30
|
-
export {
|
|
31
|
-
export
|
|
32
|
-
export {
|
|
33
|
-
export
|
|
34
|
-
export { DAPI_ERROR_IDS } from "./dapi-errors.js";
|
|
35
|
-
export type { DapiErrorId, DapiPublicError } from "./dapi-errors.js";
|
|
36
|
-
export { WEBHOOK_MANIFEST_VERSION } from "./webhook-events.js";
|
|
37
|
-
export type { Webhook } from "./webhook-events.js";
|
|
38
|
-
export { toStandardWebhookSecret, verifyWebhook } from "./verify-webhook.js";
|
|
39
|
-
export type { WebhookVerificationFailure, WebhookVerificationResult, VerifyWebhookInput } from "./verify-webhook.js";
|
|
40
|
-
export { createDalpSdkConfigurationError, createDalpSdkErrorFromDapiPublicError, DalpSdkError, decodeDapiErrorResponseBody, getDapiPublicErrorFromResponseBody, isDapiPublicError, } from "./sdk-error.js";
|
|
41
|
-
export { bigDecimalSerializer, bigIntSerializer, dalpSerializers, timestampSerializer } from "./serializers.js";
|
|
42
|
-
export { DalpTransactionWaitError, waitForTransaction } from "./wait-for-transaction.js";
|
|
43
|
-
export type { WaitForTransactionOptions, WaitForTransactionStatus } from "./wait-for-transaction.js";
|
|
44
|
-
export { SDK_USER_AGENT, SDK_VERSION } from "./version.js";
|
|
45
|
-
//# sourceMappingURL=index.d.ts.map
|
|
15
|
+
export { createDalpClient, createDalpContextHeaders } from "./client/factory.ts";
|
|
16
|
+
export type { CompressionRequestInit } from "./client/request-compression.ts";
|
|
17
|
+
export type { CreateDalpClientOptions, DalpClientContext, DalpSsrOptions } from "./client/factory.ts";
|
|
18
|
+
export { clearConditionalRequestStore } from "./client/conditional-request.ts";
|
|
19
|
+
export { createCookieStoreFetch, makeCookieStore } from "./transport/cookie-store.ts";
|
|
20
|
+
export type { CookieStoreShape } from "./transport/cookie-store.ts";
|
|
21
|
+
export { SECRET_REDACTION_MARKER, Secret, secret } from "./secret.ts";
|
|
22
|
+
export { consumeSseUntilTerminal, SseLifecycleError } from "./transport/sse-lifecycle.ts";
|
|
23
|
+
export type { SseEventDisposition, SseLifecycleFailureReason, SseLifecycleOptions, SseStreamResult, } from "./transport/sse-lifecycle.ts";
|
|
24
|
+
export { WEBHOOK_MANIFEST_VERSION } from "./webhook-events.ts";
|
|
25
|
+
export type { Webhook } from "./webhook-events.ts";
|
|
26
|
+
export { createDalpSdkConfigurationError, DalpSdkError } from "./errors/sdk-error.ts";
|
|
27
|
+
export { DalpApiError, findDalpSdkError, isDalpApiError, makeDalpApiError } from "./errors/api-error.ts";
|
|
28
|
+
export { SDK_USER_AGENT, SDK_VERSION } from "./version.ts";
|