@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/index.mjs CHANGED
@@ -361,9 +361,9 @@ var queryKeys = {
361
361
  { owner }
362
362
  ]
363
363
  },
364
- pyth: {
364
+ oracle: {
365
365
  getPythLatestPriceFeed: (pythPriceId) => [
366
- "pyth",
366
+ "oracle",
367
367
  "getPythPriceId",
368
368
  { pythPriceId }
369
369
  ]
@@ -4726,7 +4726,7 @@ var ScallopUtils = class {
4726
4726
  const pythConnection = new SuiPriceServiceConnection(endpoint);
4727
4727
  try {
4728
4728
  const feed = await this.address.cache.queryClient.fetchQuery({
4729
- queryKey: queryKeys.pyth.getPythLatestPriceFeed(priceId),
4729
+ queryKey: queryKeys.oracle.getPythLatestPriceFeed(priceId),
4730
4730
  queryFn: async () => {
4731
4731
  return await pythConnection.getLatestPriceFeeds([priceId]);
4732
4732
  }