@dappworks/kit 0.5.11 → 0.5.12
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.
|
@@ -18,6 +18,7 @@ import { iopayWallet, metaMaskWallet, walletConnectWallet, okxWallet, binanceWal
|
|
|
18
18
|
import SafeAppsSDK, { TransactionStatus } from '@safe-global/safe-apps-sdk';
|
|
19
19
|
import { Card, Input } from '@nextui-org/react';
|
|
20
20
|
import axios3 from 'axios';
|
|
21
|
+
import { iotex } from 'viem/chains';
|
|
21
22
|
|
|
22
23
|
// ../../node_modules/semver/internal/constants.js
|
|
23
24
|
var require_constants = __commonJS({
|
|
@@ -39596,8 +39597,6 @@ try {
|
|
|
39596
39597
|
}
|
|
39597
39598
|
} catch (error) {
|
|
39598
39599
|
}
|
|
39599
|
-
|
|
39600
|
-
// module/Wallet/ledger.tsx
|
|
39601
39600
|
var _transport = null;
|
|
39602
39601
|
var _signer = null;
|
|
39603
39602
|
async function createTransport() {
|
|
@@ -39649,7 +39648,8 @@ var ConnectLedger = async () => {
|
|
|
39649
39648
|
if (address) {
|
|
39650
39649
|
RootStore.Get(WalletStore).set({
|
|
39651
39650
|
account: address,
|
|
39652
|
-
isConnect: true
|
|
39651
|
+
isConnect: true,
|
|
39652
|
+
chain: iotex
|
|
39653
39653
|
});
|
|
39654
39654
|
clearInterval(interval);
|
|
39655
39655
|
return signer;
|
|
@@ -40261,4 +40261,4 @@ js-sha3/src/sha3.js:
|
|
|
40261
40261
|
|
|
40262
40262
|
export { AppProvider, AutoMan, BigNumberInputState, BigNumberState, ConnectLedger, DisconnectLedger, ObjectPool, PromiseHook, StorageListState, StorageState, WalletConfigStore, WalletHistoryStore, WalletRpcStore, WalletStore };
|
|
40263
40263
|
//# sourceMappingURL=out.js.map
|
|
40264
|
-
//# sourceMappingURL=chunk-
|
|
40264
|
+
//# sourceMappingURL=chunk-FDTQI73L.mjs.map
|