@reef-knot/wallet-adapter-bitkeep 5.2.1 → 5.3.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.
@@ -31,3 +31,5 @@ var Memo = /*#__PURE__*/ memo(function SvgBitget(props) {
31
31
  });
32
32
  //#endregion
33
33
  export { Memo as default };
34
+
35
+ //# sourceMappingURL=bitget.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bitget.js","names":[],"sources":["../../src/icons/bitget.svg"],"sourcesContent":["<svg width=\"36\" height=\"36\" viewBox=\"0 0 36 36\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <rect width=\"36\" height=\"36\" rx=\"18\" fill=\"#001F29\" />\n <path\n d=\"M15.465 6.72917C14.1765 6.72852 12.8903 6.72786 11.5973 6.72984C10.8155 6.72984 10.5223 7.71134 11.1038 8.29272L19.9053 17.0943C20.1799 17.3455 20.3512 17.6186 20.3575 17.9785C20.3512 18.3385 20.1799 18.6115 19.9053 18.8628L11.1038 27.6643C10.5223 28.2457 10.8155 29.2272 11.5973 29.2272C12.8903 29.2292 14.1765 29.2285 15.465 29.2279C16.1101 29.2275 16.7557 29.2272 17.403 29.2272C18.2499 29.2272 18.7537 28.7748 19.2061 28.3224L27.1439 20.3845C27.7774 19.751 28.3442 18.9099 28.3365 17.9785C28.3442 17.0472 27.7774 16.206 27.1439 15.5725L19.2061 7.63467C18.7537 7.18226 18.2499 6.72984 17.403 6.72984C16.7557 6.72984 16.1101 6.7295 15.465 6.72917Z\"\n fill=\"#00F0FF\" />\n</svg>"],"mappings":";;;AAAA,IAAI;AAAO,IAAA;AACX,SAAS,WAAW;CAAE,OAAO,WAAW,OAAO,SAAS,OAAO,OAAO,KAAK,IAAI,SAAU,GAAG;EAAE,KAAK,IAAI,IAAI,GAAG,IAAI,UAAU,QAAQ,KAAK;GAAE,IAAI,IAAI,UAAU;GAAI,KAAK,IAAI,KAAK,GAAG,CAAC,CAAC,EAAA,CAAG,eAAe,KAAK,GAAG,CAAC,MAAM,EAAE,KAAK,EAAE;EAAK;EAAE,OAAO;CAAG,GAAG,SAAS,MAAM,MAAM,SAAS;AAAG;AAoBnR,IAAI,OAAoB,mBAAK,SAjBJ,UAAU,OAAO;CACxC,OAAoB,oBAAM,cAAc,OAAO,SAAS;EACtD,OAAO;EACP,QAAQ;EACR,SAAS;EACT,MAAM;EACN,OAAO;CACT,GAAG,KAAK,GAAG,UAAU,QAAqB,oBAAM,cAAc,QAAQ;EACpE,OAAO;EACP,QAAQ;EACR,IAAI;EACJ,MAAM;CACR,CAAC,IAAI,UAAU,QAAqB,oBAAM,cAAc,QAAQ;EAC9D,GAAG;EACH,MAAM;CACR,CAAC,EAAE;AACL,CACsC"}
package/dist/index.d.ts CHANGED
@@ -1,7 +1,9 @@
1
- import type { WalletAdapterType } from '@reef-knot/types';
1
+ import { WalletAdapterType } from "@reef-knot/wallets-helpers";
2
+ //#region src/index.d.ts
2
3
  export declare const id = "bitget";
3
4
  export declare const name = "Bitget Wallet";
4
5
  export declare const rdns = "com.bitget.web3";
5
6
  export declare const Bitget: WalletAdapterType;
6
7
  export declare const BitKeep: WalletAdapterType;
8
+ //#endregion
7
9
  //# sourceMappingURL=index.d.ts.map
