*switch from relay-types to interface-relay
This commit is contained in:
parent
e74408b42a
commit
63270fb1da
|
@ -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",
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue