@skip-go/widget 1.2.1-alpha.1 → 1.2.1-alpha.3

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/build/index.es.js CHANGED
@@ -1,5 +1,6 @@
1
1
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
2
2
  import { ChainProvider, useManager, useWalletClient, useWallet as useWallet$1 } from '@cosmos-kit/react';
3
+ import { Buffer } from 'buffer';
3
4
  import { wallets as wallets$2 } from '@cosmos-kit/cosmostation-extension';
4
5
  import { wallets as wallets$1 } from '@cosmos-kit/keplr-extension';
5
6
  import { wallets as wallets$3 } from '@cosmos-kit/leap-extension';
@@ -69,6 +70,7 @@ function getAssetLists() {
69
70
  }));
70
71
  }
71
72
 
73
+ globalThis.Buffer = Buffer;
72
74
  const wallets = [
73
75
  ...wallets$1,
74
76
  ...wallets$2,
@@ -198,6 +200,7 @@ const EVMProvider = ({ children }) => {
198
200
  return (jsx(WagmiProvider, { config: config, reconnectOnMount: true, children: jsx(QueryClientProvider, { client: queryClient, children: children }, 'skip-widget') }, 'skip-widget-wagmi-provider'));
199
201
  };
200
202
 
203
+ globalThis.Buffer = Buffer;
201
204
  const solanaWallets = [
202
205
  new PhantomWalletAdapter(),
203
206
  new SolflareWalletAdapter(),