@@ -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,WAAW,CAAC;AAC3B,eAAO,MAAM,IAAI,kBAAkB,CAAC;AACpC,eAAO,MAAM,IAAI,oBAAoB,CAAC;AAKtC,eAAO,MAAM,MAAM,EAAE,iBAcnB,CAAC;AAIH,eAAO,MAAM,OAAO,mBAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../src/index.ts"],"mappings":";;qBAQa;qBACA;qBACA;qBAKA,QAAQ;qBAkBR,SAAO"}
package/dist/index.js CHANGED
@@ -20,3 +20,5 @@ const Bitget = ({ providersStore }) => ({
20
20
  const BitKeep = Bitget;
21
21
  //#endregion
22
22
  export { BitKeep, Bitget, id, name, rdns };
23
+
24
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["WalletIcon"],"sources":["../src/index.ts"],"sourcesContent":["import { injected } from 'wagmi/connectors';\nimport type { WalletAdapterType } from '@reef-knot/wallets-helpers';\nimport {\n getTargetEIP6963,\n isProviderExistsEIP6963,\n} from '@reef-knot/wallets-helpers';\nimport WalletIcon from './icons/bitget.svg';\n\nexport const id = 'bitget';\nexport const name = 'Bitget Wallet';\nexport const rdns = 'com.bitget.web3';\nconst currentHref = globalThis.window\n ? encodeURIComponent(globalThis.window.location.href)\n : '';\n\nexport const Bitget: WalletAdapterType = ({ providersStore }) => ({\n walletName: name,\n walletId: id,\n type: injected.type,\n rdns,\n icon: WalletIcon,\n detector: () => isProviderExistsEIP6963(providersStore, rdns),\n downloadURLs: {\n default: 'https://web3.bitget.com/',\n },\n deeplink: `https://bkcode.vip?action=dapp&url=${currentHref}`,\n createConnectorFn: injected({\n target: () => getTargetEIP6963(providersStore, rdns),\n }),\n});\n\n// BitKeep is the previous name of the wallet.\n// Exporting the wallet adapter with the old name for compatibility.\nexport const BitKeep = Bitget;\n"],"mappings":";;;;AAQA,MAAa,KAAK;AAClB,MAAa,OAAO;AACpB,MAAa,OAAO;AACpB,MAAM,cAAc,WAAW,SAC3B,mBAAmB,WAAW,OAAO,SAAS,IAAI,IAClD;AAEJ,MAAa,UAA6B,EAAE,sBAAsB;CAChE,YAAY;CACZ,UAAU;CACV,MAAM,SAAS;CACf;CACA,MAAMA;CACN,gBAAgB,wBAAwB,gBAAgB,IAAI;CAC5D,cAAc,EACZ,SAAS,2BACX;CACA,UAAU,sCAAsC;CAChD,mBAAmB,SAAS,EAC1B,cAAc,iBAAiB,gBAAgB,IAAI,EACrD,CAAC;AACH;AAIA,MAAa,UAAU"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reef-knot/wallet-adapter-bitkeep",
3
- "version": "5.2.1",
3
+ "version": "5.3.0-alpha.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "exports": {
@@ -34,18 +34,15 @@
34
34
  "scripts": {
35
35
  "build": "yarn run -T tsdown",
36
36
  "dev": "yarn run -T tsdown --watch",
37
- "lint": "eslint --ext ts,tsx,js,mjs .",
38
- "typecheck": "tsc --noEmit"
37
+ "lint": "yarn run -T eslint .",
38
+ "typecheck": "yarn run -T tsc --noEmit"
39
39
  },
40
40
  "devDependencies": {
41
- "@reef-knot/types": "5.2.1",
42
- "@reef-knot/wallets-helpers": "3.1.0",
43
- "build-config": "*",
44
- "eslint-config-custom": "*"
41
+ "@reef-knot/wallets-helpers": "3.2.0-alpha.1",
42
+ "build-config": "*"
45
43
  },
46
44
  "peerDependencies": {
47
- "@reef-knot/types": "5.2.1",
48
- "@reef-knot/wallets-helpers": "3.1.0",
45
+ "@reef-knot/wallets-helpers": "3.2.0-alpha.1",
49
46
  "@tanstack/react-query": "^5.29.0",
50
47
  "wagmi": ">=3.6"
51
48
  }