@peerbit/stream-interface 3.0.7 → 3.0.8

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.
@@ -1,5 +1,5 @@
1
1
  import { PublicSignKey } from "@peerbit/crypto";
2
- import type { PeerId } from "@libp2p/interface/peer-id";
2
+ import type { PeerId } from "@libp2p/interface";
3
3
  import { DataMessage, Message } from "./messages.js";
4
4
  export interface PeerEvents {
5
5
  "peer:session": CustomEvent<PublicSignKey>;
@@ -1,6 +1,6 @@
1
1
  import { Uint8ArrayList } from "uint8arraylist";
2
2
  import { PublicSignKey, SignatureWithKey } from "@peerbit/crypto";
3
- import type { PeerId } from "@libp2p/interface/peer-id";
3
+ import type { PeerId } from "@libp2p/interface";
4
4
  export declare const ID_LENGTH = 32;
5
5
  /**
6
6
  * The default msgID implementation
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@peerbit/stream-interface",
3
- "version": "3.0.7",
3
+ "version": "3.0.8",
4
4
  "description": "Block store streaming",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -50,7 +50,7 @@
50
50
  ],
51
51
  "dependencies": {
52
52
  "@dao-xyz/borsh": "^5.2.1",
53
- "@peerbit/crypto": "2.1.6"
53
+ "@peerbit/crypto": "2.1.7"
54
54
  },
55
- "gitHead": "3ee064de9b5cf0d8a8da2e62c3d3ec0d6c799f05"
55
+ "gitHead": "82d6f528faf0a4e060e400314bc01bc7260c41a5"
56
56
  }
package/src/index.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { PublicSignKey } from "@peerbit/crypto";
2
- import type { PeerId } from "@libp2p/interface/peer-id";
2
+ import type { PeerId } from "@libp2p/interface";
3
3
  import { DataMessage, Message } from "./messages.js";
4
4
 
5
5
  export interface PeerEvents {
package/src/messages.ts CHANGED
@@ -17,7 +17,7 @@ import {
17
17
  getPublicKeyFromPeerId
18
18
  } from "@peerbit/crypto";
19
19
 
20
- import type { PeerId } from "@libp2p/interface/peer-id";
20
+ import type { PeerId } from "@libp2p/interface";
21
21
 
22
22
  export const ID_LENGTH = 32;
23
23