@avaprotocol/protocols 0.3.0 → 0.4.0
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/CHANGELOG.md +26 -0
- package/dist/index.cjs +747 -102
- package/dist/index.js +747 -102
- package/dist/tokens/base-sepolia.json +14 -2
- package/dist/tokens/base.json +121 -1
- package/dist/tokens/ethereum.json +154 -4
- package/dist/tokens/index.d.ts +19 -17
- package/dist/tokens/index.d.ts.map +1 -1
- package/dist/tokens/sepolia.json +22 -4
- package/dist/tokens/types.d.ts +13 -1
- package/dist/tokens/types.d.ts.map +1 -1
- package/package.json +3 -1
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# @avaprotocol/protocols
|
|
2
|
+
|
|
3
|
+
## 0.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 2ea828e: Restructure the token catalog from inline TypeScript objects into per-chain JSON
|
|
8
|
+
data files (`src/tokens/data/<chain>.json`) and port Studio's curated catalogs
|
|
9
|
+
into the new format. Catalog grew from 15 → 65 entries across 5 chains:
|
|
10
|
+
ethereum (5 → 30), sepolia (3 → 6), base (3 → 23), base-sepolia (2 → 4), and
|
|
11
|
+
bnb-mainnet (unchanged at 2).
|
|
12
|
+
|
|
13
|
+
Notable behaviour change worth flagging for consumers: `Tokens.LINK[Sepolia]`
|
|
14
|
+
now resolves to the canonical Sepolia ChainLink Token (`0x779877…4789`) instead
|
|
15
|
+
of the AAVE-V3 faucet variant. The AAVE-V3 faucet LINK still lives at
|
|
16
|
+
`Protocols.aaveV3.tokens.LINK[Chains.Sepolia]` for template consumers — that
|
|
17
|
+
path is unchanged.
|
|
18
|
+
|
|
19
|
+
New: `yarn port:studio` helper for future re-syncs from upstream Studio.
|
|
20
|
+
|
|
21
|
+
`buildTokensFromData` now throws on duplicate `(symbol, chainId)` rows instead
|
|
22
|
+
of silently overwriting.
|
|
23
|
+
|
|
24
|
+
`TokenLinks` extended with the link types Studio's catalog uses (`x`,
|
|
25
|
+
`facebook`, `discord`, `telegram`, `medium`, `docs`, `forum`, `youtube`) and
|
|
26
|
+
drops the now-obsolete `twitter` alias (Studio standardized on `x`).
|