wallaby-cash 3.15.1 → 3.15.3
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/generated/api.d.ts +27 -21
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/dist/package.json +1 -1
- package/dist/r/oci-3T3HuAKO.cjs.map +1 -1
- package/dist/r/oci-DsJU4c2w.js.map +1 -1
- package/dist/r/oci-DsJU4c2w.mjs.map +1 -1
- package/package.json +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -608,6 +608,9 @@ export interface AdminWalletCreationRequest {
|
|
|
608
608
|
export interface AllowanceTransactionRequestDto {
|
|
609
609
|
/**
|
|
610
610
|
* The amount the owner wishes to allow the spender to spend, in human-readable units. Sent as a string to preserve precision.
|
|
611
|
+
* @minLength 1
|
|
612
|
+
* @maxLength 256
|
|
613
|
+
* @pattern ^\d*\.?\d+$
|
|
611
614
|
* @example "10"
|
|
612
615
|
*/
|
|
613
616
|
amount: string;
|
|
@@ -898,20 +901,20 @@ export interface AssetConfig {
|
|
|
898
901
|
chainName: "BITCOIN" | "ETHEREUM" | "ALGORAND" | "AVALANCHE" | "POLYGON" | "BASE" | "BSC" | "SUI" | "INJECTIVE" | "SEI" | "APTOS" | "SOLANA" | "POLYMESH" | "HEDERA" | "CANTON";
|
|
899
902
|
contractAddress?: string | null;
|
|
900
903
|
/** The version of the RestrictedLockupToken contract */
|
|
901
|
-
contractVersion?: string;
|
|
904
|
+
contractVersion?: string | null;
|
|
902
905
|
/** The merchant who created the asset */
|
|
903
|
-
createdByMerchant?: AssetConfigMerchantDto;
|
|
906
|
+
createdByMerchant?: AssetConfigMerchantDto | null;
|
|
904
907
|
/** The merchant id who created the asset */
|
|
905
908
|
createdByMerchantId?: string | null;
|
|
906
|
-
createdByUser?: User;
|
|
909
|
+
createdByUser?: User | null;
|
|
907
910
|
/** The user id who created the asset */
|
|
908
911
|
createdByUserId?: string | null;
|
|
909
912
|
/** @example 18 */
|
|
910
913
|
decimals: number;
|
|
911
914
|
description?: string | null;
|
|
912
915
|
/** Chain-specific extended configuration for the asset (arbitrary key-value pairs) */
|
|
913
|
-
extendedConfiguration?: Record<string, any
|
|
914
|
-
iconUrl?: string;
|
|
916
|
+
extendedConfiguration?: Record<string, any> | null;
|
|
917
|
+
iconUrl?: string | null;
|
|
915
918
|
/** Asset ID */
|
|
916
919
|
id: string;
|
|
917
920
|
/**
|
|
@@ -932,7 +935,7 @@ export interface AssetConfig {
|
|
|
932
935
|
/** This field specify if an asset owned by a single wallet or requires multiple signatures to broadcast a transaction */
|
|
933
936
|
ownershipType?: "SINGLE_OWNER" | "MULTI_SIG";
|
|
934
937
|
/** The address of the forwarder contract to use with this token */
|
|
935
|
-
relayerAddress?: string;
|
|
938
|
+
relayerAddress?: string | null;
|
|
936
939
|
/**
|
|
937
940
|
* Whether the asset requires KYC verification
|
|
938
941
|
* @example false
|
|
@@ -1778,7 +1781,6 @@ export interface CreateAssetConfigDto {
|
|
|
1778
1781
|
/**
|
|
1779
1782
|
* Only required for Non-native assets (aka tokens)
|
|
1780
1783
|
* @maxLength 256
|
|
1781
|
-
* @pattern ^(0x)?[0-9a-fA-F]+$
|
|
1782
1784
|
*/
|
|
1783
1785
|
contractAddress?: string;
|
|
1784
1786
|
/**
|
|
@@ -3117,6 +3119,9 @@ export type GetEstimateFeeData = FeeEstimatesResponseDto;
|
|
|
3117
3119
|
export interface GetEstimateFeeParams {
|
|
3118
3120
|
/**
|
|
3119
3121
|
* Transfer or allowance amount in human-readable units (decimal string, e.g. "1.5"). Sent as a string to preserve precision.
|
|
3122
|
+
* @minLength 1
|
|
3123
|
+
* @maxLength 256
|
|
3124
|
+
* @pattern ^\d*\.?\d+$
|
|
3120
3125
|
* @example "100"
|
|
3121
3126
|
*/
|
|
3122
3127
|
amount: string;
|
|
@@ -4721,14 +4726,6 @@ export interface SeedPhraseReconstructRequestDto {
|
|
|
4721
4726
|
* @example "717ea458b62a430cb37ced7c22ebec97"
|
|
4722
4727
|
*/
|
|
4723
4728
|
message: string;
|
|
4724
|
-
/**
|
|
4725
|
-
* Optional public key to encrypt the recovered seed phrase with
|
|
4726
|
-
* @minLength 128
|
|
4727
|
-
* @maxLength 256
|
|
4728
|
-
* @pattern ^(0x)?[0-9a-fA-F]+$
|
|
4729
|
-
* @example "e3421d7f9d6888ea83bef6b28ce0a2ab6eb6fe8a8fbfa3743240992590816b08f9a62edcc63296d056c552054d583fec36d23ef11dffb24c95aaf4a47d50dccc"
|
|
4730
|
-
*/
|
|
4731
|
-
recoveryPubKey?: string;
|
|
4732
4729
|
/**
|
|
4733
4730
|
* Signature generated after signing the provided data field
|
|
4734
4731
|
* @example "0xb44e88ff3c67de6e6548a6caf006bf6e1cb841119d0b9ea1b7e9b2d36a5e0ed42fd9f5e543243d1d73dc4b7800cc2026f74961f4edc769699678a316abb34e661c"
|
|
@@ -5725,6 +5722,9 @@ export interface TransactionStatusDataResponseDto {
|
|
|
5725
5722
|
export interface TransferRequestDto {
|
|
5726
5723
|
/**
|
|
5727
5724
|
* Transfer amount in human-readable units (decimal string, e.g. "1.5"). Sent as a string to preserve precision.
|
|
5725
|
+
* @minLength 1
|
|
5726
|
+
* @maxLength 256
|
|
5727
|
+
* @pattern ^\d*\.?\d+$
|
|
5728
5728
|
* @example "100"
|
|
5729
5729
|
*/
|
|
5730
5730
|
amount: string;
|
|
@@ -6257,12 +6257,12 @@ export interface User {
|
|
|
6257
6257
|
* User first name
|
|
6258
6258
|
* @example "Bryan"
|
|
6259
6259
|
*/
|
|
6260
|
-
firstName?: string;
|
|
6260
|
+
firstName?: string | null;
|
|
6261
6261
|
/**
|
|
6262
6262
|
* User roles with full permissions
|
|
6263
6263
|
* @example true
|
|
6264
6264
|
*/
|
|
6265
|
-
hasFullPermissions
|
|
6265
|
+
hasFullPermissions?: boolean;
|
|
6266
6266
|
/** User primary key */
|
|
6267
6267
|
id: string;
|
|
6268
6268
|
/**
|
|
@@ -6286,7 +6286,7 @@ export interface User {
|
|
|
6286
6286
|
* User Role ID
|
|
6287
6287
|
* @example "merchant_admin"
|
|
6288
6288
|
*/
|
|
6289
|
-
role: "super_admin" | "merchant_admin" | "merchant_user" | "wallet_user" | "contract_admin" | "reserve_admin" | "wallets_admin" | "transfer_admin" | "soft_burn_admin" | "mint_admin" | "automation_admin";
|
|
6289
|
+
role: "super_admin" | "merchant_admin" | "merchant_user" | "wallet_user" | "contract_admin" | "reserve_admin" | "wallets_admin" | "transfer_admin" | "soft_burn_admin" | "mint_admin" | "automation_admin" | null;
|
|
6290
6290
|
/**
|
|
6291
6291
|
* Updated at
|
|
6292
6292
|
* @format date-time
|
|
@@ -6599,7 +6599,7 @@ export interface UserDto {
|
|
|
6599
6599
|
* User first name
|
|
6600
6600
|
* @example "Bryan"
|
|
6601
6601
|
*/
|
|
6602
|
-
firstName?: string;
|
|
6602
|
+
firstName?: string | null;
|
|
6603
6603
|
/** User primary key */
|
|
6604
6604
|
id: string;
|
|
6605
6605
|
/**
|
|
@@ -6611,9 +6611,9 @@ export interface UserDto {
|
|
|
6611
6611
|
* User's Polymesh identity
|
|
6612
6612
|
* @example "0x73ecca5cf1ecaa365a7d1f1e5dbc91737c73fe0a96b41386f574dfb915a913a7"
|
|
6613
6613
|
*/
|
|
6614
|
-
polymeshDID?: string;
|
|
6614
|
+
polymeshDID?: string | null;
|
|
6615
6615
|
/** @example "wallet_user" */
|
|
6616
|
-
role?: "super_admin" | "merchant_admin" | "merchant_user" | "wallet_user" | "contract_admin" | "reserve_admin" | "wallets_admin" | "transfer_admin" | "soft_burn_admin" | "mint_admin" | "automation_admin";
|
|
6616
|
+
role?: "super_admin" | "merchant_admin" | "merchant_user" | "wallet_user" | "contract_admin" | "reserve_admin" | "wallets_admin" | "transfer_admin" | "soft_burn_admin" | "mint_admin" | "automation_admin" | null;
|
|
6617
6617
|
/**
|
|
6618
6618
|
* Updated at
|
|
6619
6619
|
* @format date-time
|
|
@@ -6657,6 +6657,9 @@ export interface UserWalletsResponseDto {
|
|
|
6657
6657
|
export interface V2TransferRequestDto {
|
|
6658
6658
|
/**
|
|
6659
6659
|
* Transfer amount in human-readable units (decimal string, e.g. "1.5"). Sent as a string to preserve precision.
|
|
6660
|
+
* @minLength 1
|
|
6661
|
+
* @maxLength 256
|
|
6662
|
+
* @pattern ^\d*\.?\d+$
|
|
6660
6663
|
* @example "100"
|
|
6661
6664
|
*/
|
|
6662
6665
|
amount: string;
|
|
@@ -9377,6 +9380,9 @@ export declare namespace Transactions {
|
|
|
9377
9380
|
type RequestQuery = {
|
|
9378
9381
|
/**
|
|
9379
9382
|
* Transfer or allowance amount in human-readable units (decimal string, e.g. "1.5"). Sent as a string to preserve precision.
|
|
9383
|
+
* @minLength 1
|
|
9384
|
+
* @maxLength 256
|
|
9385
|
+
* @pattern ^\d*\.?\d+$
|
|
9380
9386
|
* @example "100"
|
|
9381
9387
|
*/
|
|
9382
9388
|
amount: string;
|