@scallop-io/sui-scallop-sdk 1.3.0-alpha.5 → 1.3.0-alpha.6
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/constants/queryKeys.d.ts +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/constants/queryKeys.ts +2 -2
- package/src/models/scallopUtils.ts +1 -1
package/package.json
CHANGED
|
@@ -559,7 +559,7 @@ export class ScallopUtils {
|
|
|
559
559
|
const pythConnection = new SuiPriceServiceConnection(endpoint);
|
|
560
560
|
try {
|
|
561
561
|
const feed = await this.address.cache.queryClient.fetchQuery({
|
|
562
|
-
queryKey: queryKeys.
|
|
562
|
+
queryKey: queryKeys.oracle.getPythLatestPriceFeed(priceId),
|
|
563
563
|
queryFn: async () => {
|
|
564
564
|
return await pythConnection.getLatestPriceFeeds([priceId]);
|
|
565
565
|
},
|