We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0f54c7 commit 0dd0048Copy full SHA for 0dd0048
1 file changed
index.js
@@ -117,6 +117,14 @@ export class SDK extends EventEmitter {
117
return [...this.#coreCache.values()]
118
}
119
120
+ get drives () {
121
+ return [...this.#driveCache.values()]
122
+ }
123
+
124
+ get bees () {
125
+ return [...this.#beeCache.values()]
126
127
128
async resolveDNSToKey (hostname) {
129
// TODO: Check for TTL?
130
if (this.#dnsMemoryCache.has(hostname)) {
@@ -368,7 +376,7 @@ export class SDK extends EventEmitter {
368
376
if (typeof topic === 'string') {
369
377
return this.join(this.makeTopicKey(topic), opts)
370
378
371
- const joinOpts = { ...this.defaultJoinOpts, ...opts }
379
+ const joinOpts = { ...this.#defaultJoinOpts, ...opts }
372
380
return this.swarm.join(topic, joinOpts)
373
381
374
382
0 commit comments