@daimo/pay 1.19.3 → 1.19.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.
@@ -1,5 +1,5 @@
1
1
  var name = "@daimo/pay";
2
- var version = "1.19.3";
2
+ var version = "1.19.5";
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.3",
34
+ "@daimo/pay-common": "1.19.5",
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, ethereum, linea, optimism, polygon, scroll, solana, worldchain } from '@daimo/pay-common';
2
+ import { arbitrum, base, bsc, celo, gnosis, ethereum, linea, optimism, polygon, scroll, solana, worldchain } from '@daimo/pay-common';
3
3
 
4
4
  const KnownChain = ({ testnet, ...props }) => /* @__PURE__ */ jsxs(
5
5
  "svg",
@@ -272,6 +272,30 @@ const Celo = ({ testnet, ...props }) => /* @__PURE__ */ jsx(
272
272
  )
273
273
  }
274
274
  );
275
+ const Gnosis = ({ testnet, ...props }) => /* @__PURE__ */ jsx(
276
+ "svg",
277
+ {
278
+ ...props,
279
+ "aria-hidden": "true",
280
+ width: "44",
281
+ height: "44",
282
+ viewBox: "0 0 44 44",
283
+ fill: "none",
284
+ xmlns: "http://www.w3.org/2000/svg",
285
+ style: {
286
+ background: testnet ? "linear-gradient(180deg, #8995A9 0%, #424D5F 99.48%)" : "#009CB4"
287
+ },
288
+ children: /* @__PURE__ */ jsx(
289
+ "path",
290
+ {
291
+ fillRule: "evenodd",
292
+ clipRule: "evenodd",
293
+ d: "M12.3439 11.8664C17.9374 6.53462 26.7953 6.74397 32.1271 12.3374C32.4738 12.7038 32.8075 13.0832 33.1084 13.4823L22 24.5972L10.8916 13.4823C11.1991 13.0832 11.5262 12.7038 11.8729 12.3374C12.0234 12.1804 12.1804 12.0234 12.3439 11.8664ZM30.6094 13.3972C28.3196 11.0944 25.271 9.83182 22 9.83182C18.729 9.83182 15.6804 11.0944 13.3907 13.3972L22 22.0066L30.6094 13.3972ZM33.9785 14.7446L31.7215 17.0016C33.5402 19.1801 33.2523 22.425 31.0738 24.2437C29.1636 25.84 26.3897 25.84 24.4794 24.2437L22 26.7231L19.5271 24.2502C17.3486 26.0689 14.1037 25.7811 12.285 23.6026C10.6888 21.6923 10.6888 18.9185 12.285 17.0082L11.1271 15.8502L10.028 14.7446C8.7 16.9297 8 19.4418 8 21.9998C8 29.7325 14.2673 35.9998 22 35.9998C29.7327 35.9998 36 29.7325 36 21.9998C36.0065 19.4418 35.3 16.9297 33.9785 14.7446ZM30.6486 18.0747C31.1392 18.7093 31.4075 19.4943 31.4075 20.299C31.4075 21.1037 31.1392 21.8887 30.6486 22.5233C29.4187 24.113 27.1355 24.4074 25.5458 23.1775L30.6486 18.0747ZM18.4542 23.1839C17.8196 23.6745 17.0346 23.9427 16.2299 23.9427C15.4252 23.9427 14.6467 23.6745 14.0056 23.1904C12.4159 21.9605 12.1215 19.6708 13.3514 18.0811L18.4542 23.1839Z",
294
+ fill: "white"
295
+ }
296
+ )
297
+ }
298
+ );
275
299
  const BinanceSmartChain = ({ testnet, ...props }) => /* @__PURE__ */ jsx(
276
300
  "svg",
277
301
  {
@@ -601,6 +625,7 @@ const chainToLogo = {
601
625
  [base.chainId]: /* @__PURE__ */ jsx(Base, {}),
602
626
  [bsc.chainId]: /* @__PURE__ */ jsx(BinanceSmartChain, {}),
603
627
  [celo.chainId]: /* @__PURE__ */ jsx(Celo, {}),
628
+ [gnosis.chainId]: /* @__PURE__ */ jsx(Gnosis, {}),
604
629
  [ethereum.chainId]: /* @__PURE__ */ jsx(Ethereum, {}),
605
630
  [linea.chainId]: /* @__PURE__ */ jsx(Linea, {}),
606
631
  [optimism.chainId]: /* @__PURE__ */ jsx(Optimism, {}),