*switch from relay-types to interface-relay

This commit is contained in:
Derrick Hammer 2023-03-23 12:48:31 -04:00
parent e74408b42a
commit 63270fb1da
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
6 changed files with 6 additions and 6 deletions

View File

@ -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",

View File

@ -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;

View File

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

View File

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

View File

@ -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 {

View File

@ -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