@daimo/pay 1.9.4 → 1.9.5
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.js +8 -3
- package/build/index.js.map +1 -1
- package/package.json +2 -2
package/build/index.js
CHANGED
|
@@ -22,7 +22,7 @@ import { VersionedTransaction } from '@solana/web3.js';
|
|
|
22
22
|
import { normalize } from 'viem/ens';
|
|
23
23
|
|
|
24
24
|
var name = "@daimo/pay";
|
|
25
|
-
var version = "1.9.
|
|
25
|
+
var version = "1.9.5";
|
|
26
26
|
var author = "Daimo";
|
|
27
27
|
var homepage = "https://pay.daimo.com";
|
|
28
28
|
var license = "BSD-2-Clause license";
|
|
@@ -61,7 +61,7 @@ var keywords = [
|
|
|
61
61
|
"crypto"
|
|
62
62
|
];
|
|
63
63
|
var dependencies = {
|
|
64
|
-
"@daimo/pay-common": "1.9.
|
|
64
|
+
"@daimo/pay-common": "1.9.5",
|
|
65
65
|
"@rollup/plugin-typescript": "^12.1.2",
|
|
66
66
|
"@solana/wallet-adapter-base": "^0.9.23",
|
|
67
67
|
"@solana/wallet-adapter-react": "^0.15.35",
|
|
@@ -12072,7 +12072,12 @@ function useExternalPaymentOptions({ trpc, filterIds, platform, usdRequired, mod
|
|
|
12072
12072
|
if (usdRequired != null && mode != null) {
|
|
12073
12073
|
refreshExternalPaymentOptions(usdRequired, mode);
|
|
12074
12074
|
}
|
|
12075
|
-
|
|
12075
|
+
// TODO: this is an ugly way to handle polling/refresh
|
|
12076
|
+
// Notice the load-bearing JSON.stringify() to prevent a visible infinite
|
|
12077
|
+
// refresh glitch on the SelectMethod screen. Replace this useEffect().
|
|
12078
|
+
//
|
|
12079
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
12080
|
+
}, [usdRequired, JSON.stringify(filterIds), platform, mode, trpc]);
|
|
12076
12081
|
return { options, loading };
|
|
12077
12082
|
}
|
|
12078
12083
|
|