@injectivelabs/wallet-base 1.16.18 → 1.16.20

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.
@@ -195,7 +195,9 @@ export interface ConcreteWalletStrategy extends Omit<ConcreteCosmosWalletStrateg
195
195
  * @param eip712TypedData
196
196
  * @param address - ethereum address
197
197
  */
198
- signEip712TypedData(eip712TypedData: string, address: string): Promise<string>;
198
+ signEip712TypedData(eip712TypedData: string, address: string, options?: {
199
+ txTimeout?: number;
200
+ }): Promise<string>;
199
201
  signArbitrary(signer: string, data: string | Uint8Array): Promise<string>;
200
202
  getEthereumChainId(): Promise<string>;
201
203
  getEvmTransactionReceipt(txHash: string, evmChainId?: EvmChainId): void;
@@ -230,7 +232,9 @@ export interface WalletStrategy {
230
232
  address: AccountAddress;
231
233
  evmChainId: EvmChainId;
232
234
  }): Promise<string>;
233
- signEip712TypedData(eip712TypedData: string, address: AccountAddress): Promise<string>;
235
+ signEip712TypedData(eip712TypedData: string, address: AccountAddress, options?: {
236
+ txTimeout?: number;
237
+ }): Promise<string>;
234
238
  signAminoCosmosTransaction(transaction: {
235
239
  signDoc: StdSignDoc;
236
240
  address: string;
@@ -195,7 +195,9 @@ export interface ConcreteWalletStrategy extends Omit<ConcreteCosmosWalletStrateg
195
195
  * @param eip712TypedData
196
196
  * @param address - ethereum address
197
197
  */
198
- signEip712TypedData(eip712TypedData: string, address: string): Promise<string>;
198
+ signEip712TypedData(eip712TypedData: string, address: string, options?: {
199
+ txTimeout?: number;
200
+ }): Promise<string>;
199
201
  signArbitrary(signer: string, data: string | Uint8Array): Promise<string>;
200
202
  getEthereumChainId(): Promise<string>;
201
203
  getEvmTransactionReceipt(txHash: string, evmChainId?: EvmChainId): void;
@@ -230,7 +232,9 @@ export interface WalletStrategy {
230
232
  address: AccountAddress;
231
233
  evmChainId: EvmChainId;
232
234
  }): Promise<string>;
233
- signEip712TypedData(eip712TypedData: string, address: AccountAddress): Promise<string>;
235
+ signEip712TypedData(eip712TypedData: string, address: AccountAddress, options?: {
236
+ txTimeout?: number;
237
+ }): Promise<string>;
234
238
  signAminoCosmosTransaction(transaction: {
235
239
  signDoc: StdSignDoc;
236
240
  address: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@injectivelabs/wallet-base",
3
3
  "description": "Base wallet strategy for use with @injectivelabs/wallet-core.",
4
- "version": "1.16.18",
4
+ "version": "1.16.20",
5
5
  "sideEffects": false,
6
6
  "type": "module",
7
7
  "author": {
@@ -56,14 +56,14 @@
56
56
  "start": "node dist/index.js"
57
57
  },
58
58
  "dependencies": {
59
- "@injectivelabs/exceptions": "1.16.18",
60
- "@injectivelabs/networks": "1.16.18",
61
- "@injectivelabs/sdk-ts": "1.16.18",
62
- "@injectivelabs/ts-types": "1.16.18",
59
+ "@injectivelabs/exceptions": "1.16.20",
60
+ "@injectivelabs/networks": "1.16.20",
61
+ "@injectivelabs/sdk-ts": "1.16.20",
62
+ "@injectivelabs/ts-types": "1.16.20",
63
63
  "eip1193-provider": "^1.0.1"
64
64
  },
65
65
  "devDependencies": {
66
66
  "shx": "^0.3.3"
67
67
  },
68
- "gitHead": "c3bd5cd1b67e53b3bf6a17fc31cb9cd2ff7151d9"
68
+ "gitHead": "8c378352fe865570437048d0d11110eb417bbc78"
69
69
  }