@ckb-ccc/ccc 0.0.12-alpha.7 → 0.0.13-alpha.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.
Files changed (46) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/README.md +10 -7
  3. package/dist/assets/rei.svg.d.ts +2 -0
  4. package/dist/assets/rei.svg.d.ts.map +1 -0
  5. package/dist/assets/rei.svg.js +2 -0
  6. package/dist/barrel.d.ts +1 -0
  7. package/dist/barrel.d.ts.map +1 -1
  8. package/dist/barrel.js +1 -0
  9. package/dist/signersController.d.ts +24 -6
  10. package/dist/signersController.d.ts.map +1 -1
  11. package/dist/signersController.js +53 -35
  12. package/dist.commonjs/advanced.d.ts +1 -1
  13. package/dist.commonjs/advanced.js +22 -47
  14. package/dist.commonjs/advancedBarrel.d.ts +1 -1
  15. package/dist.commonjs/advancedBarrel.js +14 -30
  16. package/dist.commonjs/assets/eth.svg.d.ts +1 -1
  17. package/dist.commonjs/assets/eth.svg.js +1 -3
  18. package/dist.commonjs/assets/joy-id.svg.d.ts +1 -1
  19. package/dist.commonjs/assets/joy-id.svg.js +1 -3
  20. package/dist.commonjs/assets/metamask.svg.d.ts +1 -1
  21. package/dist.commonjs/assets/metamask.svg.js +1 -3
  22. package/dist.commonjs/assets/nostr.svg.d.ts +1 -1
  23. package/dist.commonjs/assets/nostr.svg.js +1 -3
  24. package/dist.commonjs/assets/okx.svg.d.ts +1 -1
  25. package/dist.commonjs/assets/okx.svg.js +1 -3
  26. package/dist.commonjs/assets/rei.svg.d.ts +2 -0
  27. package/dist.commonjs/assets/rei.svg.d.ts.map +1 -0
  28. package/dist.commonjs/assets/rei.svg.js +5 -0
  29. package/dist.commonjs/assets/uni-sat.svg.d.ts +1 -1
  30. package/dist.commonjs/assets/uni-sat.svg.js +1 -3
  31. package/dist.commonjs/assets/utils.d.ts +1 -1
  32. package/dist.commonjs/assets/utils.js +1 -1
  33. package/dist.commonjs/assets/utxo-global.svg.d.ts +1 -1
  34. package/dist.commonjs/barrel.d.ts +2 -1
  35. package/dist.commonjs/barrel.d.ts.map +1 -1
  36. package/dist.commonjs/barrel.js +15 -30
  37. package/dist.commonjs/index.d.ts +1 -1
  38. package/dist.commonjs/index.js +22 -47
  39. package/dist.commonjs/signersController.d.ts +41 -30
  40. package/dist.commonjs/signersController.d.ts.map +1 -1
  41. package/dist.commonjs/signersController.js +100 -207
  42. package/package.json +9 -8
  43. package/src/assets/rei.svg.ts +5 -0
  44. package/src/barrel.ts +1 -0
  45. package/src/signersController.ts +85 -113
  46. package/typedoc.json +6 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,35 @@
1
1
  # @ckb-ccc/ccc
2
2
 
