@babylonlabs-io/wallet-connector 4.0.1 → 4.0.2
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/{ETHWalletProvider-B2kuWQwN.js → ETHWalletProvider-CP5ssaJi.js} +54 -53
- package/dist/ETHWalletProvider-CP5ssaJi.js.map +1 -0
- package/dist/{ETHWalletProvider-C8PygVM5.cjs → ETHWalletProvider-CphDrNAT.cjs} +2 -2
- package/dist/ETHWalletProvider-CphDrNAT.cjs.map +1 -0
- package/dist/core/wallets/eth/appkit/provider.d.ts +1 -0
- package/dist/eth.cjs +1 -1
- package/dist/eth.es.js +8 -8
- package/dist/index.cjs +2 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +13 -12
- package/package.json +1 -1
- package/dist/ETHWalletProvider-B2kuWQwN.js.map +0 -1
- package/dist/ETHWalletProvider-C8PygVM5.cjs.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export { type ETHTypedData } from './core/wallets/eth/appkit/types';
|
|
|
18
18
|
export { getSharedWagmiConfig, hasSharedWagmiConfig, setSharedWagmiConfig, } from './core/wallets/eth/appkit/sharedConfig';
|
|
19
19
|
export { APPKIT_BTC_CONNECTOR_ID } from './core/wallets/btc/appkit';
|
|
20
20
|
export { APPKIT_ETH_CONNECTOR_ID } from './core/wallets/eth/appkit';
|
|
21
|
+
export { ETH_EMPTY_ACCOUNT_GRACE_MS } from './core/wallets/eth/appkit/provider';
|
|
21
22
|
export { initializeAppKitModal, type AppKitModalConfig } from './core/wallets/appkit/appKitModal';
|
|
22
23
|
export { getSharedBtcAppKitConfig, hasSharedBtcAppKitConfig, setSharedBtcAppKitConfig, } from './core/wallets/btc/appkit/sharedConfig';
|
|
23
24
|
export { LOW_VALUE_UTXO_THRESHOLD, createInscriptionMap, filterDust, filterInscriptionUtxos, getSpendableUtxos, isInscriptionUtxo, type FilteredUtxos, } from './utils/utxoFiltering';
|
package/dist/index.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var I8 = Object.defineProperty;
|
|
2
2
|
var m8 = (o, g, c) => g in o ? I8(o, g, { enumerable: !0, configurable: !0, writable: !0, value: c }) : o[g] = c;
|
|
3
3
|
var Vi = (o, g, c) => m8(o, typeof g != "symbol" ? g + "" : g, c);
|
|
4
|
-
import { p as process$1, W as WalletError, E as ERROR_CODES, N as Network, i as isAccountChangeEvent, o as okxLogo, M as MONOCHROME_MARK_BACKGROUND, g as getAppKitState, r as registerManualAppKitConfig, f as failInitialization, a as NETWORK_CHANGE_EVENT, A as APPKIT_OPEN_EVENT, b as isUserRejectionMessage, c as APPKIT_BTC_CONNECTOR_ID, t as trackProviderIdentityChanges, D as DISCONNECT_EVENT, d as removeProviderListener, O as ONEKEY_BRAND_GREEN, m as metadata$h, v as validateAppKitInitialization, e as createAppKitCapabilities, h as createETHWagmiAdapter, s as setAppKitState, j as assertAppKitCapabilities, u as useChainConnector, k as createExternalWallet, l as createAccountStorage, n as ONE_HOUR, q as useAppKitOpenListener, L as LifeCycleHooksProvider, C as ChainProvider, w as WalletDialog, x as useWalletConnect, y as ACCOUNT_CHANGE_EVENTS, z as useVisibilityCheck } from "./ETHWalletProvider-
|
|
5
|
-
import { J as T3,
|
|
4
|
+
import { p as process$1, W as WalletError, E as ERROR_CODES, N as Network, i as isAccountChangeEvent, o as okxLogo, M as MONOCHROME_MARK_BACKGROUND, g as getAppKitState, r as registerManualAppKitConfig, f as failInitialization, a as NETWORK_CHANGE_EVENT, A as APPKIT_OPEN_EVENT, b as isUserRejectionMessage, c as APPKIT_BTC_CONNECTOR_ID, t as trackProviderIdentityChanges, D as DISCONNECT_EVENT, d as removeProviderListener, O as ONEKEY_BRAND_GREEN, m as metadata$h, v as validateAppKitInitialization, e as createAppKitCapabilities, h as createETHWagmiAdapter, s as setAppKitState, j as assertAppKitCapabilities, u as useChainConnector, k as createExternalWallet, l as createAccountStorage, n as ONE_HOUR, q as useAppKitOpenListener, L as LifeCycleHooksProvider, C as ChainProvider, w as WalletDialog, x as useWalletConnect, y as ACCOUNT_CHANGE_EVENTS, z as useVisibilityCheck } from "./ETHWalletProvider-CP5ssaJi.js";
|
|
5
|
+
import { J as T3, P as R3, S as x3, K as D3, U as N3, V as P3, Q as q3, G as O3, H as Q3, R as U3, I as M3, T as F3, F as L3, B as H3 } from "./ETHWalletProvider-CP5ssaJi.js";
|
|
6
6
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
7
7
|
import { Text } from "@babylonlabs-io/core-ui";
|
|
8
8
|
import * as pA from "bitcoinjs-lib";
|
|
@@ -145443,14 +145443,15 @@ export {
|
|
|
145443
145443
|
CosmosWalletProvider,
|
|
145444
145444
|
ERROR_CODES,
|
|
145445
145445
|
x3 as ETHWalletProvider,
|
|
145446
|
+
D3 as ETH_EMPTY_ACCOUNT_GRACE_MS,
|
|
145446
145447
|
ExternalWallets,
|
|
145447
145448
|
LOW_VALUE_UTXO_THRESHOLD,
|
|
145448
145449
|
Network,
|
|
145449
145450
|
ORDINALS_QUERY_KEY,
|
|
145450
145451
|
OrdinalsClassifierUnavailableError,
|
|
145451
|
-
|
|
145452
|
-
|
|
145453
|
-
|
|
145452
|
+
N3 as StateContext,
|
|
145453
|
+
P3 as StateProvider,
|
|
145454
|
+
q3 as WALLET_MODAL_OPEN_EVENT,
|
|
145454
145455
|
WalletError,
|
|
145455
145456
|
WalletProvider,
|
|
145456
145457
|
createExternalWallet,
|
|
@@ -145461,28 +145462,28 @@ export {
|
|
|
145461
145462
|
filterInscriptionUtxos,
|
|
145462
145463
|
getOrdinalsQueryKey,
|
|
145463
145464
|
getSharedBtcAppKitConfig,
|
|
145464
|
-
|
|
145465
|
+
O3 as getSharedWagmiConfig,
|
|
145465
145466
|
getSpendableUtxos,
|
|
145466
145467
|
hasSharedBtcAppKitConfig,
|
|
145467
|
-
|
|
145468
|
+
Q3 as hasSharedWagmiConfig,
|
|
145468
145469
|
initializeAppKitModal,
|
|
145469
145470
|
isInscriptionUtxo,
|
|
145470
|
-
|
|
145471
|
+
U3 as isSharedSessionRefusal,
|
|
145471
145472
|
isUserRejectionMessage,
|
|
145472
145473
|
setSharedBtcAppKitConfig,
|
|
145473
|
-
|
|
145474
|
+
M3 as setSharedWagmiConfig,
|
|
145474
145475
|
toInscriptionIdentifiers,
|
|
145475
145476
|
useAppKitBtcBridge,
|
|
145476
145477
|
useAppKitOpenListener,
|
|
145477
145478
|
useBTCWallet,
|
|
145478
145479
|
useChainConnector,
|
|
145479
145480
|
useCosmosWallet,
|
|
145480
|
-
|
|
145481
|
-
|
|
145481
|
+
F3 as useETHWallet,
|
|
145482
|
+
L3 as useInscriptionProvider,
|
|
145482
145483
|
useOrdinals,
|
|
145483
145484
|
useVisibilityCheck,
|
|
145484
145485
|
useWalletConnect,
|
|
145485
|
-
|
|
145486
|
+
H3 as useWidgetState,
|
|
145486
145487
|
verifyUtxoOrdinals
|
|
145487
145488
|
};
|
|
145488
145489
|
//# sourceMappingURL=index.es.js.map
|