@injectivelabs/wallet-base 1.20.7 → 1.20.8
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/cjs/index.d.cts +5 -1
- package/dist/esm/index.d.ts +5 -1
- package/package.json +4 -4
package/dist/cjs/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StdSignDoc } from "@keplr-wallet/types";
|
|
2
2
|
import { OfflineSigner } from "@cosmjs/proto-signing";
|
|
3
|
-
import { TxResponse } from "@injectivelabs/sdk-ts/core/tx";
|
|
4
3
|
import { AccountAddress, ChainId, CosmosChainId, EvmChainId } from "@injectivelabs/ts-types";
|
|
4
|
+
import { TxClientInclusionOptions, TxResponse } from "@injectivelabs/sdk-ts/core/tx";
|
|
5
5
|
import { AminoSignResponse, DirectSignResponse, TxRaw } from "@injectivelabs/sdk-ts/types";
|
|
6
6
|
import { EIP1193Provider } from "eip1193-provider";
|
|
7
7
|
import { Msgs } from "@injectivelabs/sdk-ts/core/modules";
|
|
@@ -153,6 +153,8 @@ interface SendTransactionOptions {
|
|
|
153
153
|
address: string;
|
|
154
154
|
chainId: ChainId;
|
|
155
155
|
txTimeout?: number;
|
|
156
|
+
txInclusion?: TxClientInclusionOptions;
|
|
157
|
+
onBroadcast?: (txHash: string) => void;
|
|
156
158
|
endpoints: {
|
|
157
159
|
rest: string;
|
|
158
160
|
grpc: string;
|
|
@@ -284,6 +286,8 @@ interface ConcreteWalletStrategy extends Omit<ConcreteCosmosWalletStrategy, 'sen
|
|
|
284
286
|
address: string;
|
|
285
287
|
chainId: ChainId;
|
|
286
288
|
txTimeout?: number;
|
|
289
|
+
txInclusion?: TxClientInclusionOptions;
|
|
290
|
+
onBroadcast?: (txHash: string) => void;
|
|
287
291
|
endpoints?: {
|
|
288
292
|
rest: string;
|
|
289
293
|
grpc: string;
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { Account, Chain, LocalAccount, PublicClient, WalletClient } from "viem";
|
|
|
4
4
|
import { CosmosTxV1Beta1TxPb } from "@injectivelabs/sdk-ts";
|
|
5
5
|
import { StdSignDoc } from "@keplr-wallet/types";
|
|
6
6
|
import { OfflineSigner } from "@cosmjs/proto-signing";
|
|
7
|
-
import { TxResponse } from "@injectivelabs/sdk-ts/core/tx";
|
|
7
|
+
import { TxClientInclusionOptions, TxResponse } from "@injectivelabs/sdk-ts/core/tx";
|
|
8
8
|
import { AminoSignResponse, DirectSignResponse, TxRaw } from "@injectivelabs/sdk-ts/types";
|
|
9
9
|
import { EIP1193Provider } from "eip1193-provider";
|
|
10
10
|
import { Msgs } from "@injectivelabs/sdk-ts/core/modules";
|
|
@@ -153,6 +153,8 @@ interface SendTransactionOptions {
|
|
|
153
153
|
address: string;
|
|
154
154
|
chainId: ChainId;
|
|
155
155
|
txTimeout?: number;
|
|
156
|
+
txInclusion?: TxClientInclusionOptions;
|
|
157
|
+
onBroadcast?: (txHash: string) => void;
|
|
156
158
|
endpoints: {
|
|
157
159
|
rest: string;
|
|
158
160
|
grpc: string;
|
|
@@ -284,6 +286,8 @@ interface ConcreteWalletStrategy extends Omit<ConcreteCosmosWalletStrategy, 'sen
|
|
|
284
286
|
address: string;
|
|
285
287
|
chainId: ChainId;
|
|
286
288
|
txTimeout?: number;
|
|
289
|
+
txInclusion?: TxClientInclusionOptions;
|
|
290
|
+
onBroadcast?: (txHash: string) => void;
|
|
287
291
|
endpoints?: {
|
|
288
292
|
rest: string;
|
|
289
293
|
grpc: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@injectivelabs/wallet-base",
|
|
3
|
-
"version": "1.20.
|
|
3
|
+
"version": "1.20.8",
|
|
4
4
|
"description": "Base wallet strategy for use with @injectivelabs/wallet-core.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"eip1193-provider": "^1.0.1",
|
|
46
46
|
"viem": "^2.41.2",
|
|
47
|
-
"@injectivelabs/
|
|
48
|
-
"@injectivelabs/
|
|
49
|
-
"@injectivelabs/
|
|
47
|
+
"@injectivelabs/ts-types": "1.20.8",
|
|
48
|
+
"@injectivelabs/exceptions": "1.20.8",
|
|
49
|
+
"@injectivelabs/sdk-ts": "1.20.8"
|
|
50
50
|
},
|
|
51
51
|
"publishConfig": {
|
|
52
52
|
"access": "public"
|