@injectivelabs/wallet-core 1.20.6 → 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.cjs +20 -8
- package/dist/esm/index.js +20 -8
- package/package.json +7 -7
package/dist/cjs/index.cjs
CHANGED
|
@@ -510,13 +510,16 @@ var MsgBroadcaster = class {
|
|
|
510
510
|
chainId,
|
|
511
511
|
endpoints,
|
|
512
512
|
txTimeout: txTimeoutInBlocks,
|
|
513
|
-
|
|
513
|
+
txInclusion: this.resolveTxInclusionOptions(tx),
|
|
514
|
+
address: tx.injectiveAddress,
|
|
515
|
+
onBroadcast: () => {
|
|
516
|
+
walletStrategy.emit(__injectivelabs_wallet_base.WalletStrategyEmitterEventType.TransactionBroadcastSynced);
|
|
517
|
+
}
|
|
514
518
|
});
|
|
515
519
|
} catch (e) {
|
|
516
520
|
inclusionWaiter.close();
|
|
517
521
|
throw e;
|
|
518
522
|
}
|
|
519
|
-
walletStrategy.emit(__injectivelabs_wallet_base.WalletStrategyEmitterEventType.TransactionBroadcastSynced);
|
|
520
523
|
const confirmedTx = await this.waitForPreparedTxInclusion({
|
|
521
524
|
tx,
|
|
522
525
|
inclusionWaiter,
|
|
@@ -620,13 +623,16 @@ var MsgBroadcaster = class {
|
|
|
620
623
|
chainId,
|
|
621
624
|
endpoints,
|
|
622
625
|
txTimeout: txTimeoutInBlocks,
|
|
623
|
-
|
|
626
|
+
txInclusion: this.resolveTxInclusionOptions(tx),
|
|
627
|
+
address: tx.injectiveAddress,
|
|
628
|
+
onBroadcast: () => {
|
|
629
|
+
walletStrategy.emit(__injectivelabs_wallet_base.WalletStrategyEmitterEventType.TransactionBroadcastSynced);
|
|
630
|
+
}
|
|
624
631
|
});
|
|
625
632
|
} catch (e) {
|
|
626
633
|
inclusionWaiter.close();
|
|
627
634
|
throw e;
|
|
628
635
|
}
|
|
629
|
-
walletStrategy.emit(__injectivelabs_wallet_base.WalletStrategyEmitterEventType.TransactionBroadcastSynced);
|
|
630
636
|
const confirmedTx = await this.waitForPreparedTxInclusion({
|
|
631
637
|
tx,
|
|
632
638
|
inclusionWaiter,
|
|
@@ -775,13 +781,16 @@ var MsgBroadcaster = class {
|
|
|
775
781
|
chainId,
|
|
776
782
|
endpoints,
|
|
777
783
|
address: tx.injectiveAddress,
|
|
778
|
-
txTimeout: txTimeoutInBlocks
|
|
784
|
+
txTimeout: txTimeoutInBlocks,
|
|
785
|
+
txInclusion: this.resolveTxInclusionOptions(tx),
|
|
786
|
+
onBroadcast: () => {
|
|
787
|
+
walletStrategy.emit(__injectivelabs_wallet_base.WalletStrategyEmitterEventType.TransactionBroadcastSynced);
|
|
788
|
+
}
|
|
779
789
|
});
|
|
780
790
|
} catch (e) {
|
|
781
791
|
inclusionWaiter$1.close();
|
|
782
792
|
throw e;
|
|
783
793
|
}
|
|
784
|
-
walletStrategy.emit(__injectivelabs_wallet_base.WalletStrategyEmitterEventType.TransactionBroadcastSynced);
|
|
785
794
|
const confirmedTx$1 = await this.waitForPreparedTxInclusion({
|
|
786
795
|
tx,
|
|
787
796
|
inclusionWaiter: inclusionWaiter$1,
|
|
@@ -809,13 +818,16 @@ var MsgBroadcaster = class {
|
|
|
809
818
|
chainId,
|
|
810
819
|
endpoints,
|
|
811
820
|
txTimeout: txTimeoutInBlocks,
|
|
812
|
-
|
|
821
|
+
txInclusion: this.resolveTxInclusionOptions(tx),
|
|
822
|
+
address: tx.injectiveAddress,
|
|
823
|
+
onBroadcast: () => {
|
|
824
|
+
walletStrategy.emit(__injectivelabs_wallet_base.WalletStrategyEmitterEventType.TransactionBroadcastSynced);
|
|
825
|
+
}
|
|
813
826
|
});
|
|
814
827
|
} catch (e) {
|
|
815
828
|
inclusionWaiter.close();
|
|
816
829
|
throw e;
|
|
817
830
|
}
|
|
818
|
-
walletStrategy.emit(__injectivelabs_wallet_base.WalletStrategyEmitterEventType.TransactionBroadcastSynced);
|
|
819
831
|
const confirmedTx = await this.waitForPreparedTxInclusion({
|
|
820
832
|
tx,
|
|
821
833
|
inclusionWaiter,
|
package/dist/esm/index.js
CHANGED
|
@@ -510,13 +510,16 @@ var MsgBroadcaster = class {
|
|
|
510
510
|
chainId,
|
|
511
511
|
endpoints,
|
|
512
512
|
txTimeout: txTimeoutInBlocks,
|
|
513
|
-
|
|
513
|
+
txInclusion: this.resolveTxInclusionOptions(tx),
|
|
514
|
+
address: tx.injectiveAddress,
|
|
515
|
+
onBroadcast: () => {
|
|
516
|
+
walletStrategy.emit(WalletStrategyEmitterEventType.TransactionBroadcastSynced);
|
|
517
|
+
}
|
|
514
518
|
});
|
|
515
519
|
} catch (e) {
|
|
516
520
|
inclusionWaiter.close();
|
|
517
521
|
throw e;
|
|
518
522
|
}
|
|
519
|
-
walletStrategy.emit(WalletStrategyEmitterEventType.TransactionBroadcastSynced);
|
|
520
523
|
const confirmedTx = await this.waitForPreparedTxInclusion({
|
|
521
524
|
tx,
|
|
522
525
|
inclusionWaiter,
|
|
@@ -620,13 +623,16 @@ var MsgBroadcaster = class {
|
|
|
620
623
|
chainId,
|
|
621
624
|
endpoints,
|
|
622
625
|
txTimeout: txTimeoutInBlocks,
|
|
623
|
-
|
|
626
|
+
txInclusion: this.resolveTxInclusionOptions(tx),
|
|
627
|
+
address: tx.injectiveAddress,
|
|
628
|
+
onBroadcast: () => {
|
|
629
|
+
walletStrategy.emit(WalletStrategyEmitterEventType.TransactionBroadcastSynced);
|
|
630
|
+
}
|
|
624
631
|
});
|
|
625
632
|
} catch (e) {
|
|
626
633
|
inclusionWaiter.close();
|
|
627
634
|
throw e;
|
|
628
635
|
}
|
|
629
|
-
walletStrategy.emit(WalletStrategyEmitterEventType.TransactionBroadcastSynced);
|
|
630
636
|
const confirmedTx = await this.waitForPreparedTxInclusion({
|
|
631
637
|
tx,
|
|
632
638
|
inclusionWaiter,
|
|
@@ -775,13 +781,16 @@ var MsgBroadcaster = class {
|
|
|
775
781
|
chainId,
|
|
776
782
|
endpoints,
|
|
777
783
|
address: tx.injectiveAddress,
|
|
778
|
-
txTimeout: txTimeoutInBlocks
|
|
784
|
+
txTimeout: txTimeoutInBlocks,
|
|
785
|
+
txInclusion: this.resolveTxInclusionOptions(tx),
|
|
786
|
+
onBroadcast: () => {
|
|
787
|
+
walletStrategy.emit(WalletStrategyEmitterEventType.TransactionBroadcastSynced);
|
|
788
|
+
}
|
|
779
789
|
});
|
|
780
790
|
} catch (e) {
|
|
781
791
|
inclusionWaiter$1.close();
|
|
782
792
|
throw e;
|
|
783
793
|
}
|
|
784
|
-
walletStrategy.emit(WalletStrategyEmitterEventType.TransactionBroadcastSynced);
|
|
785
794
|
const confirmedTx$1 = await this.waitForPreparedTxInclusion({
|
|
786
795
|
tx,
|
|
787
796
|
inclusionWaiter: inclusionWaiter$1,
|
|
@@ -809,13 +818,16 @@ var MsgBroadcaster = class {
|
|
|
809
818
|
chainId,
|
|
810
819
|
endpoints,
|
|
811
820
|
txTimeout: txTimeoutInBlocks,
|
|
812
|
-
|
|
821
|
+
txInclusion: this.resolveTxInclusionOptions(tx),
|
|
822
|
+
address: tx.injectiveAddress,
|
|
823
|
+
onBroadcast: () => {
|
|
824
|
+
walletStrategy.emit(WalletStrategyEmitterEventType.TransactionBroadcastSynced);
|
|
825
|
+
}
|
|
813
826
|
});
|
|
814
827
|
} catch (e) {
|
|
815
828
|
inclusionWaiter.close();
|
|
816
829
|
throw e;
|
|
817
830
|
}
|
|
818
|
-
walletStrategy.emit(WalletStrategyEmitterEventType.TransactionBroadcastSynced);
|
|
819
831
|
const confirmedTx = await this.waitForPreparedTxInclusion({
|
|
820
832
|
tx,
|
|
821
833
|
inclusionWaiter,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@injectivelabs/wallet-core",
|
|
3
|
-
"version": "1.20.
|
|
3
|
+
"version": "1.20.8",
|
|
4
4
|
"description": "Core wallet strategy",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -44,12 +44,12 @@
|
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@keplr-wallet/types": "^0.12.296",
|
|
46
46
|
"eventemitter3": "^5.0.1",
|
|
47
|
-
"@injectivelabs/exceptions": "1.20.
|
|
48
|
-
"@injectivelabs/networks": "1.20.
|
|
49
|
-
"@injectivelabs/ts
|
|
50
|
-
"@injectivelabs/
|
|
51
|
-
"@injectivelabs/
|
|
52
|
-
"@injectivelabs/wallet-base": "1.20.
|
|
47
|
+
"@injectivelabs/exceptions": "1.20.8",
|
|
48
|
+
"@injectivelabs/networks": "1.20.8",
|
|
49
|
+
"@injectivelabs/sdk-ts": "1.20.8",
|
|
50
|
+
"@injectivelabs/ts-types": "1.20.8",
|
|
51
|
+
"@injectivelabs/utils": "1.20.8",
|
|
52
|
+
"@injectivelabs/wallet-base": "1.20.8"
|
|
53
53
|
},
|
|
54
54
|
"publishConfig": {
|
|
55
55
|
"access": "public"
|