@daimo/pay 0.3.20 → 0.3.21

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.d.ts CHANGED
@@ -182,7 +182,7 @@ declare function useWalletPaymentOptions({ trpc, address, usdRequired, destChain
182
182
  destChainId: number | undefined;
183
183
  }): {
184
184
  options: {
185
- required: {
185
+ fees: {
186
186
  amount: _daimo_common.BigIntStr;
187
187
  token: {
188
188
  symbol: string;
@@ -197,7 +197,7 @@ declare function useWalletPaymentOptions({ trpc, address, usdRequired, destChain
197
197
  };
198
198
  usd: number;
199
199
  };
200
- balance: {
200
+ required: {
201
201
  amount: _daimo_common.BigIntStr;
202
202
  token: {
203
203
  symbol: string;
@@ -212,7 +212,7 @@ declare function useWalletPaymentOptions({ trpc, address, usdRequired, destChain
212
212
  };
213
213
  usd: number;
214
214
  };
215
- fees: {
215
+ balance: {
216
216
  amount: _daimo_common.BigIntStr;
217
217
  token: {
218
218
  symbol: string;
package/build/index.es.js CHANGED
@@ -2379,7 +2379,7 @@ const ResetContainer = styled(motion.div) `
2379
2379
  `;
2380
2380
 
2381
2381
  var name = "@daimo/pay";
2382
- var version = "0.3.20";
2382
+ var version = "0.3.21";
2383
2383
  var author = "Daimo";
2384
2384
  var homepage = "https://pay.daimo.com";
2385
2385
  var license = "BSD-2-Clause license";
@@ -10777,7 +10777,7 @@ var ROUTES;
10777
10777
  })(ROUTES || (ROUTES = {}));
10778
10778
  /** Meant for internal use. This will be non-exported in a future SDK version. */
10779
10779
  const Context = createContext(null);
10780
- const DaimoPayProviderWithoutSolana = ({ children, theme = "auto", mode = "auto", customTheme, options, onConnect, onDisconnect, debugMode = false, payApiUrl = "http://localhost:4000/", }) => {
10780
+ const DaimoPayProviderWithoutSolana = ({ children, theme = "auto", mode = "auto", customTheme, options, onConnect, onDisconnect, debugMode = false, payApiUrl = "https://pay-api.daimo.xyz", }) => {
10781
10781
  // DaimoPayProvider must be within a WagmiProvider
10782
10782
  if (!React.useContext(WagmiContext)) {
10783
10783
  throw Error("DaimoPayProvider must be within a WagmiProvider");
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@daimo/pay",
3
3
  "private": false,
4
- "version": "0.3.20",
4
+ "version": "0.3.21",
5
5
  "author": "Daimo",
6
6
  "homepage": "https://pay.daimo.com",
7
7
  "license": "BSD-2-Clause license",