@settlemint/dalp-sdk 3.1.19-main.35889393217 → 3.1.19-main.35895652209
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/dist/auth.js +1 -1
- package/dist/bundler.js +2 -2
- package/dist/{chunk-wmzaewxm.js → chunk-0bf7c9q3.js} +3 -1
- package/dist/{chunk-eh86kbrr.js → chunk-9y1cjngw.js} +1 -1
- package/dist/{chunk-xn3cbpe7.js → chunk-tpqxfz9e.js} +1 -1
- package/dist/{chunk-8ab3wtg2.js → chunk-ysqh7x8y.js} +1 -1
- package/dist/effect.js +2 -2
- package/dist/generated/api-types.d.ts +177 -863
- package/dist/index.js +4 -4
- package/dist/react-query.js +1 -1
- package/dist/routes/console.js +3 -3
- package/dist/routes/index.js +1 -1
- package/package.json +1 -1
package/dist/auth.js
CHANGED
package/dist/bundler.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import"./chunk-j4sxrfzz.js";
|
|
2
|
-
import"./chunk-
|
|
2
|
+
import"./chunk-0bf7c9q3.js";
|
|
3
3
|
import"./chunk-xp3fx2yt.js";
|
|
4
4
|
import {
|
|
5
5
|
buildDalpClient
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-9y1cjngw.js";
|
|
7
7
|
|
|
8
8
|
// src/bundler.ts
|
|
9
9
|
import { getAddress, hexToBigInt, isHex } from "viem";
|
|
@@ -677,7 +677,9 @@ function readString(source, key) {
|
|
|
677
677
|
function sdkErrorFromEnvelope(payload, response) {
|
|
678
678
|
const envelope = payload !== null && typeof payload === "object" ? payload : {};
|
|
679
679
|
const rawData = Reflect.get(envelope, "data");
|
|
680
|
-
const
|
|
680
|
+
const envelopeData = rawData !== null && typeof rawData === "object" ? rawData : {};
|
|
681
|
+
const requestId = response.headers.get("x-request-id");
|
|
682
|
+
const data = requestId === null ? envelopeData : { requestId, ...envelopeData };
|
|
681
683
|
const retryable = Reflect.get(data, "retryable");
|
|
682
684
|
const retryAfter = response.headers.get("retry-after");
|
|
683
685
|
let retryAfterSeconds;
|
|
@@ -102,7 +102,7 @@ function createCookieStoreFetch2(cookieStore, fetchImpl = globalThis.fetch) {
|
|
|
102
102
|
// package.json
|
|
103
103
|
var package_default = {
|
|
104
104
|
name: "@settlemint/dalp-sdk",
|
|
105
|
-
version: "3.1.19-main.
|
|
105
|
+
version: "3.1.19-main.35895652209",
|
|
106
106
|
private: false,
|
|
107
107
|
description: "Fully typed SDK for the DALP tokenization platform API",
|
|
108
108
|
homepage: "https://settlemint.com",
|