3
+ ## 0.0.13-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`600cc13`](https://github.com/ckb-ecofund/ccc/commit/600cc137ac6eb7c5b2533670de6df29d82f1b9e1)]:
8
+ - @ckb-ccc/core@0.0.13-alpha.0
9
+ - @ckb-ccc/eip6963@0.0.13-alpha.0
10
+ - @ckb-ccc/joy-id@0.0.13-alpha.0
11
+ - @ckb-ccc/nip07@0.0.13-alpha.0
12
+ - @ckb-ccc/okx@0.0.13-alpha.0
13
+ - @ckb-ccc/rei@0.0.13-alpha.0
14
+ - @ckb-ccc/uni-sat@0.0.13-alpha.0
15
+ - @ckb-ccc/utxo-global@0.0.13-alpha.0
16
+
17
+ ## 0.0.12
18
+
19
+ ### Patch Changes
20
+
21
+ - [`591e779`](https://github.com/ckb-ecofund/ccc/commit/591e7794ce3d07ceaad55b7a80d2277fe0aa9fe7) Thanks [@Hanssen0](https://github.com/Hanssen0)! - feat: custom SignersController
22
+
23
+ - Updated dependencies [[`6bee006`](https://github.com/ckb-ecofund/ccc/commit/6bee006fbcb96986c65ca4d2d896fca21db2503b)]:
24
+ - @ckb-ccc/nip07@0.0.12
25
+ - @ckb-ccc/okx@0.0.12
26
+ - @ckb-ccc/core@0.0.12
27
+ - @ckb-ccc/eip6963@0.0.12
28
+ - @ckb-ccc/joy-id@0.0.12
29
+ - @ckb-ccc/rei@0.0.12
30
+ - @ckb-ccc/uni-sat@0.0.12
31
+ - @ckb-ccc/utxo-global@0.0.12
32
+
3
33
  ## 0.0.12-alpha.7
4
34
 
5
35
  ### Patch Changes
package/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  <p align="center">
2
- <a href="https://ckbccc-demo.vercel.app/">
2
+ <a href="https://app.ckbccc.com/">
3
3
  <img alt="Logo" src="https://raw.githubusercontent.com/ckb-ecofund/ccc/master/assets/logo.svg" width="20%" />
4
4
  </a>
5
5
  </p>
@@ -14,9 +14,12 @@
14
14
  /></a>
15
15
  <img alt="GitHub commit activity" src="https://img.shields.io/github/commit-activity/m/ckb-ecofund/ccc" />
16
16
  <img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/ckb-ecofund/ccc/master" />
17
- <img alt="GitHub deployments" src="https://img.shields.io/github/deployments/ckb-ecofund/ccc/production" />
18
- <a href="https://ckbccc-demo.vercel.app/"><img
19
- alt="Demo" src="https://img.shields.io/website?url=https%3A%2F%2Fckbccc-demo.vercel.app%2F&label=Demo"
17
+ <img alt="GitHub branch check runs" src="https://img.shields.io/github/check-runs/ckb-ecofund/ccc/master" />
18
+ <a href="https://app.ckbccc.com/"><img
19
+ alt="App" src="https://img.shields.io/website?url=https%3A%2F%2Fapp.ckbccc.com%2F&label=App"
20
+ /></a>
21
+ <a href="https://docs.ckbccc.com/"><img
22
+ alt="Docs" src="https://img.shields.io/website?url=https%3A%2F%2Fdocs.ckbccc.com%2F&label=Docs"
20
23
  /></a>
21
24
  </p>
22
25
 
@@ -33,13 +36,13 @@
33
36
  ## Preview
34
37
 
35
38
  <p align="center">
36
- <a href="https://ckbccc-demo.vercel.app/">
39
+ <a href="https://app.ckbccc.com/">
37
40
  <img src="https://raw.githubusercontent.com/ckb-ecofund/ccc/master/assets/preview.png" width="30%" />
38
41
  </a>
39
42
  </p>
40
43
 
41
- This project is still under active development, and we are looking forward to your feedback. [Try its demo now here](https://ckbccc-demo.vercel.app/). It showcases how to use CCC for some basic scenarios in CKB.
44
+ This project is still under active development, and we are looking forward to your feedback. [Try its demo now here](https://app.ckbccc.com/). It showcases how to use CCC for some basic scenarios in CKB.
42
45
 
43
46
  <h3 align="center">
44
- Read more about CCC on its <a href="https://github.com/ckb-ecofund/ccc">GitHub Repo</a>.
47
+ Read more about CCC on <a href="https://docs.ckbccc.com">our website</a> or <a href="https://github.com/ckb-ecofund/ccc">GitHub Repo</a>.
45
48
  </h3>
@@ -0,0 +1,2 @@
1
+ export declare const REI_SVG: string;
2
+ //# sourceMappingURL=rei.svg.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rei.svg.d.ts","sourceRoot":"","sources":["../../src/assets/rei.svg.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,QAEnB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { encodeSvgToImgSrc } from "./utils.js";
2
+ export const REI_SVG = encodeSvgToImgSrc('<svg id="layer2" data-name="layer2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 88.24 70.95"><defs><style>.cls-1{fill:url(#linear_9)}.cls-2{fill:rgba(155,84,168,0)}</style><linearGradient id="linear_9" data-name="linear 9" x1="216.98" y1="-423.81" x2="170.95" y2="319.28" gradientTransform="translate(18.94 29.12) scale(.09 -.09)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#01f395"/><stop offset="1" stop-color="#01b56a"/></linearGradient></defs><g id="layer1" data-name="layer1"><g><rect class="cls-2" width="88.24" height="70.95"/><g><path class="cls-1" d="m19.08,0H4.9l49.8,70.95h14.19L19.08,0Z"/><path d="m69.08,44.08c9.93-2.84,16.92-9.85,16.92-21.5v-.2c0-6.18-2.12-11.44-5.87-15.29-4.56-4.45-11.54-7.08-20.46-7.08H24.09l7.97,11.37h26.59c9.22,0,14.7,4.12,14.7,11.72v.2c0,7.19-5.68,11.86-14.6,11.86h-9.98l25.11,35.79h14.37l-19.16-26.87Z"/><path d="m0,20.16l35.64,50.78h14.19L14.19,20.16H0Z"/></g></g></g></svg>');
package/dist/barrel.d.ts CHANGED
@@ -3,6 +3,7 @@ export * from "@ckb-ccc/eip6963";
3
3
  export * from "@ckb-ccc/joy-id";
4
4
  export * from "@ckb-ccc/nip07";
5
5
  export * from "@ckb-ccc/okx";
6
+ export * from "@ckb-ccc/rei";
6
7
  export * from "@ckb-ccc/uni-sat";
7
8
  export * from "@ckb-ccc/utxo-global";
8
9
  export * from "./signersController.js";
@@ -1 +1 @@
1
- {"version":3,"file":"barrel.d.ts","sourceRoot":"","sources":["../src/barrel.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC"}
1
+ {"version":3,"file":"barrel.d.ts","sourceRoot":"","sources":["../src/barrel.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC"}
package/dist/barrel.js CHANGED
@@ -3,6 +3,7 @@ export * from "@ckb-ccc/eip6963";
3
3
  export * from "@ckb-ccc/joy-id";
4
4
  export * from "@ckb-ccc/nip07";
5
5
  export * from "@ckb-ccc/okx";
6
+ export * from "@ckb-ccc/rei";
6
7
  export * from "@ckb-ccc/uni-sat";
7
8
  export * from "@ckb-ccc/utxo-global";
8
9
  export * from "./signersController.js";
@@ -1,7 +1,24 @@
1
1
  import { ccc } from "@ckb-ccc/core";
2
+ /**
3
+ * @public
4
+ */
2
5
  export type WalletWithSigners = ccc.Wallet & {
3
6
  signers: ccc.SignerInfo[];
4
7
  };
8
+ /**
9
+ * @public
10
+ */
11
+ export interface SignersControllerRefreshContext {
12
+ client: ccc.Client;
13
+ appName: string;
14
+ appIcon: string;
15
+ preferredNetworks: ccc.NetworkPreference[];
16
+ onUpdate: (wallets: WalletWithSigners[]) => void;
17
+ wallets: WalletWithSigners[];
18
+ }
19
+ /**
20
+ * @public
21
+ */
5
22
  export declare class SignersController {
6
23
  private resetListeners;
7
24
  constructor();
@@ -10,19 +27,20 @@ export declare class SignersController {
10
27
  name?: string;
11
28
  icon?: string;
12
29
  }): {
13
- name: string;
14
- icon: string;
30
+ appName: string;
31
+ appIcon: string;
15
32
  preferredNetworks: ccc.NetworkPreference[];
16
33
  };
17
34
  disconnect(): void;
18
35
  refresh(client: ccc.Client, onUpdate: (wallets: WalletWithSigners[]) => void, configs?: {
19
- signerFilter?: (signerInfo: ccc.SignerInfo, wallet: ccc.Wallet) => Promise<boolean>;
20
36
  preferredNetworks?: ccc.NetworkPreference[];
21
37
  name?: string;
22
38
  icon?: string;
23
39
  }): Promise<void>;
24
- private addLinkSigners;
25
- private addSigners;
26
- private addSigner;
40
+ addRealSigners(context: SignersControllerRefreshContext): Promise<void>;
41
+ addDummySigners(context: SignersControllerRefreshContext): Promise<void>;
42
+ addLinkSigners(walletName: string, icon: string, signerTypes: ccc.SignerType[], link: string, context: SignersControllerRefreshContext): Promise<void[]>;
43
+ addSigners(walletName: string, icon: string, signers: ccc.SignerInfo[], context: SignersControllerRefreshContext): Promise<void[]>;
44
+ protected addSigner(walletName: string, icon: string, signerInfo: ccc.SignerInfo, { wallets, onUpdate }: SignersControllerRefreshContext): Promise<void>;
27
45
  }
28
46
  //# sourceMappingURL=signersController.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"signersController.d.ts","sourceRoot":"","sources":["../src/signersController.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AAepC,MAAM,MAAM,iBAAiB,GAAG,GAAG,CAAC,MAAM,GAAG;IAC3C,OAAO,EAAE,GAAG,CAAC,UAAU,EAAE,CAAC;CAC3B,CAAC;AAEF,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,cAAc,CAAsB;;IAI5C,SAAS,CAAC,OAAO,CAAC,EAAE;QAClB,iBAAiB,CAAC,EAAE,GAAG,CAAC,iBAAiB,EAAE,CAAC;QAC5C,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,IAAI,CAAC,EAAE,MAAM,CAAC;KACf;;;;;IAgCD,UAAU;IAKJ,OAAO,CACX,MAAM,EAAE,GAAG,CAAC,MAAM,EAClB,QAAQ,EAAE,CAAC,OAAO,EAAE,iBAAiB,EAAE,KAAK,IAAI,EAChD,OAAO,CAAC,EAAE;QACR,YAAY,CAAC,EAAE,CACb,UAAU,EAAE,GAAG,CAAC,UAAU,EAC1B,MAAM,EAAE,GAAG,CAAC,MAAM,KACf,OAAO,CAAC,OAAO,CAAC,CAAC;QACtB,iBAAiB,CAAC,EAAE,GAAG,CAAC,iBAAiB,EAAE,CAAC;QAC5C,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,IAAI,CAAC,EAAE,MAAM,CAAC;KACf;YAoHW,cAAc;YA4Bd,UAAU;YA4BV,SAAS;CA6CxB"}
1
+ {"version":3,"file":"signersController.d.ts","sourceRoot":"","sources":["../src/signersController.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AAiBpC;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,GAAG,CAAC,MAAM,GAAG;IAC3C,OAAO,EAAE,GAAG,CAAC,UAAU,EAAE,CAAC;CAC3B,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC9C,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,iBAAiB,EAAE,GAAG,CAAC,iBAAiB,EAAE,CAAC;IAC3C,QAAQ,EAAE,CAAC,OAAO,EAAE,iBAAiB,EAAE,KAAK,IAAI,CAAC;IACjD,OAAO,EAAE,iBAAiB,EAAE,CAAC;CAC9B;AAED;;GAEG;AACH,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,cAAc,CAAsB;;IAI5C,SAAS,CAAC,OAAO,CAAC,EAAE;QAClB,iBAAiB,CAAC,EAAE,GAAG,CAAC,iBAAiB,EAAE,CAAC;QAC5C,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,IAAI,CAAC,EAAE,MAAM,CAAC;KACf;;;;;IAgCD,UAAU;IAKJ,OAAO,CACX,MAAM,EAAE,GAAG,CAAC,MAAM,EAClB,QAAQ,EAAE,CAAC,OAAO,EAAE,iBAAiB,EAAE,KAAK,IAAI,EAChD,OAAO,CAAC,EAAE;QACR,iBAAiB,CAAC,EAAE,GAAG,CAAC,iBAAiB,EAAE,CAAC;QAC5C,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,IAAI,CAAC,EAAE,MAAM,CAAC;KACf;IAmBG,cAAc,CAAC,OAAO,EAAE,+BAA+B;IAiEvD,eAAe,CAAC,OAAO,EAAE,+BAA+B;IAmCxD,cAAc,CAClB,UAAU,EAAE,MAAM,EAClB,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,GAAG,CAAC,UAAU,EAAE,EAC7B,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,+BAA+B;IAapC,UAAU,CACd,UAAU,EAAE,MAAM,EAClB,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,GAAG,CAAC,UAAU,EAAE,EACzB,OAAO,EAAE,+BAA+B;cAS1B,SAAS,CACvB,UAAU,EAAE,MAAM,EAClB,IAAI,EAAE,MAAM,EACZ,UAAU,EAAE,GAAG,CAAC,UAAU,EAC1B,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,+BAA+B,GACrD,OAAO,CAAC,IAAI,CAAC;CAkBjB"}
@@ -3,6 +3,7 @@ import { Eip6963 } from "@ckb-ccc/eip6963";
3
3
  import { JoyId } from "@ckb-ccc/joy-id";
4
4
  import { Nip07 } from "@ckb-ccc/nip07";
5
5
  import { Okx } from "@ckb-ccc/okx";
6
+ import { Rei } from "@ckb-ccc/rei";
6
7
  import { UniSat } from "@ckb-ccc/uni-sat";
7
8
  import { UtxoGlobal } from "@ckb-ccc/utxo-global";
8
9
  import { ETH_SVG } from "./assets/eth.svg.js";
@@ -10,17 +11,21 @@ import { JOY_ID_SVG } from "./assets/joy-id.svg.js";
10
11
  import { METAMASK_SVG } from "./assets/metamask.svg.js";
11
12
  import { NOSTR_SVG } from "./assets/nostr.svg.js";
12
13
  import { OKX_SVG } from "./assets/okx.svg.js";
14
+ import { REI_SVG } from "./assets/rei.svg.js";
13
15
  import { UNI_SAT_SVG } from "./assets/uni-sat.svg.js";
14
16
  import { UTXO_GLOBAL_SVG } from "./assets/utxo-global.svg.js";
17
+ /**
18
+ * @public
19
+ */
15
20
  export class SignersController {
16
21
  constructor() {
17
22
  this.resetListeners = [];
18
23
  }
19
24
  getConfig(configs) {
20
- const name = configs?.name ??
25
+ const appName = configs?.name ??
21
26
  document.querySelector("head title")?.text ??
22
27
  "Unknown";
23
- const icon = configs?.icon ??
28
+ const appIcon = configs?.icon ??
24
29
  document.querySelector('link[rel="icon"]')
25
30
  ?.href ??
26
31
  "https://fav.farm/%E2%9D%93";
@@ -38,8 +43,8 @@ export class SignersController {
38
43
  },
39
44
  ];
40
45
  return {
41
- name,
42
- icon,
46
+ appName,
47
+ appIcon,
43
48
  preferredNetworks,
44
49
  };
45
50
  }
@@ -49,42 +54,55 @@ export class SignersController {
49
54
  }
50
55
  async refresh(client, onUpdate, configs) {
51
56
  this.disconnect();
52
- const wallets = [];
53
- const { name, icon, preferredNetworks } = this.getConfig(configs);
54
- await this.addSigners(wallets, "UTXO Global Wallet", UTXO_GLOBAL_SVG, UtxoGlobal.getUtxoGlobalSigners(client), onUpdate, configs);
55
- await this.addSigners(wallets, "JoyID Passkey", JOY_ID_SVG, JoyId.getJoyIdSigners(client, name, icon, preferredNetworks), onUpdate, configs);
56
- await this.addSigners(wallets, "UniSat", UNI_SAT_SVG, UniSat.getUniSatSigners(client, preferredNetworks), onUpdate, configs);
57
- await this.addSigners(wallets, "OKX Wallet", OKX_SVG, Okx.getOKXSigners(client, preferredNetworks), onUpdate, configs);
58
- await this.addSigner(wallets, "Nostr", NOSTR_SVG, "Nostr", Nip07.getNip07Signer(client), onUpdate, configs);
59
- this.resetListeners.push(new Eip6963.SignerFactory(client).subscribeSigners((signer, detail) => this.addSigner(wallets, detail?.info.name ?? "EVM", detail?.info.icon ?? ETH_SVG, "EVM", signer, onUpdate, configs)));
60
- // === Dummy signers ===
61
- await this.addLinkSigners(wallets, "MetaMask", METAMASK_SVG, client, [ccc.SignerType.EVM], `https://metamask.app.link/dapp/${window.location.href}`, onUpdate, configs);
62
- await this.addLinkSigners(wallets, "OKX Wallet", OKX_SVG, client, [ccc.SignerType.EVM, ccc.SignerType.BTC], "https://www.okx.com/download?deeplink=" +
57
+ const { appName, appIcon, preferredNetworks } = this.getConfig(configs);
58
+ const context = {
59
+ client,
60
+ appName,
61
+ appIcon,
62
+ preferredNetworks,
63
+ onUpdate,
64
+ wallets: [],
65
+ };
66
+ await this.addRealSigners(context);
67
+ await this.addDummySigners(context);
68
+ }
69
+ async addRealSigners(context) {
70
+ const { appName, appIcon, client, preferredNetworks } = context;
71
+ await this.addSigners("UTXO Global Wallet", UTXO_GLOBAL_SVG, UtxoGlobal.getUtxoGlobalSigners(client), context);
72
+ await this.addSigners("Rei Wallet", REI_SVG, Rei.getReiSigners(client), context);
73
+ await this.addSigners("JoyID Passkey", JOY_ID_SVG, JoyId.getJoyIdSigners(client, appName, appIcon, preferredNetworks), context);
74
+ await this.addSigners("UniSat", UNI_SAT_SVG, UniSat.getUniSatSigners(client, preferredNetworks), context);
75
+ await this.addSigners("OKX Wallet", OKX_SVG, Okx.getOKXSigners(client, preferredNetworks), context);
76
+ const nostrSigner = Nip07.getNip07Signer(client);
77
+ if (nostrSigner) {
78
+ await this.addSigner("Nostr", NOSTR_SVG, {
79
+ name: "Nostr",
80
+ signer: nostrSigner,
81
+ }, context);
82
+ }
83
+ this.resetListeners.push(new Eip6963.SignerFactory(client).subscribeSigners((signer, detail) => this.addSigner(detail?.info.name ?? "EVM", detail?.info.icon ?? ETH_SVG, {
84
+ name: "EVM",
85
+ signer,
86
+ }, context)));
87
+ }
88
+ async addDummySigners(context) {
89
+ await this.addLinkSigners("MetaMask", METAMASK_SVG, [ccc.SignerType.EVM], `https://metamask.app.link/dapp/${window.location.href}`, context);
90
+ await this.addLinkSigners("OKX Wallet", OKX_SVG, [ccc.SignerType.EVM, ccc.SignerType.BTC], "https://www.okx.com/download?deeplink=" +
63
91
  encodeURIComponent("okx://wallet/dapp/url?dappUrl=" +
64
- encodeURIComponent(window.location.href)), onUpdate, configs);
65
- await this.addLinkSigners(wallets, "UniSat", UNI_SAT_SVG, client, [ccc.SignerType.BTC], "https://unisat.io/download", onUpdate, configs);
66
- await this.addLinkSigners(wallets, "UTXO Global Wallet", UTXO_GLOBAL_SVG, client, [ccc.SignerType.CKB, ccc.SignerType.BTC], "https://chromewebstore.google.com/detail/lnamkkidoonpeknminiadpgjiofpdmle", onUpdate, configs);
67
- // ===
92
+ encodeURIComponent(window.location.href)), context);
93
+ await this.addLinkSigners("UniSat", UNI_SAT_SVG, [ccc.SignerType.BTC], "https://unisat.io/download", context);
94
+ await this.addLinkSigners("UTXO Global Wallet", UTXO_GLOBAL_SVG, [ccc.SignerType.CKB, ccc.SignerType.BTC], "https://chromewebstore.google.com/detail/lnamkkidoonpeknminiadpgjiofpdmle", context);
68
95
  }
69
- async addLinkSigners(wallets, walletName, icon, client, signerTypes, link, onUpdate, configs) {
70
- return this.addSigners(wallets, walletName, icon, signerTypes.map((type) => ({
96
+ async addLinkSigners(walletName, icon, signerTypes, link, context) {
97
+ return this.addSigners(walletName, icon, signerTypes.map((type) => ({
71
98
  name: type,
72
- signer: new ccc.SignerOpenLink(client, type, link),
73
- })), onUpdate, configs);
99
+ signer: new ccc.SignerOpenLink(context.client, type, link),
100
+ })), context);
74
101
  }
75
- async addSigners(wallets, walletName, icon, signers, onUpdate, configs) {
76
- return Promise.all(signers.map(({ signer, name }) => this.addSigner(wallets, walletName, icon, name, signer, onUpdate, configs)));
102
+ async addSigners(walletName, icon, signers, context) {
103
+ return Promise.all(signers.map((signerInfo) => this.addSigner(walletName, icon, signerInfo, context)));
77
104
  }
78
- async addSigner(wallets, walletName, icon, signerName, signer, onUpdate, configs) {
79
- if (!signer) {
80
- return;
81
- }
82
- const signerInfo = { name: signerName, signer };
83
- const signerFilter = configs?.signerFilter;
84
- if (signerFilter &&
85
- !(await signerFilter(signerInfo, { name: walletName, icon }))) {
86
- return;
87
- }
105
+ async addSigner(walletName, icon, signerInfo, { wallets, onUpdate }) {
88
106
  const wallet = wallets.find((w) => w.name === walletName);
89
107
  if (!wallet) {
90
108
  wallets.push({
@@ -1,3 +1,3 @@
1
1
  export * from "./advancedBarrel.js";
2
2
  export * as cccA from "./advancedBarrel.js";
3
- //# sourceMappingURL=advanced.d.ts.map
3
+ //# sourceMappingURL=advanced.d.ts.map
@@ -1,55 +1,30 @@
1
1
  "use strict";
2
- var __createBinding =
3
- (this && this.__createBinding) ||
4
- (Object.create
5
- ? function (o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (
9
- !desc ||
10
- ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)
11
- ) {
12
- desc = {
13
- enumerable: true,
14
- get: function () {
15
- return m[k];
16
- },
17
- };
18
- }
19
- Object.defineProperty(o, k2, desc);
20
- }
21
- : function (o, m, k, k2) {
22
- if (k2 === undefined) k2 = k;
23
- o[k2] = m[k];
24
- });
25
- var __setModuleDefault =
26
- (this && this.__setModuleDefault) ||
27
- (Object.create
28
- ? function (o, v) {
29
- Object.defineProperty(o, "default", { enumerable: true, value: v });
30
- }
31
- : function (o, v) {
32
- o["default"] = v;
33
- });
34
- var __exportStar =
35
- (this && this.__exportStar) ||
36
- function (m, exports) {
37
- for (var p in m)
38
- if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p))
39
- __createBinding(exports, m, p);
40
- };
41
- var __importStar =
42
- (this && this.__importStar) ||
43
- function (mod) {
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
19
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
20
+ };
21
+ var __importStar = (this && this.__importStar) || function (mod) {
44
22
  if (mod && mod.__esModule) return mod;
45
23
  var result = {};
46
- if (mod != null)
47
- for (var k in mod)
48
- if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
49
- __createBinding(result, mod, k);
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
50
25
  __setModuleDefault(result, mod);
51
26
  return result;
52
- };
27
+ };
53
28
  Object.defineProperty(exports, "__esModule", { value: true });
54
29
  exports.cccA = void 0;
55
30
  __exportStar(require("./advancedBarrel.js"), exports);
@@ -4,4 +4,4 @@ export * from "@ckb-ccc/nip07/advanced";
4
4
  export * from "@ckb-ccc/okx/advanced";
5
5
  export * from "@ckb-ccc/uni-sat/advanced";
6
6
  export * from "@ckb-ccc/utxo-global/advanced";
7
- //# sourceMappingURL=advancedBarrel.d.ts.map
7
+ //# sourceMappingURL=advancedBarrel.d.ts.map
@@ -1,34 +1,18 @@
1
1
  "use strict";
2
- var __createBinding =
3
- (this && this.__createBinding) ||
4
- (Object.create
5
- ? function (o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (
9
- !desc ||
10
- ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)
11
- ) {
12
- desc = {
13
- enumerable: true,
14
- get: function () {
15
- return m[k];
16
- },
17
- };
18
- }
19
- Object.defineProperty(o, k2, desc);
20
- }
21
- : function (o, m, k, k2) {
22
- if (k2 === undefined) k2 = k;
23
- o[k2] = m[k];
24
- });
25
- var __exportStar =
26
- (this && this.__exportStar) ||
27
- function (m, exports) {
28
- for (var p in m)
29
- if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p))
30
- __createBinding(exports, m, p);
31
- };
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
32
16
  Object.defineProperty(exports, "__esModule", { value: true });
33
17
  __exportStar(require("@ckb-ccc/core/advancedBarrel"), exports);
34
18
  __exportStar(require("@ckb-ccc/eip6963/advanced"), exports);
@@ -1,2 +1,2 @@
1
1
  export declare const ETH_SVG: string;
2
- //# sourceMappingURL=eth.svg.d.ts.map
2
+ //# sourceMappingURL=eth.svg.d.ts.map
@@ -2,6 +2,4 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ETH_SVG = void 0;
4
4
  const utils_js_1 = require("./utils.js");
5
- exports.ETH_SVG = (0, utils_js_1.encodeSvgToImgSrc)(
6
- '<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_46_558)"><circle cx="16" cy="16" r="16" fill="#627EEA"/><path d="M15.9957 20.4203L9.14282 16.3876L15.9957 5.14258V20.4203Z" fill="white"/><path d="M15.9957 26.8573L9.30029 17.396L15.9957 21.3511V26.8573Z" fill="white"/><path d="M16.2319 20.4203L23.0849 16.3876L16.2319 5.14258V20.4203Z" fill="#C1CCF7"/><path d="M16.3107 26.8573L23.0848 17.396L16.3107 21.3511V26.8573Z" fill="#C1CCF7"/></g><defs><clipPath id="clip0_46_558"><rect width="32" height="32" fill="white"/></clipPath></defs></svg>',
7
- );
5
+ exports.ETH_SVG = (0, utils_js_1.encodeSvgToImgSrc)('<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_46_558)"><circle cx="16" cy="16" r="16" fill="#627EEA"/><path d="M15.9957 20.4203L9.14282 16.3876L15.9957 5.14258V20.4203Z" fill="white"/><path d="M15.9957 26.8573L9.30029 17.396L15.9957 21.3511V26.8573Z" fill="white"/><path d="M16.2319 20.4203L23.0849 16.3876L16.2319 5.14258V20.4203Z" fill="#C1CCF7"/><path d="M16.3107 26.8573L23.0848 17.396L16.3107 21.3511V26.8573Z" fill="#C1CCF7"/></g><defs><clipPath id="clip0_46_558"><rect width="32" height="32" fill="white"/></clipPath></defs></svg>');
@@ -1,2 +1,2 @@
1
1
  export declare const JOY_ID_SVG: string;
2
- //# sourceMappingURL=joy-id.svg.d.ts.map
2
+ //# sourceMappingURL=joy-id.svg.d.ts.map
@@ -2,6 +2,4 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.JOY_ID_SVG = void 0;
4
4
  const utils_js_1 = require("./utils.js");
5
- exports.JOY_ID_SVG = (0, utils_js_1.encodeSvgToImgSrc)(
6
- '<svg xmlns="http://www.w3.org/2000/svg" width="420" height="420" viewBox="0 0 420 420" fill="none"><circle cx="210" cy="210" r="210" fill="#333333"/><path d="M271.127 204.419C279.096 204.419 285.555 197.959 285.555 189.991C285.555 182.022 279.096 175.562 271.127 175.562C263.159 175.562 256.699 182.022 256.699 189.991C256.699 197.959 263.159 204.419 271.127 204.419Z" fill="#8CDD00"/><path d="M173.995 175.562C166.773 175.562 160.91 181.425 160.91 188.648C160.91 195.87 166.773 201.733 173.995 201.733C181.218 201.733 187.081 195.87 187.081 188.648C187.064 181.425 181.218 175.562 173.995 175.562Z" fill="#8CDD00"/><path d="M213.43 164.836L198.969 233.586C197.626 240.006 191.878 244.657 185.327 244.657C181.086 244.657 177.139 242.757 174.47 239.465C172.39 236.894 171.342 233.734 171.391 230.491L145.27 237.238C146.383 244.084 149.2 250.618 153.687 256.203C161.434 265.816 172.963 271.335 185.311 271.335C204.407 271.335 221.111 257.775 225.041 239.089L240.665 164.852H213.43V164.836Z" fill="#C1C1C1"/><path d="M335.83 115.983C327.068 105.19 314.065 99 300.161 99H267.981L262.363 125.662H300.161C305.991 125.662 311.445 128.249 315.113 132.786C318.782 137.306 320.207 143.185 319.011 148.884L313.394 175.562H340.645L345.116 154.387C347.965 140.778 344.592 126.775 335.83 115.983Z" fill="#8CDD00"/><path d="M295.216 261.999C291.285 280.669 274.597 294.212 255.518 294.212H226.875L221.258 320.874H255.518C287.126 320.874 314.803 298.421 321.304 267.485L326.021 245.049H298.77L295.216 261.999Z" fill="#8CDD00"/><path d="M98.8061 152.39L93.9258 175.58H121.177L124.894 157.892C128.825 139.223 145.513 125.679 164.592 125.679H192.04L197.657 99.0176H164.592C132.985 99.0012 105.308 121.454 98.8061 152.39Z" fill="#8CDD00"/><path d="M104.998 287.072C101.33 282.552 99.9049 276.673 101.1 270.974L106.079 247.342L77.2555 254.777L74.9956 265.487C72.1296 279.097 75.5196 293.099 84.2813 303.891C93.0429 314.684 106.046 320.874 119.95 320.874H150.935L156.553 294.212H119.95C114.12 294.196 108.666 291.608 104.998 287.072Z" fill="#8CDD00"/></svg>',
7
- );
5
+ exports.JOY_ID_SVG = (0, utils_js_1.encodeSvgToImgSrc)('<svg xmlns="http://www.w3.org/2000/svg" width="420" height="420" viewBox="0 0 420 420" fill="none"><circle cx="210" cy="210" r="210" fill="#333333"/><path d="M271.127 204.419C279.096 204.419 285.555 197.959 285.555 189.991C285.555 182.022 279.096 175.562 271.127 175.562C263.159 175.562 256.699 182.022 256.699 189.991C256.699 197.959 263.159 204.419 271.127 204.419Z" fill="#8CDD00"/><path d="M173.995 175.562C166.773 175.562 160.91 181.425 160.91 188.648C160.91 195.87 166.773 201.733 173.995 201.733C181.218 201.733 187.081 195.87 187.081 188.648C187.064 181.425 181.218 175.562 173.995 175.562Z" fill="#8CDD00"/><path d="M213.43 164.836L198.969 233.586C197.626 240.006 191.878 244.657 185.327 244.657C181.086 244.657 177.139 242.757 174.47 239.465C172.39 236.894 171.342 233.734 171.391 230.491L145.27 237.238C146.383 244.084 149.2 250.618 153.687 256.203C161.434 265.816 172.963 271.335 185.311 271.335C204.407 271.335 221.111 257.775 225.041 239.089L240.665 164.852H213.43V164.836Z" fill="#C1C1C1"/><path d="M335.83 115.983C327.068 105.19 314.065 99 300.161 99H267.981L262.363 125.662H300.161C305.991 125.662 311.445 128.249 315.113 132.786C318.782 137.306 320.207 143.185 319.011 148.884L313.394 175.562H340.645L345.116 154.387C347.965 140.778 344.592 126.775 335.83 115.983Z" fill="#8CDD00"/><path d="M295.216 261.999C291.285 280.669 274.597 294.212 255.518 294.212H226.875L221.258 320.874H255.518C287.126 320.874 314.803 298.421 321.304 267.485L326.021 245.049H298.77L295.216 261.999Z" fill="#8CDD00"/><path d="M98.8061 152.39L93.9258 175.58H121.177L124.894 157.892C128.825 139.223 145.513 125.679 164.592 125.679H192.04L197.657 99.0176H164.592C132.985 99.0012 105.308 121.454 98.8061 152.39Z" fill="#8CDD00"/><path d="M104.998 287.072C101.33 282.552 99.9049 276.673 101.1 270.974L106.079 247.342L77.2555 254.777L74.9956 265.487C72.1296 279.097 75.5196 293.099 84.2813 303.891C93.0429 314.684 106.046 320.874 119.95 320.874H150.935L156.553 294.212H119.95C114.12 294.196 108.666 291.608 104.998 287.072Z" fill="#8CDD00"/></svg>');
@@ -1,2 +1,2 @@
1
1
  export declare const METAMASK_SVG: string;
2
- //# sourceMappingURL=metamask.svg.d.ts.map
2
+ //# sourceMappingURL=metamask.svg.d.ts.map
@@ -2,6 +2,4 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.METAMASK_SVG = void 0;
4
4
  const utils_js_1 = require("./utils.js");
5
- exports.METAMASK_SVG = (0, utils_js_1.encodeSvgToImgSrc)(
6
- `<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" id="Layer_1" x="0" y="0" version="1.1" viewBox="0 0 318.6 318.6"><style>.st1,.st6{fill:#e4761b;stroke:#e4761b;stroke-linecap:round;stroke-linejoin:round}.st6{fill:#f6851b;stroke:#f6851b}</style><path fill="#e2761b" stroke="#e2761b" stroke-linecap="round" stroke-linejoin="round" d="m274.1 35.5-99.5 73.9L193 65.8z"/><path d="m44.4 35.5 98.7 74.6-17.5-44.3zm193.9 171.3-26.5 40.6 56.7 15.6 16.3-55.3zm-204.4.9L50.1 263l56.7-15.6-26.5-40.6z" class="st1"/><path d="m103.6 138.2-15.8 23.9 56.3 2.5-2-60.5zm111.3 0-39-34.8-1.3 61.2 56.2-2.5zM106.8 247.4l33.8-16.5-29.2-22.8zm71.1-16.5 33.9 16.5-4.7-39.3z" class="st1"/><path fill="#d7c1b3" stroke="#d7c1b3" stroke-linecap="round" stroke-linejoin="round" d="m211.8 247.4-33.9-16.5 2.7 22.1-.3 9.3zm-105 0 31.5 14.9-.2-9.3 2.5-22.1z"/><path fill="#233447" stroke="#233447" stroke-linecap="round" stroke-linejoin="round" d="m138.8 193.5-28.2-8.3 19.9-9.1zm40.9 0 8.3-17.4 20 9.1z"/><path fill="#cd6116" stroke="#cd6116" stroke-linecap="round" stroke-linejoin="round" d="m106.8 247.4 4.8-40.6-31.3.9zM207 206.8l4.8 40.6 26.5-39.7zm23.8-44.7-56.2 2.5 5.2 28.9 8.3-17.4 20 9.1zm-120.2 23.1 20-9.1 8.2 17.4 5.3-28.9-56.3-2.5z"/><path fill="#e4751f" stroke="#e4751f" stroke-linecap="round" stroke-linejoin="round" d="m87.8 162.1 23.6 46-.8-22.9zm120.3 23.1-1 22.9 23.7-46zm-64-20.6-5.3 28.9 6.6 34.1 1.5-44.9zm30.5 0-2.7 18 1.2 45 6.7-34.1z"/><path d="m179.8 193.5-6.7 34.1 4.8 3.3 29.2-22.8 1-22.9zm-69.2-8.3.8 22.9 29.2 22.8 4.8-3.3-6.6-34.1z" class="st6"/><path fill="#c0ad9e" stroke="#c0ad9e" stroke-linecap="round" stroke-linejoin="round" d="m180.3 262.3.3-9.3-2.5-2.2h-37.7l-2.3 2.2.2 9.3-31.5-14.9 11 9 22.3 15.5h38.3l22.4-15.5 11-9z"/><path fill="#161616" stroke="#161616" stroke-linecap="round" stroke-linejoin="round" d="m177.9 230.9-4.8-3.3h-27.7l-4.8 3.3-2.5 22.1 2.3-2.2h37.7l2.5 2.2z"/><path fill="#763d16" stroke="#763d16" stroke-linecap="round" stroke-linejoin="round" d="m278.3 114.2 8.5-40.8-12.7-37.9-96.2 71.4 37 31.3 52.3 15.3 11.6-13.5-5-3.6 8-7.3-6.2-4.8 8-6.1zM31.8 73.4l8.5 40.8-5.4 4 8 6.1-6.1 4.8 8 7.3-5 3.6 11.5 13.5 52.3-15.3 37-31.3-96.2-71.4z"/><path d="m267.2 153.5-52.3-15.3 15.9 23.9-23.7 46 31.2-.4h46.5zm-163.6-15.3-52.3 15.3-17.4 54.2h46.4l31.1.4-23.6-46zm71 26.4 3.3-57.7 15.2-41.1h-67.5l15 41.1 3.5 57.7 1.2 18.2.1 44.8h27.7l.2-44.8z" class="st6"/><script xmlns=""/></svg>`,
7
- );
5
+ exports.METAMASK_SVG = (0, utils_js_1.encodeSvgToImgSrc)(`<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" id="Layer_1" x="0" y="0" version="1.1" viewBox="0 0 318.6 318.6"><style>.st1,.st6{fill:#e4761b;stroke:#e4761b;stroke-linecap:round;stroke-linejoin:round}.st6{fill:#f6851b;stroke:#f6851b}</style><path fill="#e2761b" stroke="#e2761b" stroke-linecap="round" stroke-linejoin="round" d="m274.1 35.5-99.5 73.9L193 65.8z"/><path d="m44.4 35.5 98.7 74.6-17.5-44.3zm193.9 171.3-26.5 40.6 56.7 15.6 16.3-55.3zm-204.4.9L50.1 263l56.7-15.6-26.5-40.6z" class="st1"/><path d="m103.6 138.2-15.8 23.9 56.3 2.5-2-60.5zm111.3 0-39-34.8-1.3 61.2 56.2-2.5zM106.8 247.4l33.8-16.5-29.2-22.8zm71.1-16.5 33.9 16.5-4.7-39.3z" class="st1"/><path fill="#d7c1b3" stroke="#d7c1b3" stroke-linecap="round" stroke-linejoin="round" d="m211.8 247.4-33.9-16.5 2.7 22.1-.3 9.3zm-105 0 31.5 14.9-.2-9.3 2.5-22.1z"/><path fill="#233447" stroke="#233447" stroke-linecap="round" stroke-linejoin="round" d="m138.8 193.5-28.2-8.3 19.9-9.1zm40.9 0 8.3-17.4 20 9.1z"/><path fill="#cd6116" stroke="#cd6116" stroke-linecap="round" stroke-linejoin="round" d="m106.8 247.4 4.8-40.6-31.3.9zM207 206.8l4.8 40.6 26.5-39.7zm23.8-44.7-56.2 2.5 5.2 28.9 8.3-17.4 20 9.1zm-120.2 23.1 20-9.1 8.2 17.4 5.3-28.9-56.3-2.5z"/><path fill="#e4751f" stroke="#e4751f" stroke-linecap="round" stroke-linejoin="round" d="m87.8 162.1 23.6 46-.8-22.9zm120.3 23.1-1 22.9 23.7-46zm-64-20.6-5.3 28.9 6.6 34.1 1.5-44.9zm30.5 0-2.7 18 1.2 45 6.7-34.1z"/><path d="m179.8 193.5-6.7 34.1 4.8 3.3 29.2-22.8 1-22.9zm-69.2-8.3.8 22.9 29.2 22.8 4.8-3.3-6.6-34.1z" class="st6"/><path fill="#c0ad9e" stroke="#c0ad9e" stroke-linecap="round" stroke-linejoin="round" d="m180.3 262.3.3-9.3-2.5-2.2h-37.7l-2.3 2.2.2 9.3-31.5-14.9 11 9 22.3 15.5h38.3l22.4-15.5 11-9z"/><path fill="#161616" stroke="#161616" stroke-linecap="round" stroke-linejoin="round" d="m177.9 230.9-4.8-3.3h-27.7l-4.8 3.3-2.5 22.1 2.3-2.2h37.7l2.5 2.2z"/><path fill="#763d16" stroke="#763d16" stroke-linecap="round" stroke-linejoin="round" d="m278.3 114.2 8.5-40.8-12.7-37.9-96.2 71.4 37 31.3 52.3 15.3 11.6-13.5-5-3.6 8-7.3-6.2-4.8 8-6.1zM31.8 73.4l8.5 40.8-5.4 4 8 6.1-6.1 4.8 8 7.3-5 3.6 11.5 13.5 52.3-15.3 37-31.3-96.2-71.4z"/><path d="m267.2 153.5-52.3-15.3 15.9 23.9-23.7 46 31.2-.4h46.5zm-163.6-15.3-52.3 15.3-17.4 54.2h46.4l31.1.4-23.6-46zm71 26.4 3.3-57.7 15.2-41.1h-67.5l15 41.1 3.5 57.7 1.2 18.2.1 44.8h27.7l.2-44.8z" class="st6"/><script xmlns=""/></svg>`);
@@ -1,2 +1,2 @@
1
1
  export declare const NOSTR_SVG: string;
2
- //# sourceMappingURL=nostr.svg.d.ts.map
2
+ //# sourceMappingURL=nostr.svg.d.ts.map
@@ -2,6 +2,4 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.NOSTR_SVG = void 0;
4
4
  const utils_js_1 = require("./utils.js");
5
- exports.NOSTR_SVG = (0, utils_js_1.encodeSvgToImgSrc)(
6
- '<svg version="1.1" id="_8" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 256 256" style="enable-background:new 0 0 256 256;" xml:space="preserve"><style type="text/css">.st0{fill:none;} .st1{fill:#FFFFFF;} .st2{fill:#662482;}</style><g><path class="st0" d="M0,0v256h256V0H0z M231.2,159.2c0,20.7,0,31.1-3.5,42.2c-4.4,12.2-14,21.8-26.2,26.2 c-11.1,3.5-21.5,3.5-42.2,3.5H96.8c-20.7,0-31.1,0-42.2-3.5c-12.2-4.4-21.8-14-26.2-26.2c-3.5-11.1-3.5-21.5-3.5-42.2V96.8 c0-20.7,0-31.1,3.5-42.2c4.4-12.2,14-21.8,26.2-26.2c11.2-3.5,21.5-3.5,42.2-3.5h62.5c20.7,0,31.1,0,42.2,3.5 c12.2,4.4,21.8,14,26.2,26.2c3.5,11.1,3.5,21.5,3.5,42.2V159.2z"/> <circle class="st1" cx="137.9" cy="99" r="12.1"/><path class="st1" d="M210.8,115.9c0-47.3-27.7-68.7-64.4-68.7c-16.4,0-31,4.4-42.4,12.5c-3.8,2.7-9,0.1-9-4.5 c0-3.1-2.5-5.7-5.7-5.7H57.7c-3.1,0-5.7,2.5-5.7,5.7v144c0,3.1,2.5,5.7,5.7,5.7h33.7c3.1,0,5.6-2.5,5.6-5.6v-8.4 c0-62.8-33.2-109.8-0.4-116c30-5.7,64.1-3,64.5,20.1c0,2,0.3,8,8.6,11.2c5,2,12.6,2.6,22.6,2.4c0,0,9.1-0.7,9.1,8.5 c0,11.5-20.4,10.7-20.4,10.7c-6.7,0.3-22.6-1.5-31.7,1.2c-4.8,1.5-9,4.2-11.5,9.1c-4.2,8.3-6.2,26.5-6.5,45.5v15.5 c0,3.1,2.5,5.7,5.7,5.7h68c3.1,0,5.7-2.5,5.7-5.7l0,0V115.9z"/><path class="st2" d="M227.6,54.6c-4.4-12.2-14-21.8-26.2-26.2c-11.1-3.5-21.5-3.5-42.2-3.5H96.8c-20.7,0-31.1,0-42.2,3.5 c-12.2,4.4-21.8,14-26.2,26.2c-3.5,11.2-3.5,21.5-3.5,42.2v62.5c0,20.7,0,31.1,3.5,42.2c4.4,12.2,14,21.8,26.2,26.2 c11.2,3.5,21.5,3.5,42.2,3.5h62.5c20.7,0,31.1,0,42.2-3.5c12.2-4.4,21.8-14,26.2-26.2c3.5-11.1,3.5-21.5,3.5-42.2V96.8 C231.2,76.1,231.2,65.7,227.6,54.6z M205.1,204.8h-68c-3.1,0-5.7-2.5-5.7-5.7v-15.5c0.3-19,2.3-37.2,6.5-45.5 c2.5-5,6.7-7.7,11.5-9.1c9-2.7,24.9-0.9,31.7-1.2c0,0,20.4,0.8,20.4-10.7c0-9.3-9.1-8.5-9.1-8.5c-10,0.3-17.7-0.4-22.6-2.4 c-8.3-3.3-8.6-9.2-8.6-11.2c-0.4-23.1-34.5-25.9-64.5-20.1c-32.8,6.2,0.4,53.3,0.4,116v8.4c-0.1,3.1-2.5,5.6-5.6,5.6H57.7 c-3.1,0-5.7-2.5-5.7-5.7v-144c0-3.1,2.5-5.7,5.7-5.7h31.7c3.1,0,5.7,2.5,5.7,5.7c0,4.7,5.2,7.2,9,4.5c11.4-8.2,26-12.5,42.4-12.5 c36.7,0,64.4,21.4,64.4,68.7v83.2l0,0C210.8,202.3,208.3,204.8,205.1,204.8z M125.7,99c0-6.7,5.4-12.1,12.1-12.1S150,92.3,150,99 s-5.4,12.1-12.1,12.1S125.7,105.8,125.7,99z"/></g></svg>',
7
- );
5
+ exports.NOSTR_SVG = (0, utils_js_1.encodeSvgToImgSrc)('<svg version="1.1" id="_8" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 256 256" style="enable-background:new 0 0 256 256;" xml:space="preserve"><style type="text/css">.st0{fill:none;} .st1{fill:#FFFFFF;} .st2{fill:#662482;}</style><g><path class="st0" d="M0,0v256h256V0H0z M231.2,159.2c0,20.7,0,31.1-3.5,42.2c-4.4,12.2-14,21.8-26.2,26.2 c-11.1,3.5-21.5,3.5-42.2,3.5H96.8c-20.7,0-31.1,0-42.2-3.5c-12.2-4.4-21.8-14-26.2-26.2c-3.5-11.1-3.5-21.5-3.5-42.2V96.8 c0-20.7,0-31.1,3.5-42.2c4.4-12.2,14-21.8,26.2-26.2c11.2-3.5,21.5-3.5,42.2-3.5h62.5c20.7,0,31.1,0,42.2,3.5 c12.2,4.4,21.8,14,26.2,26.2c3.5,11.1,3.5,21.5,3.5,42.2V159.2z"/> <circle class="st1" cx="137.9" cy="99" r="12.1"/><path class="st1" d="M210.8,115.9c0-47.3-27.7-68.7-64.4-68.7c-16.4,0-31,4.4-42.4,12.5c-3.8,2.7-9,0.1-9-4.5 c0-3.1-2.5-5.7-5.7-5.7H57.7c-3.1,0-5.7,2.5-5.7,5.7v144c0,3.1,2.5,5.7,5.7,5.7h33.7c3.1,0,5.6-2.5,5.6-5.6v-8.4 c0-62.8-33.2-109.8-0.4-116c30-5.7,64.1-3,64.5,20.1c0,2,0.3,8,8.6,11.2c5,2,12.6,2.6,22.6,2.4c0,0,9.1-0.7,9.1,8.5 c0,11.5-20.4,10.7-20.4,10.7c-6.7,0.3-22.6-1.5-31.7,1.2c-4.8,1.5-9,4.2-11.5,9.1c-4.2,8.3-6.2,26.5-6.5,45.5v15.5 c0,3.1,2.5,5.7,5.7,5.7h68c3.1,0,5.7-2.5,5.7-5.7l0,0V115.9z"/><path class="st2" d="M227.6,54.6c-4.4-12.2-14-21.8-26.2-26.2c-11.1-3.5-21.5-3.5-42.2-3.5H96.8c-20.7,0-31.1,0-42.2,3.5 c-12.2,4.4-21.8,14-26.2,26.2c-3.5,11.2-3.5,21.5-3.5,42.2v62.5c0,20.7,0,31.1,3.5,42.2c4.4,12.2,14,21.8,26.2,26.2 c11.2,3.5,21.5,3.5,42.2,3.5h62.5c20.7,0,31.1,0,42.2-3.5c12.2-4.4,21.8-14,26.2-26.2c3.5-11.1,3.5-21.5,3.5-42.2V96.8 C231.2,76.1,231.2,65.7,227.6,54.6z M205.1,204.8h-68c-3.1,0-5.7-2.5-5.7-5.7v-15.5c0.3-19,2.3-37.2,6.5-45.5 c2.5-5,6.7-7.7,11.5-9.1c9-2.7,24.9-0.9,31.7-1.2c0,0,20.4,0.8,20.4-10.7c0-9.3-9.1-8.5-9.1-8.5c-10,0.3-17.7-0.4-22.6-2.4 c-8.3-3.3-8.6-9.2-8.6-11.2c-0.4-23.1-34.5-25.9-64.5-20.1c-32.8,6.2,0.4,53.3,0.4,116v8.4c-0.1,3.1-2.5,5.6-5.6,5.6H57.7 c-3.1,0-5.7-2.5-5.7-5.7v-144c0-3.1,2.5-5.7,5.7-5.7h31.7c3.1,0,5.7,2.5,5.7,5.7c0,4.7,5.2,7.2,9,4.5c11.4-8.2,26-12.5,42.4-12.5 c36.7,0,64.4,21.4,64.4,68.7v83.2l0,0C210.8,202.3,208.3,204.8,205.1,204.8z M125.7,99c0-6.7,5.4-12.1,12.1-12.1S150,92.3,150,99 s-5.4,12.1-12.1,12.1S125.7,105.8,125.7,99z"/></g></svg>');
@@ -1,2 +1,2 @@
1
1
  export declare const OKX_SVG: string;
2
- //# sourceMappingURL=okx.svg.d.ts.map
2
+ //# sourceMappingURL=okx.svg.d.ts.map
@@ -2,6 +2,4 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.OKX_SVG = void 0;
4
4
  const utils_js_1 = require("./utils.js");
5
- exports.OKX_SVG = (0, utils_js_1.encodeSvgToImgSrc)(
6
- '<svg width="1000" height="1000" viewBox="0 0 1000 1000" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="1000" height="1000" fill="black"/><path fill-rule="evenodd" clip-rule="evenodd" d="M393.949 218.518H231.049C224.129 218.518 218.519 224.128 218.519 231.048V393.948C218.519 400.869 224.129 406.479 231.049 406.479H393.949C400.87 406.479 406.48 400.869 406.48 393.948V231.048C406.48 224.128 400.87 218.518 393.949 218.518ZM581.992 406.479H419.092C412.172 406.479 406.561 412.09 406.561 419.01V581.91C406.561 588.831 412.172 594.441 419.092 594.441H581.992C588.913 594.441 594.523 588.831 594.523 581.91V419.01C594.523 412.09 588.913 406.479 581.992 406.479ZM606.974 218.518H769.874C776.794 218.518 782.405 224.128 782.405 231.048V393.948C782.405 400.869 776.794 406.479 769.874 406.479H606.974C600.053 406.479 594.443 400.869 594.443 393.948V231.048C594.443 224.128 600.053 218.518 606.974 218.518ZM393.95 594.442H231.049C224.129 594.442 218.519 600.052 218.519 606.973V769.873C218.519 776.793 224.129 782.404 231.049 782.404H393.95C400.87 782.404 406.48 776.793 406.48 769.873V606.973C406.48 600.052 400.87 594.442 393.95 594.442ZM606.974 594.442H769.874C776.794 594.442 782.405 600.052 782.405 606.973V769.873C782.405 776.793 776.794 782.404 769.874 782.404H606.974C600.053 782.404 594.443 776.793 594.443 769.873V606.973C594.443 600.052 600.053 594.442 606.974 594.442Z" fill="white"/></svg>',
7
- );
5
+ exports.OKX_SVG = (0, utils_js_1.encodeSvgToImgSrc)('<svg width="1000" height="1000" viewBox="0 0 1000 1000" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="1000" height="1000" fill="black"/><path fill-rule="evenodd" clip-rule="evenodd" d="M393.949 218.518H231.049C224.129 218.518 218.519 224.128 218.519 231.048V393.948C218.519 400.869 224.129 406.479 231.049 406.479H393.949C400.87 406.479 406.48 400.869 406.48 393.948V231.048C406.48 224.128 400.87 218.518 393.949 218.518ZM581.992 406.479H419.092C412.172 406.479 406.561 412.09 406.561 419.01V581.91C406.561 588.831 412.172 594.441 419.092 594.441H581.992C588.913 594.441 594.523 588.831 594.523 581.91V419.01C594.523 412.09 588.913 406.479 581.992 406.479ZM606.974 218.518H769.874C776.794 218.518 782.405 224.128 782.405 231.048V393.948C782.405 400.869 776.794 406.479 769.874 406.479H606.974C600.053 406.479 594.443 400.869 594.443 393.948V231.048C594.443 224.128 600.053 218.518 606.974 218.518ZM393.95 594.442H231.049C224.129 594.442 218.519 600.052 218.519 606.973V769.873C218.519 776.793 224.129 782.404 231.049 782.404H393.95C400.87 782.404 406.48 776.793 406.48 769.873V606.973C406.48 600.052 400.87 594.442 393.95 594.442ZM606.974 594.442H769.874C776.794 594.442 782.405 600.052 782.405 606.973V769.873C782.405 776.793 776.794 782.404 769.874 782.404H606.974C600.053 782.404 594.443 776.793 594.443 769.873V606.973C594.443 600.052 600.053 594.442 606.974 594.442Z" fill="white"/></svg>');
@@ -0,0 +1,2 @@
1
+ export declare const REI_SVG: string;
2
+ //# sourceMappingURL=rei.svg.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rei.svg.d.ts","sourceRoot":"","sources":["../../src/assets/rei.svg.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,QAEnB,CAAC"}
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.REI_SVG = void 0;
4
+ const utils_js_1 = require("./utils.js");
5
+ exports.REI_SVG = (0, utils_js_1.encodeSvgToImgSrc)('<svg id="layer2" data-name="layer2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 88.24 70.95"><defs><style>.cls-1{fill:url(#linear_9)}.cls-2{fill:rgba(155,84,168,0)}</style><linearGradient id="linear_9" data-name="linear 9" x1="216.98" y1="-423.81" x2="170.95" y2="319.28" gradientTransform="translate(18.94 29.12) scale(.09 -.09)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#01f395"/><stop offset="1" stop-color="#01b56a"/></linearGradient></defs><g id="layer1" data-name="layer1"><g><rect class="cls-2" width="88.24" height="70.95"/><g><path class="cls-1" d="m19.08,0H4.9l49.8,70.95h14.19L19.08,0Z"/><path d="m69.08,44.08c9.93-2.84,16.92-9.85,16.92-21.5v-.2c0-6.18-2.12-11.44-5.87-15.29-4.56-4.45-11.54-7.08-20.46-7.08H24.09l7.97,11.37h26.59c9.22,0,14.7,4.12,14.7,11.72v.2c0,7.19-5.68,11.86-14.6,11.86h-9.98l25.11,35.79h14.37l-19.16-26.87Z"/><path d="m0,20.16l35.64,50.78h14.19L14.19,20.16H0Z"/></g></g></g></svg>');
@@ -1,2 +1,2 @@
1
1
  export declare const UNI_SAT_SVG: string;
2
- //# sourceMappingURL=uni-sat.svg.d.ts.map
2
+ //# sourceMappingURL=uni-sat.svg.d.ts.map
@@ -2,6 +2,4 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UNI_SAT_SVG = void 0;
4
4
  const utils_js_1 = require("./utils.js");
5
- exports.UNI_SAT_SVG = (0, utils_js_1.encodeSvgToImgSrc)(
6
- '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 115.77 147.7" xmlns:v="https://vecta.io/nano"><defs><linearGradient id="A" x1="106.985" y1="30.78" x2="13.053" y2="72.524" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#201c1b"/><stop offset=".36" stop-color="#77390d"/><stop offset=".67" stop-color="#ea8101"/><stop offset="1" stop-color="#f4b852"/></linearGradient><linearGradient id="B" x1="11.381" y1="118.167" x2="120.232" y2="85.771" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#1f1d1c"/><stop offset=".37" stop-color="#77390d"/><stop offset=".67" stop-color="#ea8101"/><stop offset="1" stop-color="#f4fb52"/></linearGradient><radialGradient id="C" cx="53.01" cy="45.84" fx="53.01" fy="45.84" r="11.13" gradientTransform="translate(0 0)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#f4b852"/><stop offset=".33" stop-color="#ea8101"/><stop offset=".64" stop-color="#77390d"/><stop offset="1" stop-color="#211c1d"/></radialGradient></defs><path d="M81.66 13.29l30.31 30.02c2.58 2.55 3.85 5.13 3.81 7.73s-1.15 4.97-3.32 7.12c-2.27 2.25-4.72 3.39-7.34 3.44-2.62.04-5.22-1.22-7.8-3.77l-31-30.7c-3.52-3.49-6.92-5.96-10.19-7.41s-6.71-1.68-10.31-.68c-3.61.99-7.48 3.54-11.63 7.64-5.72 5.67-8.45 10.99-8.17 15.96s3.12 10.13 8.51 15.46l31.25 30.96c2.61 2.58 3.89 5.16 3.85 7.72-.04 2.57-1.16 4.94-3.37 7.13-2.2 2.18-4.63 3.32-7.27 3.41s-5.27-1.16-7.87-3.74L20.81 73.56c-4.93-4.88-8.49-9.5-10.68-13.86s-3.01-9.29-2.44-14.79c.51-4.71 2.02-9.27 4.54-13.69 2.51-4.42 6.11-8.94 10.78-13.57 5.56-5.51 10.87-9.73 15.93-12.67C43.99 2.04 48.88.41 53.6.07c4.73-.34 9.39.6 14 2.82s9.29 5.68 14.05 10.4z" fill="url(#A)"/><path d="M34.11 134.42L3.81 104.4C1.23 101.84-.04 99.27 0 96.67s1.15-4.97 3.32-7.12c2.27-2.25 4.72-3.39 7.34-3.44 2.62-.04 5.22 1.21 7.8 3.77l30.99 30.7c3.53 3.49 6.92 5.96 10.19 7.41s6.71 1.67 10.32.68 7.48-3.54 11.63-7.65c5.72-5.67 8.45-10.99 8.17-15.96s-3.12-10.13-8.51-15.47L64.6 73.24c-2.61-2.58-3.89-5.16-3.85-7.72.04-2.57 1.16-4.94 3.37-7.13 2.2-2.18 4.63-3.32 7.27-3.41s5.27 1.16 7.87 3.74l15.7 15.41c4.93 4.88 8.49 9.5 10.68 13.86s3.01 9.29 2.44 14.79c-.51 4.71-2.02 9.27-4.54 13.69-2.51 4.42-6.11 8.94-10.78 13.57-5.56 5.51-10.87 9.73-15.93 12.67s-9.95 4.58-14.68 4.92-9.39-.6-14-2.82-9.29-5.68-14.05-10.4z" fill="url(#B)"/><circle cx="53.01" cy="45.83" r="11.13" fill="url(#C)"/></svg>',
7
- );
5
+ exports.UNI_SAT_SVG = (0, utils_js_1.encodeSvgToImgSrc)('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 115.77 147.7" xmlns:v="https://vecta.io/nano"><defs><linearGradient id="A" x1="106.985" y1="30.78" x2="13.053" y2="72.524" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#201c1b"/><stop offset=".36" stop-color="#77390d"/><stop offset=".67" stop-color="#ea8101"/><stop offset="1" stop-color="#f4b852"/></linearGradient><linearGradient id="B" x1="11.381" y1="118.167" x2="120.232" y2="85.771" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#1f1d1c"/><stop offset=".37" stop-color="#77390d"/><stop offset=".67" stop-color="#ea8101"/><stop offset="1" stop-color="#f4fb52"/></linearGradient><radialGradient id="C" cx="53.01" cy="45.84" fx="53.01" fy="45.84" r="11.13" gradientTransform="translate(0 0)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#f4b852"/><stop offset=".33" stop-color="#ea8101"/><stop offset=".64" stop-color="#77390d"/><stop offset="1" stop-color="#211c1d"/></radialGradient></defs><path d="M81.66 13.29l30.31 30.02c2.58 2.55 3.85 5.13 3.81 7.73s-1.15 4.97-3.32 7.12c-2.27 2.25-4.72 3.39-7.34 3.44-2.62.04-5.22-1.22-7.8-3.77l-31-30.7c-3.52-3.49-6.92-5.96-10.19-7.41s-6.71-1.68-10.31-.68c-3.61.99-7.48 3.54-11.63 7.64-5.72 5.67-8.45 10.99-8.17 15.96s3.12 10.13 8.51 15.46l31.25 30.96c2.61 2.58 3.89 5.16 3.85 7.72-.04 2.57-1.16 4.94-3.37 7.13-2.2 2.18-4.63 3.32-7.27 3.41s-5.27-1.16-7.87-3.74L20.81 73.56c-4.93-4.88-8.49-9.5-10.68-13.86s-3.01-9.29-2.44-14.79c.51-4.71 2.02-9.27 4.54-13.69 2.51-4.42 6.11-8.94 10.78-13.57 5.56-5.51 10.87-9.73 15.93-12.67C43.99 2.04 48.88.41 53.6.07c4.73-.34 9.39.6 14 2.82s9.29 5.68 14.05 10.4z" fill="url(#A)"/><path d="M34.11 134.42L3.81 104.4C1.23 101.84-.04 99.27 0 96.67s1.15-4.97 3.32-7.12c2.27-2.25 4.72-3.39 7.34-3.44 2.62-.04 5.22 1.21 7.8 3.77l30.99 30.7c3.53 3.49 6.92 5.96 10.19 7.41s6.71 1.67 10.32.68 7.48-3.54 11.63-7.65c5.72-5.67 8.45-10.99 8.17-15.96s-3.12-10.13-8.51-15.47L64.6 73.24c-2.61-2.58-3.89-5.16-3.85-7.72.04-2.57 1.16-4.94 3.37-7.13 2.2-2.18 4.63-3.32 7.27-3.41s5.27 1.16 7.87 3.74l15.7 15.41c4.93 4.88 8.49 9.5 10.68 13.86s3.01 9.29 2.44 14.79c-.51 4.71-2.02 9.27-4.54 13.69-2.51 4.42-6.11 8.94-10.78 13.57-5.56 5.51-10.87 9.73-15.93 12.67s-9.95 4.58-14.68 4.92-9.39-.6-14-2.82-9.29-5.68-14.05-10.4z" fill="url(#B)"/><circle cx="53.01" cy="45.83" r="11.13" fill="url(#C)"/></svg>');
@@ -1,2 +1,2 @@
1
1
  export declare function encodeSvgToImgSrc(svg: string): string;
2
- //# sourceMappingURL=utils.d.ts.map
2
+ //# sourceMappingURL=utils.d.ts.map