@reef-knot/wallet-adapter-metamask 4.2.0 → 5.0.0-alpha.1

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.
@@ -0,0 +1,2 @@
1
+ import Memo from "./metamask.js";
2
+ import Memo$1 from "./metamask-inverted.js";
@@ -0,0 +1,119 @@
1
+ import * as React from "react";
2
+ import { memo } from "react";
3
+
4
+ //#region src/icons/metamask-inverted.svg
5
+ var _rect, _path, _path2, _path3, _path4, _path5, _path6, _path7, _path8, _path9, _path0, _path1, _path10, _path11, _path12, _path13, _path14, _path15, _path16, _path17, _path18, _path19, _path20, _path21, _path22, _path23, _path24, _path25, _path26, _path27;
6
+ function _extends() {
7
+ return _extends = Object.assign ? Object.assign.bind() : function(n) {
8
+ for (var e = 1; e < arguments.length; e++) {
9
+ var t = arguments[e];
10
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
11
+ }
12
+ return n;
13
+ }, _extends.apply(null, arguments);
14
+ }
15
+ var Memo = /* @__PURE__ */ memo(function SvgMetamaskInverted(props) {
16
+ return /* @__PURE__ */ React.createElement("svg", _extends({
17
+ width: 48,
18
+ height: 49,
19
+ viewBox: "0 0 48 49",
20
+ fill: "none",
21
+ xmlns: "http://www.w3.org/2000/svg"
22
+ }, props), _rect || (_rect = /* @__PURE__ */ React.createElement("rect", {
23
+ y: .00390625,
24
+ width: 48,
25
+ height: 48,
26
+ rx: 24,
27
+ fill: "white"
28
+ })), _path || (_path = /* @__PURE__ */ React.createElement("path", {
29
+ d: "M35.7077 11.0049L25.5625 18.5399L27.4386 14.0943L35.7077 11.0049Z",
30
+ fill: "#E2761B"
31
+ })), _path2 || (_path2 = /* @__PURE__ */ React.createElement("path", {
32
+ d: "M12.2852 11.0039L22.3489 18.6103L20.5645 14.0934L12.2852 11.0039Z",
33
+ fill: "#E4761B"
34
+ })), _path3 || (_path3 = /* @__PURE__ */ React.createElement("path", {
35
+ d: "M32.0575 28.4697L29.3555 32.6094L35.1367 34.2L36.7987 28.5615L32.0575 28.4697Z",
36
+ fill: "#E4761B"
37
+ })), _path4 || (_path4 = /* @__PURE__ */ React.createElement("path", {
38
+ d: "M11.2148 28.5615L12.8666 34.2L18.6479 32.6094L15.9459 28.4697L11.2148 28.5615Z",
39
+ fill: "#E4761B"
40
+ })), _path5 || (_path5 = /* @__PURE__ */ React.createElement("path", {
41
+ d: "M18.3219 21.4759L16.7109 23.9128L22.4514 24.1678L22.2475 17.999L18.3219 21.4759Z",
42
+ fill: "#E4761B"
43
+ })), _path6 || (_path6 = /* @__PURE__ */ React.createElement("path", {
44
+ d: "M29.6716 21.476L25.695 17.9277L25.5625 24.1678L31.2928 23.9129L29.6716 21.476Z",
45
+ fill: "#E4761B"
46
+ })), _path7 || (_path7 = /* @__PURE__ */ React.createElement("path", {
47
+ d: "M18.6484 32.6097L22.0948 30.9273L19.1175 28.6025L18.6484 32.6097Z",
48
+ fill: "#E4761B"
49
+ })), _path8 || (_path8 = /* @__PURE__ */ React.createElement("path", {
50
+ d: "M25.8984 30.9273L29.355 32.6097L28.8757 28.6025L25.8984 30.9273Z",
51
+ fill: "#E4761B"
52
+ })), _path9 || (_path9 = /* @__PURE__ */ React.createElement("path", {
53
+ d: "M29.355 32.6101L25.8984 30.9277L26.1737 33.1811L26.1431 34.1294L29.355 32.6101Z",
54
+ fill: "#D7C1B3"
55
+ })), _path0 || (_path0 = /* @__PURE__ */ React.createElement("path", {
56
+ d: "M18.6484 32.6101L21.8603 34.1294L21.8399 33.1811L22.0948 30.9277L18.6484 32.6101Z",
57
+ fill: "#D7C1B3"
58
+ })), _path1 || (_path1 = /* @__PURE__ */ React.createElement("path", {
59
+ d: "M21.9105 27.115L19.0352 26.2687L21.0642 25.3408L21.9105 27.115Z",
60
+ fill: "#233447"
61
+ })), _path10 || (_path10 = /* @__PURE__ */ React.createElement("path", {
62
+ d: "M26.082 27.115L26.9283 25.3408L28.9676 26.2687L26.082 27.115Z",
63
+ fill: "#233447"
64
+ })), _path11 || (_path11 = /* @__PURE__ */ React.createElement("path", {
65
+ d: "M18.6473 32.6104L19.1367 28.4707L15.9453 28.5625L18.6473 32.6104Z",
66
+ fill: "#CD6116"
67
+ })), _path12 || (_path12 = /* @__PURE__ */ React.createElement("path", {
68
+ d: "M28.8633 28.4707L29.3527 32.6104L32.0547 28.5625L28.8633 28.4707Z",
69
+ fill: "#CD6116"
70
+ })), _path13 || (_path13 = /* @__PURE__ */ React.createElement("path", {
71
+ d: "M31.2889 23.9131L25.5586 24.168L26.0888 27.1147L26.9351 25.3406L28.9743 26.2684L31.2889 23.9131Z",
72
+ fill: "#CD6116"
73
+ })), _path14 || (_path14 = /* @__PURE__ */ React.createElement("path", {
74
+ d: "M19.0357 26.2684L21.0749 25.3406L21.911 27.1147L22.4514 24.168L16.7109 23.9131L19.0357 26.2684Z",
75
+ fill: "#CD6116"
76
+ })), _path15 || (_path15 = /* @__PURE__ */ React.createElement("path", {
77
+ d: "M16.7109 23.9141L19.1172 28.6043L19.0357 26.2694L16.7109 23.9141Z",
78
+ fill: "#E4751F"
79
+ })), _path16 || (_path16 = /* @__PURE__ */ React.createElement("path", {
80
+ d: "M28.977 26.2684L28.875 28.6034L31.2915 23.9131L28.977 26.2684Z",
81
+ fill: "#E4751F"
82
+ })), _path17 || (_path17 = /* @__PURE__ */ React.createElement("path", {
83
+ d: "M22.4506 24.168L21.9102 27.1147L22.5831 30.5916L22.7361 26.0135L22.4506 24.168Z",
84
+ fill: "#E4751F"
85
+ })), _path18 || (_path18 = /* @__PURE__ */ React.createElement("path", {
86
+ d: "M25.5605 24.168L25.2852 26.0033L25.4075 30.5916L26.0907 27.1147L25.5605 24.168Z",
87
+ fill: "#E4751F"
88
+ })), _path19 || (_path19 = /* @__PURE__ */ React.createElement("path", {
89
+ d: "M26.0933 27.1139L25.4102 30.5908L25.8996 30.9273L28.8769 28.6025L28.9788 26.2676L26.0933 27.1139Z",
90
+ fill: "#F6851B"
91
+ })), _path20 || (_path20 = /* @__PURE__ */ React.createElement("path", {
92
+ d: "M19.0352 26.2676L19.1167 28.6025L22.094 30.9273L22.5835 30.5908L21.9105 27.1139L19.0352 26.2676Z",
93
+ fill: "#F6851B"
94
+ })), _path21 || (_path21 = /* @__PURE__ */ React.createElement("path", {
95
+ d: "M26.1427 34.1296L26.1733 33.1813L25.9184 32.957H22.0744L21.8399 33.1813L21.8603 34.1296L18.6484 32.6104L19.77 33.528L22.0438 35.1084H25.9489L28.2329 33.528L29.3545 32.6104L26.1427 34.1296Z",
96
+ fill: "#C0AD9E"
97
+ })), _path22 || (_path22 = /* @__PURE__ */ React.createElement("path", {
98
+ d: "M25.8979 30.9283L25.4085 30.5918H22.5842L22.0947 30.9283L21.8398 33.1816L22.0744 32.9573H25.9183L26.1732 33.1816L25.8979 30.9283Z",
99
+ fill: "#161616"
100
+ })), _path23 || (_path23 = /* @__PURE__ */ React.createElement("path", {
101
+ d: "M36.1315 19.0283L36.9982 14.8683L35.7033 11.0039L25.8945 18.284L29.6671 21.4754L34.9998 23.0355L36.1825 21.659L35.6727 21.2919L36.4884 20.5476L35.8562 20.0582L36.6719 19.4362L36.1315 19.0283Z",
102
+ fill: "#763D16"
103
+ })), _path24 || (_path24 = /* @__PURE__ */ React.createElement("path", {
104
+ d: "M11 14.8683L11.8667 19.0283L11.3161 19.4362L12.1318 20.0582L11.5098 20.5476L12.3255 21.2919L11.8157 21.659L12.9883 23.0355L18.3209 21.4754L22.0935 18.284L12.2847 11.0039L11 14.8683Z",
105
+ fill: "#763D16"
106
+ })), _path25 || (_path25 = /* @__PURE__ */ React.createElement("path", {
107
+ d: "M35.0029 23.0356L29.6703 21.4756L31.2915 23.9125L28.875 28.6028L32.0562 28.562H36.7975L35.0029 23.0356Z",
108
+ fill: "#F6851B"
109
+ })), _path26 || (_path26 = /* @__PURE__ */ React.createElement("path", {
110
+ d: "M18.3216 21.4756L12.989 23.0356L11.2148 28.562H15.9459L19.1169 28.6028L16.7106 23.9125L18.3216 21.4756Z",
111
+ fill: "#F6851B"
112
+ })), _path27 || (_path27 = /* @__PURE__ */ React.createElement("path", {
113
+ d: "M25.5587 24.1686L25.8951 18.2854L27.445 14.0947H20.5625L22.0919 18.2854L22.4488 24.1686L22.5712 26.0243L22.5814 30.5922H25.4057L25.4261 26.0243L25.5587 24.1686Z",
114
+ fill: "#F6851B"
115
+ })));
116
+ });
117
+
118
+ //#endregion
119
+ export { Memo as default };
@@ -0,0 +1,119 @@
1
+ import * as React from "react";
2
+ import { memo } from "react";
3
+
4
+ //#region src/icons/metamask.svg
5
+ var _rect, _path, _path2, _path3, _path4, _path5, _path6, _path7, _path8, _path9, _path0, _path1, _path10, _path11, _path12, _path13, _path14, _path15, _path16, _path17, _path18, _path19, _path20, _path21, _path22, _path23, _path24, _path25, _path26, _path27;
6
+ function _extends() {
7
+ return _extends = Object.assign ? Object.assign.bind() : function(n) {
8
+ for (var e = 1; e < arguments.length; e++) {
9
+ var t = arguments[e];
10
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
11
+ }
12
+ return n;
13
+ }, _extends.apply(null, arguments);
14
+ }
15
+ var Memo = /* @__PURE__ */ memo(function SvgMetamask(props) {
16
+ return /* @__PURE__ */ React.createElement("svg", _extends({
17
+ width: 48,
18
+ height: 49,
19
+ viewBox: "0 0 48 49",
20
+ fill: "none",
21
+ xmlns: "http://www.w3.org/2000/svg"
22
+ }, props), _rect || (_rect = /* @__PURE__ */ React.createElement("rect", {
23
+ y: .00390625,
24
+ width: 48,
25
+ height: 48,
26
+ rx: 24,
27
+ fill: "#233447"
28
+ })), _path || (_path = /* @__PURE__ */ React.createElement("path", {
29
+ d: "M35.7058 11.0049L25.5605 18.5399L27.4367 14.0943L35.7058 11.0049Z",
30
+ fill: "#E2761B"
31
+ })), _path2 || (_path2 = /* @__PURE__ */ React.createElement("path", {
32
+ d: "M12.2852 11.0039L22.3489 18.6103L20.5645 14.0934L12.2852 11.0039Z",
33
+ fill: "#E4761B"
34
+ })), _path3 || (_path3 = /* @__PURE__ */ React.createElement("path", {
35
+ d: "M32.0555 28.4697L29.3535 32.6094L35.1348 34.2L36.7968 28.5615L32.0555 28.4697Z",
36
+ fill: "#E4761B"
37
+ })), _path4 || (_path4 = /* @__PURE__ */ React.createElement("path", {
38
+ d: "M11.2148 28.5615L12.8666 34.2L18.6479 32.6094L15.9459 28.4697L11.2148 28.5615Z",
39
+ fill: "#E4761B"
40
+ })), _path5 || (_path5 = /* @__PURE__ */ React.createElement("path", {
41
+ d: "M18.3219 21.4759L16.7109 23.9128L22.4514 24.1678L22.2475 17.999L18.3219 21.4759Z",
42
+ fill: "#E4761B"
43
+ })), _path6 || (_path6 = /* @__PURE__ */ React.createElement("path", {
44
+ d: "M29.6696 21.476L25.6931 17.9277L25.5605 24.1678L31.2908 23.9129L29.6696 21.476Z",
45
+ fill: "#E4761B"
46
+ })), _path7 || (_path7 = /* @__PURE__ */ React.createElement("path", {
47
+ d: "M18.6484 32.6097L22.0948 30.9273L19.1175 28.6025L18.6484 32.6097Z",
48
+ fill: "#E4761B"
49
+ })), _path8 || (_path8 = /* @__PURE__ */ React.createElement("path", {
50
+ d: "M25.8965 30.9273L29.353 32.6097L28.8738 28.6025L25.8965 30.9273Z",
51
+ fill: "#E4761B"
52
+ })), _path9 || (_path9 = /* @__PURE__ */ React.createElement("path", {
53
+ d: "M29.355 32.6101L25.8984 30.9277L26.1737 33.1811L26.1431 34.1294L29.355 32.6101Z",
54
+ fill: "#D7C1B3"
55
+ })), _path0 || (_path0 = /* @__PURE__ */ React.createElement("path", {
56
+ d: "M18.6484 32.6101L21.8603 34.1294L21.8399 33.1811L22.0948 30.9277L18.6484 32.6101Z",
57
+ fill: "#D7C1B3"
58
+ })), _path1 || (_path1 = /* @__PURE__ */ React.createElement("path", {
59
+ d: "M21.9105 27.115L19.0352 26.2687L21.0642 25.3408L21.9105 27.115Z",
60
+ fill: "#233447"
61
+ })), _path10 || (_path10 = /* @__PURE__ */ React.createElement("path", {
62
+ d: "M26.0801 27.115L26.9264 25.3408L28.9656 26.2687L26.0801 27.115Z",
63
+ fill: "#233447"
64
+ })), _path11 || (_path11 = /* @__PURE__ */ React.createElement("path", {
65
+ d: "M18.6473 32.6104L19.1367 28.4707L15.9453 28.5625L18.6473 32.6104Z",
66
+ fill: "#CD6116"
67
+ })), _path12 || (_path12 = /* @__PURE__ */ React.createElement("path", {
68
+ d: "M28.8633 28.4707L29.3527 32.6104L32.0547 28.5625L28.8633 28.4707Z",
69
+ fill: "#CD6116"
70
+ })), _path13 || (_path13 = /* @__PURE__ */ React.createElement("path", {
71
+ d: "M31.2908 23.9131L25.5605 24.168L26.0908 27.1147L26.937 25.3406L28.9763 26.2684L31.2908 23.9131Z",
72
+ fill: "#CD6116"
73
+ })), _path14 || (_path14 = /* @__PURE__ */ React.createElement("path", {
74
+ d: "M19.0337 26.2684L21.073 25.3406L21.9091 27.1147L22.4495 24.168L16.709 23.9131L19.0337 26.2684Z",
75
+ fill: "#CD6116"
76
+ })), _path15 || (_path15 = /* @__PURE__ */ React.createElement("path", {
77
+ d: "M16.7109 23.9141L19.1172 28.6043L19.0357 26.2694L16.7109 23.9141Z",
78
+ fill: "#E4751F"
79
+ })), _path16 || (_path16 = /* @__PURE__ */ React.createElement("path", {
80
+ d: "M28.9789 26.2684L28.877 28.6034L31.2935 23.9131L28.9789 26.2684Z",
81
+ fill: "#E4751F"
82
+ })), _path17 || (_path17 = /* @__PURE__ */ React.createElement("path", {
83
+ d: "M22.4525 24.168L21.9121 27.1147L22.5851 30.5916L22.738 26.0135L22.4525 24.168Z",
84
+ fill: "#E4751F"
85
+ })), _path18 || (_path18 = /* @__PURE__ */ React.createElement("path", {
86
+ d: "M25.5624 24.168L25.2871 26.0033L25.4095 30.5916L26.0926 27.1147L25.5624 24.168Z",
87
+ fill: "#E4751F"
88
+ })), _path19 || (_path19 = /* @__PURE__ */ React.createElement("path", {
89
+ d: "M26.0914 27.1139L25.4082 30.5908L25.8976 30.9273L28.8749 28.6025L28.9769 26.2676L26.0914 27.1139Z",
90
+ fill: "#F6851B"
91
+ })), _path20 || (_path20 = /* @__PURE__ */ React.createElement("path", {
92
+ d: "M19.0352 26.2676L19.1167 28.6025L22.094 30.9273L22.5835 30.5908L21.9105 27.1139L19.0352 26.2676Z",
93
+ fill: "#F6851B"
94
+ })), _path21 || (_path21 = /* @__PURE__ */ React.createElement("path", {
95
+ d: "M26.1427 34.1296L26.1733 33.1813L25.9184 32.957H22.0744L21.8399 33.1813L21.8603 34.1296L18.6484 32.6104L19.77 33.528L22.0438 35.1084H25.9489L28.2329 33.528L29.3545 32.6104L26.1427 34.1296Z",
96
+ fill: "#C0AD9E"
97
+ })), _path22 || (_path22 = /* @__PURE__ */ React.createElement("path", {
98
+ d: "M25.8979 30.9283L25.4085 30.5918H22.5842L22.0947 30.9283L21.8398 33.1816L22.0744 32.9573H25.9183L26.1732 33.1816L25.8979 30.9283Z",
99
+ fill: "#161616"
100
+ })), _path23 || (_path23 = /* @__PURE__ */ React.createElement("path", {
101
+ d: "M36.1335 19.0283L37.0002 14.8683L35.7053 11.0039L25.8965 18.284L29.6691 21.4754L35.0017 23.0355L36.1845 21.659L35.6747 21.2919L36.4904 20.5476L35.8582 20.0582L36.6739 19.4362L36.1335 19.0283Z",
102
+ fill: "#763D16"
103
+ })), _path24 || (_path24 = /* @__PURE__ */ React.createElement("path", {
104
+ d: "M11 14.8683L11.8667 19.0283L11.3161 19.4362L12.1318 20.0582L11.5098 20.5476L12.3255 21.2919L11.8157 21.659L12.9883 23.0355L18.3209 21.4754L22.0935 18.284L12.2847 11.0039L11 14.8683Z",
105
+ fill: "#763D16"
106
+ })), _path25 || (_path25 = /* @__PURE__ */ React.createElement("path", {
107
+ d: "M35.0029 23.0356L29.6703 21.4756L31.2915 23.9125L28.875 28.6028L32.0562 28.562H36.7975L35.0029 23.0356Z",
108
+ fill: "#F6851B"
109
+ })), _path26 || (_path26 = /* @__PURE__ */ React.createElement("path", {
110
+ d: "M18.3216 21.4756L12.989 23.0356L11.2148 28.562H15.9459L19.1169 28.6028L16.7106 23.9125L18.3216 21.4756Z",
111
+ fill: "#F6851B"
112
+ })), _path27 || (_path27 = /* @__PURE__ */ React.createElement("path", {
113
+ d: "M25.5606 24.1686L25.8971 18.2854L27.4469 14.0947H20.5645L22.0939 18.2854L22.4508 24.1686L22.5731 26.0243L22.5833 30.5922H25.4077L25.4281 26.0243L25.5606 24.1686Z",
114
+ fill: "#F6851B"
115
+ })));
116
+ });
117
+
118
+ //#endregion
119
+ export { Memo as default };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAO1D,eAAO,MAAM,EAAE,aAAa,CAAC;AAC7B,eAAO,MAAM,IAAI,aAAa,CAAC;AAC/B,eAAO,MAAM,IAAI,gBAAgB,CAAC;AAKlC,eAAO,MAAM,QAAQ,EAAE,iBAiBrB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAI1D,eAAO,MAAM,EAAE,aAAa,CAAC;AAC7B,eAAO,MAAM,IAAI,aAAa,CAAC;AAC/B,eAAO,MAAM,IAAI,gBAAgB,CAAC;AAElC,eAAO,MAAM,QAAQ,EAAE,iBAUrB,CAAC"}
package/dist/index.js CHANGED
@@ -1,32 +1,24 @@
1
- import { injected } from 'wagmi/connectors';
2
- import { isProviderExistsEIP6963, getTargetEIP6963 } from '@reef-knot/wallets-helpers';
3
- import Memo from './icons/metamask.svg.js';
4
- import Memo$1 from './icons/metamask-inverted.svg.js';
1
+ import Memo from "./icons/metamask.js";
2
+ import Memo$1 from "./icons/metamask-inverted.js";
3
+ import "./icons/index.js";
4
+ import { injected, metaMask } from "wagmi/connectors";
5
+ import { isProviderExistsEIP6963 } from "@reef-knot/wallets-helpers";
5
6
 
