@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 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
@@ -3,5 +3,5 @@
3
3
  * This file is generated by scripts/inject-version.ts during build
4
4
  * DO NOT EDIT MANUALLY
5
5
  */
6
- export declare const SDK_VERSION = "3.16.4";
6
+ export declare const SDK_VERSION = "3.17.0";
7
7
  //# sourceMappingURL=version.generated.d.ts.map