@openreceive/browser 0.1.0 → 0.1.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.
package/dist/internal.js CHANGED
@@ -1,6 +1,4 @@
1
- import { getAssets, getCountries, getCountryRoutes, getPaymentWizardRoutes } from "@openreceive/provider-data";
2
- import { openReceivePayTutorialUrls } from "./pay-tutorials.js";
3
- import { openReceiveProviderIconUrls } from "./provider-icons.js";
1
+ import { getAssets, getCountries, getCountryRoutes, getPaymentWizardRoutes, openReceivePayTutorialUrls, openReceiveProviderIconUrls } from "@openreceive/provider-data";
4
2
  import { status as deriveStatus } from "./status.js";
5
3
  export { status } from "./status.js";
6
4
  export const OPENRECEIVE_QR_QUIET_ZONE_MODULES = 4;
@@ -1 +1 @@
1
- export declare const openReceivePayTutorialUrls: Readonly<Record<string, string>>;
1
+ export { openReceivePayTutorialUrls } from "@openreceive/provider-data";
@@ -1,42 +1 @@
1
- const cashappTutorial1 = new URL("./assets/pay_tutorials/cashapp-1.webp", import.meta.url).href;
2
- const cashappTutorial2 = new URL("./assets/pay_tutorials/cashapp-2.webp", import.meta.url).href;
3
- const cashappTutorial3 = new URL("./assets/pay_tutorials/cashapp-3.webp", import.meta.url).href;
4
- const cashappTutorial4 = new URL("./assets/pay_tutorials/cashapp-4.webp", import.meta.url).href;
5
- const cashappTutorial5 = new URL("./assets/pay_tutorials/cashapp-5.webp", import.meta.url).href;
6
- const cashappTutorial6 = new URL("./assets/pay_tutorials/cashapp-6.webp", import.meta.url).href;
7
- const boltzTutorial1 = new URL("./assets/pay_tutorials/boltz-1.webp", import.meta.url).href;
8
- const boltzTutorial2 = new URL("./assets/pay_tutorials/boltz-2.webp", import.meta.url).href;
9
- const coinbaseTutorial1 = new URL("./assets/pay_tutorials/coinbase-1.webp", import.meta.url).href;
10
- const coinbaseTutorial2 = new URL("./assets/pay_tutorials/coinbase-2.webp", import.meta.url).href;
11
- const fixedfloatTutorial1 = new URL("./assets/pay_tutorials/fixedfloat-1.webp", import.meta.url).href;
12
- const fixedfloatTutorial2 = new URL("./assets/pay_tutorials/fixedfloat-2.webp", import.meta.url).href;
13
- const krakenTutorial1 = new URL("./assets/pay_tutorials/kraken-1.webp", import.meta.url).href;
14
- const krakenTutorial2 = new URL("./assets/pay_tutorials/kraken-2.webp", import.meta.url).href;
15
- const krakenTutorial3 = new URL("./assets/pay_tutorials/kraken-3.webp", import.meta.url).href;
16
- const krakenTutorial4 = new URL("./assets/pay_tutorials/kraken-4.webp", import.meta.url).href;
17
- const strikeTutorial1 = new URL("./assets/pay_tutorials/strike-1.webp", import.meta.url).href;
18
- const strikeTutorial2 = new URL("./assets/pay_tutorials/strike-2.webp", import.meta.url).href;
19
- const strikeTutorial3 = new URL("./assets/pay_tutorials/strike-3.webp", import.meta.url).href;
20
- const strikeTutorial4 = new URL("./assets/pay_tutorials/strike-4.webp", import.meta.url).href;
21
- export const openReceivePayTutorialUrls = {
22
- "assets/pay_tutorials/cashapp-1.webp": cashappTutorial1,
23
- "assets/pay_tutorials/cashapp-2.webp": cashappTutorial2,
24
- "assets/pay_tutorials/cashapp-3.webp": cashappTutorial3,
25
- "assets/pay_tutorials/cashapp-4.webp": cashappTutorial4,
26
- "assets/pay_tutorials/cashapp-5.webp": cashappTutorial5,
27
- "assets/pay_tutorials/cashapp-6.webp": cashappTutorial6,
28
- "assets/pay_tutorials/boltz-1.webp": boltzTutorial1,
29
- "assets/pay_tutorials/boltz-2.webp": boltzTutorial2,
30
- "assets/pay_tutorials/coinbase-1.webp": coinbaseTutorial1,
31
- "assets/pay_tutorials/coinbase-2.webp": coinbaseTutorial2,
32
- "assets/pay_tutorials/fixedfloat-1.webp": fixedfloatTutorial1,
33
- "assets/pay_tutorials/fixedfloat-2.webp": fixedfloatTutorial2,
34
- "assets/pay_tutorials/kraken-1.webp": krakenTutorial1,
35
- "assets/pay_tutorials/kraken-2.webp": krakenTutorial2,
36
- "assets/pay_tutorials/kraken-3.webp": krakenTutorial3,
37
- "assets/pay_tutorials/kraken-4.webp": krakenTutorial4,
38
- "assets/pay_tutorials/strike-1.webp": strikeTutorial1,
39
- "assets/pay_tutorials/strike-2.webp": strikeTutorial2,
40
- "assets/pay_tutorials/strike-3.webp": strikeTutorial3,
41
- "assets/pay_tutorials/strike-4.webp": strikeTutorial4
42
- };
1
+ export { openReceivePayTutorialUrls } from "@openreceive/provider-data";
@@ -1 +1 @@
1
- export declare const openReceiveProviderIconUrls: Readonly<Record<string, string>>;
1
+ export { openReceiveProviderIconUrls } from "@openreceive/provider-data";
@@ -1,84 +1 @@
1
- const aquaIcon = new URL("./assets/provider-icons/aqua.png", import.meta.url).href;
2
- const beloIcon = new URL("./assets/provider-icons/belo.png", import.meta.url).href;
3
- const binanceIcon = new URL("./assets/provider-icons/binance.png", import.meta.url).href;
4
- const bipaIcon = new URL("./assets/provider-icons/bipa.png", import.meta.url).href;
5
- const bitfinexIcon = new URL("./assets/provider-icons/bitfinex.png", import.meta.url).href;
6
- const bitgetIcon = new URL("./assets/provider-icons/bitget.png", import.meta.url).href;
7
- const bitnobIcon = new URL("./assets/provider-icons/bitnob.png", import.meta.url).href;
8
- const bitsoIcon = new URL("./assets/provider-icons/bitso.png", import.meta.url).href;
9
- const bityIcon = new URL("./assets/provider-icons/bity.png", import.meta.url).href;
10
- const blinkIcon = new URL("./assets/provider-icons/blink.png", import.meta.url).href;
11
- const bluewalletIcon = new URL("./assets/provider-icons/bluewallet.png", import.meta.url).href;
12
- const boltzIcon = new URL("./assets/provider-icons/boltz.png", import.meta.url).href;
13
- const bringinIcon = new URL("./assets/provider-icons/bringin.png", import.meta.url).href;
14
- const bullbitcoinIcon = new URL("./assets/provider-icons/bullbitcoin.png", import.meta.url).href;
15
- const cakewalletIcon = new URL("./assets/provider-icons/cakewallet.png", import.meta.url).href;
16
- const cashappIcon = new URL("./assets/provider-icons/cashapp.png", import.meta.url).href;
17
- const changenowIcon = new URL("./assets/provider-icons/changenow.png", import.meta.url).href;
18
- const chivoIcon = new URL("./assets/provider-icons/chivo.png", import.meta.url).href;
19
- const coinbaseIcon = new URL("./assets/provider-icons/coinbase.png", import.meta.url).href;
20
- const coincornerIcon = new URL("./assets/provider-icons/coincorner.png", import.meta.url).href;
21
- const fixedfloatIcon = new URL("./assets/provider-icons/fixedfloat.png", import.meta.url).href;
22
- const getalbyIcon = new URL("./assets/provider-icons/getalby.png", import.meta.url).href;
23
- const krakenIcon = new URL("./assets/provider-icons/kraken.png", import.meta.url).href;
24
- const kryptexIcon = new URL("./assets/provider-icons/kryptex.png", import.meta.url).href;
25
- const kucoinIcon = new URL("./assets/provider-icons/kucoin.png", import.meta.url).href;
26
- const mtpelerinIcon = new URL("./assets/provider-icons/mtpelerin.png", import.meta.url).href;
27
- const okcoinIcon = new URL("./assets/provider-icons/okcoin.png", import.meta.url).href;
28
- const okxIcon = new URL("./assets/provider-icons/okx.png", import.meta.url).href;
29
- const phoenixIcon = new URL("./assets/provider-icons/phoenix.png", import.meta.url).href;
30
- const pouchIcon = new URL("./assets/provider-icons/pouch.png", import.meta.url).href;
31
- const ripioIcon = new URL("./assets/provider-icons/ripio.png", import.meta.url).href;
32
- const riverIcon = new URL("./assets/provider-icons/river.png", import.meta.url).href;
33
- const rizfulIcon = new URL("./assets/provider-icons/rizful.png", import.meta.url).href;
34
- const shakepayIcon = new URL("./assets/provider-icons/shakepay.png", import.meta.url).href;
35
- const sideshiftIcon = new URL("./assets/provider-icons/sideshift.png", import.meta.url).href;
36
- const simpleswapIcon = new URL("./assets/provider-icons/simpleswap.png", import.meta.url).href;
37
- const speedIcon = new URL("./assets/provider-icons/speed.png", import.meta.url).href;
38
- const strikeIcon = new URL("./assets/provider-icons/strike.png", import.meta.url).href;
39
- const trocadorIcon = new URL("./assets/provider-icons/trocador.png", import.meta.url).href;
40
- const walletofsatoshiIcon = new URL("./assets/provider-icons/walletofsatoshi.png", import.meta.url).href;
41
- const zeusIcon = new URL("./assets/provider-icons/zeus.png", import.meta.url).href;
42
- export const openReceiveProviderIconUrls = {
43
- "assets/provider-icons/aqua.png": aquaIcon,
44
- "assets/provider-icons/belo.png": beloIcon,
45
- "assets/provider-icons/binance.png": binanceIcon,
46
- "assets/provider-icons/bipa.png": bipaIcon,
47
- "assets/provider-icons/bitfinex.png": bitfinexIcon,
48
- "assets/provider-icons/bitget.png": bitgetIcon,
49
- "assets/provider-icons/bitnob.png": bitnobIcon,
50
- "assets/provider-icons/bitso.png": bitsoIcon,
51
- "assets/provider-icons/bity.png": bityIcon,
52
- "assets/provider-icons/blink.png": blinkIcon,
53
- "assets/provider-icons/bluewallet.png": bluewalletIcon,
54
- "assets/provider-icons/boltz.png": boltzIcon,
55
- "assets/provider-icons/bringin.png": bringinIcon,
56
- "assets/provider-icons/bullbitcoin.png": bullbitcoinIcon,
57
- "assets/provider-icons/cakewallet.png": cakewalletIcon,
58
- "assets/provider-icons/cashapp.png": cashappIcon,
59
- "assets/provider-icons/changenow.png": changenowIcon,
60
- "assets/provider-icons/chivo.png": chivoIcon,
61
- "assets/provider-icons/coinbase.png": coinbaseIcon,
62
- "assets/provider-icons/coincorner.png": coincornerIcon,
63
- "assets/provider-icons/fixedfloat.png": fixedfloatIcon,
64
- "assets/provider-icons/getalby.png": getalbyIcon,
65
- "assets/provider-icons/kraken.png": krakenIcon,
66
- "assets/provider-icons/kryptex.png": kryptexIcon,
67
- "assets/provider-icons/kucoin.png": kucoinIcon,
68
- "assets/provider-icons/mtpelerin.png": mtpelerinIcon,
69
- "assets/provider-icons/okcoin.png": okcoinIcon,
70
- "assets/provider-icons/okx.png": okxIcon,
71
- "assets/provider-icons/phoenix.png": phoenixIcon,
72
- "assets/provider-icons/pouch.png": pouchIcon,
73
- "assets/provider-icons/ripio.png": ripioIcon,
74
- "assets/provider-icons/river.png": riverIcon,
75
- "assets/provider-icons/rizful.png": rizfulIcon,
76
- "assets/provider-icons/shakepay.png": shakepayIcon,
77
- "assets/provider-icons/sideshift.png": sideshiftIcon,
78
- "assets/provider-icons/simpleswap.png": simpleswapIcon,
79
- "assets/provider-icons/speed.png": speedIcon,
80
- "assets/provider-icons/strike.png": strikeIcon,
81
- "assets/provider-icons/trocador.png": trocadorIcon,
82
- "assets/provider-icons/walletofsatoshi.png": walletofsatoshiIcon,
83
- "assets/provider-icons/zeus.png": zeusIcon
84
- };
1
+ export { openReceiveProviderIconUrls } from "@openreceive/provider-data";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openreceive/browser",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./dist/index.js",
@@ -9,7 +9,7 @@
9
9
  "./styles.css": "./dist/styles.css"
10
10
  },
11
11
  "dependencies": {
12
- "@openreceive/provider-data": "0.1.0",
12
+ "@openreceive/provider-data": "0.1.1",
13
13
  "d3-geo": "^3.1.1",
14
14
  "qrcode": "^1.5.4",
15
15
  "topojson-client": "^3.1.0",