@settlemint/dalp-sdk 3.1.7-main.33492768663 → 3.1.7-main.33494070548

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-q5m9ebhs.js";
5
+ } from "./chunk-kwmgqm4n.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-c2s43vwf.js";
13
+ } from "./chunk-kz3vsrt4.js";
14
14
  import"./chunk-w21k7p99.js";
15
- import"./chunk-n7k0nv2d.js";
15
+ import"./chunk-eyjexqdw.js";
16
16
  import"./chunk-h12fatty.js";
17
17
  import"./chunk-y0d2c7kp.js";
18
18
 
@@ -16709,8 +16709,13 @@ var zEvmTransactionStatusOutput = z.strictObject({
16709
16709
  subjectOwner: z.string().nullable(),
16710
16710
  chainId: z.int(),
16711
16711
  address: z.string(),
16712
- shortfallWei: z.string(),
16713
- recommendedTotalWei: z.string()
16712
+ nativeCurrency: z.strictObject({
16713
+ name: z.string(),
16714
+ symbol: z.string(),
16715
+ decimals: z.int()
16716
+ }),
16717
+ shortfall: z.string(),
16718
+ recommendedTotal: z.string()
16714
16719
  }).nullish(),
16715
16720
  createdAt: zTimestampEncoded,
16716
16721
  updatedAt: zTimestampEncoded
@@ -30638,16 +30643,20 @@ var zV2InvitationDeployStreamResponse = z.union([
30638
30643
  chainId: z.int(),
30639
30644
  chainName: z.string().min(1),
30640
30645
  address: z.string().min(1),
30641
- tokenSymbol: z.string().min(1),
30642
- shortfallWei: z.string(),
30643
- recommendedTotalWei: z.string(),
30644
- deployCostWei: z.string(),
30645
- opsAllowanceWei: z.string(),
30646
+ nativeCurrency: z.strictObject({
30647
+ name: z.string().min(1),
30648
+ symbol: z.string().min(1),
30649
+ decimals: z.int()
30650
+ }),
30651
+ shortfall: z.string(),
30652
+ recommendedTotal: z.string(),
30653
+ deployCost: z.string(),
30654
+ opsAllowance: z.string(),
30646
30655
  bufferPct: z.int(),
30647
30656
  devCommand: z.string().min(1).optional(),
30648
30657
  opName: z.string().min(1),
30649
30658
  seq: z.int(),
30650
- alreadySentWei: z.string(),
30659
+ alreadySent: z.string(),
30651
30660
  expiresAt: z.int().optional(),
30652
30661
  entryPointAddress: z.string().min(1).optional()
30653
30662
  })
@@ -30657,16 +30666,21 @@ var zV2InvitationDeployStreamResponse = z.union([
30657
30666
  requirementId: z.string(),
30658
30667
  kind: z.enum(["gas"]),
30659
30668
  resolution: z.strictObject({
30660
- newBalanceWei: z.string().optional(),
30669
+ newBalance: z.string().optional(),
30661
30670
  txHash: z.string().min(1).optional(),
30662
- alreadySentWei: z.string()
30671
+ alreadySent: z.string()
30663
30672
  }).optional()
30664
30673
  }),
30665
30674
  z.strictObject({
30666
30675
  type: z.enum(["requirement-expired"]),
30667
30676
  requirementId: z.string(),
30668
30677
  kind: z.enum(["gas"]),
30669
- finalShortfallWei: z.string(),
30678
+ nativeCurrency: z.strictObject({
30679
+ name: z.string().min(1),
30680
+ symbol: z.string().min(1),
30681
+ decimals: z.int()
30682
+ }),
30683
+ finalShortfall: z.string(),
30670
30684
  recoveryGuidance: z.string().min(1)
30671
30685
  }),
