@api3/logos 0.1.45 → 0.1.47
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/cjs/SymbolLogo.js +9 -0
- package/dist/cjs/SymbolLogoMissing.json +1 -1
- package/dist/cjs/index.d.ts +4 -4
- package/dist/cjs/index.js +4 -4
- package/dist/esm/SymbolLogo.js +9 -0
- package/dist/esm/SymbolLogoMissing.json +1 -1
- package/dist/esm/index.d.ts +2 -2
- package/dist/esm/index.js +2 -2
- package/dist/logos/symbol/Ankreth.svg +8 -0
- package/dist/logos/symbol/Cfx.svg +5 -0
- package/package.json +5 -5
package/dist/cjs/SymbolLogo.js
CHANGED
|
@@ -293,6 +293,9 @@ const SymbolTaiko = require('../logos/symbol/Taiko.svg');
|
|
|
293
293
|
const SymbolW = require('../logos/symbol/W.svg');
|
|
294
294
|
const SymbolWeEtHs = require('../logos/symbol/Weeths.svg');
|
|
295
295
|
const SymbolInEth = require('../logos/symbol/Ineth.svg');
|
|
296
|
+
const SymbolCfx = require('../logos/symbol/Cfx.svg');
|
|
297
|
+
const SymbolRender = require('../logos/symbol/Placeholder.svg');
|
|
298
|
+
const SymbolAnkrEth = require('../logos/symbol/Ankreth.svg');
|
|
296
299
|
const SymbolPlaceholder = require('../logos/symbol/Placeholder.svg');
|
|
297
300
|
function sanitizeName(id) {
|
|
298
301
|
return camelcase(id, {
|
|
@@ -892,6 +895,12 @@ function SymbolLogo(id, light = false) {
|
|
|
892
895
|
return SymbolWeEtHs;
|
|
893
896
|
case "ineth":
|
|
894
897
|
return SymbolInEth;
|
|
898
|
+
case "cfx":
|
|
899
|
+
return SymbolCfx;
|
|
900
|
+
case "render":
|
|
901
|
+
return SymbolRender;
|
|
902
|
+
case "ankreth":
|
|
903
|
+
return SymbolAnkrEth;
|
|
895
904
|
default:
|
|
896
905
|
return light ? SymbolLogo(id) : SymbolPlaceholder;
|
|
897
906
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
["ZRO","ZK"]
|
|
1
|
+
["ZRO","ZK","RENDER"]
|
package/dist/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { default as SymbolLogo } from './SymbolLogo.js';
|
|
2
|
-
export { default as SymbolLogoMissing } from './SymbolLogoMissing.json';
|
|
3
|
-
export { default as ApiProviderLogo } from './ApiProviderLogo.js';
|
|
4
|
-
export { default as ApiProviderLogoMissing } from './ApiProviderLogoMissing.json';
|
|
5
1
|
export { default as ChainLogo } from './ChainLogo.js';
|
|
6
2
|
export { default as ChainLogoMissing } from './ChainLogoMissing.json';
|
|
3
|
+
export { default as ApiProviderLogo } from './ApiProviderLogo.js';
|
|
4
|
+
export { default as ApiProviderLogoMissing } from './ApiProviderLogoMissing.json';
|
|
5
|
+
export { default as SymbolLogo } from './SymbolLogo.js';
|
|
6
|
+
export { default as SymbolLogoMissing } from './SymbolLogoMissing.json';
|
package/dist/cjs/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
module.exports.SymbolLogo = require('./SymbolLogo.js');
|
|
2
|
-
module.exports.SymbolLogoMissing = require('./SymbolLogoMissing.json');
|
|
3
|
-
module.exports.ApiProviderLogo = require('./ApiProviderLogo.js');
|
|
4
|
-
module.exports.ApiProviderLogoMissing = require('./ApiProviderLogoMissing.json');
|
|
5
1
|
module.exports.ChainLogo = require('./ChainLogo.js');
|
|
6
2
|
module.exports.ChainLogoMissing = require('./ChainLogoMissing.json');
|
|
3
|
+
module.exports.ApiProviderLogo = require('./ApiProviderLogo.js');
|
|
4
|
+
module.exports.ApiProviderLogoMissing = require('./ApiProviderLogoMissing.json');
|
|
5
|
+
module.exports.SymbolLogo = require('./SymbolLogo.js');
|
|
6
|
+
module.exports.SymbolLogoMissing = require('./SymbolLogoMissing.json');
|
package/dist/esm/SymbolLogo.js
CHANGED
|
@@ -293,6 +293,9 @@ import SymbolTaiko from '../logos/symbol/Taiko.svg';
|
|
|
293
293
|
import SymbolW from '../logos/symbol/W.svg';
|
|
294
294
|
import SymbolWeEtHs from '../logos/symbol/Weeths.svg';
|
|
295
295
|
import SymbolInEth from '../logos/symbol/Ineth.svg';
|
|
296
|
+
import SymbolCfx from '../logos/symbol/Cfx.svg';
|
|
297
|
+
import SymbolRender from '../logos/symbol/Placeholder.svg';
|
|
298
|
+
import SymbolAnkrEth from '../logos/symbol/Ankreth.svg';
|
|
296
299
|
import SymbolPlaceholder from '../logos/symbol/Placeholder.svg';
|
|
297
300
|
function sanitizeName(id) {
|
|
298
301
|
return camelcase(id, {
|
|
@@ -892,6 +895,12 @@ function SymbolLogo(id, light = false) {
|
|
|
892
895
|
return SymbolWeEtHs;
|
|
893
896
|
case "ineth":
|
|
894
897
|
return SymbolInEth;
|
|
898
|
+
case "cfx":
|
|
899
|
+
return SymbolCfx;
|
|
900
|
+
case "render":
|
|
901
|
+
return SymbolRender;
|
|
902
|
+
case "ankreth":
|
|
903
|
+
return SymbolAnkrEth;
|
|
895
904
|
default:
|
|
896
905
|
return light ? SymbolLogo(id) : SymbolPlaceholder;
|
|
897
906
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
["ZRO","ZK"]
|
|
1
|
+
["ZRO","ZK","RENDER"]
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { default as ApiProviderLogo } from './ApiProviderLogo.js';
|
|
2
2
|
export { default as ApiProviderLogoMissing } from './ApiProviderLogoMissing.json';
|
|
3
|
-
export { default as ChainLogo } from './ChainLogo.js';
|
|
4
|
-
export { default as ChainLogoMissing } from './ChainLogoMissing.json';
|
|
5
3
|
export { default as SymbolLogo } from './SymbolLogo.js';
|
|
6
4
|
export { default as SymbolLogoMissing } from './SymbolLogoMissing.json';
|
|
5
|
+
export { default as ChainLogo } from './ChainLogo.js';
|
|
6
|
+
export { default as ChainLogoMissing } from './ChainLogoMissing.json';
|
package/dist/esm/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { default as ApiProviderLogo } from './ApiProviderLogo.js';
|
|
2
2
|
export { default as ApiProviderLogoMissing } from './ApiProviderLogoMissing.json';
|
|
3
|
-
export { default as ChainLogo } from './ChainLogo.js';
|
|
4
|
-
export { default as ChainLogoMissing } from './ChainLogoMissing.json';
|
|
5
3
|
export { default as SymbolLogo } from './SymbolLogo.js';
|
|
6
4
|
export { default as SymbolLogoMissing } from './SymbolLogoMissing.json';
|
|
5
|
+
export { default as ChainLogo } from './ChainLogo.js';
|
|
6
|
+
export { default as ChainLogoMissing } from './ChainLogoMissing.json';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 42 42">
|
|
2
|
+
<path fill="#FFE81C" d="M18.2721 0.731664C19.9602 -0.243888 22.04 -0.243888 23.728 0.731664L37.1722 8.50106C38.8602 9.47662 39.9001 11.2795 39.9001 13.2306V28.7694C39.9001 30.7205 38.8602 32.5234 37.1722 33.499L23.728 41.2684C22.04 42.2439 19.9602 42.2439 18.2721 41.2684L4.82808 33.499C3.14 32.5234 2.1001 30.7205 2.1001 28.7694V13.2306C2.1001 11.2795 3.14 9.47662 4.82808 8.50106L18.2721 0.731664Z"/>
|
|
3
|
+
<path fill="black" d="M20.9954 25.3858L27.8981 21.2133L20.9954 18.0098L14.1011 21.2133L20.9954 25.3858Z" opacity="0.6"/>
|
|
4
|
+
<path fill="black" d="M20.9954 18.0102V9.50391L14.1011 21.2139L20.9954 25.3862V18.0102Z" opacity="0.45"/>
|
|
5
|
+
<path fill="black" d="M20.9956 25.3862L27.8983 21.2139L20.9956 9.50391V18.0102V25.3862Z" opacity="0.8"/>
|
|
6
|
+
<path fill="black" d="M20.9954 26.7205L14.1011 22.5566L20.9954 32.4991V26.7205Z" opacity="0.45"/>
|
|
7
|
+
<path fill="black" d="M27.8983 22.5566L20.9956 26.7205V32.4991L27.8983 22.5566Z" opacity="0.8"/>
|
|
8
|
+
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 42 42">
|
|
2
|
+
<rect width="42" height="42" fill="white" rx="21"/>
|
|
3
|
+
<path fill="#1A1A1A" d="M26.6534 23.8077L20.9776 29.3943L18.154 26.6169L23.8298 21.0302L20.9955 18.2422L12.4531 26.6451L20.9417 34.9951L29.4841 26.5922L26.6534 23.8077Z"/>
|
|
4
|
+
<path fill="#38A1DB" d="M32.35 18.1314L21.0378 7.00391L9.65039 18.2054L9.68622 23.7533L20.9877 12.6399L32.3285 23.7991L32.35 18.1314Z"/>
|
|
5
|
+
</svg>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@api3/logos",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.47",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"repository": {
|
|
@@ -26,15 +26,15 @@
|
|
|
26
26
|
"@babel/preset-react": "^7.24.7",
|
|
27
27
|
"@changesets/changelog-github": "^0.5.0",
|
|
28
28
|
"@changesets/cli": "^2.27.7",
|
|
29
|
-
"@api3/api-integrations": "^1.
|
|
30
|
-
"@api3/chains": "^9.2.
|
|
29
|
+
"@api3/api-integrations": "^1.23.0",
|
|
30
|
+
"@api3/chains": "^9.2.1",
|
|
31
31
|
"dropbox": "^10.34.0",
|
|
32
32
|
"node-fetch": "^2.7.0",
|
|
33
33
|
"dotenv": "^16.4.5",
|
|
34
34
|
"prettier": "^3.3.3",
|
|
35
35
|
"rimraf": "^6.0.1",
|
|
36
|
-
"@typescript-eslint/eslint-plugin": "^8.0
|
|
37
|
-
"@typescript-eslint/parser": "^8.0
|
|
36
|
+
"@typescript-eslint/eslint-plugin": "^8.1.0",
|
|
37
|
+
"@typescript-eslint/parser": "^8.1.0",
|
|
38
38
|
"eslint-config-prettier": "^9.1.0",
|
|
39
39
|
"svgo": "^3.3.0"
|
|
40
40
|
},
|