@settlemint/dalp-sdk 3.1.7-main.33077015128 → 3.1.7-main.33083875602

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
@@ -2,7 +2,7 @@ import {
2
2
  SDK_USER_AGENT,
3
3
  createCookieStoreFetch,
4
4
  makeCookieStore
5
- } from "./chunk-9jws3mxs.js";
5
+ } from "./chunk-2exz0e9h.js";
6
6
  import {
7
7
  normalizeDalpBaseUrl,
8
8
  secret,
package/dist/bundler.js CHANGED
@@ -10,9 +10,9 @@ import {
10
10
  v2TransactionsBundlerGetUserOperationByHash,
11
11
  v2TransactionsBundlerGetUserOperationReceipt,
12
12
  v2TransactionsBundlerSendUserOperation
13
- } from "./chunk-b4v5dn6d.js";
13
+ } from "./chunk-ghyd4k9n.js";
14
14
  import"./chunk-w21k7p99.js";
15
- import"./chunk-m74y5bw2.js";
15
+ import"./chunk-ytkv6yeg.js";
16
16
  import"./chunk-h12fatty.js";
17
17
  import"./chunk-y0d2c7kp.js";
18
18
 
@@ -102,7 +102,7 @@ function createCookieStoreFetch(cookieStore, fetchImpl = globalThis.fetch) {
102
102
  // package.json
103
103
  var package_default = {
104
104
  name: "@settlemint/dalp-sdk",
105
- version: "3.1.7-main.33077015128",
105
+ version: "3.1.7-main.33083875602",
106
106
  private: false,
107
107
  description: "Fully typed SDK for the DALP tokenization platform API",
108
108
  homepage: "https://settlemint.com",
@@ -2286,7 +2286,7 @@ import {
2286
2286
  zWebhooksUpdatePath,
2287
2287
  zWebhooksUpdateQuery,
2288
2288
  zWebhooksUpdateResponse
2289
- } from "./chunk-m74y5bw2.js";
2289
+ } from "./chunk-ytkv6yeg.js";
2290
2290
  // src/generated/core/params.gen.ts
2291
2291
  var extraPrefixesMap = {
2292
2292
  $body_: "body",
@@ -6088,6 +6088,7 @@ var zCollectionFilterNetworkName = z.record(z.string(), z.unknown()).and(z.objec
6088
6088
  }));
6089
6089
  var zRpcurl = z.string().max(2048);
6090
6090
  var zRpcUpstreamPoolItem = z.strictObject({
6091
+ id: z.string().min(1).optional(),
6091
6092
  endpointUrl: zRpcurl,
6092
6093
  providerType: z.string().min(1).max(64).regex(/^[a-z][a-z0-9-]*$/),
6093
6094
  weight: z.int(),
@@ -6123,10 +6124,11 @@ var zRpcUpstreamCredentialInput = z.union([
6123
6124
  })
6124
6125
  ]);
6125
6126
  var zRpcUpstreamInput = z.strictObject({
6127
+ id: z.string().min(1).optional(),
6126
6128
  endpointUrl: zHttpurl,
6127
6129
  providerType: z.string().min(1).max(64).regex(/^[a-z][a-z0-9-]*$/),
6128
6130
  weight: z.int().nullish(),
6129
- credential: zRpcUpstreamCredentialInput.optional()
6131
+ credential: zRpcUpstreamCredentialInput.nullish()
6130
6132
  });
