@use-glyph/sdk-react 1.2.12 → 2.0.0-rc.4
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/EIP1193Strategy.js +96 -87
- package/dist/EIP1193Strategy.js.map +1 -1
- package/dist/PrivyStrategy.js +85 -67
- package/dist/PrivyStrategy.js.map +1 -1
- package/dist/assets/sdk-react.css +1 -1
- package/dist/glyph-widget.es.js +18 -17
- package/dist/glyph-widget.umd.js +89 -37
- package/dist/glyph-widget.umd.js.map +1 -1
- package/dist/index.js +33720 -13816
- package/dist/index.js.map +1 -1
- package/dist/types/assets/svg/TxSwapIcon.d.ts +1 -0
- package/dist/types/components/shared/ActivityRow.d.ts +1 -0
- package/dist/types/components/shared/{ChainIcon.d.ts → NativeTokenIcon.d.ts} +1 -1
- package/dist/types/components/shared/WalletViewTemplate.d.ts +2 -0
- package/dist/types/components/ui/button.d.ts +1 -1
- package/dist/types/components/ui/dialog.d.ts +21 -0
- package/dist/types/components/ui/drawer.d.ts +18 -0
- package/dist/types/components/widget/WalletHomeTab.d.ts +3 -4
- package/dist/types/components/widget/WalletMainView.d.ts +3 -6
- package/dist/types/components/widget/WalletSendFundView.d.ts +2 -2
- package/dist/types/components/widget/WalletTradeView.d.ts +8 -0
- package/dist/types/components/widget/internal/SendFundChainAndTokenSelector.d.ts +6 -0
- package/dist/types/components/widget/internal/SwapChainAndTokenSelector.d.ts +7 -0
- package/dist/types/components/widget/internal/TokenAndChainIcon.d.ts +13 -0
- package/dist/types/components/widget/{WalletSendFundEnterAddressView.d.ts → internal/WalletSendFundEnterAddressView.d.ts} +1 -1
- package/dist/types/components/widget/{WalletSendFundPendingView.d.ts → internal/WalletSendFundPendingView.d.ts} +2 -2
- package/dist/types/components/widget/{WalletSendFundSuccessView.d.ts → internal/WalletSendFundSuccessView.d.ts} +1 -1
- package/dist/types/components/widget/internal/WalletSwapTopUpGas.d.ts +13 -0
- package/dist/types/components/widget/internal/WalletTokenVsNftSwitcher.d.ts +5 -0
- package/dist/types/components/widget/internal/WalletTradeFailedView.d.ts +12 -0
- package/dist/types/components/widget/internal/WalletTradePendingView.d.ts +13 -0
- package/dist/types/components/widget/internal/WalletTradeSuccessView.d.ts +13 -0
- package/dist/types/components/widget/{WidgetGradient.d.ts → internal/WidgetGradient.d.ts} +1 -1
- package/dist/types/context/GlyphSwapContext.d.ts +18 -0
- package/dist/types/context/GlyphSwapProvider.d.ts +3 -0
- package/dist/types/context/GlyphUserDataContext.d.ts +3 -0
- package/dist/types/context/GlyphUserDataProvider.d.ts +2 -5
- package/dist/types/context/GlyphViewProvider.d.ts +2 -4
- package/dist/types/context/strategies/EIP1193Strategy.d.ts +2 -2
- package/dist/types/context/strategies/LoadingStrategy.d.ts +2 -3
- package/dist/types/context/strategies/PrivyStrategy.d.ts +2 -1
- package/dist/types/hooks/useActivity.d.ts +1 -0
- package/dist/types/hooks/useBalances.d.ts +3 -0
- package/dist/types/hooks/useGlyph.d.ts +10 -7
- package/dist/types/hooks/useGlyphConfigureDynamicChains.d.ts +12 -0
- package/dist/types/hooks/useGlyphFunding.d.ts +1 -1
- package/dist/types/hooks/useGlyphRelayEvmAdapter.d.ts +2 -0
- package/dist/types/hooks/useRelayExecute.d.ts +9 -0
- package/dist/types/hooks/useRelayIntentStatus.d.ts +18 -0
- package/dist/types/hooks/useRelayQuote.d.ts +175 -0
- package/dist/types/hooks/useRelayTokenList.d.ts +25 -0
- package/dist/types/hooks/useTokenBalance.d.ts +6 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/lib/constants.d.ts +10 -6
- package/dist/types/lib/eip1193/GlyphWalletProvider.d.ts +2 -8
- package/dist/types/lib/intl.d.ts +1 -1
- package/dist/types/lib/privy/GlyphPrivyProvider.d.ts +8 -9
- package/dist/types/lib/relay.d.ts +2 -0
- package/dist/types/lib/utils.d.ts +15 -2
- package/dist/types/types/GlyphWidgetTypes.d.ts +13 -2
- package/package.json +3 -1
- package/dist/types/assets/svg/APEIcon.d.ts +0 -2
- package/dist/types/assets/svg/APE_ETH.d.ts +0 -1
- package/dist/types/assets/svg/APE_USD.d.ts +0 -1
- package/dist/types/assets/svg/APE_WAPE.d.ts +0 -1
- package/dist/types/assets/svg/ApechainIcon.d.ts +0 -1
- package/dist/types/assets/svg/ApecoinIcon.d.ts +0 -2
- package/dist/types/assets/svg/BaseIcon.d.ts +0 -1
- package/dist/types/assets/svg/ETH.d.ts +0 -1
- package/dist/types/assets/svg/POL.d.ts +0 -1
- package/dist/types/assets/svg/USDCIcon.d.ts +0 -1
- /package/dist/types/components/widget/{WalletFundFailedView.d.ts → internal/WalletFundFailedView.d.ts} +0 -0
- /package/dist/types/components/widget/{WalletFundPendingView.d.ts → internal/WalletFundPendingView.d.ts} +0 -0
- /package/dist/types/components/widget/{WalletFundSuccessView.d.ts → internal/WalletFundSuccessView.d.ts} +0 -0
- /package/dist/types/components/widget/{WalletSendFundFailedView.d.ts → internal/WalletSendFundFailedView.d.ts} +0 -0
package/dist/glyph-widget.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as e, m as t, B as l, A as n, G as o, C as G,
|
|
1
|
+
import { D as e, m as t, B as l, A as n, G as o, C as G, d as i, r as p, x as y, e as P, I as _, L as h, f as r, N as u, E as g, S as C, g as I, s as A, t as L, q as N, w as T, y as c, z as v, l as D, u as H, h as Y, k as B, j as O, o as d, n as W, p as S, v as E, F as R } from "./index.js";
|
|
2
2
|
export {
|
|
3
3
|
e as DB_OFFCHAIN_TX_TYPE,
|
|
4
4
|
t as DB_ONCHAIN_TX_TYPE,
|
|
@@ -6,31 +6,32 @@ export {
|
|
|
6
6
|
n as GLYPH_ICON_URL,
|
|
7
7
|
o as GLYPH_PRIVY_APP_ID,
|
|
8
8
|
G as GlyphPrivyProvider,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
i as GlyphProvider,
|
|
10
|
+
p as GlyphView,
|
|
11
|
+
y as GlyphWalletProvider,
|
|
12
|
+
P as GlyphWidget,
|
|
13
13
|
_ as InjectWagmiConnector,
|
|
14
14
|
h as LoginButton,
|
|
15
15
|
r as LogoutButton,
|
|
16
16
|
u as NativeGlyphConnectButton,
|
|
17
17
|
g as STAGING_GLYPH_APP_LOGIN_METHOD,
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
C as STAGING_GLYPH_PRIVY_APP_ID,
|
|
19
|
+
I as SignUpButton,
|
|
20
20
|
A as StrategyType,
|
|
21
21
|
L as WalletClientType,
|
|
22
22
|
N as glyphConnectorDetails,
|
|
23
23
|
T as glyphWalletConnector,
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
O as
|
|
24
|
+
c as glyphWalletRK,
|
|
25
|
+
v as glyphWalletRKStaging,
|
|
26
|
+
D as useActivity,
|
|
27
|
+
H as useBalances,
|
|
28
|
+
Y as useGlyph,
|
|
29
|
+
B as useGlyphConfigureDynamicChains,
|
|
30
|
+
O as useGlyphFunding,
|
|
31
|
+
d as useGlyphOwnershipCheck,
|
|
31
32
|
W as useGlyphTokenGate,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
S as useGlyphView,
|
|
34
|
+
E as useNativeGlyphConnection,
|
|
35
|
+
R as usePrivyCrossAppProvider
|
|
35
36
|
};
|
|
36
37
|
//# sourceMappingURL=glyph-widget.es.js.map
|