@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/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-B2kuWQwN.js";
5
- import { J as T3, K as R3, R as x3, T as D3, U as N3, P as P3, G as q3, H as O3, Q as Q3, I as U3, S as M3, F as F3, B as L3 } from "./ETHWalletProvider-B2kuWQwN.js";
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
- D3 as StateContext,
145452
- N3 as StateProvider,
145453
- P3 as WALLET_MODAL_OPEN_EVENT,
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
- q3 as getSharedWagmiConfig,
145465
+ O3 as getSharedWagmiConfig,
145465
145466
  getSpendableUtxos,
145466
145467
  hasSharedBtcAppKitConfig,
145467
- O3 as hasSharedWagmiConfig,
145468
+ Q3 as hasSharedWagmiConfig,
145468
145469
  initializeAppKitModal,
145469
145470
  isInscriptionUtxo,
145470
- Q3 as isSharedSessionRefusal,
145471
+ U3 as isSharedSessionRefusal,
145471
145472
  isUserRejectionMessage,
145472
145473
  setSharedBtcAppKitConfig,
145473
- U3 as setSharedWagmiConfig,
145474
+ M3 as setSharedWagmiConfig,
145474
145475
  toInscriptionIdentifiers,
145475
145476
  useAppKitBtcBridge,
145476
145477
  useAppKitOpenListener,
145477
145478
  useBTCWallet,
145478
145479
  useChainConnector,
145479
145480
  useCosmosWallet,
145480
- M3 as useETHWallet,
145481
- F3 as useInscriptionProvider,
145481
+ F3 as useETHWallet,
145482
+ L3 as useInscriptionProvider,
145482
145483
  useOrdinals,
145483
145484
  useVisibilityCheck,
145484
145485
  useWalletConnect,
145485
- L3 as useWidgetState,
145486
+ H3 as useWidgetState,
145486
145487
  verifyUtxoOrdinals
145487
145488
  };
145488
145489
  //# sourceMappingURL=index.es.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonlabs-io/wallet-connector",
3
- "version": "4.0.1",
3
+ "version": "4.0.2",
4
4
  "type": "module",
5
5
  "types": "dist/index.d.ts",
6
6
  "publishConfig": {