@peerbit/program 3.0.17 → 3.0.18

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,4 +1,4 @@
1
- import type { PeerId as Libp2pPeerId } from "@libp2p/interface/peer-id";
1
+ import type { PeerId as Libp2pPeerId } from "@libp2p/interface";
2
2
  import { Blocks } from "@peerbit/blocks-interface";
3
3
  import { PubSub } from "@peerbit/pubsub-interface";
4
4
  import { Ed25519PublicKey, Identity } from "@peerbit/crypto";
@@ -3,7 +3,7 @@ import { Constructor } from "@dao-xyz/borsh";
3
3
  import { TypedEventTarget } from "@libp2p/interface";
4
4
  import { Client } from "./client.js";
5
5
  import { Blocks } from "@peerbit/blocks-interface";
6
- import { PeerId as Libp2pPeerId } from "@libp2p/interface/peer-id";
6
+ import { PeerId as Libp2pPeerId } from "@libp2p/interface";
7
7
  import { Address } from "./address.js";
8
8
  import { Handler, Manageable, ProgramInitializationOptions } from "./handler.js";
9
9
  export type OpenProgram = (program: Program) => Promise<Program>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@peerbit/program",
3
- "version": "3.0.17",
3
+ "version": "3.0.18",
4
4
  "description": "Program interface",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -30,11 +30,11 @@
30
30
  "license": "MIT",
31
31
  "dependencies": {
32
32
  "@dao-xyz/borsh": "^5.2.1",
33
- "@peerbit/any-store": "^1.0.12",
34
- "@peerbit/blocks-interface": "^1.2.11",
35
- "@peerbit/crypto": "2.1.6",
36
- "@peerbit/keychain": "^1.0.11",
37
- "@peerbit/pubsub-interface": "^2.0.11"
33
+ "@peerbit/any-store": "^1.0.13",
34
+ "@peerbit/blocks-interface": "^1.2.12",
35
+ "@peerbit/crypto": "2.1.7",
36
+ "@peerbit/keychain": "^1.0.12",
37
+ "@peerbit/pubsub-interface": "^2.0.12"
38
38
  },
39
- "gitHead": "954ec9009b2cd65baf4558009504b83eb17badf6"
39
+ "gitHead": "82d6f528faf0a4e060e400314bc01bc7260c41a5"
40
40
  }
package/src/client.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { PeerId as Libp2pPeerId } from "@libp2p/interface/peer-id";
1
+ import type { PeerId as Libp2pPeerId } from "@libp2p/interface";
2
2
  import { Blocks } from "@peerbit/blocks-interface";
3
3
  import { PubSub } from "@peerbit/pubsub-interface";
4
4
  import { Ed25519PublicKey, Identity } from "@peerbit/crypto";
package/src/program.ts CHANGED
@@ -9,7 +9,7 @@ import {
9
9
  } from "@libp2p/interface";
10
10
  import { Client } from "./client.js";
11
11
  import { Blocks } from "@peerbit/blocks-interface";
12
- import { PeerId as Libp2pPeerId } from "@libp2p/interface/peer-id";
12
+ import { PeerId as Libp2pPeerId } from "@libp2p/interface";
13
13
  import {
14
14
  SubscriptionEvent,
15
15
  UnsubcriptionEvent