diff --git a/package.json b/package.json index fa0213d..9ee902e 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "build": "rimraf dist && tsc" }, "devDependencies": { - "@lumeweb/relay-types": "git+https://git.lumeweb.com/LumeWeb/relay-types.git", + "@lumeweb/interface-relay": "git+https://git.lumeweb.com/LumeWeb/interface-relay.git", "@types/b4a": "^1.6.0", "@types/express": "^4.17.14", "@types/node": "^18.0.0", diff --git a/src/query/base.ts b/src/query/base.ts index 02baf7e..f993d22 100644 --- a/src/query/base.ts +++ b/src/query/base.ts @@ -5,7 +5,7 @@ import type { ClientRPCRequest, RPCRequest, RPCResponse, -} from "@lumeweb/relay-types"; +} from "@lumeweb/interface-relay"; export default abstract class RpcQueryBase { protected _network: RpcNetwork; diff --git a/src/query/clearCache.ts b/src/query/clearCache.ts index 3963f1e..db34de0 100644 --- a/src/query/clearCache.ts +++ b/src/query/clearCache.ts @@ -1,5 +1,5 @@ import RpcNetwork from "../network.js"; -import { RPCBroadcastRequest, RPCRequest } from "@lumeweb/relay-types"; +import { RPCBroadcastRequest, RPCRequest } from "@lumeweb/interface-relay"; import { RpcQueryOptions } from "../types.js"; import { hashQuery } from "../util.js"; import SimpleRpcQuery from "./simple.js"; diff --git a/src/query/index.ts b/src/query/index.ts index 0503713..2b03b8d 100644 --- a/src/query/index.ts +++ b/src/query/index.ts @@ -1,4 +1,4 @@ -import { ClientRPCRequest, RPCRequest } from "@lumeweb/relay-types"; +import { ClientRPCRequest, RPCRequest } from "@lumeweb/interface-relay"; import { RpcQueryOptions } from "../types.js"; import SimpleRpcQuery from "./simple.js"; import ClearCacheRpcQuery from "./clearCache.js"; diff --git a/src/query/simple.ts b/src/query/simple.ts index a54a625..c8c0fc1 100644 --- a/src/query/simple.ts +++ b/src/query/simple.ts @@ -1,5 +1,5 @@ import RpcNetwork from "../network.js"; -import { ClientRPCRequest, RPCResponse } from "@lumeweb/relay-types"; +import { ClientRPCRequest, RPCResponse } from "@lumeweb/interface-relay"; import { RpcQueryOptions } from "../types.js"; import b4a from "b4a"; import { diff --git a/src/util.ts b/src/util.ts index 3022f9d..77032b3 100644 --- a/src/util.ts +++ b/src/util.ts @@ -1,6 +1,6 @@ // @ts-ignore import stringify from "json-stringify-deterministic"; -import type { RPCRequest, RPCResponse } from "@lumeweb/relay-types"; +import type { RPCRequest, RPCResponse } from "@lumeweb/interface-relay"; // @ts-ignore import crypto from "hypercore-crypto"; // @ts-ignore