Przeglądaj źródła

fix: add missing dependencies and fix import paths

Co-Authored-By: Connor Prussin <connor@dourolabs.xyz>
Devin AI 9 miesięcy temu
rodzic
commit
c67333ac68

+ 2 - 1
price_service/sdk/js/package.json

@@ -60,6 +60,7 @@
     "axios-retry": "^4.0.0",
     "isomorphic-ws": "^4.0.1",
     "ts-log": "^2.2.4",
-    "ws": "^8.6.0"
+    "ws": "^8.6.0",
+    "@types/ws": "^8.5.3"
   }
 }

+ 1 - 1
target_chains/aptos/sdk/js/src/AptosPriceServiceConnection.ts

@@ -3,7 +3,7 @@ import {
   HexString,
   PriceFeed,
   PriceServiceConnectionConfig,
-} from "@pythnetwork/price-service-sdk/lib/index.js";
+} from "@pythnetwork/price-service-sdk";
 import { BCS } from "aptos";
 import { Buffer } from "buffer";