Skip to content

Commit

Permalink
Merge pull request #216 from api3dao/changeset-release/production
Browse files Browse the repository at this point in the history
ci: release logos package
  • Loading branch information
hiletmis authored Jan 29, 2024
2 parents b261141 + 0ac8bb2 commit 3b931ae
Show file tree
Hide file tree
Showing 3 changed files with 115 additions and 114 deletions.
5 changes: 0 additions & 5 deletions .changeset/yellow-bats-bathe.md

This file was deleted.

222 changes: 114 additions & 108 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,268 +1,274 @@
# @api3/logos

## 2.8.1

### Patch Changes

- c69c97f: Fixed mEth logo

## 2.8.0

### Minor Changes

- 0ff4256: Light mode is implemented
- 0ff4256: Light mode is implemented

## 2.7.0

### Minor Changes

- 2faedee: Logo designed synced with market
- 2faedee: Logo designed synced with market

## 2.6.0

### Minor Changes

- c22c01f: Blast Sepolia Testnet added
- c22c01f: Blast Sepolia Testnet added

## 2.5.0

### Minor Changes

- 1af67c6: New chain logos added;
- 1af67c6: New chain logos added;

1. Lightlink (chain ID: 1890)
2. LightLink Goerli Testnet (chain ID: 1891)
1. Lightlink (chain ID: 1890)
2. LightLink Goerli Testnet (chain ID: 1891)

## 2.4.0

### Minor Changes