6131
6133
  var zRpcUpstreamPoolUpsertInput = z.strictObject({
6132
6134
  upstreams: z.array(zRpcUpstreamInput)
@@ -9566,6 +9566,7 @@ export type CollectionFilterNetworkName = {
9566
9566
  };
9567
9567
  export type Rpcurl = string;
9568
9568
  export type RpcUpstreamPoolItem = {
9569
+ id?: string;
9569
9570
  endpointUrl: Rpcurl;
9570
9571
  providerType: string;
9571
9572
  weight: number;
@@ -9604,13 +9605,14 @@ export type RpcUpstreamCredentialInput = {
9604
9605
  password: string;
9605
9606
  };
9606
9607
  export type RpcUpstreamInput = {
9608
+ id?: string;
9607
9609
  endpointUrl: Httpurl;
9608
9610
  providerType: string;
9609
9611
  weight?: number | null;
9610
- credential?: RpcUpstreamCredentialInput;
9612
+ credential?: RpcUpstreamCredentialInput | null;
9611
9613
  };
9612
9614
  /**
9613
- * Full replacement list of RPC upstreams for the named network. Send every upstream on each write; omitted endpoints are removed. Credentials are stored encrypted and never returned.
9615
+ * Full replacement list of RPC upstreams for the named network. Send every upstream on each write; omitted endpoints are removed. Echo each upstream's `id` back so its stored row is resolved by identity rather than by URL, at most once per id. Credentials are stored encrypted and never returned: omit `credential` to keep the stored one, send `null` to clear it, and send a value to replace it. A kept credential is dropped when the same write moves the upstream to a different scheme, host, or port.
9614
9616
  */
9615
9617
  export type RpcUpstreamPoolUpsertInput = {
9616
9618
  upstreams: Array<RpcUpstreamInput>;
@@ -16828,6 +16828,7 @@ export declare const zCollectionFilterNetworkName: z.ZodIntersection<z.ZodRecord
16828
16828
  }, z.core.$strip>>;
16829
16829
  export declare const zRpcurl: z.ZodString;
16830
16830
  export declare const zRpcUpstreamPoolItem: z.ZodObject<{
16831
+ id: z.ZodOptional<z.ZodString>;
16831
16832
  endpointUrl: z.ZodString;
16832
16833
  providerType: z.ZodString;
16833
16834
  weight: z.ZodInt;
@@ -16841,6 +16842,7 @@ export declare const zRpcUpstreamPoolItem: z.ZodObject<{
16841
16842
  upstreamId: z.ZodOptional<z.ZodString>;
16842
16843
  }, z.core.$strict>;
16843
16844
  export declare const zRpcUpstreamPoolItems: z.ZodArray<z.ZodObject<{
16845
+ id: z.ZodOptional<z.ZodString>;
16844
16846
  endpointUrl: z.ZodString;
16845
16847
  providerType: z.ZodString;
16846
16848
  weight: z.ZodInt;
@@ -16861,6 +16863,7 @@ export declare const zRpcUpstreamPool: z.ZodObject<{
16861
16863
  }>;
16862
16864
  enabled: z.ZodOptional<z.ZodBoolean>;
16863
16865
  upstreams: z.ZodArray<z.ZodObject<{
16866
+ id: z.ZodOptional<z.ZodString>;
16864
16867
  endpointUrl: z.ZodString;
16865
16868
  providerType: z.ZodString;
16866
16869
  weight: z.ZodInt;
@@ -16885,6 +16888,7 @@ export declare const zRpcUpstreamPoolCollectionData: z.ZodArray<z.ZodObject<{
16885
16888
  }>;
16886
16889
  enabled: z.ZodOptional<z.ZodBoolean>;
16887
16890
  upstreams: z.ZodArray<z.ZodObject<{
16891
+ id: z.ZodOptional<z.ZodString>;
16888
16892
  endpointUrl: z.ZodString;
16889
16893
  providerType: z.ZodString;
16890
16894
  weight: z.ZodInt;
@@ -16910,6 +16914,7 @@ export declare const zRpcUpstreamPoolCollectionResponse: z.ZodObject<{
16910
16914
  }>;
16911
16915
  enabled: z.ZodOptional<z.ZodBoolean>;
16912
16916
  upstreams: z.ZodArray<z.ZodObject<{
16917
+ id: z.ZodOptional<z.ZodString>;
16913
16918
  endpointUrl: z.ZodString;
16914
16919
  providerType: z.ZodString;
16915
16920
  weight: z.ZodInt;
@@ -16952,10 +16957,11 @@ export declare const zRpcUpstreamCredentialInput: z.ZodUnion<readonly [z.ZodObje
16952
16957
  password: z.ZodString;
16953
16958
  }, z.core.$strict>]>;
16954
16959
  export declare const zRpcUpstreamInput: z.ZodObject<{
16960
+ id: z.ZodOptional<z.ZodString>;
16955
16961
  endpointUrl: z.ZodString;
16956
16962
  providerType: z.ZodString;
16957
16963
  weight: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
16958
- credential: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
16964
+ credential: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
16959
16965
  type: z.ZodEnum<{
16960
16966
  apiKey: "apiKey";
16961
16967
  }>;
@@ -16967,17 +16973,18 @@ export declare const zRpcUpstreamInput: z.ZodObject<{
16967
16973
  }>;
16968
16974
  username: z.ZodString;
16969
16975
  password: z.ZodString;
16970
- }, z.core.$strict>]>>;
16976
+ }, z.core.$strict>]>>>;
16971
16977
  }, z.core.$strict>;
16972
16978
  /**
16973
- * Full replacement list of RPC upstreams for the named network. Send every upstream on each write; omitted endpoints are removed. Credentials are stored encrypted and never returned.
16979
+ * Full replacement list of RPC upstreams for the named network. Send every upstream on each write; omitted endpoints are removed. Echo each upstream's `id` back so its stored row is resolved by identity rather than by URL, at most once per id. Credentials are stored encrypted and never returned: omit `credential` to keep the stored one, send `null` to clear it, and send a value to replace it. A kept credential is dropped when the same write moves the upstream to a different scheme, host, or port.
16974
16980
  */
16975
16981
  export declare const zRpcUpstreamPoolUpsertInput: z.ZodObject<{
16976
16982
  upstreams: z.ZodArray<z.ZodObject<{
16983
+ id: z.ZodOptional<z.ZodString>;
16977
16984
  endpointUrl: z.ZodString;
16978
16985
  providerType: z.ZodString;
16979
16986
  weight: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
16980
- credential: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
16987
+ credential: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
16981
16988
  type: z.ZodEnum<{
16982
16989
  apiKey: "apiKey";
16983
16990
  }>;
@@ -16989,7 +16996,7 @@ export declare const zRpcUpstreamPoolUpsertInput: z.ZodObject<{
16989
16996
  }>;
16990
16997
  username: z.ZodString;
16991
16998
  password: z.ZodString;
16992
- }, z.core.$strict>]>>;
16999
+ }, z.core.$strict>]>>>;
16993
17000
  }, z.core.$strict>>;
