@dfns/sdk
Advanced tools
Comparing version 0.2.0 to 0.2.1
import { DocumentSnapshot, EntityId, InitiatorKind, IsoDatetime } from '../Foundations'; | ||
import { PolicyActivityKind, PolicyControlKind } from '../PolicyManagement'; | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export type PolicyExecution = { | ||
@@ -20,2 +23,5 @@ id: EntityId; | ||
}; | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export type PolicyControlExecution = { | ||
@@ -37,6 +43,15 @@ id: EntityId; | ||
}; | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export type AppraisableActivity = {}; | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export type UpdatePolicyControlExecutionInput = { | ||
status: ExecutionStatus; | ||
}; | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export declare enum ExecutionStatus { | ||
@@ -43,0 +58,0 @@ Awaiting = "Awaiting", |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ExecutionStatus = void 0; | ||
// FIXME: Missing documentation for ExecutionStatus | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
var ExecutionStatus; | ||
@@ -6,0 +8,0 @@ (function (ExecutionStatus) { |
import { Amount, AssetSymbol, EntityId, IntegerPositiveStrict, IsoDatetime, Tag, Username } from '../Foundations'; | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export type Policy = { | ||
@@ -17,2 +20,5 @@ id: EntityId; | ||
}; | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export type NotifyAndAuditPcConf = { | ||
@@ -23,2 +29,5 @@ kind: PolicyControlKind.NotifyAndAudit; | ||
}; | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export type RequestApprovalPcConf = { | ||
@@ -31,2 +40,5 @@ kind: PolicyControlKind.RequestApproval; | ||
}; | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export type PolicyRule = { | ||
@@ -45,2 +57,5 @@ id: EntityId; | ||
}; | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export type PolicyControl = { | ||
@@ -70,2 +85,5 @@ id: EntityId; | ||
}; | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export type CreateAmountLimitPrConf = { | ||
@@ -77,2 +95,5 @@ kind: PolicyRuleKind.PaymentAmountLimit; | ||
}; | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export type UpdateAmountLimitPrConf = { | ||
@@ -83,2 +104,5 @@ limit?: Amount; | ||
}; | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export type AmountLimitPrConf = { | ||
@@ -89,2 +113,5 @@ limit: Amount; | ||
}; | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export type CreateTransferLimitPrConf = { | ||
@@ -95,2 +122,5 @@ kind: PolicyRuleKind.TransferAmountLimit; | ||
}; | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export type UpdateTransferLimitPrConf = { | ||
@@ -100,2 +130,5 @@ limit?: Amount; | ||
}; | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export type TransferLimitPrConf = { | ||
@@ -105,2 +138,5 @@ limit: Amount; | ||
}; | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export type CreateOutgoingVelocityPrConf = { | ||
@@ -113,2 +149,5 @@ kind: PolicyRuleKind.PaymentAmountOutgoingVelocity; | ||
}; | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export type UpdateOutgoingVelocityPrConf = { | ||
@@ -120,2 +159,5 @@ velocity?: Amount; | ||
}; | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export type OutgoingVelocityPrConf = { | ||
@@ -127,2 +169,5 @@ velocity: Amount; | ||
}; | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export type CreateRequestApprovalPcConf = { | ||
@@ -135,2 +180,5 @@ kind: PolicyControlKind.RequestApproval; | ||
}; | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export type UpdateRequestApprovalPcConf = { | ||
@@ -142,2 +190,5 @@ approverUsernames?: string[]; | ||
}; | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export type CreateNotifyAndAuditPcConf = { | ||
@@ -148,2 +199,5 @@ kind: PolicyControlKind.NotifyAndAudit; | ||
}; | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export type UpdateNotifyAndAuditPcConf = { | ||
@@ -153,2 +207,5 @@ groups?: string[]; | ||
}; | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export type PolicyManagementPreferences = { | ||
@@ -164,8 +221,23 @@ /** | ||
}; | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export type Create = {}; | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export type EmptyConfiguration = {}; | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export type CreateAlwaysActivatedPrConf = { | ||
kind: PolicyRuleKind.AlwaysActivated; | ||
}; | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export type UpdateAlwaysActivatedPrConf = {}; | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export type AssetAccountFilter = { | ||
@@ -177,2 +249,5 @@ kind: PolicyObjectFilterKind.AssetAccount; | ||
}; | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export type PublicKeyFilter = { | ||
@@ -183,2 +258,5 @@ kind: PolicyObjectFilterKind.PublicKey; | ||
}; | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export type WalletFilter = { | ||
@@ -188,2 +266,5 @@ kind: PolicyObjectFilterKind.Wallet; | ||
}; | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export type CreatePolicyInput = { | ||
@@ -199,2 +280,5 @@ activityKind: PolicyActivityKind; | ||
}; | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export type UpdatePolicyInput = { | ||
@@ -207,2 +291,5 @@ description?: string; | ||
}; | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export type CreatePolicyControlInput = { | ||
@@ -214,2 +301,5 @@ description?: string; | ||
}; | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export type UpdatePolicyControlInput = { | ||
@@ -220,2 +310,5 @@ description?: string; | ||
}; | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export type CreatePolicyRuleInput = { | ||
@@ -227,2 +320,5 @@ description?: string; | ||
}; | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export type UpdatePolicyRuleInput = { | ||
@@ -233,9 +329,33 @@ description?: string; | ||
}; | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export type CreatePolicyRuleConfiguration = CreateAmountLimitPrConf | CreateTransferLimitPrConf | CreateOutgoingVelocityPrConf | CreateAlwaysActivatedPrConf; | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export type UpdatePolicyRuleConfiguration = UpdateAmountLimitPrConf | UpdateTransferLimitPrConf | UpdateOutgoingVelocityPrConf | UpdateAlwaysActivatedPrConf; | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export type UpdatePolicyControlConfiguration = UpdateRequestApprovalPcConf | UpdateNotifyAndAuditPcConf; | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export type CreatePolicyControlConfiguration = CreateRequestApprovalPcConf | CreateNotifyAndAuditPcConf; | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export type PolicyRuleConfiguration = AmountLimitPrConf | TransferLimitPrConf | OutgoingVelocityPrConf | EmptyConfiguration; | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export type PolicyControlConfiguration = NotifyAndAuditPcConf | RequestApprovalPcConf; | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export type PolicyObjectFilter = AssetAccountFilter | PublicKeyFilter | WalletFilter; | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export declare enum PolicyActivityKind { | ||
@@ -247,2 +367,5 @@ CreatingSignature = "CreatingSignature", | ||
} | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export declare enum PolicyStatus { | ||
@@ -254,5 +377,3 @@ Enabled = "Enabled", | ||
/** | ||
* enumm: | ||
* * NotifyAndAudit | ||
* * RequestApproval | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
@@ -263,2 +384,5 @@ export declare enum PolicyControlKind { | ||
} | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export declare enum PolicyRuleKind { | ||
@@ -270,2 +394,5 @@ AlwaysActivated = "AlwaysActivated", | ||
} | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export declare enum Currency { | ||
@@ -275,2 +402,5 @@ EUR = "EUR", | ||
} | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export declare enum PolicyControlStatus { | ||
@@ -280,2 +410,5 @@ Enabled = "Enabled", | ||
} | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export declare enum PolicyRuleStatus { | ||
@@ -285,2 +418,5 @@ Enabled = "Enabled", | ||
} | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
export declare enum PolicyObjectFilterKind { | ||
@@ -287,0 +423,0 @@ AssetAccount = "AssetAccount", |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.PolicyObjectFilterKind = exports.PolicyRuleStatus = exports.PolicyControlStatus = exports.Currency = exports.PolicyRuleKind = exports.PolicyControlKind = exports.PolicyStatus = exports.PolicyActivityKind = void 0; | ||
// FIXME: Missing documentation for PolicyActivityKind | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
var PolicyActivityKind; | ||
@@ -16,3 +18,5 @@ (function (PolicyActivityKind) { | ||
})(PolicyActivityKind || (exports.PolicyActivityKind = PolicyActivityKind = {})); | ||
// FIXME: Missing documentation for PolicyStatus | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
var PolicyStatus; | ||
@@ -28,5 +32,3 @@ (function (PolicyStatus) { | ||
/** | ||
* enumm: | ||
* * NotifyAndAudit | ||
* * RequestApproval | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
@@ -40,3 +42,5 @@ var PolicyControlKind; | ||
})(PolicyControlKind || (exports.PolicyControlKind = PolicyControlKind = {})); | ||
// FIXME: Missing documentation for PolicyRuleKind | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
var PolicyRuleKind; | ||
@@ -53,3 +57,5 @@ (function (PolicyRuleKind) { | ||
})(PolicyRuleKind || (exports.PolicyRuleKind = PolicyRuleKind = {})); | ||
// FIXME: Missing documentation for Currency | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
var Currency; | ||
@@ -62,3 +68,5 @@ (function (Currency) { | ||
})(Currency || (exports.Currency = Currency = {})); | ||
// FIXME: Missing documentation for PolicyControlStatus | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
var PolicyControlStatus; | ||
@@ -71,3 +79,5 @@ (function (PolicyControlStatus) { | ||
})(PolicyControlStatus || (exports.PolicyControlStatus = PolicyControlStatus = {})); | ||
// FIXME: Missing documentation for PolicyRuleStatus | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
var PolicyRuleStatus; | ||
@@ -80,3 +90,5 @@ (function (PolicyRuleStatus) { | ||
})(PolicyRuleStatus || (exports.PolicyRuleStatus = PolicyRuleStatus = {})); | ||
// FIXME: Missing documentation for PolicyObjectFilterKind | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
var PolicyObjectFilterKind; | ||
@@ -83,0 +95,0 @@ (function (PolicyObjectFilterKind) { |
@@ -10,2 +10,3 @@ import { DfnsBaseApiOptions } from './baseAuthApi'; | ||
import { PublicKeysClient } from './codegen/PublicKeys'; | ||
import { PoliciesClient } from './generated/policies'; | ||
import { SignersClient } from './generated/signers'; | ||
@@ -26,3 +27,10 @@ import { WalletsClient } from './generated/wallets'; | ||
get permissions(): PermissionsClient; | ||
get policies(): PoliciesClient; | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
get policyExecution(): PolicyExecutionClient; | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
get policyManagement(): PolicyManagementClient; | ||
@@ -29,0 +37,0 @@ get publicKeys(): PublicKeysClient; |
@@ -12,2 +12,3 @@ "use strict"; | ||
const PublicKeys_1 = require("./codegen/PublicKeys"); | ||
const policies_1 = require("./generated/policies"); | ||
const signers_1 = require("./generated/signers"); | ||
@@ -35,5 +36,14 @@ const wallets_1 = require("./generated/wallets"); | ||
} | ||
get policies() { | ||
return new policies_1.PoliciesClient(this.apiOptions); | ||
} | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
get policyExecution() { | ||
return new PolicyExecution_1.PolicyExecutionClient(this.apiOptions); | ||
} | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
get policyManagement() { | ||
@@ -40,0 +50,0 @@ return new PolicyManagement_1.PolicyManagementClient(this.apiOptions); |
@@ -10,2 +10,3 @@ import { DfnsBaseApiOptions } from './baseAuthApi'; | ||
import { DelegatedPublicKeysClient } from './codegen/PublicKeys'; | ||
import { DelegatedPoliciesClient } from './generated/policies'; | ||
import { DelegatedSignersClient } from './generated/signers'; | ||
@@ -25,3 +26,10 @@ import { DelegatedWalletsClient } from './generated/wallets'; | ||
get permissions(): DelegatedPermissionsClient; | ||
get policies(): DelegatedPoliciesClient; | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
get policyExecution(): DelegatedPolicyExecutionClient; | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
get policyManagement(): DelegatedPolicyManagementClient; | ||
@@ -28,0 +36,0 @@ get publicKeys(): DelegatedPublicKeysClient; |
@@ -12,2 +12,3 @@ "use strict"; | ||
const PublicKeys_1 = require("./codegen/PublicKeys"); | ||
const policies_1 = require("./generated/policies"); | ||
const signers_1 = require("./generated/signers"); | ||
@@ -35,5 +36,14 @@ const wallets_1 = require("./generated/wallets"); | ||
} | ||
get policies() { | ||
return new policies_1.DelegatedPoliciesClient(this.apiOptions); | ||
} | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
get policyExecution() { | ||
return new PolicyExecution_1.DelegatedPolicyExecutionClient(this.apiOptions); | ||
} | ||
/** | ||
* @deprecated use the new policy engine instead | ||
*/ | ||
get policyManagement() { | ||
@@ -40,0 +50,0 @@ return new PolicyManagement_1.DelegatedPolicyManagementClient(this.apiOptions); |
@@ -7,22 +7,23 @@ export type BroadcastTransactionBody = { | ||
to?: string | undefined; | ||
value?: string | undefined; | ||
value?: (string | string) | undefined; | ||
data?: string | undefined; | ||
nonce?: number | undefined; | ||
nonce?: (number | string | string) | undefined; | ||
gasLimit?: (string | string) | undefined; | ||
} | { | ||
kind: "Eip1559"; | ||
to?: string | undefined; | ||
value?: string | undefined; | ||
value?: (string | string) | undefined; | ||
data?: string | undefined; | ||
nonce?: number | undefined; | ||
gasLimit?: string | undefined; | ||
maxFeePerGas?: string | undefined; | ||
maxPriorityFeePerGas?: string | undefined; | ||
nonce?: (number | string | string) | undefined; | ||
gasLimit?: (string | string) | undefined; | ||
maxFeePerGas?: (string | string) | undefined; | ||
maxPriorityFeePerGas?: (string | string) | undefined; | ||
} | { | ||
kind: "EvmLegacy"; | ||
to?: string | undefined; | ||
value?: string | undefined; | ||
value?: (string | string) | undefined; | ||
data?: string | undefined; | ||
nonce?: number | undefined; | ||
gasLimit?: string | undefined; | ||
gasPrice?: string | undefined; | ||
nonce?: (number | string | string) | undefined; | ||
gasLimit?: (string | string) | undefined; | ||
gasPrice?: (string | string) | undefined; | ||
} | { | ||
@@ -38,3 +39,3 @@ kind: "Psbt"; | ||
walletId: string; | ||
network: "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismGoerli" | "Polygon" | "PolygonMumbai" | "Ripple" | "RippleTestnet" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA"; | ||
network: "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polygon" | "PolygonMumbai" | "Ripple" | "RippleTestnet" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA"; | ||
requester: { | ||
@@ -51,22 +52,23 @@ userId: string; | ||
to?: string | undefined; | ||
value?: string | undefined; | ||
value?: (string | string) | undefined; | ||
data?: string | undefined; | ||
nonce?: number | undefined; | ||
nonce?: (number | string | string) | undefined; | ||
gasLimit?: (string | string) | undefined; | ||
} | { | ||
kind: "Eip1559"; | ||
to?: string | undefined; | ||
value?: string | undefined; | ||
value?: (string | string) | undefined; | ||
data?: string | undefined; | ||
nonce?: number | undefined; | ||
gasLimit?: string | undefined; | ||
maxFeePerGas?: string | undefined; | ||
maxPriorityFeePerGas?: string | undefined; | ||
nonce?: (number | string | string) | undefined; | ||
gasLimit?: (string | string) | undefined; | ||
maxFeePerGas?: (string | string) | undefined; | ||
maxPriorityFeePerGas?: (string | string) | undefined; | ||
} | { | ||
kind: "EvmLegacy"; | ||
to?: string | undefined; | ||
value?: string | undefined; | ||
value?: (string | string) | undefined; | ||
data?: string | undefined; | ||
nonce?: number | undefined; | ||
gasLimit?: string | undefined; | ||
gasPrice?: string | undefined; | ||
nonce?: (number | string | string) | undefined; | ||
gasLimit?: (string | string) | undefined; | ||
gasPrice?: (string | string) | undefined; | ||
} | { | ||
@@ -89,3 +91,3 @@ kind: "Psbt"; | ||
export type CreateWalletBody = { | ||
network: "ArbitrumOne" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismGoerli" | "Polygon" | "PolygonMumbai" | "ArbitrumGoerli" | "Bitcoin" | "BitcoinTestnet3" | "Tron" | "TronNile" | "KeyEdDSA" | "KeyECDSA" | "KeyECDSAStark"; | ||
network: "ArbitrumOne" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseSepolia" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismSepolia" | "Polygon" | "PolygonMumbai" | "ArbitrumGoerli" | "BaseGoerli" | "Bitcoin" | "BitcoinTestnet3" | "OptimismGoerli" | "Ripple" | "RippleTestnet" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "KeyEdDSA" | "KeyECDSA" | "KeyECDSAStark"; | ||
name?: string | undefined; | ||
@@ -98,3 +100,3 @@ externalId?: string | undefined; | ||
id: string; | ||
network: "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismGoerli" | "Polygon" | "PolygonMumbai" | "Ripple" | "RippleTestnet" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA"; | ||
network: "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polygon" | "PolygonMumbai" | "Ripple" | "RippleTestnet" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA"; | ||
address?: string | undefined; | ||
@@ -195,3 +197,3 @@ signingKey: { | ||
walletId: string; | ||
network: "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismGoerli" | "Polygon" | "PolygonMumbai" | "Ripple" | "RippleTestnet" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA"; | ||
network: "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polygon" | "PolygonMumbai" | "Ripple" | "RippleTestnet" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA"; | ||
requester: { | ||
@@ -265,3 +267,3 @@ userId: string; | ||
walletId: string; | ||
network: "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismGoerli" | "Polygon" | "PolygonMumbai" | "Ripple" | "RippleTestnet" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA"; | ||
network: "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polygon" | "PolygonMumbai" | "Ripple" | "RippleTestnet" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA"; | ||
requester: { | ||
@@ -333,3 +335,3 @@ userId: string; | ||
walletId: string; | ||
network: "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismGoerli" | "Polygon" | "PolygonMumbai" | "Ripple" | "RippleTestnet" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA"; | ||
network: "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polygon" | "PolygonMumbai" | "Ripple" | "RippleTestnet" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA"; | ||
requester: { | ||
@@ -346,22 +348,23 @@ userId: string; | ||
to?: string | undefined; | ||
value?: string | undefined; | ||
value?: (string | string) | undefined; | ||
data?: string | undefined; | ||
nonce?: number | undefined; | ||
nonce?: (number | string | string) | undefined; | ||
gasLimit?: (string | string) | undefined; | ||
} | { | ||
kind: "Eip1559"; | ||
to?: string | undefined; | ||
value?: string | undefined; | ||
value?: (string | string) | undefined; | ||
data?: string | undefined; | ||
nonce?: number | undefined; | ||
gasLimit?: string | undefined; | ||
maxFeePerGas?: string | undefined; | ||
maxPriorityFeePerGas?: string | undefined; | ||
nonce?: (number | string | string) | undefined; | ||
gasLimit?: (string | string) | undefined; | ||
maxFeePerGas?: (string | string) | undefined; | ||
maxPriorityFeePerGas?: (string | string) | undefined; | ||
} | { | ||
kind: "EvmLegacy"; | ||
to?: string | undefined; | ||
value?: string | undefined; | ||
value?: (string | string) | undefined; | ||
data?: string | undefined; | ||
nonce?: number | undefined; | ||
gasLimit?: string | undefined; | ||
gasPrice?: string | undefined; | ||
nonce?: (number | string | string) | undefined; | ||
gasLimit?: (string | string) | undefined; | ||
gasPrice?: (string | string) | undefined; | ||
} | { | ||
@@ -388,3 +391,3 @@ kind: "Psbt"; | ||
walletId: string; | ||
network: "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismGoerli" | "Polygon" | "PolygonMumbai" | "Ripple" | "RippleTestnet" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA"; | ||
network: "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polygon" | "PolygonMumbai" | "Ripple" | "RippleTestnet" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA"; | ||
requester: { | ||
@@ -397,4 +400,5 @@ userId: string; | ||
kind: "Native"; | ||
to: string | string | string | string | string; | ||
to: string | string | string | string | string | string; | ||
amount: string; | ||
memo?: string | undefined; | ||
} | { | ||
@@ -451,3 +455,3 @@ kind: "Erc20"; | ||
id: string; | ||
network: "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismGoerli" | "Polygon" | "PolygonMumbai" | "Ripple" | "RippleTestnet" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA"; | ||
network: "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polygon" | "PolygonMumbai" | "Ripple" | "RippleTestnet" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA"; | ||
address?: string | undefined; | ||
@@ -474,3 +478,3 @@ signingKey: { | ||
walletId: string; | ||
network: "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismGoerli" | "Polygon" | "PolygonMumbai" | "Ripple" | "RippleTestnet" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA"; | ||
network: "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polygon" | "PolygonMumbai" | "Ripple" | "RippleTestnet" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA"; | ||
assets: { | ||
@@ -498,7 +502,7 @@ kind: "Native" | "Erc20" | "Erc721" | "Trc10" | "Trc20" | "Trc721"; | ||
walletId: string; | ||
network: "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismGoerli" | "Polygon" | "PolygonMumbai" | "Ripple" | "RippleTestnet" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA"; | ||
network: "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polygon" | "PolygonMumbai" | "Ripple" | "RippleTestnet" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA"; | ||
items: ({ | ||
walletId: string; | ||
direction: "In" | "Out"; | ||
network: "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismGoerli" | "Polygon" | "PolygonMumbai" | "Ripple" | "RippleTestnet" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA"; | ||
network: "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polygon" | "PolygonMumbai" | "Ripple" | "RippleTestnet" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA"; | ||
blockNumber: number; | ||
@@ -540,3 +544,3 @@ txHash: string; | ||
direction: "In" | "Out"; | ||
network: "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismGoerli" | "Polygon" | "PolygonMumbai" | "Ripple" | "RippleTestnet" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA"; | ||
network: "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polygon" | "PolygonMumbai" | "Ripple" | "RippleTestnet" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA"; | ||
blockNumber: number; | ||
@@ -579,3 +583,3 @@ txHash: string; | ||
direction: "In" | "Out"; | ||
network: "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismGoerli" | "Polygon" | "PolygonMumbai" | "Ripple" | "RippleTestnet" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA"; | ||
network: "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polygon" | "PolygonMumbai" | "Ripple" | "RippleTestnet" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA"; | ||
blockNumber: number; | ||
@@ -624,3 +628,3 @@ txHash: string; | ||
walletId: string; | ||
network: "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismGoerli" | "Polygon" | "PolygonMumbai" | "Ripple" | "RippleTestnet" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA"; | ||
network: "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polygon" | "PolygonMumbai" | "Ripple" | "RippleTestnet" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA"; | ||
nfts: { | ||
@@ -637,3 +641,3 @@ kind: "Native" | "Erc20" | "Erc721" | "Trc10" | "Trc20" | "Trc721"; | ||
export type ImportWalletBody = { | ||
network: "ArbitrumOne" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismGoerli" | "Polygon" | "PolygonMumbai" | "ArbitrumGoerli" | "Bitcoin" | "BitcoinTestnet3" | "Tron" | "TronNile" | "KeyEdDSA" | "KeyECDSA" | "KeyECDSAStark"; | ||
network: "ArbitrumOne" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseSepolia" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismSepolia" | "Polygon" | "PolygonMumbai" | "ArbitrumGoerli" | "BaseGoerli" | "Bitcoin" | "BitcoinTestnet3" | "OptimismGoerli" | "Ripple" | "RippleTestnet" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "KeyEdDSA" | "KeyECDSA" | "KeyECDSAStark"; | ||
name?: string | undefined; | ||
@@ -652,3 +656,3 @@ externalId?: string | undefined; | ||
id: string; | ||
network: "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismGoerli" | "Polygon" | "PolygonMumbai" | "Ripple" | "RippleTestnet" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA"; | ||
network: "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polygon" | "PolygonMumbai" | "Ripple" | "RippleTestnet" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA"; | ||
address?: string | undefined; | ||
@@ -684,3 +688,3 @@ signingKey: { | ||
walletId: string; | ||
network: "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismGoerli" | "Polygon" | "PolygonMumbai" | "Ripple" | "RippleTestnet" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA"; | ||
network: "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polygon" | "PolygonMumbai" | "Ripple" | "RippleTestnet" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA"; | ||
requester: { | ||
@@ -761,3 +765,3 @@ userId: string; | ||
walletId: string; | ||
network: "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismGoerli" | "Polygon" | "PolygonMumbai" | "Ripple" | "RippleTestnet" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA"; | ||
network: "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polygon" | "PolygonMumbai" | "Ripple" | "RippleTestnet" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA"; | ||
requester: { | ||
@@ -774,22 +778,23 @@ userId: string; | ||
to?: string | undefined; | ||
value?: string | undefined; | ||
value?: (string | string) | undefined; | ||
data?: string | undefined; | ||
nonce?: number | undefined; | ||
nonce?: (number | string | string) | undefined; | ||
gasLimit?: (string | string) | undefined; | ||
} | { | ||
kind: "Eip1559"; | ||
to?: string | undefined; | ||
value?: string | undefined; | ||
value?: (string | string) | undefined; | ||
data?: string | undefined; | ||
nonce?: number | undefined; | ||
gasLimit?: string | undefined; | ||
maxFeePerGas?: string | undefined; | ||
maxPriorityFeePerGas?: string | undefined; | ||
nonce?: (number | string | string) | undefined; | ||
gasLimit?: (string | string) | undefined; | ||
maxFeePerGas?: (string | string) | undefined; | ||
maxPriorityFeePerGas?: (string | string) | undefined; | ||
} | { | ||
kind: "EvmLegacy"; | ||
to?: string | undefined; | ||
value?: string | undefined; | ||
value?: (string | string) | undefined; | ||
data?: string | undefined; | ||
nonce?: number | undefined; | ||
gasLimit?: string | undefined; | ||
gasPrice?: string | undefined; | ||
nonce?: (number | string | string) | undefined; | ||
gasLimit?: (string | string) | undefined; | ||
gasPrice?: (string | string) | undefined; | ||
} | { | ||
@@ -825,3 +830,3 @@ kind: "Psbt"; | ||
walletId: string; | ||
network: "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismGoerli" | "Polygon" | "PolygonMumbai" | "Ripple" | "RippleTestnet" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA"; | ||
network: "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polygon" | "PolygonMumbai" | "Ripple" | "RippleTestnet" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA"; | ||
requester: { | ||
@@ -834,4 +839,5 @@ userId: string; | ||
kind: "Native"; | ||
to: string | string | string | string | string; | ||
to: string | string | string | string | string | string; | ||
amount: string; | ||
memo?: string | undefined; | ||
} | { | ||
@@ -894,3 +900,3 @@ kind: "Erc20"; | ||
id: string; | ||
network: "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismGoerli" | "Polygon" | "PolygonMumbai" | "Ripple" | "RippleTestnet" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA"; | ||
network: "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polygon" | "PolygonMumbai" | "Ripple" | "RippleTestnet" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA"; | ||
address?: string | undefined; | ||
@@ -918,4 +924,5 @@ signingKey: { | ||
kind: "Native"; | ||
to: string | string | string | string | string; | ||
to: string | string | string | string | string | string; | ||
amount: string; | ||
memo?: string | undefined; | ||
} | { | ||
@@ -953,3 +960,3 @@ kind: "Erc20"; | ||
walletId: string; | ||
network: "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismGoerli" | "Polygon" | "PolygonMumbai" | "Ripple" | "RippleTestnet" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA"; | ||
network: "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polygon" | "PolygonMumbai" | "Ripple" | "RippleTestnet" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA"; | ||
requester: { | ||
@@ -962,4 +969,5 @@ userId: string; | ||
kind: "Native"; | ||
to: string | string | string | string | string; | ||
to: string | string | string | string | string | string; | ||
amount: string; | ||
memo?: string | undefined; | ||
} | { | ||
@@ -1021,3 +1029,3 @@ kind: "Erc20"; | ||
id: string; | ||
network: "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismGoerli" | "Polygon" | "PolygonMumbai" | "Ripple" | "RippleTestnet" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA"; | ||
network: "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polygon" | "PolygonMumbai" | "Ripple" | "RippleTestnet" | "Solana" | "SolanaDevnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA"; | ||
address?: string | undefined; | ||
@@ -1024,0 +1032,0 @@ signingKey: { |
{ | ||
"name": "@dfns/sdk", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"dependencies": { | ||
@@ -5,0 +5,0 @@ "buffer": "6.0.3", |
2390781
259
81776