- b26653b: \`@nodary/utilities\` replaced with \`@phase21/api-integrations\`.
- b26653b: \`@nodary/utilities\` replaced with \`@phase21/api-integrations\`.

## 2.3.0

### Minor Changes

- e7ef4c3: New symbols are added.
- e7ef4c3: New symbols are added.

- `uniETH`
- `osETH`
- `weETH`
- `PYUSD`
- `WLD`
- `uniETH`
- `osETH`
- `weETH`
- `PYUSD`
- `WLD`

## 2.2.0

### Minor Changes

- a539166: Dependency update: `@phase21/chains`
- a539166: Dependency update: `@phase21/chains`

## 2.1.0

### Minor Changes

- 6ccfa82: Update api-integrations to `@phase21/api-integrations`
- 6ccfa82: Update api-integrations to `@phase21/api-integrations`

## 2.0.0

### Major Changes

- f8cb93a: Package moved to phase21 organization
- f8cb93a: Package moved to phase21 organization

## 1.0.0

### Major Changes

- 3c328a1: Package name has been changed to `api3-logos` `api-integrations` package is updated
- 3c328a1: Package name has been changed to `api3-logos` `api-integrations` package is updated

## 0.0.18

### Patch Changes

- c5d9628: - New logos added: ASTR, USDe, HG, INTC, DIS
- Renovate config updated
- c5d9628: - New logos added: ASTR, USDe, HG, INTC, DIS
- Renovate config updated

## 0.0.17

### Patch Changes

- b6935b0: Dependency packages updated.
- b6935b0: Dependency packages updated.

## 0.0.16

### Patch Changes

- 5b80f72: Update Polygon network logos
- 5b80f72: Update Polygon network logos

## 0.0.15

### Patch Changes

- 2cb7881: Move camelcase from devDependencies to dependencies
- 2cb7881: Move camelcase from devDependencies to dependencies

## 0.0.14

### Patch Changes

- bc0d03f:
- Missing supported chains, symbols and logos will return a placeholder image instead of throwing an error.
- Unsuppored chains, symbols and logos will return an error image.
- A new tab added to frontend to display missing and chains, symbols and logos.
- bc0d03f:
- Missing supported chains, symbols and logos will return a placeholder image instead of throwing an error.
- Unsuppored chains, symbols and logos will return an error image.
- A new tab added to frontend to display missing and chains, symbols and logos.

## 0.0.13

### Patch Changes

- 10139eb:
- Added missing dependency (camelcase)
- 10139eb:
- Added missing dependency (camelcase)

## 0.0.12

### Patch Changes

- a4195dc:
- Release bug fixed
- a4195dc:
- Release bug fixed

## 0.0.11

### Patch Changes

- a47a5a0:
- a47a5a0:

- React support removed.
- React support removed.

- `ChainLogo`, `SymbolLogo` and `ApiProviderLogo` now return a string instead of a React component.
- Returned string is a base64 encoded SVG image.
- `ChainLogo`, `SymbolLogo` and `ApiProviderLogo` now return a string instead of a React component.
- Returned string is a base64 encoded SVG image.

```js
import { ChainLogo, SymbolLogo, ApiProviderLogo } from 'logos';
```js
import { ChainLogo, SymbolLogo, ApiProviderLogo } from "logos";

<div>
<img src={ChainLogo('43114')} width={50} height={50} alt="43114" />
<img src={SymbolLogo('BTC')} width={50} height={50} alt="BTC" />
<img src={ApiProviderLogo('nodary')} width={50} height={50} alt="nodary" />
</div>;
```
<div>
<img src={ChainLogo("43114")} width={50} height={50} alt="43114" />
<img src={SymbolLogo("BTC")} width={50} height={50} alt="BTC" />
<img src={ApiProviderLogo("nodary")} width={50} height={50} alt="nodary" />
</div>;
```

## 0.0.10

### Patch Changes

- 8fd2486: Added new symbols; 'BABA', 'ETHx', 'MATICx', 'PYTH', 'WOO', 'MATIC Exchange Rate', 'NG', 'QQQ', 'PYPL'
- 8fd2486: Added new symbols; 'BABA', 'ETHx', 'MATICx', 'PYTH', 'WOO', 'MATIC Exchange Rate', 'NG', 'QQQ', 'PYPL'

| Symbol Name | Logo |
| ------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| BABA | <img src="https://raw.githubusercontent.com/api3dao/logos/main/raw/symbols/baba.svg" width="32" height="32" /> |
| ETHx | <img src="https://raw.githubusercontent.com/api3dao/logos/main/raw/symbols/et-hx.svg" width="32" height="32" /> |
| MATICx | <img src="https://raw.githubusercontent.com/api3dao/logos/main/raw/symbols/mati-cx.svg" width="32" height="32" /> |
| PYTH | <img src="https://raw.githubusercontent.com/api3dao/logos/main/raw/symbols/pyth.svg" width="32" height="32" /> |
| WOO | <img src="https://raw.githubusercontent.com/api3dao/logos/main/raw/symbols/woo.svg" width="32" height="32" /> |
| MATIC Exchange Rate | <img src="https://raw.githubusercontent.com/api3dao/logos/main/raw/symbols/matic-exchange-rate.svg" width="32" height="32" /> |
| NG | <img src="https://raw.githubusercontent.com/api3dao/logos/main/raw/symbols/ng.svg" width="32" height="32" /> |
| QQQ | <img src="https://raw.githubusercontent.com/api3dao/logos/main/raw/symbols/qqq.svg" width="32" height="32" /> |
| PYPL | <img src="https://raw.githubusercontent.com/api3dao/logos/main/raw/symbols/pypl.svg" width="32" height="32" /> |
| Symbol Name | Logo |
| ------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| BABA | <img src="https://raw.githubusercontent.com/api3dao/logos/main/raw/symbols/baba.svg" width="32" height="32" /> |
| ETHx | <img src="https://raw.githubusercontent.com/api3dao/logos/main/raw/symbols/et-hx.svg" width="32" height="32" /> |
| MATICx | <img src="https://raw.githubusercontent.com/api3dao/logos/main/raw/symbols/mati-cx.svg" width="32" height="32" /> |
| PYTH | <img src="https://raw.githubusercontent.com/api3dao/logos/main/raw/symbols/pyth.svg" width="32" height="32" /> |
| WOO | <img src="https://raw.githubusercontent.com/api3dao/logos/main/raw/symbols/woo.svg" width="32" height="32" /> |
| MATIC Exchange Rate | <img src="https://raw.githubusercontent.com/api3dao/logos/main/raw/symbols/matic-exchange-rate.svg" width="32" height="32" /> |
| NG | <img src="https://raw.githubusercontent.com/api3dao/logos/main/raw/symbols/ng.svg" width="32" height="32" /> |
| QQQ | <img src="https://raw.githubusercontent.com/api3dao/logos/main/raw/symbols/qqq.svg" width="32" height="32" /> |
| PYPL | <img src="https://raw.githubusercontent.com/api3dao/logos/main/raw/symbols/pypl.svg" width="32" height="32" /> |

## 0.0.9

### Patch Changes

- a19b40e: Fix invalid import statement for cjs
- a19b40e: Fix invalid import statement for cjs

## 0.0.8

### Patch Changes

- c797370: Added new symbols; mETH, EURE, GHO, RDNT
- c797370: Added new symbols; mETH, EURE, GHO, RDNT

| Symbol Name | Logo |
| ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
| mETH | <img src="https://raw.githubusercontent.com/api3dao/logos/af94f6485ad28be135e6721169faa7f9be39fd52/raw/symbols/m-eth.svg" width="32" height="32" /> |
| EURE | <img src="https://raw.githubusercontent.com/api3dao/logos/af94f6485ad28be135e6721169faa7f9be39fd52/raw/symbols/eure.svg" width="32" height="32" /> |
| GHO | <img src="https://raw.githubusercontent.com/api3dao/logos/af94f6485ad28be135e6721169faa7f9be39fd52/raw/symbols/gho.svg" width="32" height="32" /> |
| RDNT | <img src="https://raw.githubusercontent.com/api3dao/logos/af94f6485ad28be135e6721169faa7f9be39fd52/raw/symbols/rdnt.svg" width="32" height="32" /> |
| Symbol Name | Logo |
| ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
| mETH | <img src="https://raw.githubusercontent.com/api3dao/logos/af94f6485ad28be135e6721169faa7f9be39fd52/raw/symbols/m-eth.svg" width="32" height="32" /> |
| EURE | <img src="https://raw.githubusercontent.com/api3dao/logos/af94f6485ad28be135e6721169faa7f9be39fd52/raw/symbols/eure.svg" width="32" height="32" /> |
| GHO | <img src="https://raw.githubusercontent.com/api3dao/logos/af94f6485ad28be135e6721169faa7f9be39fd52/raw/symbols/gho.svg" width="32" height="32" /> |
| RDNT | <img src="https://raw.githubusercontent.com/api3dao/logos/af94f6485ad28be135e6721169faa7f9be39fd52/raw/symbols/rdnt.svg" width="32" height="32" /> |

## 0.0.7

### Patch Changes

- de4bec0: Export functions fixed.
- de4bec0: Export functions fixed.

## 0.0.6

### Patch Changes

- f3149d9: Add example view.
- f3149d9: Add example view.

## 0.0.5

### Patch Changes

- a835657: - JSDoc annotations added to `logos` package.
- a835657: - JSDoc annotations added to `logos` package.

- `logos` package now exports `Logo` as svg string.
- `logos` package now exports `Logo` as React component.
- Package size reduced.
- `logos` package now exports `Logo` as svg string.
- `logos` package now exports `Logo` as React component.
- Package size reduced.

- Method names changed.
- Method names changed.

- SVG component
- SVG component

```javascript
ChainLogoSvg(id: string)
SymbolLogoSvg(id: string)
ApiProviderLogoSvg(id: string)
```
```javascript
ChainLogoSvg(id: string)
SymbolLogoSvg(id: string)
ApiProviderLogoSvg(id: string)
```

```html
<img src={ChainLogoSvg('43114')} width={50} height={50} alt='' />
<img src={SymbolLogoSvg('BTC')} width={50} height={50} alt='' />
<img src={ApiProviderLogoSvg('nodary')} width={50} height={50} alt='' />
```
```html
<img src={ChainLogoSvg('43114')} width={50} height={50} alt='' />
<img src={SymbolLogoSvg('BTC')} width={50} height={50} alt='' />
<img src={ApiProviderLogoSvg('nodary')} width={50} height={50} alt='' />
```

- React component
- React component

```javascript
ChainLogo(id: string)
SymbolLogo(id: string)
ApiProviderLogo(id: string)
```
```javascript
ChainLogo(id: string)
SymbolLogo(id: string)
ApiProviderLogo(id: string)
```

```html
<ChainLogo id="43114" width="{50}" height="{50}" />
<SymbolLogo id="BTC" width="{50}" height="{50}" />
<ApiProviderLogo id="nodary" width="{50}" height="{50}" />
```
```html
<ChainLogo id="43114" width="{50}" height="{50}" />
<SymbolLogo id="BTC" width="{50}" height="{50}" />
<ApiProviderLogo id="nodary" width="{50}" height="{50}" />
```

## 0.0.4

### Patch Changes

- 3601672: SVG export is now available.
- 3601672: SVG export is now available.

```javascript
ChainIconBase64(id: string)
SymbolIconBase64(id: string)
ApiProviderLogoBase64(id: string)
```
```javascript
ChainIconBase64(id: string)
SymbolIconBase64(id: string)
ApiProviderLogoBase64(id: string)
```

```html
<img src={ChainIconBase64('43114')} width={50} height={50} alt='' />
<img src={SymbolIconBase64('BTC')} width={50} height={50} alt='' />
<img src={ApiProviderLogoBase64('nodary')} width={50} height={50} alt='' />
```
```html
<img src={ChainIconBase64('43114')} width={50} height={50} alt='' />
<img src={SymbolIconBase64('BTC')} width={50} height={50} alt='' />
<img src={ApiProviderLogoBase64('nodary')} width={50} height={50} alt='' />
```

You can now call these functions to get svg file as base64 string.
You can now call these functions to get svg file as base64 string.

## 0.0.3

### Patch Changes

- ede55ad: Null check added
- ede55ad: Null check added

## 0.0.2

### Patch Changes

- 6a0ab5d: Package name changed to @api3/logos
- 6a0ab5d: Package name changed to @api3/logos

## 0.0.1

### Patch Changes

- 0ed4fd3: Test release
- b1ab864: initial release
- 6f06f87: Test Release
- 0ed4fd3: Test release
- b1ab864: initial release
- 6f06f87: Test Release
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@phase21/logos",
"version": "2.8.0",
"version": "2.8.1",
"license": "MIT",
"sideEffects": false,
"scripts": {
Expand Down

0 comments on commit 3b931ae

Please sign in to comment.