@trustwallet/wallet-core 3.1.9 → 3.1.11
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/core_proto.d.ts +2285 -2043
- package/dist/generated/core_proto.js +14142 -13565
- package/dist/lib/wallet-core.js +138 -135
- package/dist/lib/wallet-core.wasm +0 -0
- package/dist/src/wallet-core.d.ts +10 -3
- package/package.json +1 -1
Binary file
|
@@ -155,7 +155,7 @@ export class Blockchain {
|
|
155
155
|
static cardano: Blockchain;
|
156
156
|
static neo: Blockchain;
|
157
157
|
static filecoin: Blockchain;
|
158
|
-
static
|
158
|
+
static multiversX: Blockchain;
|
159
159
|
static oasisNetwork: Blockchain;
|
160
160
|
static decred: Blockchain;
|
161
161
|
static zcash: Blockchain;
|
@@ -168,6 +168,7 @@ export class Blockchain {
|
|
168
168
|
static aptos: Blockchain;
|
169
169
|
static hedera: Blockchain;
|
170
170
|
static theOpenNetwork: Blockchain;
|
171
|
+
static sui: Blockchain;
|
171
172
|
}
|
172
173
|
export class Cardano {
|
173
174
|
static minAdaAmount(tokenBundle: Uint8Array | Buffer): number;
|
@@ -234,7 +235,7 @@ export class CoinType {
|
|
234
235
|
static kusama: CoinType;
|
235
236
|
static polkadot: CoinType;
|
236
237
|
static filecoin: CoinType;
|
237
|
-
static
|
238
|
+
static multiversX: CoinType;
|
238
239
|
static bandChain: CoinType;
|
239
240
|
static smartChainLegacy: CoinType;
|
240
241
|
static smartChain: CoinType;
|
@@ -276,6 +277,7 @@ export class CoinType {
|
|
276
277
|
static nativeInjective: CoinType;
|
277
278
|
static agoric: CoinType;
|
278
279
|
static ton: CoinType;
|
280
|
+
static sui: CoinType;
|
279
281
|
}
|
280
282
|
export class CoinTypeConfiguration {
|
281
283
|
static getSymbol(type: CoinType): string;
|
@@ -339,6 +341,7 @@ export class DerivationPathIndex {
|
|
339
341
|
export class Ethereum {
|
340
342
|
static eip1014AddressCreate2(fromEthAddress: string, salt: Uint8Array | Buffer, initCodeHash: Uint8Array | Buffer): string;
|
341
343
|
static eip2645GetPath(ethAddress: string, layer: string, application: string, index: string): string;
|
344
|
+
static eip4337GetDeploymentAddress(factoryAddress: string, logicAddress: string, ownerAddress: string): string;
|
342
345
|
}
|
343
346
|
export class EthereumAbi {
|
344
347
|
static encode(fn: EthereumAbiFunction): Uint8Array;
|
@@ -443,7 +446,11 @@ export class EthereumChainID {
|
|
443
446
|
static aurora: EthereumChainID;
|
444
447
|
}
|
445
448
|
export class EthereumMessageSigner {
|
449
|
+
static signTypedMessage(privateKey: PrivateKey, messageJson: string): string;
|
450
|
+
static signTypedMessageEip155(privateKey: PrivateKey, messageJson: string, chainId: number): string;
|
446
451
|
static signMessage(privateKey: PrivateKey, message: string): string;
|
452
|
+
static signMessageImmutableX(privateKey: PrivateKey, message: string): string;
|
453
|
+
static signMessageEip155(privateKey: PrivateKey, message: string, chainId: number): string;
|
447
454
|
static verifyMessage(pubKey: PublicKey, message: string, signature: string): boolean;
|
448
455
|
}
|
449
456
|
export class FIOAccount {
|
@@ -523,7 +530,7 @@ export class HRP {
|
|
523
530
|
static oasis: HRP;
|
524
531
|
static bluzelle: HRP;
|
525
532
|
static bandChain: HRP;
|
526
|
-
static
|
533
|
+
static multiversX: HRP;
|
527
534
|
static secret: HRP;
|
528
535
|
static agoric: HRP;
|
529
536
|
static binance: HRP;
|