@reef-knot/wallet-adapter-browser-extension 1.0.0 → 1.1.0

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,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { memo } from 'react';
3
3
 
4
- var _ellipse, _path, _defs;
4
+ var _rect, _path, _path2;
5
5
  function _extends() {
6
6
  _extends = Object.assign ? Object.assign.bind() : function (target) {
7
7
  for (var i = 1; i < arguments.length; i++) {
@@ -18,35 +18,29 @@ function _extends() {
18
18
  }
19
19
  var SvgBrowserExtension = function SvgBrowserExtension(props) {
20
20
  return /*#__PURE__*/React.createElement("svg", _extends({
21
+ xmlns: "http://www.w3.org/2000/svg",
21
22
  width: 48,
22
23
  height: 48,
23
- viewBox: "0 0 32 32",
24
- fill: "none",
25
- xmlns: "http://www.w3.org/2000/svg"
26
- }, props), _ellipse || (_ellipse = /*#__PURE__*/React.createElement("ellipse", {
27
- cx: 16,
28
- cy: 16,
29
- rx: 16,
30
- ry: 16,
31
- fill: "#C2F0FF"
24
+ viewBox: "0 0 48 48",
25
+ fill: "none"
26
+ }, props), _rect || (_rect = /*#__PURE__*/React.createElement("rect", {
27
+ width: 48,
28
+ height: 48,
29
+ fill: "#fff",
30
+ rx: 24
32
31
  })), _path || (_path = /*#__PURE__*/React.createElement("path", {
33
- fillRule: "evenodd",
34
- clipRule: "evenodd",
35
- d: "M8.01037 11.708C8.13566 10.1911 9.38025 9 10.8971 9H20.3786V11.0183H23.0123V13.7095H24V23.6667H11.8848C9.73927 23.6667 8 21.8895 8 19.6972V11.708H8.01037ZM11.8189 13.7095H21.8272V12.2294H11.8189V13.7095ZM9.18519 11.9602C9.18519 10.9942 9.95164 10.211 10.8971 10.211H19.1934V11.0183H10.6337V13.6889C9.81331 13.5595 9.18519 12.8348 9.18519 11.9602ZM20.6667 18.6667C20.6667 17.4497 21.4979 16.3334 22.6667 16.3333V21C21.4979 21 20.6667 19.8836 20.6667 18.6667Z",
36
- fill: "url(#paint0_linear_2554_4531)"
37
- })), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
38
- id: "paint0_linear_2554_4531",
39
- x1: 12,
40
- y1: 9,
41
- x2: 16,
42
- y2: 23.6667,
43
- gradientUnits: "userSpaceOnUse"
44
- }, /*#__PURE__*/React.createElement("stop", {
45
- stopColor: "#0087E9"
46
- }), /*#__PURE__*/React.createElement("stop", {
47
- offset: 1,
48
- stopColor: "#03D2FF"
49
- })))));
32
+ stroke: "#7A8AA0",
33
+ strokeLinecap: "round",
34
+ strokeLinejoin: "round",
35
+ strokeWidth: 2,
36
+ d: "M33 23v-6a2 2 0 0 0-2-2H17a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6"
37
+ })), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
38
+ stroke: "#7A8AA0",
39
+ strokeLinecap: "round",
40
+ strokeLinejoin: "round",
41
+ strokeWidth: 2,
42
+ d: "m24 24 4 10 1.7-4.3L34 28l-10-4Z"
43
+ })));
50
44
  };
51
45
  var Memo = /*#__PURE__*/memo(SvgBrowserExtension);
52
46
 
package/dist/index.d.ts CHANGED
@@ -1,5 +1,7 @@
1
1
  import { WalletAdapterType } from '@reef-knot/types';
2
2
  import { InjectedConnector } from 'wagmi/connectors/injected';
3
+ export declare const id = "browserExtension";
4
+ export declare const name = "Browser";
3
5
  export declare class BrowserExtensionConnector extends InjectedConnector {
4
6
  readonly id = "browserExtension";
5
7
  readonly name = "Browser";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAM9D,qBAAa,yBAA0B,SAAQ,iBAAiB;IAC9D,QAAQ,CAAC,EAAE,sBAAM;IACjB,QAAQ,CAAC,IAAI,aAAQ;CACtB;AAED,eAAO,MAAM,gBAAgB,EAAE,iBAO7B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAG9D,eAAO,MAAM,EAAE,qBAAqB,CAAC;AACrC,eAAO,MAAM,IAAI,YAAY,CAAC;AAE9B,qBAAa,yBAA0B,SAAQ,iBAAiB;IAC9D,QAAQ,CAAC,EAAE,sBAAM;IACjB,QAAQ,CAAC,IAAI,aAAQ;CACtB;AAED,eAAO,MAAM,gBAAgB,EAAE,iBAO7B,CAAC"}
package/dist/index.js CHANGED
@@ -21,4 +21,4 @@ const BrowserExtension = ({
21
21
  })
22
22
  });
23
23
 
24
- export { BrowserExtension, BrowserExtensionConnector };
24
+ export { BrowserExtension, BrowserExtensionConnector, id, name };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reef-knot/wallet-adapter-browser-extension",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "exports": {
@@ -32,7 +32,7 @@
32
32
  "lint": "eslint --ext ts,tsx,js,mjs ."
33
33
  },
34
34
  "devDependencies": {
35
- "@reef-knot/types": "^1.3.0",
35
+ "@reef-knot/types": "^1.6.0",
36
36
  "@svgr/rollup": "^6.5.1",
37
37
  "eslint-config-custom": "*"
38
38
  },