@settlemint/dalp-sdk 3.1.19-main.36877264285 → 3.1.19-main.36892606882

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-0pmrt7rk.js";
21
21
 
22
22
  // src/auth/live.ts
23
23
  import { apiKeyClient } from "@better-auth/api-key/client";
@@ -107,7 +107,7 @@ function createCookieStoreFetch2(cookieStore, fetchImpl = globalThis.fetch) {
107
107
  // package.json
108
108
  var package_default = {
109
109
  name: "@settlemint/dalp-sdk",
110
- version: "3.1.19-main.36877264285",
110
+ version: "3.1.19-main.36892606882",
111
111
  private: false,
112
112
  description: "Fully typed SDK for the DALP tokenization platform API",
113
113
  homepage: "https://settlemint.com",
@@ -236,7 +236,7 @@ var package_default = {
236
236
  "@types/bun": "1.4.2",
237
237
  "@wire/http-contract": "workspace:*",
238
238
  "abort-controller": "3.0.0",
239
- effect: "4.0.0-rc.117",
239
+ effect: "4.0.0",
240
240
  publint: "0.3.24",
241
241
  typescript: "7.0.2",
242
242
  vitest: "5.0.2",
@@ -245,7 +245,7 @@ var package_default = {
245
245
  },
246
246
  peerDependencies: {
247
247
  "@tanstack/react-query": "^5.101.4",
248
- effect: "^4.0.0-rc.117",
248
+ effect: "^4.0.0",
249
249
  zod: "^4.5.4"
250
250
  },
251
251
  peerDependenciesMeta: {
@@ -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 },