@peerbit/server 5.0.20 → 5.0.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/esm/aws.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { type PeerId } from "@libp2p/interface/peer-id";
1
+ import { type PeerId } from "@libp2p/interface";
2
2
  export declare const createRecord: (options: {
3
3
  domain: string;
4
4
  region?: string;
@@ -1,7 +1,7 @@
1
1
  import { InstallDependency, StartProgram } from "./types.js";
2
2
  import { Address } from "@peerbit/program";
3
3
  import { Ed25519PublicKey, Identity, PublicSignKey } from "@peerbit/crypto";
4
- import { PeerId } from "@libp2p/interface/peer-id";
4
+ import { PeerId } from "@libp2p/interface";
5
5
  import { RemoteOrigin } from "./remotes.js";
6
6
  export declare const createClient: (keypair: Identity<Ed25519PublicKey>, remote?: {
7
7
  address: string;
@@ -1,5 +1,5 @@
1
1
  import { Peerbit } from "peerbit";
2
- import { PeerId } from "@libp2p/interface/peer-id";
2
+ import { PeerId } from "@libp2p/interface";
3
3
  export declare const LIBP2P_LISTEN_PORT = 8001;
4
4
  export declare const create: (properties: {
5
5
  directory?: string;