16994
17001
  }, z.core.$strict>;
16995
17002
  export declare const zRpcUpstreamPool1: z.ZodObject<{
@@ -17000,6 +17007,7 @@ export declare const zRpcUpstreamPool1: z.ZodObject<{
17000
17007
  }>;
17001
17008
  enabled: z.ZodOptional<z.ZodBoolean>;
17002
17009
  upstreams: z.ZodArray<z.ZodObject<{
17010
+ id: z.ZodOptional<z.ZodString>;
17003
17011
  endpointUrl: z.ZodString;
17004
17012
  providerType: z.ZodString;
17005
17013
  weight: z.ZodInt;
@@ -17025,6 +17033,7 @@ export declare const zRpcUpstreamPoolResponse: z.ZodObject<{
17025
17033
  }>;
17026
17034
  enabled: z.ZodOptional<z.ZodBoolean>;
17027
17035
  upstreams: z.ZodArray<z.ZodObject<{
17036
+ id: z.ZodOptional<z.ZodString>;
17028
17037
  endpointUrl: z.ZodString;
17029
17038
  providerType: z.ZodString;
17030
17039
  weight: z.ZodInt;
@@ -98565,6 +98574,7 @@ export declare const zV2AdminRpcUpstreamPoolsListResponse: z.ZodObject<{
98565
98574
  }>;
98566
98575
  enabled: z.ZodOptional<z.ZodBoolean>;
98567
98576
  upstreams: z.ZodArray<z.ZodObject<{
98577
+ id: z.ZodOptional<z.ZodString>;
98568
98578
  endpointUrl: z.ZodString;
98569
98579
  providerType: z.ZodString;
98570
98580
  weight: z.ZodInt;
@@ -98608,10 +98618,11 @@ export declare const zV2AdminRpcUpstreamPoolsDeleteResponse: z.ZodObject<{
98608
98618
  }, z.core.$strict>;
98609
98619
  export declare const zV2AdminRpcUpstreamPoolsUpsertBody: z.ZodObject<{
98610
98620
  upstreams: z.ZodArray<z.ZodObject<{
98621
+ id: z.ZodOptional<z.ZodString>;
98611
98622
  endpointUrl: z.ZodString;
98612
98623
  providerType: z.ZodString;
98613
98624
  weight: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
98614
- credential: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
98625
+ credential: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
98615
98626
  type: z.ZodEnum<{
98616
98627
  apiKey: "apiKey";
98617
98628
  }>;
@@ -98623,7 +98634,7 @@ export declare const zV2AdminRpcUpstreamPoolsUpsertBody: z.ZodObject<{
98623
98634
  }>;
98624
98635
  username: z.ZodString;
98625
98636
  password: z.ZodString;
98626
- }, z.core.$strict>]>>;
98637
+ }, z.core.$strict>]>>>;
98627
98638
  }, z.core.$strict>>;
98628
98639
  }, z.core.$strict>;
