@settlemint/dalp-sdk 3.1.19-main.34953227821 → 3.1.19-main.34963298477

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.
@@ -0,0 +1,12 @@
1
+ /**
2
+ * The v2 bundler routes the `./bundler` entry calls, taken from the Console table.
3
+ *
4
+ * Generated from the DALP v2 declaration. Do not edit.
5
+ *
6
+ * @module
7
+ */
8
+ import type { RouteTable, RouteRow } from "../routes/types.ts";
9
+ import type { DalpConsoleRouteId } from "./api-types.d.ts";
10
+ export declare const data: Omit<RouteTable, "routes"> & {
11
+ readonly routes: Readonly<Record<Extract<DalpConsoleRouteId, `transactions/bundler/${string}`>, RouteRow>>;
12
+ };
package/dist/index.js CHANGED
@@ -1,4 +1,6 @@
1
- import"./chunk-0chh7bgg.js";
1
+ import {
2
+ data
3
+ } from "./chunk-hpjg1km2.js";
2
4
  import {
3
5
  DalpSdkError2,
4
6
  createDalpSdkConfigurationError2
@@ -23,14 +25,18 @@ import {
23
25
  createCookieStoreFetch2,
24
26
  SDK_VERSION2,
25
27
  SDK_USER_AGENT2
26
- } from "./chunk-w74pp4pw.js";
27
- import {
28
- createDalpClient2
29
- } from "./chunk-3x5a8n2z.js";
28
+ } from "./chunk-ccc74km4.js";
30
29
  import {
31
30
  readsAsIndexerRebuild2
32
31
  } from "./chunk-sk9nc2q3.js";
33
- import"./chunk-7y52nnrf.js";
32
+ import {
33
+ buildDalpClient
34
+ } from "./chunk-7y52nnrf.js";
35
+
36
+ // src/proxy/client.ts
37
+ function createDalpClient(options) {
38
+ return buildDalpClient(options, data);
39
+ }
34
40
  // src/transport/sse-lifecycle.ts
35
41
  class SseLifecycleError extends Error {
36
42
  reason;
@@ -136,7 +142,7 @@ export {
136
142
  WEBHOOK_MANIFEST_VERSION,
137
143
  consumeSseUntilTerminal,
138
144
  createCookieStoreFetch2 as createCookieStoreFetch,
139
- createDalpClient2 as createDalpClient,
145
+ createDalpClient,
140
146
  createDalpContextHeaders2 as createDalpContextHeaders,
141
147
  createDalpSdkConfigurationError2 as createDalpSdkConfigurationError,
142
148
  decodeEventStream2 as decodeEventStream,