@peerbit/program
Advanced tools
Comparing version 2.2.2 to 2.2.3
@@ -117,3 +117,3 @@ import PQueue from "p-queue"; | ||
}, | ||
...options, | ||
...options | ||
// If the program opens more programs | ||
@@ -120,0 +120,0 @@ // reset: options.reset, |
@@ -1,4 +0,4 @@ | ||
export { type ProgramInitializationOptions, type OpenOptions, } from "./handler.js"; | ||
export { type ProgramInitializationOptions, type OpenOptions } from "./handler.js"; | ||
export * from "./client.js"; | ||
export * from "./program.js"; | ||
export * from "./address.js"; |
@@ -14,3 +14,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
import { waitForAsync } from "@peerbit/time"; | ||
import { Handler, } from "./handler.js"; | ||
import { Handler } from "./handler.js"; | ||
const intersection = (a, b) => { | ||
@@ -46,3 +46,3 @@ const newSet = new Set(); | ||
shouldMonitor: (p) => p instanceof Program, | ||
load: Program.load, | ||
load: Program.load | ||
}); | ||
@@ -49,0 +49,0 @@ } |
@@ -1,2 +0,2 @@ | ||
import { getSchema, } from "@dao-xyz/borsh"; | ||
import { getSchema } from "@dao-xyz/borsh"; | ||
const MAX_PROTOTYPE_SEARCH = 500; | ||
@@ -3,0 +3,0 @@ const PROTOTYPE_DESERIALIZATION_HANDLER_OFFSET = 500; |
{ | ||
"name": "@peerbit/program", | ||
"version": "2.2.2", | ||
"version": "2.2.3", | ||
"description": "Program interface", | ||
@@ -33,8 +33,8 @@ "type": "module", | ||
"@dao-xyz/borsh": "^5.1.5", | ||
"@peerbit/blocks-interface": "^1.0.7", | ||
"@peerbit/crypto": "1.0.5", | ||
"@peerbit/lazy-level": "^1.0.3", | ||
"@peerbit/pubsub-interface": "^1.1.0" | ||
"@peerbit/blocks-interface": "^1.0.8", | ||
"@peerbit/crypto": "1.0.6", | ||
"@peerbit/lazy-level": "^1.1.0", | ||
"@peerbit/pubsub-interface": "^1.1.1" | ||
}, | ||
"gitHead": "2efb4d5dc542ac84cfd79bb576506ba0ca392a72" | ||
"gitHead": "0cfa376bc90c31e1063ddaf5435c828b490e0228" | ||
} |
@@ -227,3 +227,3 @@ import { Blocks } from "@peerbit/blocks-interface"; | ||
}, | ||
...options, | ||
...options | ||
// If the program opens more programs | ||
@@ -230,0 +230,0 @@ // reset: options.reset, |
export { | ||
type ProgramInitializationOptions, | ||
type OpenOptions, | ||
type OpenOptions | ||
} from "./handler.js"; | ||
@@ -5,0 +5,0 @@ export * from "./client.js"; |
@@ -12,3 +12,3 @@ import { PublicSignKey, getPublicKeyFromPeerId } from "@peerbit/crypto"; | ||
SubscriptionEvent, | ||
UnsubcriptionEvent, | ||
UnsubcriptionEvent | ||
} from "@peerbit/pubsub-interface"; | ||
@@ -20,3 +20,3 @@ import { Address } from "./address.js"; | ||
Manageable, | ||
ProgramInitializationOptions, | ||
ProgramInitializationOptions | ||
} from "./handler.js"; | ||
@@ -76,3 +76,3 @@ | ||
shouldMonitor: (p) => p instanceof Program, | ||
load: Program.load, | ||
load: Program.load | ||
}); | ||
@@ -377,5 +377,4 @@ } | ||
for (const topic of topics) { | ||
const subscribers = await this.node.services.pubsub.getSubscribers( | ||
topic | ||
); | ||
const subscribers = | ||
await this.node.services.pubsub.getSubscribers(topic); | ||
if (!subscribers) { | ||
@@ -382,0 +381,0 @@ throw new Error( |
@@ -5,3 +5,3 @@ import { | ||
getSchema, | ||
StructKind, | ||
StructKind | ||
} from "@dao-xyz/borsh"; | ||
@@ -8,0 +8,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
68879
1468
+ Added@peerbit/crypto@1.0.6(transitive)
- Removed@libp2p/crypto@1.0.17(transitive)
- Removed@libp2p/interface-keys@1.0.8(transitive)
- Removed@libp2p/interface-peer-id@2.0.2(transitive)
- Removed@libp2p/peer-id@2.0.4(transitive)
- Removed@noble/ed25519@1.7.3(transitive)
- Removed@noble/secp256k1@1.7.1(transitive)
- Removed@peerbit/crypto@1.0.5(transitive)
- Removedmultiformats@11.0.2(transitive)
Updated@peerbit/crypto@1.0.6
Updated@peerbit/lazy-level@^1.1.0