@settlemint/dalp-sdk 3.1.19-main.36877264285 → 3.1.19-main.36884897151
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/{chunk-mjhwh1ka.js → chunk-aj0q0rrk.js} +1 -1
- package/dist/{chunk-s5ptd4pr.js → chunk-js3d2ca0.js} +4 -3
- package/dist/chunk-me9zh3px.js +5 -0
- package/dist/{chunk-x8v3m3ta.js → chunk-ve848j6t.js} +3 -3
- package/dist/effect.js +1 -1
- package/dist/generated/api-types.d.ts +57 -65
- package/dist/index.js +3 -3
- package/dist/proxy/sse.d.ts +1 -1
- package/dist/react-query.js +1 -1
- package/dist/routes/console.js +2 -2
- package/package.json +3 -3
- package/dist/chunk-7cc47y4a.js +0 -5
package/dist/auth.js
CHANGED
|
@@ -1320,7 +1320,7 @@ class ResponseDecoder {
|
|
|
1320
1320
|
}
|
|
1321
1321
|
var shared;
|
|
1322
1322
|
async function importResponseDecoder() {
|
|
1323
|
-
const { data } = await import("./chunk-
|
|
1323
|
+
const { data } = await import("./chunk-me9zh3px.js");
|
|
1324
1324
|
return new ResponseDecoder(data);
|
|
1325
1325
|
}
|
|
1326
1326
|
async function loadResponseDecoder() {
|
|
@@ -1334,7 +1334,8 @@ async function loadResponseDecoder() {
|
|
|
1334
1334
|
}
|
|
1335
1335
|
|
|
1336
1336
|
// src/proxy/sse.ts
|
|
1337
|
-
var RESERVED_STREAM_FAILURE_EVENT2 = "effect/
|
|
1337
|
+
var RESERVED_STREAM_FAILURE_EVENT2 = "effect/http-api/stream/failure";
|
|
1338
|
+
var RELEASE_CANDIDATE_SERVER_STREAM_FAILURE_EVENT = "effect/httpapi/stream/failure";
|
|
1338
1339
|
var STREAM_FAILED_ERROR_CODE2 = "sdk.stream.FAILED";
|
|
1339
1340
|
var STREAM_UNREADABLE_BODY_ERROR_CODE2 = "sdk.stream.UNREADABLE_BODY";
|
|
1340
1341
|
function isReadableBody(body) {
|
|
@@ -1359,7 +1360,7 @@ function parseFrame(raw) {
|
|
|
1359
1360
|
}
|
|
1360
1361
|
}
|
|
1361
1362
|
function dispatchFrame(raw, decodeFrame, routeId) {
|
|
1362
|
-
if (raw.event === RESERVED_STREAM_FAILURE_EVENT2) {
|
|
1363
|
+
if (raw.event === RESERVED_STREAM_FAILURE_EVENT2 || raw.event === RELEASE_CANDIDATE_SERVER_STREAM_FAILURE_EVENT) {
|
|
1363
1364
|
throw makeDalpApiError2(new DalpSdkError2({
|
|
1364
1365
|
code: STREAM_FAILED_ERROR_CODE2,
|
|
1365
1366
|
...routeId === undefined ? {} : { routeId },
|