@settlemint/dalp-sdk 3.1.19-main.34970044594 → 3.1.19-main.35001055249

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.
@@ -102,7 +102,7 @@ function createCookieStoreFetch2(cookieStore, fetchImpl = globalThis.fetch) {
102
102
  // package.json
103
103
  var package_default = {
104
104
  name: "@settlemint/dalp-sdk",
105
- version: "3.1.19-main.34970044594",
105
+ version: "3.1.19-main.35001055249",
106
106
  private: false,
107
107
  description: "Fully typed SDK for the DALP tokenization platform API",
108
108
  homepage: "https://settlemint.com",
package/dist/effect.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  data
3
- } from "./chunk-hpjg1km2.js";
3
+ } from "./chunk-51yvct6y.js";
4
4
  import"./chunk-j4sxrfzz.js";
5
5
  import {
6
6
  DalpApiError2,
@@ -396,6 +396,7 @@ export type AccountNativeBalanceHistoryItem = {
396
396
  readonly id: string;
397
397
  readonly chainId: ChainIdEncoded_1;
398
398
  readonly address: EvmAddress_3;
399
+ readonly nativeCurrency: NativeCurrency;
399
400
  readonly nativeBalance: ApiBigIntEncoded;
400
401
  readonly nativeBalanceObservedAtBlock: ApiBigIntEncoded;
401
402
  readonly nativeBalanceObservedAt: TimestampEncoded;
@@ -414,6 +415,7 @@ export type AccountNativeBalanceItem = {
414
415
  readonly address: EvmAddress;
415
416
  readonly entityType: "eoa" | "asset" | "bond" | "equity" | "fund" | "deposit" | "stablecoin" | "real-estate" | "precious-metal" | "system" | "smart-account" | "operator-wallet" | "contract";
416
417
  readonly contractName: string | null;
418
+ readonly nativeCurrency: NativeCurrency;
417
419
  readonly nativeBalance: ApiBigIntEncoded | null;
418
420
  readonly nativeBalanceObservedAtBlock: ApiBigIntEncoded | null;
419
421
  readonly nativeBalanceObservedAt: TimestampEncoded | null;
@@ -434,6 +436,7 @@ export type AccountNativeBalanceItem_1 = {
434
436
  readonly address: EvmAddress_2;
435
437
  readonly entityType: "eoa" | "asset" | "bond" | "equity" | "fund" | "deposit" | "stablecoin" | "real-estate" | "precious-metal" | "system" | "smart-account" | "operator-wallet" | "contract";
436
438
  readonly contractName: string | null;
439
+ readonly nativeCurrency: NativeCurrency;
437
440
  readonly nativeBalance: ApiBigIntEncoded | null;
438
441
  readonly nativeBalanceObservedAtBlock: ApiBigIntEncoded | null;
439
442
  readonly nativeBalanceObservedAt: TimestampEncoded | null;
@@ -881,6 +884,23 @@ export type AdminNetworkGasSources = {
881
884
  readonly sponsorshipAutoMaxGasCost: "row" | "values" | "chain-default" | "default" | "detected";
882
885
  };
883
886
 
887
+ export type AdminNetworkLifecycle = {
888
+ readonly networkName: string;
889
+ readonly chainId: ChainIdEncoded_1;
890
+ readonly paused: boolean;
891
+ readonly pauseReason: "admin" | "endpoint-removed" | "directory-changed" | null;
892
+ readonly version: number;
893
+ };
894
+
895
+ export type AdminNetworkLifecycleInput = {
896
+ readonly paused: boolean;
897
+ };
898
+
899
+ export type AdminNetworkLifecycleOutput = {
900
+ readonly data: AdminNetworkLifecycle;
901
+ readonly links: SingleResourceLinks;
902
+ };
903
+
884
904
  export type AdminNetworkReadProjection = AdminBuiltInNetworkDefinition | AdminCustomNetworkDefinition | AdminCantonNetworkDefinition;
885
905
 
886
906
  export type AdminNetworkRejection = {
@@ -955,9 +975,13 @@ export type AdminNetworkStoredDefinitionResponse = {
955
975
  };
956
976
 
957
977
  export type AdminNetworkSync = {
978
+ readonly status: "paused" | "catching_up" | "live";
979
+ readonly lifecycleVersion: number;
958
980
  readonly historyComplete: boolean;
959
981
  readonly indexingContracts: number;
960
982
  readonly trackedContracts: number;
983
+ readonly committedHeight: string | null;
984
+ readonly committedAgeMs: number | null;
961
985
  };
962
986
 
963
987
  export type AdminNetworkUpsertInput = AdminBuiltInNetworkDefinition_1 | AdminCustomNetworkDefinition_1 | AdminCantonNetworkDefinition;
@@ -9699,8 +9723,6 @@ export type EvmUserEventV2Item = {
9699
9723
  readonly name: string;
9700
9724
  readonly value: string;
9701
9725
  }>;
9702
- readonly gasUsed: string;
9703
- readonly gasPrice: string;
9704
9726
  };
9705
9727
 
9706
9728
  export type EvmXvpSettlementListItem = {
@@ -13522,6 +13544,12 @@ export type MutationInput_1 = {
13522
13544
  readonly walletVerification?: OptionalUserVerification;
13523
13545
  };
13524
13546
 
13547
+ export type NativeCurrency = {
13548
+ readonly name: string;
13549
+ readonly symbol: string;
13550
+ readonly decimals: number;
13551
+ };
13552
+
13525
13553
  export type NetworkId = string;
13526
13554
 
13527
13555
  export type NetworkId_1 = string;
@@ -13791,6 +13819,7 @@ export type OrganizationEnabledNetworkCollectionResponse = {
13791
13819
  export type OrganizationFundingRequirement = {
13792
13820
  readonly id: string;
13793
13821
  readonly chainId: number;
13822
+ readonly nativeCurrency: NativeCurrency | null;
13794
13823
  readonly subjectAddress: EvmAddress_7 | null;
13795
13824
  readonly subjectKind: "eoa" | "smart-account" | "paymaster-deposit";
13796
13825
  readonly role: string | null;
@@ -27236,6 +27265,20 @@ export type admin_networks_delete_RequestParts = {
27236
27265
 
27237
27266
  export type admin_networks_delete_Response = DeleteResponse_2;
27238
27267
 
27268
+ export type admin_networks_indexing_Request = {
27269
+ readonly networkName: string;
27270
+ } & (AdminNetworkLifecycleInput);
27271
+
27272
+ export type admin_networks_indexing_RequestParts = {
27273
+ readonly path: {
27274
+ readonly networkName: string;
27275
+ };
27276
+ readonly query?: Readonly<Record<string, never>>;
27277
+ readonly body: AdminNetworkLifecycleInput;
27278
+ };
27279
+
27280
+ export type admin_networks_indexing_Response = AdminNetworkLifecycleOutput;
27281
+
27239
27282
  export type admin_networks_list_Request = {
27240
27283
  readonly sort?: string;
27241
27284
  readonly page?: {
@@ -53224,6 +53267,7 @@ export type DalpApi = {
53224
53267
  };
53225
53268
  readonly networks: {
53226
53269
  readonly delete: DalpOperation<admin_networks_delete_Request, admin_networks_delete_Response>;
53270
+ readonly indexing: DalpOperation<admin_networks_indexing_Request, admin_networks_indexing_Response>;
53227
53271
  readonly list: DalpOperation<admin_networks_list_Request, admin_networks_list_Response>;
53228
53272
  readonly read: DalpOperation<admin_networks_read_Request, admin_networks_read_Response>;
53229
53273
  readonly rejected: DalpOperation<admin_networks_rejected_Request, admin_networks_rejected_Response>;
@@ -54237,6 +54281,7 @@ export type DalpConsoleApi = {
54237
54281
  };
54238
54282
  readonly networks: {
54239
54283
  readonly delete: DalpOperation<admin_networks_delete_Request, admin_networks_delete_Response>;
54284
+ readonly indexing: DalpOperation<admin_networks_indexing_Request, admin_networks_indexing_Response>;
54240
54285
  readonly list: DalpOperation<admin_networks_list_Request, admin_networks_list_Response>;
54241
54286
  readonly read: DalpOperation<admin_networks_read_Request, admin_networks_read_Response>;
54242
54287
  readonly rejected: DalpOperation<admin_networks_rejected_Request, admin_networks_rejected_Response>;
@@ -55768,6 +55813,12 @@ export interface DalpRouteTypes {
55768
55813
  readonly response: admin_networks_delete_Response;
55769
55814
  readonly streaming: false;
55770
55815
  };
55816
+ readonly "admin/networks/indexing": {
55817
+ readonly request: admin_networks_indexing_Request;
55818
+ readonly requestParts: admin_networks_indexing_RequestParts;
55819
+ readonly response: admin_networks_indexing_Response;
55820
+ readonly streaming: false;
55821
+ };
55771
55822
  readonly "admin/networks/list": {
55772
55823
  readonly request: admin_networks_list_Request;
55773
55824
  readonly requestParts: admin_networks_list_RequestParts;
@@ -60533,6 +60584,12 @@ export interface DalpConsoleRouteTypes {
60533
60584
  readonly response: admin_networks_delete_Response;
60534
60585
  readonly streaming: false;
60535
60586
  };
60587
+ readonly "admin/networks/indexing": {
60588
+ readonly request: admin_networks_indexing_Request;
60589
+ readonly requestParts: admin_networks_indexing_RequestParts;
60590
+ readonly response: admin_networks_indexing_Response;
60591
+ readonly streaming: false;
60592
+ };
60536
60593
  readonly "admin/networks/list": {
60537
60594
  readonly request: admin_networks_list_Request;
60538
60595
  readonly requestParts: admin_networks_list_RequestParts;
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  data
3
- } from "./chunk-hpjg1km2.js";
3
+ } from "./chunk-51yvct6y.js";
4
4
  import {
5
5
  DalpSdkError2,
6
6
  createDalpSdkConfigurationError2
@@ -25,7 +25,7 @@ import {
25
25
  createCookieStoreFetch2,
26
26
  SDK_VERSION2,
27
27
  SDK_USER_AGENT2
28
- } from "./chunk-c0tye6b6.js";
28
+ } from "./chunk-gdg1k4qz.js";
29
29
  import {
30
30
  readsAsIndexerRebuild2
31
31
  } from "./chunk-sk9nc2q3.js";