浏览代码

fix: add missing dependencies and fix import paths

Co-Authored-By: Connor Prussin <connor@dourolabs.xyz>
Devin AI 9 月之前
父节点
当前提交
c67333ac68
共有 2 个文件被更改,包括 3 次插入2 次删除
  1. 2 1
      price_service/sdk/js/package.json
  2. 1 1
      target_chains/aptos/sdk/js/src/AptosPriceServiceConnection.ts

+ 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";