@trustwallet/wallet-core 4.0.26 → 4.0.28-rc1
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 +891 -10
- package/dist/generated/core_proto.js +2599 -21
- package/dist/lib/wallet-core.js +138 -148
- package/dist/lib/wallet-core.wasm +0 -0
- package/dist/src/wallet-core.d.ts +4 -0
- package/package.json +1 -1
Binary file
|
@@ -952,6 +952,9 @@ export class TransactionCompiler {
|
|
952
952
|
static compileWithSignatures(coinType: CoinType, txInputData: Uint8Array | Buffer, signatures: DataVector, publicKeys: DataVector): Uint8Array;
|
953
953
|
static compileWithSignaturesAndPubKeyType(coinType: CoinType, txInputData: Uint8Array | Buffer, signatures: DataVector, publicKeys: DataVector, pubKeyType: PublicKeyType): Uint8Array;
|
954
954
|
}
|
955
|
+
export class TransactionDecoder {
|
956
|
+
static decode(coinType: CoinType, encodedTx: Uint8Array | Buffer): Uint8Array;
|
957
|
+
}
|
955
958
|
export class TronMessageSigner {
|
956
959
|
static signMessage(privateKey: PrivateKey, message: string): string;
|
957
960
|
static verifyMessage(pubKey: PublicKey, message: string, signature: string): boolean;
|
@@ -1034,6 +1037,7 @@ export interface WalletCore {
|
|
1034
1037
|
THORChainSwap: typeof THORChainSwap;
|
1035
1038
|
TezosMessageSigner: typeof TezosMessageSigner;
|
1036
1039
|
TransactionCompiler: typeof TransactionCompiler;
|
1040
|
+
TransactionDecoder: typeof TransactionDecoder;
|
1037
1041
|
TronMessageSigner: typeof TronMessageSigner;
|
1038
1042
|
WalletConnectRequest: typeof WalletConnectRequest;
|
1039
1043
|
WebAuthn: typeof WebAuthn;
|