@api3/logos 0.1.45 → 0.1.46
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 +2 -2
- package/dist/cjs/index.js +2 -2
- 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/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/Placeholder.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","ankrETH"]
|
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
1
|
export { default as ApiProviderLogo } from './ApiProviderLogo.js';
|
|
4
2
|
export { default as ApiProviderLogoMissing } from './ApiProviderLogoMissing.json';
|
|
5
3
|
export { default as ChainLogo } from './ChainLogo.js';
|
|
6
4
|
export { default as ChainLogoMissing } from './ChainLogoMissing.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
1
|
module.exports.ApiProviderLogo = require('./ApiProviderLogo.js');
|
|
4
2
|
module.exports.ApiProviderLogoMissing = require('./ApiProviderLogoMissing.json');
|
|
5
3
|
module.exports.ChainLogo = require('./ChainLogo.js');
|
|
6
4
|
module.exports.ChainLogoMissing = require('./ChainLogoMissing.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/Placeholder.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","ankrETH"]
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { default as ApiProviderLogo } from './ApiProviderLogo.js';
|
|
2
|
-
export { default as ApiProviderLogoMissing } from './ApiProviderLogoMissing.json';
|
|
3
1
|
export { default as ChainLogo } from './ChainLogo.js';
|
|
4
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
5
|
export { default as SymbolLogo } from './SymbolLogo.js';
|
|
6
6
|
export { default as SymbolLogoMissing } from './SymbolLogoMissing.json';
|
package/dist/esm/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { default as ApiProviderLogo } from './ApiProviderLogo.js';
|
|
2
|
-
export { default as ApiProviderLogoMissing } from './ApiProviderLogoMissing.json';
|
|
3
1
|
export { default as ChainLogo } from './ChainLogo.js';
|
|
4
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
5
|
export { default as SymbolLogo } from './SymbolLogo.js';
|
|
6
6
|
export { default as SymbolLogoMissing } from './SymbolLogoMissing.json';
|
|
@@ -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.46",
|
|
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
|
},
|