6
- const id = 'metaMask';
7
- const name = 'MetaMask';
8
- const rdns = 'io.metamask';
9
- const currentHref = globalThis.window ? globalThis.window.location.hostname + globalThis.window.location.pathname // encoding not supported
10
- : '';
11
- const MetaMask = ({
12
- providersStore
13
- }) => ({
14
- walletName: name,
15
- walletId: id,
16
- type: injected.type,
17
- icon: {
18
- light: Memo,
19
- dark: Memo$1
20
- },
21
- detector: () => isProviderExistsEIP6963(providersStore, rdns),
22
- downloadURLs: {
23
- default: 'https://metamask.io/download/'
24
- },
25
- deeplink: `https://metamask.app.link/dapp/${currentHref}`,
26
- createConnectorFn: injected({
27
- target: () => getTargetEIP6963(providersStore, rdns),
28
- shimDisconnect: true
29
- })
7
+ //#region src/index.ts
8
+ const id = "metaMask";
9
+ const name = "MetaMask";
10
+ const rdns = "io.metamask";
11
+ const MetaMask = ({ providersStore }) => ({
12
+ walletName: name,
13
+ walletId: id,
14
+ type: injected.type,
15
+ icon: {
16
+ light: Memo,
17
+ dark: Memo$1
18
+ },
19
+ detector: () => isProviderExistsEIP6963(providersStore, rdns),
20
+ createConnectorFn: metaMask()
30
21
  });
31
22
 
32
- export { MetaMask, id, name, rdns };
23
+ //#endregion
24
+ export { MetaMask, id, name, rdns };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reef-knot/wallet-adapter-metamask",
3
- "version": "4.2.0",
3
+ "version": "5.0.0-alpha.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "exports": {
@@ -32,20 +32,21 @@
32
32
  "access": "public"
33
33
  },
34
34
  "scripts": {
35
- "build": "rollup -c",
36
- "dev": "dev=on rollup -c -w",
37
- "lint": "eslint --ext ts,tsx,js,mjs ."
35
+ "build": "yarn run -T tsdown",
36
+ "dev": "yarn run -T tsdown --watch",
37
+ "lint": "eslint --ext ts,tsx,js,mjs .",
38
+ "typecheck": "tsc --noEmit"
38
39
  },
39
40
  "devDependencies": {
40
- "@reef-knot/types": "4.2.0",
41
- "@reef-knot/wallets-helpers": "2.3.0",
42
- "@svgr/rollup": "^6.5.1",
41
+ "@reef-knot/types": "4.2.0-alpha.3",
42
+ "@reef-knot/wallets-helpers": "2.3.0-alpha.3",
43
+ "build-config": "*",
43
44
  "eslint-config-custom": "*"
44
45
  },
45
46
  "peerDependencies": {
46
- "@reef-knot/types": "4.2.0",
47
- "@reef-knot/wallets-helpers": "2.3.0",
47
+ "@reef-knot/types": "4.2.0-alpha.3",
48
+ "@reef-knot/wallets-helpers": "2.3.0-alpha.3",
48
49
  "@tanstack/react-query": "^5.29.0",
49
- "wagmi": ">=2.14"
50
+ "wagmi": ">=3.3"
50
51
  }
51
52
  }