30672
30686
  z.strictObject({
@@ -30868,16 +30882,20 @@ var zV2OrganizationDeployStreamResponse = z.union([
30868
30882
  chainId: z.int(),
30869
30883
  chainName: z.string().min(1),
30870
30884
  address: z.string().min(1),
30871
- tokenSymbol: z.string().min(1),
30872
- shortfallWei: z.string(),
30873
- recommendedTotalWei: z.string(),
30874
- deployCostWei: z.string(),
30875
- opsAllowanceWei: z.string(),
30885
+ nativeCurrency: z.strictObject({
30886
+ name: z.string().min(1),
30887
+ symbol: z.string().min(1),
30888
+ decimals: z.int()
30889
+ }),
30890
+ shortfall: z.string(),
30891
+ recommendedTotal: z.string(),
30892
+ deployCost: z.string(),
30893
+ opsAllowance: z.string(),
30876
30894
  bufferPct: z.int(),
30877
30895
  devCommand: z.string().min(1).optional(),
30878
30896
  opName: z.string().min(1),
30879
30897
  seq: z.int(),
30880
- alreadySentWei: z.string(),
30898
+ alreadySent: z.string(),
30881
30899
  expiresAt: z.int().optional(),
30882
30900
  entryPointAddress: z.string().min(1).optional()
30883
30901
  })
@@ -30887,16 +30905,21 @@ var zV2OrganizationDeployStreamResponse = z.union([
30887
30905
  requirementId: z.string(),
30888
30906
  kind: z.enum(["gas"]),
30889
30907
  resolution: z.strictObject({
30890
- newBalanceWei: z.string().optional(),
30908
+ newBalance: z.string().optional(),
30891
30909
  txHash: z.string().min(1).optional(),
30892
- alreadySentWei: z.string()
30910
+ alreadySent: z.string()
30893
30911
  }).optional()
30894
30912
  }),
30895
30913
  z.strictObject({
30896
30914
  type: z.enum(["requirement-expired"]),
30897
30915
  requirementId: z.string(),
30898
30916
  kind: z.enum(["gas"]),
30899
- finalShortfallWei: z.string(),
30917
+ nativeCurrency: z.strictObject({
30918
+ name: z.string().min(1),
30919
+ symbol: z.string().min(1),
30920
+ decimals: z.int()
30921
+ }),
30922
+ finalShortfall: z.string(),
30900
30923
  recoveryGuidance: z.string().min(1)
30901
30924
  }),
30902
30925
  z.strictObject({
@@ -33153,16 +33176,20 @@ var zV2SystemMigrationStreamResponse = z.union([
33153
33176
  chainId: z.int(),
33154
33177
  chainName: z.string().min(1),
33155
33178
  address: z.string().min(1),
33156
- tokenSymbol: z.string().min(1),
33157
- shortfallWei: z.string(),
33158
- recommendedTotalWei: z.string(),
33159
- deployCostWei: z.string(),
33160
- opsAllowanceWei: z.string(),
33179
+ nativeCurrency: z.strictObject({
33180
+ name: z.string().min(1),
33181
+ symbol: z.string().min(1),
33182
+ decimals: z.int()
33183
+ }),
33184
+ shortfall: z.string(),
33185
+ recommendedTotal: z.string(),
33186
+ deployCost: z.string(),
33187
+ opsAllowance: z.string(),
33161
33188
  bufferPct: z.int(),
33162
33189
  devCommand: z.string().min(1).optional(),
33163
33190
  opName: z.string().min(1),
33164
33191
  seq: z.int(),
33165
- alreadySentWei: z.string(),
33192
+ alreadySent: z.string(),
33166
33193
  expiresAt: z.int().optional(),
33167
33194
  entryPointAddress: z.string().min(1).optional()
33168
33195
  })
@@ -33172,16 +33199,21 @@ var zV2SystemMigrationStreamResponse = z.union([
33172
33199
  requirementId: z.string(),
33173
33200
  kind: z.enum(["gas"]),
33174
33201
  resolution: z.strictObject({
33175
- newBalanceWei: z.string().optional(),
33202
+ newBalance: z.string().optional(),
33176
33203
  txHash: z.string().min(1).optional(),
33177
- alreadySentWei: z.string()
33204
+ alreadySent: z.string()
33178
33205
  }).optional()
33179
33206
  }),
33180
33207
  z.strictObject({
33181
33208
  type: z.enum(["requirement-expired"]),
33182
33209
  requirementId: z.string(),
33183
33210
  kind: z.enum(["gas"]),
33184
- finalShortfallWei: z.string(),
33211
+ nativeCurrency: z.strictObject({
33212
+ name: z.string().min(1),
33213
+ symbol: z.string().min(1),
33214
+ decimals: z.int()
33215
+ }),
33216
+ finalShortfall: z.string(),
33185
33217
  recoveryGuidance: z.string().min(1)
33186
33218
  }),
33187
33219
  z.strictObject({
@@ -38572,8 +38604,13 @@ var zV2TransactionStatusStreamResponse = z.strictObject({
38572
38604
  subjectOwner: z.string().nullable(),
38573
38605
  chainId: z.int(),
38574
38606
  address: z.string(),
38575
- shortfallWei: z.string(),
38576
- recommendedTotalWei: z.string()
38607
+ nativeCurrency: z.strictObject({
38608
+ name: z.string(),
38609
+ symbol: z.string(),
38610
+ decimals: z.int()
38611
+ }),
38612
+ shortfall: z.string(),
38613
+ recommendedTotal: z.string()
38577
38614
  }).nullish(),
38578
38615
  createdAt: z.string(),
38579
38616
  updatedAt: z.string()
@@ -42449,16 +42486,20 @@ var zV2TokenCreateStreamResponse = z.union([
42449
42486
  chainId: z.int(),
42450
42487
  chainName: z.string().min(1),
42451
42488
  address: z.string().min(1),
42452
- tokenSymbol: z.string().min(1),
42453
- shortfallWei: z.string(),
42454
- recommendedTotalWei: z.string(),
42455
- deployCostWei: z.string(),
42456
- opsAllowanceWei: z.string(),
42489
+ nativeCurrency: z.strictObject({
42490
+ name: z.string().min(1),
42491
+ symbol: z.string().min(1),
42492
+ decimals: z.int()
42493
+ }),
42494
+ shortfall: z.string(),
42495
+ recommendedTotal: z.string(),
42496
+ deployCost: z.string(),
42497
+ opsAllowance: z.string(),
42457
42498
  bufferPct: z.int(),
42458
42499
  devCommand: z.string().min(1).optional(),
42459
42500
  opName: z.string().min(1),
42460
42501
  seq: z.int(),
42461
- alreadySentWei: z.string(),
42502
+ alreadySent: z.string(),
42462
42503
  expiresAt: z.int().optional(),
42463
42504
  entryPointAddress: z.string().min(1).optional()
42464
42505
  })
@@ -42468,16 +42509,21 @@ var zV2TokenCreateStreamResponse = z.union([
42468
42509
  requirementId: z.string(),
42469
42510
  kind: z.enum(["gas"]),
42470
42511
  resolution: z.strictObject({
42471
- newBalanceWei: z.string().optional(),
42512
+ newBalance: z.string().optional(),
42472
42513
  txHash: z.string().min(1).optional(),
42473
- alreadySentWei: z.string()
42514
+ alreadySent: z.string()
42474
42515
  }).optional()
42475
42516
  }),
42476
42517
  z.strictObject({
42477
42518
  type: z.enum(["requirement-expired"]),
42478
42519
  requirementId: z.string(),
42479
42520
  kind: z.enum(["gas"]),
42480
- finalShortfallWei: z.string(),
42521
+ nativeCurrency: z.strictObject({
42522
+ name: z.string().min(1),
42523
+ symbol: z.string().min(1),
42524
+ decimals: z.int()
42525
+ }),
42526
+ finalShortfall: z.string(),
42481
42527
  recoveryGuidance: z.string().min(1)
42482
42528
  }),
42483
42529
  z.strictObject({
@@ -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.33492768663",
105
+ version: "3.1.7-main.33494070548",
106
106
  private: false,
107
107
  description: "Fully typed SDK for the DALP tokenization platform API",
108
108
  homepage: "https://settlemint.com",
@@ -2343,7 +2343,7 @@ import {
2343
2343
  zWebhooksUpdatePath,
2344
2344
  zWebhooksUpdateQuery,
2345
2345
  zWebhooksUpdateResponse
2346
- } from "./chunk-n7k0nv2d.js";
2346
+ } from "./chunk-eyjexqdw.js";
2347
2347
  // src/generated/core/params.gen.ts
2348
2348
  var extraPrefixesMap = {
2349
2349
  $body_: "body",
@@ -5928,7 +5928,7 @@ export declare const v2OrganizationFundingRequirementsListQueryKey: (options?: O
5928
5928
  /**
5929
5929
  * List the organization's outstanding gas funding requirements
5930
5930
  *
5931
- * Returns one page of funding requirements for the active organization: every wallet, smart account, or paymaster deposit the chain has refused for want of gas. Without an explicit `filter[status]` only `active` rows are returned, so the list reads as what is still owed rather than as history. Amounts are wei decimal strings. This is the durable table, not a deployment stream decoration, so it answers outside any live deploy. Default sort is -createdAt. Repeating the read is safe.
5931
+ * Returns one page of funding requirements for the active organization: every wallet, smart account, or paymaster deposit the chain has refused for want of gas. Without an explicit `filter[status]` only `active` rows are returned, so the list reads as what is still owed rather than as history. Amounts are non-negative decimal integer strings in base units of each row's `nativeCurrency`; divide by ten to the power of its `decimals` to render a figure a person reads. This is the durable table, not a deployment stream decoration, so it answers outside any live deploy. Default sort is -createdAt. Repeating the read is safe.
5932
5932
  */
5933
5933
  export declare const v2OrganizationFundingRequirementsListOptions: (options?: Options<V2OrganizationFundingRequirementsListData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen.js").OrganizationFundingRequirementCollectionResponse, V2OrganizationFundingRequirementsListError, import("../types.gen.js").OrganizationFundingRequirementCollectionResponse, [Pick<Options<V2OrganizationFundingRequirementsListData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
5934
5934
  _id: string;
@@ -5949,7 +5949,7 @@ export declare const v2OrganizationFundingRequirementsListInfiniteQueryKey: (opt
5949
5949
  /**
5950
5950
  * List the organization's outstanding gas funding requirements
5951
5951
  *
5952
- * Returns one page of funding requirements for the active organization: every wallet, smart account, or paymaster deposit the chain has refused for want of gas. Without an explicit `filter[status]` only `active` rows are returned, so the list reads as what is still owed rather than as history. Amounts are wei decimal strings. This is the durable table, not a deployment stream decoration, so it answers outside any live deploy. Default sort is -createdAt. Repeating the read is safe.
5952
+ * Returns one page of funding requirements for the active organization: every wallet, smart account, or paymaster deposit the chain has refused for want of gas. Without an explicit `filter[status]` only `active` rows are returned, so the list reads as what is still owed rather than as history. Amounts are non-negative decimal integer strings in base units of each row's `nativeCurrency`; divide by ten to the power of its `decimals` to render a figure a person reads. This is the durable table, not a deployment stream decoration, so it answers outside any live deploy. Default sort is -createdAt. Repeating the read is safe.
5953
5953
  */
5954
5954
  export declare const v2OrganizationFundingRequirementsListInfiniteOptions: (options?: Options<V2OrganizationFundingRequirementsListData>) => Omit<import("@tanstack/react-query").UseInfiniteQueryOptions<import("../types.gen.js").OrganizationFundingRequirementCollectionResponse, V2OrganizationFundingRequirementsListError, InfiniteData<import("../types.gen.js").OrganizationFundingRequirementCollectionResponse, unknown>, QueryKey<Options<V2OrganizationFundingRequirementsListData>>, Pick<Pick<Options<V2OrganizationFundingRequirementsListData>, "baseUrl" | "body" | "headers" | "path" | "query"> & {
5955
5955
  _id: string;
@@ -1667,7 +1667,7 @@ export declare const v2SettingsComplianceTemplatesPublish: <ThrowOnError extends
1667
1667
  /**
1668
1668
  * List the organization's outstanding gas funding requirements
1669
1669
  *
1670
- * Returns one page of funding requirements for the active organization: every wallet, smart account, or paymaster deposit the chain has refused for want of gas. Without an explicit `filter[status]` only `active` rows are returned, so the list reads as what is still owed rather than as history. Amounts are wei decimal strings. This is the durable table, not a deployment stream decoration, so it answers outside any live deploy. Default sort is -createdAt. Repeating the read is safe.
1670
+ * Returns one page of funding requirements for the active organization: every wallet, smart account, or paymaster deposit the chain has refused for want of gas. Without an explicit `filter[status]` only `active` rows are returned, so the list reads as what is still owed rather than as history. Amounts are non-negative decimal integer strings in base units of each row's `nativeCurrency`; divide by ten to the power of its `decimals` to render a figure a person reads. This is the durable table, not a deployment stream decoration, so it answers outside any live deploy. Default sort is -createdAt. Repeating the read is safe.
1671
1671
  */
1672
1672
  export declare const v2OrganizationFundingRequirementsList: <ThrowOnError extends boolean = false>(options?: Options<V2OrganizationFundingRequirementsListData, ThrowOnError>) => RequestResult<V2OrganizationFundingRequirementsListResponses, V2OrganizationFundingRequirementsListErrors, ThrowOnError>;
1673
1673
  /**
@@ -8991,7 +8991,7 @@ export type PlatformTransactionRow = {
8991
8991
  */
8992
8992
  nonce: number | null;
8993
8993
  /**
8994
- * Gas price in wei once the queue set one.
8994
+ * Gas price in base units of the chain's native currency, once the queue set one.
8995
8995
  */
8996
8996
  gasPrice: string | null;
8997
8997
  /**
@@ -24353,13 +24353,30 @@ export type EvmTransactionStatusOutput = {
24353
24353
  */
24354
24354
  address: string;
24355
24355
  /**
24356
- * Wei the refused operation itself needs.
24356
+ * The currency both amounts below are denominated in. Carried here so a client can render them without looking the chain up.
24357
24357
  */
24358
- shortfallWei: string;
24358
+ nativeCurrency: {
24359
+ /**
24360
+ * Full name of the chain's native currency.
24361
+ */
24362
+ name: string;
24363
+ /**
24364
+ * Ticker of the chain's native currency.
24365
+ */
24366
+ symbol: string;
24367
+ /**
24368
+ * Decimal places that scale a base-unit amount into a display amount.
24369
+ */
24370
+ decimals: number;
24371
+ };
24359
24372
  /**
24360
- * Wei to send, including any ongoing-ops allowance the gate advised.
24373
+ * What the refused operation itself needs, in base units, as a decimal integer string. Divide by ten to the power of `nativeCurrency.decimals` to display it.
24361
24374
  */
24362
- recommendedTotalWei: string;
24375
+ shortfall: string;
24376
+ /**
24377
+ * What to send, in base units, including any ongoing-ops allowance the gate advised. Same encoding as `shortfall`.
24378
+ */
24379
+ recommendedTotal: string;
24363
24380
  } | null;
24364
24381
  createdAt: TimestampEncoded;
24365
24382
  updatedAt: TimestampEncoded;
@@ -63997,16 +64014,20 @@ export type V2InvitationDeployStreamResponses = {
63997
64014
  chainId: number;
63998
64015
  chainName: string;
63999
64016
  address: string;
64000
- tokenSymbol: string;
64001
- shortfallWei: string;
64002
- recommendedTotalWei: string;
64003
- deployCostWei: string;
64004
- opsAllowanceWei: string;
64017
+ nativeCurrency: {
64018
+ name: string;
64019
+ symbol: string;
64020
+ decimals: number;
64021
+ };
64022
+ shortfall: string;
64023
+ recommendedTotal: string;
64024
+ deployCost: string;
64025
+ opsAllowance: string;
64005
64026
  bufferPct: number;
64006
64027
  devCommand?: string;
64007
64028
  opName: string;
64008
64029
  seq: number;
64009
- alreadySentWei: string;
64030
+ alreadySent: string;
64010
64031
  expiresAt?: number;
64011
64032
  entryPointAddress?: string;
64012
64033
  };
@@ -64015,15 +64036,20 @@ export type V2InvitationDeployStreamResponses = {
64015
64036
  requirementId: string;
64016
64037
  kind: 'gas';
64017
64038
  resolution?: {
64018
- newBalanceWei?: string;
64039
+ newBalance?: string;
64019
64040
  txHash?: string;
64020
- alreadySentWei: string;
64041
+ alreadySent: string;
64021
64042
  };
64022
64043
  } | {
64023
64044
  type: 'requirement-expired';
64024
64045
  requirementId: string;
64025
64046
  kind: 'gas';
64026
- finalShortfallWei: string;
64047
+ nativeCurrency: {
64048
+ name: string;
64049
+ symbol: string;
64050
+ decimals: number;
64051
+ };
64052
+ finalShortfall: string;
64027
64053
  recoveryGuidance: string;
64028
64054
  } | {
64029
64055
  type: 'indexer-catch-up';
@@ -64953,16 +64979,20 @@ export type V2OrganizationDeployStreamResponses = {
64953
64979
  chainId: number;
64954
64980
  chainName: string;
64955
64981
  address: string;
64956
- tokenSymbol: string;
64957
- shortfallWei: string;
64958
- recommendedTotalWei: string;
64959
- deployCostWei: string;
64960
- opsAllowanceWei: string;
64982
+ nativeCurrency: {
64983
+ name: string;
64984
+ symbol: string;
64985
+ decimals: number;
64986
+ };
64987
+ shortfall: string;
64988
+ recommendedTotal: string;
64989
+ deployCost: string;
64990
+ opsAllowance: string;
64961
64991
  bufferPct: number;
64962
64992
  devCommand?: string;
64963
64993
  opName: string;
64964
64994
  seq: number;
64965
- alreadySentWei: string;
64995
+ alreadySent: string;
64966
64996
  expiresAt?: number;
64967
64997
  entryPointAddress?: string;
64968
64998
  };
@@ -64971,15 +65001,20 @@ export type V2OrganizationDeployStreamResponses = {
64971
65001
  requirementId: string;
64972
65002
  kind: 'gas';
64973
65003
  resolution?: {
64974
- newBalanceWei?: string;
65004
+ newBalance?: string;
64975
65005
  txHash?: string;
64976
- alreadySentWei: string;
65006
+ alreadySent: string;
64977
65007
  };
64978
65008
  } | {
64979
65009
  type: 'requirement-expired';
64980
65010
  requirementId: string;
64981
65011
  kind: 'gas';
64982
- finalShortfallWei: string;
65012
+ nativeCurrency: {
65013
+ name: string;
65014
+ symbol: string;
65015
+ decimals: number;
65016
+ };
65017
+ finalShortfall: string;
64983
65018
  recoveryGuidance: string;
64984
65019
  } | {
64985
65020
  type: 'indexer-catch-up';
@@ -74335,16 +74370,20 @@ export type V2SystemMigrationStreamResponses = {
74335
74370
  chainId: number;
74336
74371
  chainName: string;
74337
74372
  address: string;
74338
- tokenSymbol: string;
74339
- shortfallWei: string;
74340
- recommendedTotalWei: string;
74341
- deployCostWei: string;
74342
- opsAllowanceWei: string;
74373
+ nativeCurrency: {
74374
+ name: string;
74375
+ symbol: string;
74376
+ decimals: number;
74377
+ };
74378
+ shortfall: string;
74379
+ recommendedTotal: string;
74380
+ deployCost: string;
74381
+ opsAllowance: string;
74343
74382
  bufferPct: number;
74344
74383
  devCommand?: string;
74345
74384
  opName: string;
74346
74385
  seq: number;
74347
- alreadySentWei: string;
74386
+ alreadySent: string;
74348
74387
  expiresAt?: number;
74349
74388
  entryPointAddress?: string;
74350
74389
  };
@@ -74353,15 +74392,20 @@ export type V2SystemMigrationStreamResponses = {
74353
74392
  requirementId: string;
74354
74393
  kind: 'gas';
74355
74394
  resolution?: {
74356
- newBalanceWei?: string;
74395
+ newBalance?: string;
74357
74396
  txHash?: string;
74358
- alreadySentWei: string;
74397
+ alreadySent: string;
74359
74398
  };
74360
74399
  } | {
74361
74400
  type: 'requirement-expired';
74362
74401
  requirementId: string;
74363
74402
  kind: 'gas';
74364
- finalShortfallWei: string;
74403
+ nativeCurrency: {
74404
+ name: string;
74405
+ symbol: string;
74406
+ decimals: number;
74407
+ };
74408
+ finalShortfall: string;
74365
74409
  recoveryGuidance: string;
74366
74410
  } | {
74367
74411
  type: 'indexer-catch-up';
@@ -97346,13 +97390,30 @@ export type V2TransactionStatusStreamResponses = {
97346
97390
  */
97347
97391
  address: string;
97348
97392
  /**
97349
- * Wei the refused operation itself needs.
97393
+ * The currency both amounts below are denominated in. Carried here so a client can render them without looking the chain up.
97394
+ */
97395
+ nativeCurrency: {
97396
+ /**
97397
+ * Full name of the chain's native currency.
97398
+ */
97399
+ name: string;
97400
+ /**
97401
+ * Ticker of the chain's native currency.
97402
+ */
97403
+ symbol: string;
97404
+ /**
97405
+ * Decimal places that scale a base-unit amount into a display amount.
97406
+ */
97407
+ decimals: number;
97408
+ };
97409
+ /**
97410
+ * What the refused operation itself needs, in base units, as a decimal integer string. Divide by ten to the power of `nativeCurrency.decimals` to display it.
97350
97411
  */
97351
- shortfallWei: string;
97412
+ shortfall: string;
97352
97413
  /**
97353
- * Wei to send, including any ongoing-ops allowance the gate advised.
97414
+ * What to send, in base units, including any ongoing-ops allowance the gate advised. Same encoding as `shortfall`.
97354
97415
  */
97355
- recommendedTotalWei: string;
97416
+ recommendedTotal: string;
97356
97417
  } | null;
97357
97418
  createdAt: string;
97358
97419
  updatedAt: string;
@@ -113279,16 +113340,20 @@ export type V2TokenCreateStreamResponses = {
113279
113340
  chainId: number;
113280
113341
  chainName: string;
113281
113342
  address: string;
113282
- tokenSymbol: string;
113283
- shortfallWei: string;
113284
- recommendedTotalWei: string;
113285
- deployCostWei: string;
113286
- opsAllowanceWei: string;
113343
+ nativeCurrency: {
113344
+ name: string;
113345
+ symbol: string;
113346
+ decimals: number;
113347
+ };
113348
+ shortfall: string;
113349
+ recommendedTotal: string;
113350
+ deployCost: string;
113351
+ opsAllowance: string;
113287
113352
  bufferPct: number;
113288
113353
  devCommand?: string;
113289
113354
  opName: string;
113290
113355
  seq: number;
113291
- alreadySentWei: string;
113356
+ alreadySent: string;
113292
113357
  expiresAt?: number;
113293
113358
  entryPointAddress?: string;
113294
113359
  };
@@ -113297,15 +113362,20 @@ export type V2TokenCreateStreamResponses = {
113297
113362
  requirementId: string;
113298
113363
  kind: 'gas';
113299
113364
  resolution?: {
113300
- newBalanceWei?: string;
113365
+ newBalance?: string;
113301
113366
  txHash?: string;
113302
- alreadySentWei: string;
113367
+ alreadySent: string;
113303
113368
  };
113304
113369
  } | {
113305
113370
  type: 'requirement-expired';
113306
113371
  requirementId: string;
113307
113372
  kind: 'gas';
113308
- finalShortfallWei: string;
113373
+ nativeCurrency: {
113374
+ name: string;
113375
+ symbol: string;
113376
+ decimals: number;
113377
+ };
113378
+ finalShortfall: string;
113309
113379
  recoveryGuidance: string;
113310
113380
  } | {
113311
113381
  type: 'indexer-catch-up';
@@ -62179,8 +62179,13 @@ export declare const zEvmTransactionStatusOutput: z.ZodObject<{
62179
62179
  subjectOwner: z.ZodNullable<z.ZodString>;
62180
62180
  chainId: z.ZodInt;
62181
62181
  address: z.ZodString;
62182
- shortfallWei: z.ZodString;
62183
- recommendedTotalWei: z.ZodString;
62182
+ nativeCurrency: z.ZodObject<{
62183
+ name: z.ZodString;
62184
+ symbol: z.ZodString;
62185
+ decimals: z.ZodInt;
62186
+ }, z.core.$strict>;
62187
+ shortfall: z.ZodString;
62188
+ recommendedTotal: z.ZodString;
62184
62189
  }, z.core.$strict>>>;
62185
62190
  createdAt: z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodNumber]>;
62186
62191
  updatedAt: z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodNumber]>;
@@ -62270,8 +62275,13 @@ export declare const zTransactionStatusOutput: z.ZodUnion<readonly [z.ZodObject<
62270
62275
  subjectOwner: z.ZodNullable<z.ZodString>;
62271
62276
  chainId: z.ZodInt;
62272
62277
  address: z.ZodString;
62273
- shortfallWei: z.ZodString;
62274
- recommendedTotalWei: z.ZodString;
62278
+ nativeCurrency: z.ZodObject<{
62279
+ name: z.ZodString;
62280
+ symbol: z.ZodString;
62281
+ decimals: z.ZodInt;
62282
+ }, z.core.$strict>;
62283
+ shortfall: z.ZodString;
62284
+ recommendedTotal: z.ZodString;
62275
62285
  }, z.core.$strict>>>;
62276
62286
  createdAt: z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodNumber]>;
62277
62287
  updatedAt: z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodNumber]>;
@@ -62361,8 +62371,13 @@ export declare const zTransactionStatusOutputResponse: z.ZodObject<{
62361
62371
  subjectOwner: z.ZodNullable<z.ZodString>;
62362
62372
  chainId: z.ZodInt;
62363
62373
  address: z.ZodString;
62364
- shortfallWei: z.ZodString;
62365
- recommendedTotalWei: z.ZodString;
62374
+ nativeCurrency: z.ZodObject<{
62375
+ name: z.ZodString;
62376
+ symbol: z.ZodString;
62377
+ decimals: z.ZodInt;
62378
+ }, z.core.$strict>;
62379
+ shortfall: z.ZodString;
62380
+ recommendedTotal: z.ZodString;
62366
62381
  }, z.core.$strict>>>;
62367
62382
  createdAt: z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodNumber]>;
62368
62383
  updatedAt: z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodNumber]>;
@@ -102447,16 +102462,20 @@ export declare const zV2InvitationDeployStreamResponse: z.ZodUnion<readonly [z.Z
102447
102462
  chainId: z.ZodInt;
102448
102463
  chainName: z.ZodString;
102449
102464
  address: z.ZodString;
102450
- tokenSymbol: z.ZodString;
102451
- shortfallWei: z.ZodString;
102452
- recommendedTotalWei: z.ZodString;
102453
- deployCostWei: z.ZodString;
102454
- opsAllowanceWei: z.ZodString;
102465
+ nativeCurrency: z.ZodObject<{
102466
+ name: z.ZodString;
102467
+ symbol: z.ZodString;
102468
+ decimals: z.ZodInt;
102469
+ }, z.core.$strict>;
102470
+ shortfall: z.ZodString;
102471
+ recommendedTotal: z.ZodString;
102472
+ deployCost: z.ZodString;
102473
+ opsAllowance: z.ZodString;
102455
102474
  bufferPct: z.ZodInt;
102456
102475
  devCommand: z.ZodOptional<z.ZodString>;
102457
102476
  opName: z.ZodString;
102458
102477
  seq: z.ZodInt;
102459
- alreadySentWei: z.ZodString;
102478
+ alreadySent: z.ZodString;
102460
102479
  expiresAt: z.ZodOptional<z.ZodInt>;
102461
102480
  entryPointAddress: z.ZodOptional<z.ZodString>;
102462
102481
  }, z.core.$strict>;
@@ -102469,9 +102488,9 @@ export declare const zV2InvitationDeployStreamResponse: z.ZodUnion<readonly [z.Z
102469
102488
  gas: "gas";
102470
102489
  }>;
102471
102490
  resolution: z.ZodOptional<z.ZodObject<{
102472
- newBalanceWei: z.ZodOptional<z.ZodString>;
102491
+ newBalance: z.ZodOptional<z.ZodString>;
102473
102492
  txHash: z.ZodOptional<z.ZodString>;
102474
- alreadySentWei: z.ZodString;
102493
+ alreadySent: z.ZodString;
102475
102494
  }, z.core.$strict>>;
102476
102495
  }, z.core.$strict>, z.ZodObject<{
102477
102496
  type: z.ZodEnum<{
@@ -102481,7 +102500,12 @@ export declare const zV2InvitationDeployStreamResponse: z.ZodUnion<readonly [z.Z
102481
102500
  kind: z.ZodEnum<{
102482
102501
  gas: "gas";
102483
102502
  }>;
102484
- finalShortfallWei: z.ZodString;
102503
+ nativeCurrency: z.ZodObject<{
102504
+ name: z.ZodString;
102505
+ symbol: z.ZodString;
102506
+ decimals: z.ZodInt;
102507
+ }, z.core.$strict>;
102508
+ finalShortfall: z.ZodString;
102485
102509
  recoveryGuidance: z.ZodString;
102486
102510
  }, z.core.$strict>, z.ZodObject<{
102487
102511
  type: z.ZodEnum<{
@@ -103035,16 +103059,20 @@ export declare const zV2OrganizationDeployStreamResponse: z.ZodUnion<readonly [z
103035
103059
  chainId: z.ZodInt;
103036
103060
  chainName: z.ZodString;
103037
103061
  address: z.ZodString;
103038
- tokenSymbol: z.ZodString;
103039
- shortfallWei: z.ZodString;
103040
- recommendedTotalWei: z.ZodString;
103041
- deployCostWei: z.ZodString;
103042
- opsAllowanceWei: z.ZodString;
103062
+ nativeCurrency: z.ZodObject<{
103063
+ name: z.ZodString;
103064
+ symbol: z.ZodString;
103065
+ decimals: z.ZodInt;
103066
+ }, z.core.$strict>;
103067
+ shortfall: z.ZodString;
103068
+ recommendedTotal: z.ZodString;
103069
+ deployCost: z.ZodString;
103070
+ opsAllowance: z.ZodString;
103043
103071
  bufferPct: z.ZodInt;
103044
103072
  devCommand: z.ZodOptional<z.ZodString>;
103045
103073
  opName: z.ZodString;
103046
103074
  seq: z.ZodInt;
103047
- alreadySentWei: z.ZodString;
103075
+ alreadySent: z.ZodString;
103048
103076
  expiresAt: z.ZodOptional<z.ZodInt>;
103049
103077
  entryPointAddress: z.ZodOptional<z.ZodString>;
103050
103078
  }, z.core.$strict>;
@@ -103057,9 +103085,9 @@ export declare const zV2OrganizationDeployStreamResponse: z.ZodUnion<readonly [z
103057
103085
  gas: "gas";
103058
103086
  }>;
103059
103087
  resolution: z.ZodOptional<z.ZodObject<{
103060
- newBalanceWei: z.ZodOptional<z.ZodString>;
103088
+ newBalance: z.ZodOptional<z.ZodString>;
103061
103089
  txHash: z.ZodOptional<z.ZodString>;
103062
- alreadySentWei: z.ZodString;
103090
+ alreadySent: z.ZodString;
103063
103091
  }, z.core.$strict>>;
103064
103092
  }, z.core.$strict>, z.ZodObject<{
103065
103093
  type: z.ZodEnum<{
@@ -103069,7 +103097,12 @@ export declare const zV2OrganizationDeployStreamResponse: z.ZodUnion<readonly [z
103069
103097
  kind: z.ZodEnum<{
103070
103098
  gas: "gas";
103071
103099
  }>;
103072
- finalShortfallWei: z.ZodString;
103100
+ nativeCurrency: z.ZodObject<{
103101
+ name: z.ZodString;
103102
+ symbol: z.ZodString;
103103
+ decimals: z.ZodInt;
103104
+ }, z.core.$strict>;
103105
+ finalShortfall: z.ZodString;
103073
103106
  recoveryGuidance: z.ZodString;
103074
103107
  }, z.core.$strict>, z.ZodObject<{
103075
103108
  type: z.ZodEnum<{
@@ -111432,16 +111465,20 @@ export declare const zV2SystemMigrationStreamResponse: z.ZodUnion<readonly [z.Zo
111432
111465
  chainId: z.ZodInt;
111433
111466
  chainName: z.ZodString;
111434
111467
  address: z.ZodString;
111435
- tokenSymbol: z.ZodString;
111436
- shortfallWei: z.ZodString;
111437
- recommendedTotalWei: z.ZodString;
111438
- deployCostWei: z.ZodString;
111439
- opsAllowanceWei: z.ZodString;
111468
+ nativeCurrency: z.ZodObject<{
111469
+ name: z.ZodString;
111470
+ symbol: z.ZodString;
111471
+ decimals: z.ZodInt;
111472
+ }, z.core.$strict>;
111473
+ shortfall: z.ZodString;
111474
+ recommendedTotal: z.ZodString;
111475
+ deployCost: z.ZodString;
111476
+ opsAllowance: z.ZodString;
111440
111477
  bufferPct: z.ZodInt;
111441
111478
  devCommand: z.ZodOptional<z.ZodString>;
111442
111479
  opName: z.ZodString;
111443
111480
  seq: z.ZodInt;
111444
- alreadySentWei: z.ZodString;
111481
+ alreadySent: z.ZodString;
111445
111482
  expiresAt: z.ZodOptional<z.ZodInt>;
111446
111483
  entryPointAddress: z.ZodOptional<z.ZodString>;
111447
111484
  }, z.core.$strict>;
@@ -111454,9 +111491,9 @@ export declare const zV2SystemMigrationStreamResponse: z.ZodUnion<readonly [z.Zo
111454
111491
  gas: "gas";
111455
111492
  }>;
111456
111493
  resolution: z.ZodOptional<z.ZodObject<{
111457
- newBalanceWei: z.ZodOptional<z.ZodString>;
111494
+ newBalance: z.ZodOptional<z.ZodString>;
111458
111495
  txHash: z.ZodOptional<z.ZodString>;
111459
- alreadySentWei: z.ZodString;
111496
+ alreadySent: z.ZodString;
111460
111497
  }, z.core.$strict>>;
111461
111498
  }, z.core.$strict>, z.ZodObject<{
111462
111499
  type: z.ZodEnum<{
@@ -111466,7 +111503,12 @@ export declare const zV2SystemMigrationStreamResponse: z.ZodUnion<readonly [z.Zo
111466
111503
  kind: z.ZodEnum<{
111467
111504
  gas: "gas";
111468
111505
  }>;
111469
- finalShortfallWei: z.ZodString;
111506
+ nativeCurrency: z.ZodObject<{
111507
+ name: z.ZodString;
111508
+ symbol: z.ZodString;
111509
+ decimals: z.ZodInt;
111510
+ }, z.core.$strict>;
111511
+ finalShortfall: z.ZodString;
111470
111512
  recoveryGuidance: z.ZodString;
111471
111513
  }, z.core.$strict>, z.ZodObject<{
111472
111514
  type: z.ZodEnum<{
@@ -132554,8 +132596,13 @@ export declare const zV2TransactionStatusResponse: z.ZodObject<{
132554
132596
  subjectOwner: z.ZodNullable<z.ZodString>;
132555
132597
  chainId: z.ZodInt;
132556
132598
  address: z.ZodString;
132557
- shortfallWei: z.ZodString;
132558
- recommendedTotalWei: z.ZodString;
132599
+ nativeCurrency: z.ZodObject<{
132600
+ name: z.ZodString;
132601
+ symbol: z.ZodString;
132602
+ decimals: z.ZodInt;
132603
+ }, z.core.$strict>;
132604
+ shortfall: z.ZodString;
132605
+ recommendedTotal: z.ZodString;
132559
132606
  }, z.core.$strict>>>;
132560
132607
  createdAt: z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodNumber]>;
132561
132608
  updatedAt: z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodNumber]>;
@@ -132657,8 +132704,13 @@ export declare const zV2TransactionStatusStreamResponse: z.ZodObject<{
132657
132704
  subjectOwner: z.ZodNullable<z.ZodString>;
132658
132705
  chainId: z.ZodInt;
132659
132706
  address: z.ZodString;
132660
- shortfallWei: z.ZodString;
132661
- recommendedTotalWei: z.ZodString;
132707
+ nativeCurrency: z.ZodObject<{
132708
+ name: z.ZodString;
132709
+ symbol: z.ZodString;
132710
+ decimals: z.ZodInt;
132711
+ }, z.core.$strict>;
132712
+ shortfall: z.ZodString;
132713
+ recommendedTotal: z.ZodString;
132662
132714
  }, z.core.$strict>>>;
132663
132715
  createdAt: z.ZodString;
132664
132716
  updatedAt: z.ZodString;
@@ -146805,16 +146857,20 @@ export declare const zV2TokenCreateStreamResponse: z.ZodUnion<readonly [z.ZodObj
146805
146857
  chainId: z.ZodInt;
146806
146858
  chainName: z.ZodString;
146807
146859
  address: z.ZodString;
146808
- tokenSymbol: z.ZodString;
146809
- shortfallWei: z.ZodString;
146810
- recommendedTotalWei: z.ZodString;
146811
- deployCostWei: z.ZodString;
146812
- opsAllowanceWei: z.ZodString;
146860
+ nativeCurrency: z.ZodObject<{
146861
+ name: z.ZodString;
146862
+ symbol: z.ZodString;
146863
+ decimals: z.ZodInt;
146864
+ }, z.core.$strict>;
146865
+ shortfall: z.ZodString;
146866
+ recommendedTotal: z.ZodString;
146867
+ deployCost: z.ZodString;
146868
+ opsAllowance: z.ZodString;
146813
146869
  bufferPct: z.ZodInt;
146814
146870
  devCommand: z.ZodOptional<z.ZodString>;
146815
146871
  opName: z.ZodString;
146816
146872
  seq: z.ZodInt;
146817
- alreadySentWei: z.ZodString;
146873
+ alreadySent: z.ZodString;
146818
146874
  expiresAt: z.ZodOptional<z.ZodInt>;
146819
146875
  entryPointAddress: z.ZodOptional<z.ZodString>;
146820
146876
  }, z.core.$strict>;
@@ -146827,9 +146883,9 @@ export declare const zV2TokenCreateStreamResponse: z.ZodUnion<readonly [z.ZodObj
146827
146883
  gas: "gas";
146828
146884
  }>;
146829
146885
  resolution: z.ZodOptional<z.ZodObject<{
146830
- newBalanceWei: z.ZodOptional<z.ZodString>;
146886
+ newBalance: z.ZodOptional<z.ZodString>;
146831
146887
  txHash: z.ZodOptional<z.ZodString>;
146832
- alreadySentWei: z.ZodString;
146888
+ alreadySent: z.ZodString;
146833
146889
  }, z.core.$strict>>;
146834
146890
  }, z.core.$strict>, z.ZodObject<{
146835
146891
  type: z.ZodEnum<{
@@ -146839,7 +146895,12 @@ export declare const zV2TokenCreateStreamResponse: z.ZodUnion<readonly [z.ZodObj
146839
146895
  kind: z.ZodEnum<{
146840
146896
  gas: "gas";
146841
146897
  }>;
146842
- finalShortfallWei: z.ZodString;
146898
+ nativeCurrency: z.ZodObject<{
146899
+ name: z.ZodString;
146900
+ symbol: z.ZodString;
146901
+ decimals: z.ZodInt;
146902
+ }, z.core.$strict>;
146903
+ finalShortfall: z.ZodString;
146843
146904
  recoveryGuidance: z.ZodString;
146844
146905
  }, z.core.$strict>, z.ZodObject<{
146845
146906
  type: z.ZodEnum<{
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  SDK_VERSION,
4
4
  createCookieStoreFetch,
5
5
  makeCookieStore
6
- } from "./chunk-q5m9ebhs.js";
6
+ } from "./chunk-kwmgqm4n.js";
7
7
  import {
8
8
  clearConditionalRequestStore,
9
9
  createDalpClient,
@@ -863,7 +863,7 @@ import {
863
863
  webhooksStats,
864
864
  webhooksTestEvents,
865
865
  webhooksUpdate
866
- } from "./chunk-c2s43vwf.js";
866
+ } from "./chunk-kz3vsrt4.js";
867
867
  import {
868
868
  createClient,
869
869
  createConfig,
@@ -872,7 +872,7 @@ import {
872
872
  mergeHeaders,
873
873
  urlSearchParamsBodySerializer
874
874
  } from "./chunk-w21k7p99.js";
875
- import"./chunk-n7k0nv2d.js";
875
+ import"./chunk-eyjexqdw.js";
876
876
  export {
877
877
  adminListUserSessions,
878
878
  adminUpdateUser,
@@ -854,9 +854,9 @@ import {
854
854
  webhooksStats,
855
855
  webhooksTestEvents,
856
856
  webhooksUpdate
857
- } from "./chunk-c2s43vwf.js";
857
+ } from "./chunk-kz3vsrt4.js";
858
858
  import"./chunk-w21k7p99.js";
859
- import"./chunk-n7k0nv2d.js";
859
+ import"./chunk-eyjexqdw.js";
860
860
 
861
861
  // src/generated/@tanstack/react-query.gen.ts
862
862
  import { infiniteQueryOptions, queryOptions } from "@tanstack/react-query";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  zV2ExchangeRatesListResponse
3
- } from "../chunk-n7k0nv2d.js";
3
+ } from "../chunk-eyjexqdw.js";
4
4
 
5
5
  // src/scalars/big-decimal.ts
6
6
  import * as dn from "dnum";
package/dist/schemas.js CHANGED
@@ -6017,7 +6017,7 @@ import {
6017
6017
  zXvpWithdrawExpiredOutput,
6018
6018
  zXvpWithdrawExpiredOutputMutationResponse,
6019
6019
  zYieldDistributionPeriod
6020
- } from "./chunk-n7k0nv2d.js";
6020
+ } from "./chunk-eyjexqdw.js";
6021
6021
  export {
6022
6022
  zAaEnabled,
6023
6023
  zAbandonInjectedTransactionSubmissionBody,
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  v2TransactionStatus
3
- } from "./chunk-c2s43vwf.js";
3
+ } from "./chunk-kz3vsrt4.js";
4
4
  import"./chunk-w21k7p99.js";
5
- import"./chunk-n7k0nv2d.js";
5
+ import"./chunk-eyjexqdw.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.33492768663",
3
+ "version": "3.1.7-main.33494070548",
4
4
  "private": false,
5
5
  "description": "Fully typed SDK for the DALP tokenization platform API",
6
6
  "homepage": "https://settlemint.com",