98629
98640
  export declare const zV2AdminRpcUpstreamPoolsUpsertHeaders: z.ZodObject<{
@@ -98645,6 +98656,7 @@ export declare const zV2AdminRpcUpstreamPoolsUpsertResponse: z.ZodObject<{
98645
98656
  }>;
98646
98657
  enabled: z.ZodOptional<z.ZodBoolean>;
98647
98658
  upstreams: z.ZodArray<z.ZodObject<{
98659
+ id: z.ZodOptional<z.ZodString>;
98648
98660
  endpointUrl: z.ZodString;
98649
98661
  providerType: z.ZodString;
98650
98662
  weight: z.ZodInt;
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  SDK_VERSION,
4
4
  createCookieStoreFetch,
5
5
  makeCookieStore
6
- } from "./chunk-9jws3mxs.js";
6
+ } from "./chunk-2exz0e9h.js";
7
7
  import {
8
8
  clearConditionalRequestStore,
9
9
  createDalpClient,
@@ -844,7 +844,7 @@ import {
844
844
  webhooksStats,
845
845
  webhooksTestEvents,
846
846
  webhooksUpdate
847
- } from "./chunk-b4v5dn6d.js";
847
+ } from "./chunk-ghyd4k9n.js";
848
848
  import {
849
849
  createClient,
850
850
  createConfig,
@@ -853,7 +853,7 @@ import {
853
853
  mergeHeaders,
854
854
  urlSearchParamsBodySerializer
855
855
  } from "./chunk-w21k7p99.js";
856
- import"./chunk-m74y5bw2.js";
856
+ import"./chunk-ytkv6yeg.js";
857
857
  export {
858
858
  adminListUserSessions,
859
859
  adminUpdateUser,
@@ -835,9 +835,9 @@ import {
835
835
  webhooksStats,
836
836
  webhooksTestEvents,
837
837
  webhooksUpdate
838
- } from "./chunk-b4v5dn6d.js";
838
+ } from "./chunk-ghyd4k9n.js";
839
839
  import"./chunk-w21k7p99.js";
840
- import"./chunk-m74y5bw2.js";
840
+ import"./chunk-ytkv6yeg.js";
841
841
 
842
842
  // src/generated/@tanstack/react-query.gen.ts
843
843
  import { infiniteQueryOptions, queryOptions } from "@tanstack/react-query";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  zV2ExchangeRatesListResponse
3
- } from "../chunk-m74y5bw2.js";
3
+ } from "../chunk-ytkv6yeg.js";
4
4
 
5
5
  // src/scalars/big-decimal.ts
6
6
  import * as dn from "dnum";
package/dist/schemas.js CHANGED
@@ -5866,7 +5866,7 @@ import {
5866
5866
  zXvpWithdrawExpiredOutput,
5867
5867
  zXvpWithdrawExpiredOutputMutationResponse,
5868
5868
  zYieldDistributionPeriod
5869
- } from "./chunk-m74y5bw2.js";
5869
+ } from "./chunk-ytkv6yeg.js";
5870
5870
  export {
5871
5871
  zAaEnabled,
5872
5872
  zAbandonInjectedTransactionSubmissionBody,
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  v2TransactionStatus
3
- } from "./chunk-b4v5dn6d.js";
3
+ } from "./chunk-ghyd4k9n.js";
4
4
  import"./chunk-w21k7p99.js";
5
- import"./chunk-m74y5bw2.js";
5
+ import"./chunk-ytkv6yeg.js";
6
6
 
7
7
  // src/wait-for-transaction.ts
8
8
  var failedStates = new Set(["FAILED", "DEAD_LETTER", "CANCELLED"]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@settlemint/dalp-sdk",
3
- "version": "3.1.7-main.33077015128",
3
+ "version": "3.1.7-main.33083875602",
4
4
  "private": false,
5
5
  "description": "Fully typed SDK for the DALP tokenization platform API",
6
6
  "homepage": "https://settlemint.com",