@use-glyph/sdk-react 1.2.13 → 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.
Files changed (74) hide show
  1. package/dist/EIP1193Strategy.js +96 -87
  2. package/dist/EIP1193Strategy.js.map +1 -1
  3. package/dist/PrivyStrategy.js +85 -67
  4. package/dist/PrivyStrategy.js.map +1 -1
  5. package/dist/assets/sdk-react.css +1 -1
  6. package/dist/glyph-widget.es.js +18 -17
  7. package/dist/glyph-widget.umd.js +89 -37
  8. package/dist/glyph-widget.umd.js.map +1 -1
  9. package/dist/index.js +30228 -10328
  10. package/dist/index.js.map +1 -1
  11. package/dist/types/assets/svg/TxSwapIcon.d.ts +1 -0
  12. package/dist/types/components/shared/ActivityRow.d.ts +1 -0
  13. package/dist/types/components/shared/{ChainIcon.d.ts → NativeTokenIcon.d.ts} +1 -1
  14. package/dist/types/components/shared/WalletViewTemplate.d.ts +2 -0
  15. package/dist/types/components/ui/button.d.ts +1 -1
  16. package/dist/types/components/ui/dialog.d.ts +21 -0
  17. package/dist/types/components/ui/drawer.d.ts +18 -0
  18. package/dist/types/components/widget/WalletHomeTab.d.ts +3 -4
  19. package/dist/types/components/widget/WalletMainView.d.ts +3 -6
  20. package/dist/types/components/widget/WalletSendFundView.d.ts +2 -2
  21. package/dist/types/components/widget/WalletTradeView.d.ts +8 -0
  22. package/dist/types/components/widget/internal/SendFundChainAndTokenSelector.d.ts +6 -0
  23. package/dist/types/components/widget/internal/SwapChainAndTokenSelector.d.ts +7 -0
  24. package/dist/types/components/widget/internal/TokenAndChainIcon.d.ts +13 -0
  25. package/dist/types/components/widget/{WalletSendFundEnterAddressView.d.ts → internal/WalletSendFundEnterAddressView.d.ts} +1 -1
  26. package/dist/types/components/widget/{WalletSendFundPendingView.d.ts → internal/WalletSendFundPendingView.d.ts} +2 -2
  27. package/dist/types/components/widget/{WalletSendFundSuccessView.d.ts → internal/WalletSendFundSuccessView.d.ts} +1 -1
  28. package/dist/types/components/widget/internal/WalletSwapTopUpGas.d.ts +13 -0
  29. package/dist/types/components/widget/internal/WalletTokenVsNftSwitcher.d.ts +5 -0
  30. package/dist/types/components/widget/internal/WalletTradeFailedView.d.ts +12 -0
  31. package/dist/types/components/widget/internal/WalletTradePendingView.d.ts +13 -0
  32. package/dist/types/components/widget/internal/WalletTradeSuccessView.d.ts +13 -0
  33. package/dist/types/components/widget/{WidgetGradient.d.ts → internal/WidgetGradient.d.ts} +1 -1
  34. package/dist/types/context/GlyphSwapContext.d.ts +18 -0
  35. package/dist/types/context/GlyphSwapProvider.d.ts +3 -0
  36. package/dist/types/context/GlyphUserDataContext.d.ts +3 -0
  37. package/dist/types/context/GlyphUserDataProvider.d.ts +2 -5
  38. package/dist/types/context/GlyphViewProvider.d.ts +2 -4
  39. package/dist/types/context/strategies/EIP1193Strategy.d.ts +2 -2
  40. package/dist/types/context/strategies/LoadingStrategy.d.ts +2 -3
  41. package/dist/types/context/strategies/PrivyStrategy.d.ts +2 -1
  42. package/dist/types/hooks/useActivity.d.ts +1 -0
  43. package/dist/types/hooks/useBalances.d.ts +3 -0
  44. package/dist/types/hooks/useGlyph.d.ts +10 -7
  45. package/dist/types/hooks/useGlyphConfigureDynamicChains.d.ts +12 -0
  46. package/dist/types/hooks/useGlyphRelayEvmAdapter.d.ts +2 -0
  47. package/dist/types/hooks/useRelayExecute.d.ts +9 -0
  48. package/dist/types/hooks/useRelayIntentStatus.d.ts +18 -0
  49. package/dist/types/hooks/useRelayQuote.d.ts +175 -0
  50. package/dist/types/hooks/useRelayTokenList.d.ts +25 -0
  51. package/dist/types/hooks/useTokenBalance.d.ts +6 -0
  52. package/dist/types/index.d.ts +1 -0
  53. package/dist/types/lib/constants.d.ts +10 -6
  54. package/dist/types/lib/eip1193/GlyphWalletProvider.d.ts +2 -8
  55. package/dist/types/lib/intl.d.ts +1 -1
  56. package/dist/types/lib/privy/GlyphPrivyProvider.d.ts +8 -9
  57. package/dist/types/lib/relay.d.ts +2 -0
  58. package/dist/types/lib/utils.d.ts +15 -2
  59. package/dist/types/types/GlyphWidgetTypes.d.ts +13 -2
  60. package/package.json +3 -1
  61. package/dist/types/assets/svg/APEIcon.d.ts +0 -2
  62. package/dist/types/assets/svg/APE_ETH.d.ts +0 -1
  63. package/dist/types/assets/svg/APE_USD.d.ts +0 -1
  64. package/dist/types/assets/svg/APE_WAPE.d.ts +0 -1
  65. package/dist/types/assets/svg/ApechainIcon.d.ts +0 -1
  66. package/dist/types/assets/svg/ApecoinIcon.d.ts +0 -2
  67. package/dist/types/assets/svg/BaseIcon.d.ts +0 -1
  68. package/dist/types/assets/svg/ETH.d.ts +0 -1
  69. package/dist/types/assets/svg/POL.d.ts +0 -1
  70. package/dist/types/assets/svg/USDCIcon.d.ts +0 -1
  71. /package/dist/types/components/widget/{WalletFundFailedView.d.ts → internal/WalletFundFailedView.d.ts} +0 -0
  72. /package/dist/types/components/widget/{WalletFundPendingView.d.ts → internal/WalletFundPendingView.d.ts} +0 -0
  73. /package/dist/types/components/widget/{WalletFundSuccessView.d.ts → internal/WalletFundSuccessView.d.ts} +0 -0
  74. /package/dist/types/components/widget/{WalletSendFundFailedView.d.ts → internal/WalletSendFundFailedView.d.ts} +0 -0
@@ -1,4 +1,4 @@
1
- import { D as e, m as t, B as l, A as n, G as o, C as G, e as p, r as y, x as P, f as i, I as _, L as h, g as r, N as u, E as g, S as I, h as C, s as A, t as L, q as N, w as T, y as v, z as c, l as H, u as Y, j as B, k as D, o as O, n as W, p as d, v as S, F as E } from "./index.js";
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
- p as GlyphProvider,
10
- y as GlyphView,
11
- P as GlyphWalletProvider,
12
- i as GlyphWidget,
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
- I as STAGING_GLYPH_PRIVY_APP_ID,
19
- C as SignUpButton,
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
- v as glyphWalletRK,
25
- c as glyphWalletRKStaging,
26
- H as useActivity,
27
- Y as useBalances,
28
- B as useGlyph,
29
- D as useGlyphFunding,
30
- O as useGlyphOwnershipCheck,
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
- d as useGlyphView,
33
- S as useNativeGlyphConnection,
34
- E as usePrivyCrossAppProvider
33
+ S as useGlyphView,
34
+ E as useNativeGlyphConnection,
35
+ R as usePrivyCrossAppProvider
35
36
  };
36
37
  //# sourceMappingURL=glyph-widget.es.js.map