@gala-chain/launchpad-sdk 3.16.4 → 3.17.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 +21 -0
- package/dist/constants/version.generated.d.ts +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/services/PriceHistoryService.d.ts +1 -1
- package/dist/services/PriceHistoryService.d.ts.map +1 -1
- package/dist/types/priceHistory.dto.d.ts +6 -9
- package/dist/types/priceHistory.dto.d.ts.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.17.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Simplify price history response structure with tokenId field
|
|
8
|
+
|
|
9
|
+
Replace individual token class fields (collection, category, type, additionalKey) with a single
|
|
10
|
+
pipe-delimited tokenId field in PriceSnapshot responses.
|
|
11
|
+
|
|
12
|
+
Changes:
|
|
13
|
+
- PriceSnapshot interface now has tokenId: string instead of separate fields
|
|
14
|
+
- Both fetchPriceHistory and fetchPrices return simplified snapshots
|
|
15
|
+
- Updated response transformation logic to construct tokenId from API data
|
|
16
|
+
- Made httpClient optional in PriceHistoryService constructor (only required when using
|
|
17
|
+
fetchPriceHistory, not for MySQL-only methods)
|
|
18
|
+
|
|
19
|
+
Example response change:
|
|
20
|
+
- Before: { price: '0.166', ..., collection: 'GALA', category: 'Unit', type: 'none',
|
|
21
|
+
additionalKey: 'none' }
|
|
22
|
+
- After: { price: '0.166', ..., tokenId: 'GALA|Unit|none|none' }
|
|
23
|
+
|
|
3
24
|
## 3.16.4
|
|
4
25
|
|
|
5
26
|
### Patch Changes
|