@daimo/pay 1.19.9 → 1.19.10
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/package.json.js +2 -2
- package/build/src/assets/chains.js +25 -3
- package/build/src/assets/chains.js.map +1 -1
- package/build/src/defaultConfig.js +3 -2
- package/build/src/defaultConfig.js.map +1 -1
- package/build/src/hooks/usePaymentOptions.js +3 -1
- package/build/src/hooks/usePaymentOptions.js.map +1 -1
- package/build/src/hooks/usePaymentState.js +3 -3
- package/build/src/hooks/usePaymentState.js.map +1 -1
- package/package.json +2 -2
package/build/package.json.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var name = "@daimo/pay";
|
|
2
|
-
var version = "1.19.
|
|
2
|
+
var version = "1.19.10";
|
|
3
3
|
var author = "Daimo";
|
|
4
4
|
var homepage = "https://pay.daimo.com";
|
|
5
5
|
var license = "BSD-2-Clause license";
|
|
@@ -31,7 +31,7 @@ var scripts = {
|
|
|
31
31
|
lint: "eslint 'src/**/*.{js,jsx,ts,tsx}' --max-warnings=0"
|
|
32
32
|
};
|
|
33
33
|
var dependencies = {
|
|
34
|
-
"@daimo/pay-common": "1.19.
|
|
34
|
+
"@daimo/pay-common": "1.19.10",
|
|
35
35
|
"@solana/wallet-adapter-base": "^0.9.23",
|
|
36
36
|
"@solana/wallet-adapter-react": "^0.15.35",
|
|
37
37
|
"@solana/web3.js": "^1.95.4",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
|
-
import { arbitrum, base, bsc, celo, gnosis,
|
|
2
|
+
import { arbitrum, base, bsc, celo, ethereum, gnosis, hyperEvm, linea, monad, optimism, polygon, scroll, solana, worldchain } from '@daimo/pay-common';
|
|
3
3
|
|
|
4
4
|
const KnownChain = ({ testnet, ...props }) => /* @__PURE__ */ jsxs(
|
|
5
5
|
"svg",
|
|
@@ -590,6 +590,27 @@ const Monad = ({ testnet, ...props }) => /* @__PURE__ */ jsx(
|
|
|
590
590
|
)
|
|
591
591
|
}
|
|
592
592
|
);
|
|
593
|
+
const Hyperliquid = ({ testnet, ...props }) => /* @__PURE__ */ jsx(
|
|
594
|
+
"svg",
|
|
595
|
+
{
|
|
596
|
+
...props,
|
|
597
|
+
width: "44",
|
|
598
|
+
height: "44",
|
|
599
|
+
viewBox: "-24 -24 192 192",
|
|
600
|
+
fill: "none",
|
|
601
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
602
|
+
style: {
|
|
603
|
+
background: testnet ? "linear-gradient(180deg, #8995A9 0%, #424D5F 99.48%)" : "#072723"
|
|
604
|
+
},
|
|
605
|
+
children: /* @__PURE__ */ jsx(
|
|
606
|
+
"path",
|
|
607
|
+
{
|
|
608
|
+
d: "M144 71.6991C144 119.306 114.866 134.582 99.5156 120.98C86.8804 109.889 83.1211 86.4521 64.116 84.0456C39.9942 81.0113 37.9057 113.133 22.0334 113.133C3.5504 113.133 0 86.2428 0 72.4315C0 58.3063 3.96809 39.0542 19.736 39.0542C38.1146 39.0542 39.1588 66.5722 62.132 65.1073C85.0007 63.5379 85.4184 34.8689 100.247 22.6271C113.195 12.0593 144 23.4641 144 71.6991Z",
|
|
609
|
+
fill: "#AEFFDB"
|
|
610
|
+
}
|
|
611
|
+
)
|
|
612
|
+
}
|
|
613
|
+
);
|
|
593
614
|
const Scroll = ({ ...props }) => /* @__PURE__ */ jsxs(
|
|
594
615
|
"svg",
|
|
595
616
|
{
|
|
@@ -646,8 +667,9 @@ const chainToLogo = {
|
|
|
646
667
|
[base.chainId]: /* @__PURE__ */ jsx(Base, {}),
|
|
647
668
|
[bsc.chainId]: /* @__PURE__ */ jsx(BinanceSmartChain, {}),
|
|
648
669
|
[celo.chainId]: /* @__PURE__ */ jsx(Celo, {}),
|
|
649
|
-
[gnosis.chainId]: /* @__PURE__ */ jsx(Gnosis, {}),
|
|
650
670
|
[ethereum.chainId]: /* @__PURE__ */ jsx(Ethereum, {}),
|
|
671
|
+
[gnosis.chainId]: /* @__PURE__ */ jsx(Gnosis, {}),
|
|
672
|
+
[hyperEvm.chainId]: /* @__PURE__ */ jsx(Hyperliquid, {}),
|
|
651
673
|
[linea.chainId]: /* @__PURE__ */ jsx(Linea, {}),
|
|
652
674
|
[monad.chainId]: /* @__PURE__ */ jsx(Monad, {}),
|
|
653
675
|
[optimism.chainId]: /* @__PURE__ */ jsx(Optimism, {}),
|
|
@@ -657,5 +679,5 @@ const chainToLogo = {
|
|
|
657
679
|
[worldchain.chainId]: /* @__PURE__ */ jsx(Worldchain, {})
|
|
658
680
|
};
|
|
659
681
|
|
|
660
|
-
export { Arbitrum, Base, Ethereum, Monad, Optimism, Polygon, Solana, Tron, UnknownChain, chainToLogo };
|
|
682
|
+
export { Arbitrum, Base, Ethereum, Hyperliquid, Monad, Optimism, Polygon, Solana, Tron, UnknownChain, chainToLogo };
|
|
661
683
|
//# sourceMappingURL=chains.js.map
|