@bifrostwallet/assets 1.2.0 → 1.2.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/fetch-logos.js +2 -2
- package/index.js +1 -1
- package/package.json +1 -1
- package/tokens/xrpl-0.json +9 -9
package/fetch-logos.js
CHANGED
|
@@ -9,7 +9,7 @@ const fs = require("node:fs");
|
|
|
9
9
|
const path = require("node:path");
|
|
10
10
|
const { fetchLogo, verifyLogoHash } = require("./verify-logo-hash.js");
|
|
11
11
|
|
|
12
|
-
const DEFAULT_LOGO_BASE_URL = "https://cdn.jsdelivr.net/gh/bifrostwallet/assets@1.2.
|
|
12
|
+
const DEFAULT_LOGO_BASE_URL = "https://cdn.jsdelivr.net/gh/bifrostwallet/assets@1.2.1/data/";
|
|
13
13
|
const USAGE = [
|
|
14
14
|
"Usage: fetch-logos <dir>",
|
|
15
15
|
"",
|
|
@@ -21,7 +21,7 @@ const USAGE = [
|
|
|
21
21
|
"",
|
|
22
22
|
"Upload <dir> to any static host. createAssets baseURL is optional.",
|
|
23
23
|
"Omit it to use jsDelivr at this release tag:",
|
|
24
|
-
"https://cdn.jsdelivr.net/gh/bifrostwallet/assets@1.2.
|
|
24
|
+
"https://cdn.jsdelivr.net/gh/bifrostwallet/assets@1.2.1/data/",
|
|
25
25
|
"Or set baseURL to the public URL where you uploaded that directory.",
|
|
26
26
|
"Example: https://assets.example.com/",
|
|
27
27
|
"Run fetch-logos again when you bump the package version.",
|
package/index.js
CHANGED
|
@@ -50,7 +50,7 @@ const CONTRACT_CATEGORIES = ["dex","aggregator","bridge","lending","staking","yi
|
|
|
50
50
|
const CONTRACT_CATEGORY_LABELS = {"dex":"DEX","aggregator":"Aggregator","bridge":"Bridge","lending":"Lending","staking":"Staking","yield":"Yield","perpetuals":"Perpetuals","predictions":"Predictions","nft-marketplace":"NFT Marketplace","governance":"Governance","fassets":"FAssets","rewards":"Rewards","other":"Other"};
|
|
51
51
|
const DAPP_CATEGORIES = ["featured","dex","lending","yield","staking","bridges","marketplaces","social","games","other"];
|
|
52
52
|
const DAPP_CATEGORY_LABELS = {"featured":"Featured","dex":"DEX","lending":"Lending","yield":"Yield","staking":"Staking","bridges":"Bridges","marketplaces":"Marketplaces","social":"Social","games":"Games","other":"Other"};
|
|
53
|
-
const DEFAULT_LOGO_BASE_URL = "https://cdn.jsdelivr.net/gh/bifrostwallet/assets@1.2.
|
|
53
|
+
const DEFAULT_LOGO_BASE_URL = "https://cdn.jsdelivr.net/gh/bifrostwallet/assets@1.2.1/data/";
|
|
54
54
|
|
|
55
55
|
const EIP712_DOMAIN_SALT = "0xffc5336f20c2026b0f53d269def3cdffa3ca99b07e238af05f263a89517104f7";
|
|
56
56
|
const PROVIDER_LISTING_PRIMARY_TYPE = "ProviderListing";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bifrostwallet/assets",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "Curated catalog of data providers, validators, tokens, contracts and dapps for Bifrost Wallet.",
|
|
5
5
|
"repository": "https://github.com/bifrostwallet/assets.git",
|
|
6
6
|
"author": "Bifrost Software Ltd",
|
package/tokens/xrpl-0.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"symbol": "ETH",
|
|
5
5
|
"issuer": "rcA8X3TVMST1n3CJeAdGk1RdRCHii7N2h",
|
|
6
6
|
"currency": "ETH",
|
|
7
|
-
"coingeckoId":
|
|
7
|
+
"coingeckoId": "ethereum",
|
|
8
8
|
"logoURL": "tokens/xrpl-0/rcA8X3TVMST1n3CJeAdGk1RdRCHii7N2h/ETH/logo.webp",
|
|
9
9
|
"logoHash": "9e5f1c39b791bfd6537f3a5cc511853263993928c20b0d9ec438c1c7dd911d9c"
|
|
10
10
|
},
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"symbol": "BTC",
|
|
14
14
|
"issuer": "rchGBxcD1A1C2tdxF6papQYZ8kjRKMYcL",
|
|
15
15
|
"currency": "BTC",
|
|
16
|
-
"coingeckoId":
|
|
16
|
+
"coingeckoId": "bitcoin",
|
|
17
17
|
"logoURL": "tokens/xrpl-0/rchGBxcD1A1C2tdxF6papQYZ8kjRKMYcL/BTC/logo.webp",
|
|
18
18
|
"logoHash": "e28623100879e12c896a2396d30b38a7b53b6520174dbf11b14dfeeaea6bdcd0"
|
|
19
19
|
},
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"symbol": "EURGH",
|
|
23
23
|
"issuer": "rDdaSjBbgCGQQsGRSfMidBMyHbPoeE5KQR",
|
|
24
24
|
"currency": "4555524748000000000000000000000000000000",
|
|
25
|
-
"coingeckoId":
|
|
25
|
+
"coingeckoId": "euro-coin",
|
|
26
26
|
"logoURL": "tokens/xrpl-0/rDdaSjBbgCGQQsGRSfMidBMyHbPoeE5KQR/4555524748000000000000000000000000000000/logo.webp",
|
|
27
27
|
"logoHash": "e908edd0cf1ac712b94d44966e6e23fddaa34f5c192d0e0a73435a926a36c205"
|
|
28
28
|
},
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"symbol": "EUR",
|
|
32
32
|
"issuer": "rhub8VRN55s94qWKDv6jmDy1pUykJzF3wq",
|
|
33
33
|
"currency": "EUR",
|
|
34
|
-
"coingeckoId":
|
|
34
|
+
"coingeckoId": "euro-coin",
|
|
35
35
|
"logoURL": "tokens/xrpl-0/rhub8VRN55s94qWKDv6jmDy1pUykJzF3wq/EUR/logo.webp",
|
|
36
36
|
"logoHash": "adb22303236eaa6012a7bc39aa1efb94e85a27e76f054f0aa5faa3703d2df919"
|
|
37
37
|
},
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"symbol": "USD",
|
|
41
41
|
"issuer": "rhub8VRN55s94qWKDv6jmDy1pUykJzF3wq",
|
|
42
42
|
"currency": "USD",
|
|
43
|
-
"coingeckoId":
|
|
43
|
+
"coingeckoId": "usd-coin",
|
|
44
44
|
"logoURL": "tokens/xrpl-0/rhub8VRN55s94qWKDv6jmDy1pUykJzF3wq/USD/logo.webp",
|
|
45
45
|
"logoHash": "adb22303236eaa6012a7bc39aa1efb94e85a27e76f054f0aa5faa3703d2df919"
|
|
46
46
|
},
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"symbol": "BTC",
|
|
68
68
|
"issuer": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B",
|
|
69
69
|
"currency": "BTC",
|
|
70
|
-
"coingeckoId":
|
|
70
|
+
"coingeckoId": "bitcoin",
|
|
71
71
|
"logoURL": "tokens/xrpl-0/rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B/BTC/logo.webp",
|
|
72
72
|
"logoHash": "e28623100879e12c896a2396d30b38a7b53b6520174dbf11b14dfeeaea6bdcd0"
|
|
73
73
|
},
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"symbol": "ETH",
|
|
77
77
|
"issuer": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B",
|
|
78
78
|
"currency": "ETH",
|
|
79
|
-
"coingeckoId":
|
|
79
|
+
"coingeckoId": "ethereum",
|
|
80
80
|
"logoURL": "tokens/xrpl-0/rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B/ETH/logo.webp",
|
|
81
81
|
"logoHash": "9e5f1c39b791bfd6537f3a5cc511853263993928c20b0d9ec438c1c7dd911d9c"
|
|
82
82
|
},
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"symbol": "EUR",
|
|
86
86
|
"issuer": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B",
|
|
87
87
|
"currency": "EUR",
|
|
88
|
-
"coingeckoId":
|
|
88
|
+
"coingeckoId": "euro-coin",
|
|
89
89
|
"logoURL": "tokens/xrpl-0/rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B/EUR/logo.webp",
|
|
90
90
|
"logoHash": "2c91dd09c1f906bfdc2846f30b8d721130ceb72aba4414651ffc6b00e542c49a"
|
|
91
91
|
},
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"symbol": "USD",
|
|
95
95
|
"issuer": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B",
|
|
96
96
|
"currency": "USD",
|
|
97
|
-
"coingeckoId":
|
|
97
|
+
"coingeckoId": "usd-coin",
|
|
98
98
|
"logoURL": "tokens/xrpl-0/rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B/USD/logo.webp",
|
|
99
99
|
"logoHash": "2c91dd09c1f906bfdc2846f30b8d721130ceb72aba4414651ffc6b00e542c49a"
|
|
100
100
|
}
|