@@ -1,118 +0,0 @@
1
- import * as React from 'react';
2
- import { memo } from 'react';
3
-
4
- var _rect, _path, _path2, _path3, _path4, _path5, _path6, _path7, _path8, _path9, _path10, _path11, _path12, _path13, _path14, _path15, _path16, _path17, _path18, _path19, _path20, _path21, _path22, _path23, _path24, _path25, _path26, _path27, _path28, _path29;
5
- function _extends() {
6
- return _extends = Object.assign ? Object.assign.bind() : function (n) {
7
- for (var e = 1; e < arguments.length; e++) {
8
- var t = arguments[e];
9
- for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
10
- }
11
- return n;
12
- }, _extends.apply(null, arguments);
13
- }
14
- var SvgMetamaskInverted = function SvgMetamaskInverted(props) {
15
- return /*#__PURE__*/React.createElement("svg", _extends({
16
- width: 48,
17
- height: 49,
18
- viewBox: "0 0 48 49",
19
- fill: "none",
20
- xmlns: "http://www.w3.org/2000/svg"
21
- }, props), _rect || (_rect = /*#__PURE__*/React.createElement("rect", {
22
- y: 0.00390625,
23
- width: 48,
24
- height: 48,
25
- rx: 24,
26
- fill: "white"
27
- })), _path || (_path = /*#__PURE__*/React.createElement("path", {
28
- d: "M35.7077 11.0049L25.5625 18.5399L27.4386 14.0943L35.7077 11.0049Z",
29
- fill: "#E2761B"
30
- })), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
31
- d: "M12.2852 11.0039L22.3489 18.6103L20.5645 14.0934L12.2852 11.0039Z",
32
- fill: "#E4761B"
33
- })), _path3 || (_path3 = /*#__PURE__*/React.createElement("path", {
34
- d: "M32.0575 28.4697L29.3555 32.6094L35.1367 34.2L36.7987 28.5615L32.0575 28.4697Z",
35
- fill: "#E4761B"
36
- })), _path4 || (_path4 = /*#__PURE__*/React.createElement("path", {
37
- d: "M11.2148 28.5615L12.8666 34.2L18.6479 32.6094L15.9459 28.4697L11.2148 28.5615Z",
38
- fill: "#E4761B"
39
- })), _path5 || (_path5 = /*#__PURE__*/React.createElement("path", {
40
- d: "M18.3219 21.4759L16.7109 23.9128L22.4514 24.1678L22.2475 17.999L18.3219 21.4759Z",
41
- fill: "#E4761B"
42
- })), _path6 || (_path6 = /*#__PURE__*/React.createElement("path", {
43
- d: "M29.6716 21.476L25.695 17.9277L25.5625 24.1678L31.2928 23.9129L29.6716 21.476Z",
44
- fill: "#E4761B"
45
- })), _path7 || (_path7 = /*#__PURE__*/React.createElement("path", {
46
- d: "M18.6484 32.6097L22.0948 30.9273L19.1175 28.6025L18.6484 32.6097Z",
47
- fill: "#E4761B"
48
- })), _path8 || (_path8 = /*#__PURE__*/React.createElement("path", {
49
- d: "M25.8984 30.9273L29.355 32.6097L28.8757 28.6025L25.8984 30.9273Z",
50
- fill: "#E4761B"
51
- })), _path9 || (_path9 = /*#__PURE__*/React.createElement("path", {
52
- d: "M29.355 32.6101L25.8984 30.9277L26.1737 33.1811L26.1431 34.1294L29.355 32.6101Z",
53
- fill: "#D7C1B3"
54
- })), _path10 || (_path10 = /*#__PURE__*/React.createElement("path", {
55
- d: "M18.6484 32.6101L21.8603 34.1294L21.8399 33.1811L22.0948 30.9277L18.6484 32.6101Z",
56
- fill: "#D7C1B3"
57
- })), _path11 || (_path11 = /*#__PURE__*/React.createElement("path", {
58
- d: "M21.9105 27.115L19.0352 26.2687L21.0642 25.3408L21.9105 27.115Z",
59
- fill: "#233447"
60
- })), _path12 || (_path12 = /*#__PURE__*/React.createElement("path", {
61
- d: "M26.082 27.115L26.9283 25.3408L28.9676 26.2687L26.082 27.115Z",
62
- fill: "#233447"
63
- })), _path13 || (_path13 = /*#__PURE__*/React.createElement("path", {
64
- d: "M18.6473 32.6104L19.1367 28.4707L15.9453 28.5625L18.6473 32.6104Z",
65
- fill: "#CD6116"
66
- })), _path14 || (_path14 = /*#__PURE__*/React.createElement("path", {
67
- d: "M28.8633 28.4707L29.3527 32.6104L32.0547 28.5625L28.8633 28.4707Z",
68
- fill: "#CD6116"
69
- })), _path15 || (_path15 = /*#__PURE__*/React.createElement("path", {
70
- d: "M31.2889 23.9131L25.5586 24.168L26.0888 27.1147L26.9351 25.3406L28.9743 26.2684L31.2889 23.9131Z",
71
- fill: "#CD6116"
72
- })), _path16 || (_path16 = /*#__PURE__*/React.createElement("path", {
73
- d: "M19.0357 26.2684L21.0749 25.3406L21.911 27.1147L22.4514 24.168L16.7109 23.9131L19.0357 26.2684Z",
74
- fill: "#CD6116"
75
- })), _path17 || (_path17 = /*#__PURE__*/React.createElement("path", {
76
- d: "M16.7109 23.9141L19.1172 28.6043L19.0357 26.2694L16.7109 23.9141Z",
77
- fill: "#E4751F"
78
- })), _path18 || (_path18 = /*#__PURE__*/React.createElement("path", {
79
- d: "M28.977 26.2684L28.875 28.6034L31.2915 23.9131L28.977 26.2684Z",
80
- fill: "#E4751F"
81
- })), _path19 || (_path19 = /*#__PURE__*/React.createElement("path", {
82
- d: "M22.4506 24.168L21.9102 27.1147L22.5831 30.5916L22.7361 26.0135L22.4506 24.168Z",
83
- fill: "#E4751F"
84
- })), _path20 || (_path20 = /*#__PURE__*/React.createElement("path", {
85
- d: "M25.5605 24.168L25.2852 26.0033L25.4075 30.5916L26.0907 27.1147L25.5605 24.168Z",
86
- fill: "#E4751F"
87
- })), _path21 || (_path21 = /*#__PURE__*/React.createElement("path", {
88
- d: "M26.0933 27.1139L25.4102 30.5908L25.8996 30.9273L28.8769 28.6025L28.9788 26.2676L26.0933 27.1139Z",
89
- fill: "#F6851B"
90
- })), _path22 || (_path22 = /*#__PURE__*/React.createElement("path", {
91
- d: "M19.0352 26.2676L19.1167 28.6025L22.094 30.9273L22.5835 30.5908L21.9105 27.1139L19.0352 26.2676Z",
92
- fill: "#F6851B"
93
- })), _path23 || (_path23 = /*#__PURE__*/React.createElement("path", {
94
- d: "M26.1427 34.1296L26.1733 33.1813L25.9184 32.957H22.0744L21.8399 33.1813L21.8603 34.1296L18.6484 32.6104L19.77 33.528L22.0438 35.1084H25.9489L28.2329 33.528L29.3545 32.6104L26.1427 34.1296Z",
95
- fill: "#C0AD9E"
96
- })), _path24 || (_path24 = /*#__PURE__*/React.createElement("path", {
97
- d: "M25.8979 30.9283L25.4085 30.5918H22.5842L22.0947 30.9283L21.8398 33.1816L22.0744 32.9573H25.9183L26.1732 33.1816L25.8979 30.9283Z",
98
- fill: "#161616"
99
- })), _path25 || (_path25 = /*#__PURE__*/React.createElement("path", {
100
- d: "M36.1315 19.0283L36.9982 14.8683L35.7033 11.0039L25.8945 18.284L29.6671 21.4754L34.9998 23.0355L36.1825 21.659L35.6727 21.2919L36.4884 20.5476L35.8562 20.0582L36.6719 19.4362L36.1315 19.0283Z",
101
- fill: "#763D16"
102
- })), _path26 || (_path26 = /*#__PURE__*/React.createElement("path", {
103
- d: "M11 14.8683L11.8667 19.0283L11.3161 19.4362L12.1318 20.0582L11.5098 20.5476L12.3255 21.2919L11.8157 21.659L12.9883 23.0355L18.3209 21.4754L22.0935 18.284L12.2847 11.0039L11 14.8683Z",
104
- fill: "#763D16"
105
- })), _path27 || (_path27 = /*#__PURE__*/React.createElement("path", {
106
- d: "M35.0029 23.0356L29.6703 21.4756L31.2915 23.9125L28.875 28.6028L32.0562 28.562H36.7975L35.0029 23.0356Z",
107
- fill: "#F6851B"
108
- })), _path28 || (_path28 = /*#__PURE__*/React.createElement("path", {
109
- d: "M18.3216 21.4756L12.989 23.0356L11.2148 28.562H15.9459L19.1169 28.6028L16.7106 23.9125L18.3216 21.4756Z",
110
- fill: "#F6851B"
111
- })), _path29 || (_path29 = /*#__PURE__*/React.createElement("path", {
112
- d: "M25.5587 24.1686L25.8951 18.2854L27.445 14.0947H20.5625L22.0919 18.2854L22.4488 24.1686L22.5712 26.0243L22.5814 30.5922H25.4057L25.4261 26.0243L25.5587 24.1686Z",
113
- fill: "#F6851B"
114
- })));
115
- };
116
- var Memo = /*#__PURE__*/memo(SvgMetamaskInverted);
117
-
118
- export { Memo as default };
@@ -1,118 +0,0 @@
1
- import * as React from 'react';
2
- import { memo } from 'react';
3
-
4
- var _rect, _path, _path2, _path3, _path4, _path5, _path6, _path7, _path8, _path9, _path10, _path11, _path12, _path13, _path14, _path15, _path16, _path17, _path18, _path19, _path20, _path21, _path22, _path23, _path24, _path25, _path26, _path27, _path28, _path29;
5
- function _extends() {
6
- return _extends = Object.assign ? Object.assign.bind() : function (n) {
7
- for (var e = 1; e < arguments.length; e++) {
8
- var t = arguments[e];
9
- for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
10
- }
11
- return n;
12
- }, _extends.apply(null, arguments);
13
- }
14
- var SvgMetamask = function SvgMetamask(props) {
15
- return /*#__PURE__*/React.createElement("svg", _extends({
16
- width: 48,
17
- height: 49,
18
- viewBox: "0 0 48 49",
19
- fill: "none",
20
- xmlns: "http://www.w3.org/2000/svg"
21
- }, props), _rect || (_rect = /*#__PURE__*/React.createElement("rect", {
22
- y: 0.00390625,
23
- width: 48,
24
- height: 48,
25
- rx: 24,
26
- fill: "#233447"
27
- })), _path || (_path = /*#__PURE__*/React.createElement("path", {
28
- d: "M35.7058 11.0049L25.5605 18.5399L27.4367 14.0943L35.7058 11.0049Z",
29
- fill: "#E2761B"
30
- })), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
31
- d: "M12.2852 11.0039L22.3489 18.6103L20.5645 14.0934L12.2852 11.0039Z",
32
- fill: "#E4761B"
33
- })), _path3 || (_path3 = /*#__PURE__*/React.createElement("path", {
34
- d: "M32.0555 28.4697L29.3535 32.6094L35.1348 34.2L36.7968 28.5615L32.0555 28.4697Z",
35
- fill: "#E4761B"
36
- })), _path4 || (_path4 = /*#__PURE__*/React.createElement("path", {
37
- d: "M11.2148 28.5615L12.8666 34.2L18.6479 32.6094L15.9459 28.4697L11.2148 28.5615Z",
38
- fill: "#E4761B"
39
- })), _path5 || (_path5 = /*#__PURE__*/React.createElement("path", {
40
- d: "M18.3219 21.4759L16.7109 23.9128L22.4514 24.1678L22.2475 17.999L18.3219 21.4759Z",
41
- fill: "#E4761B"
42
- })), _path6 || (_path6 = /*#__PURE__*/React.createElement("path", {
43
- d: "M29.6696 21.476L25.6931 17.9277L25.5605 24.1678L31.2908 23.9129L29.6696 21.476Z",
44
- fill: "#E4761B"
45
- })), _path7 || (_path7 = /*#__PURE__*/React.createElement("path", {
46
- d: "M18.6484 32.6097L22.0948 30.9273L19.1175 28.6025L18.6484 32.6097Z",
47
- fill: "#E4761B"
48
- })), _path8 || (_path8 = /*#__PURE__*/React.createElement("path", {
49
- d: "M25.8965 30.9273L29.353 32.6097L28.8738 28.6025L25.8965 30.9273Z",
50
- fill: "#E4761B"
51
- })), _path9 || (_path9 = /*#__PURE__*/React.createElement("path", {
52
- d: "M29.355 32.6101L25.8984 30.9277L26.1737 33.1811L26.1431 34.1294L29.355 32.6101Z",
53
- fill: "#D7C1B3"
54
- })), _path10 || (_path10 = /*#__PURE__*/React.createElement("path", {
55
- d: "M18.6484 32.6101L21.8603 34.1294L21.8399 33.1811L22.0948 30.9277L18.6484 32.6101Z",
56
- fill: "#D7C1B3"
57
- })), _path11 || (_path11 = /*#__PURE__*/React.createElement("path", {
58
- d: "M21.9105 27.115L19.0352 26.2687L21.0642 25.3408L21.9105 27.115Z",
59
- fill: "#233447"
60
- })), _path12 || (_path12 = /*#__PURE__*/React.createElement("path", {
61
- d: "M26.0801 27.115L26.9264 25.3408L28.9656 26.2687L26.0801 27.115Z",
62
- fill: "#233447"
63
- })), _path13 || (_path13 = /*#__PURE__*/React.createElement("path", {
64
- d: "M18.6473 32.6104L19.1367 28.4707L15.9453 28.5625L18.6473 32.6104Z",
65
- fill: "#CD6116"
66
- })), _path14 || (_path14 = /*#__PURE__*/React.createElement("path", {
67
- d: "M28.8633 28.4707L29.3527 32.6104L32.0547 28.5625L28.8633 28.4707Z",
68
- fill: "#CD6116"
69
- })), _path15 || (_path15 = /*#__PURE__*/React.createElement("path", {
70
- d: "M31.2908 23.9131L25.5605 24.168L26.0908 27.1147L26.937 25.3406L28.9763 26.2684L31.2908 23.9131Z",
71
- fill: "#CD6116"
72
- })), _path16 || (_path16 = /*#__PURE__*/React.createElement("path", {
73
- d: "M19.0337 26.2684L21.073 25.3406L21.9091 27.1147L22.4495 24.168L16.709 23.9131L19.0337 26.2684Z",
74
- fill: "#CD6116"
75
- })), _path17 || (_path17 = /*#__PURE__*/React.createElement("path", {
76
- d: "M16.7109 23.9141L19.1172 28.6043L19.0357 26.2694L16.7109 23.9141Z",
77
- fill: "#E4751F"
78
- })), _path18 || (_path18 = /*#__PURE__*/React.createElement("path", {
79
- d: "M28.9789 26.2684L28.877 28.6034L31.2935 23.9131L28.9789 26.2684Z",
80
- fill: "#E4751F"
81
- })), _path19 || (_path19 = /*#__PURE__*/React.createElement("path", {
82
- d: "M22.4525 24.168L21.9121 27.1147L22.5851 30.5916L22.738 26.0135L22.4525 24.168Z",
83
- fill: "#E4751F"
84
- })), _path20 || (_path20 = /*#__PURE__*/React.createElement("path", {
85
- d: "M25.5624 24.168L25.2871 26.0033L25.4095 30.5916L26.0926 27.1147L25.5624 24.168Z",
86
- fill: "#E4751F"
87
- })), _path21 || (_path21 = /*#__PURE__*/React.createElement("path", {
88
- d: "M26.0914 27.1139L25.4082 30.5908L25.8976 30.9273L28.8749 28.6025L28.9769 26.2676L26.0914 27.1139Z",
89
- fill: "#F6851B"
90
- })), _path22 || (_path22 = /*#__PURE__*/React.createElement("path", {
91
- d: "M19.0352 26.2676L19.1167 28.6025L22.094 30.9273L22.5835 30.5908L21.9105 27.1139L19.0352 26.2676Z",
92
- fill: "#F6851B"
93
- })), _path23 || (_path23 = /*#__PURE__*/React.createElement("path", {
94
- d: "M26.1427 34.1296L26.1733 33.1813L25.9184 32.957H22.0744L21.8399 33.1813L21.8603 34.1296L18.6484 32.6104L19.77 33.528L22.0438 35.1084H25.9489L28.2329 33.528L29.3545 32.6104L26.1427 34.1296Z",
95
- fill: "#C0AD9E"
96
- })), _path24 || (_path24 = /*#__PURE__*/React.createElement("path", {
97
- d: "M25.8979 30.9283L25.4085 30.5918H22.5842L22.0947 30.9283L21.8398 33.1816L22.0744 32.9573H25.9183L26.1732 33.1816L25.8979 30.9283Z",
98
- fill: "#161616"
99
- })), _path25 || (_path25 = /*#__PURE__*/React.createElement("path", {
100
- d: "M36.1335 19.0283L37.0002 14.8683L35.7053 11.0039L25.8965 18.284L29.6691 21.4754L35.0017 23.0355L36.1845 21.659L35.6747 21.2919L36.4904 20.5476L35.8582 20.0582L36.6739 19.4362L36.1335 19.0283Z",
101
- fill: "#763D16"
102
- })), _path26 || (_path26 = /*#__PURE__*/React.createElement("path", {
103
- d: "M11 14.8683L11.8667 19.0283L11.3161 19.4362L12.1318 20.0582L11.5098 20.5476L12.3255 21.2919L11.8157 21.659L12.9883 23.0355L18.3209 21.4754L22.0935 18.284L12.2847 11.0039L11 14.8683Z",
104
- fill: "#763D16"
105
- })), _path27 || (_path27 = /*#__PURE__*/React.createElement("path", {
106
- d: "M35.0029 23.0356L29.6703 21.4756L31.2915 23.9125L28.875 28.6028L32.0562 28.562H36.7975L35.0029 23.0356Z",
107
- fill: "#F6851B"
108
- })), _path28 || (_path28 = /*#__PURE__*/React.createElement("path", {
109
- d: "M18.3216 21.4756L12.989 23.0356L11.2148 28.562H15.9459L19.1169 28.6028L16.7106 23.9125L18.3216 21.4756Z",
110
- fill: "#F6851B"
111
- })), _path29 || (_path29 = /*#__PURE__*/React.createElement("path", {
112
- d: "M25.5606 24.1686L25.8971 18.2854L27.4469 14.0947H20.5645L22.0939 18.2854L22.4508 24.1686L22.5731 26.0243L22.5833 30.5922H25.4077L25.4281 26.0243L25.5606 24.1686Z",
113
- fill: "#F6851B"
114
- })));
115
- };
116
- var Memo = /*#__PURE__*/memo(SvgMetamask);
117
-
118
- export { Memo as default };