@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 CHANGED
@@ -17,7 +17,7 @@ import {
17
17
  makeCookieStore2,
18
18
  createCookieStoreFetch2,
19
19
  SDK_USER_AGENT2
20
- } from "./chunk-x8v3m3ta.js";
20
+ } from "./chunk-ve848j6t.js";
21
21
 
22
22
  // src/auth/live.ts
23
23
  import { apiKeyClient } from "@better-auth/api-key/client";
@@ -4,7 +4,7 @@ import {
4
4
  sendRequest,
5
5
  createFetchExecutor,
6
6
  createTanstackFactories
7
- } from "./chunk-s5ptd4pr.js";
7
+ } from "./chunk-js3d2ca0.js";
8
8
  import {
9
9
  buildProxy,
10
10
  findRoute
@@ -1320,7 +1320,7 @@ class ResponseDecoder {
1320
1320
  }
1321
1321
  var shared;
1322
1322
  async function importResponseDecoder() {
1323
- const { data } = await import("./chunk-7cc47y4a.js");
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/httpapi/stream/failure";
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 },