Skip to content

Commit 9acefe6

Browse files
optic-release-automation[bot]RangerMauve
andauthored
[OPTIC-RELEASE-AUTOMATION] release/v5.1.2 (#1177)
Release v5.1.2 Co-authored-by: RangerMauve <[email protected]>
1 parent ab787a6 commit 9acefe6

File tree

4 files changed

+37
-3
lines changed

4 files changed

+37
-3
lines changed

docs/api/md/-internal-/classes/BlobStore.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,28 @@ Hyperdrive entry
276276

277277
***
278278

279+
### hasDownloadedBlobEntry()
280+
281+
> **hasDownloadedBlobEntry**(`driveId`, `entry`): `Promise`\<`boolean`\>
282+
283+
Check if all the blocks for a given blob entry have been downloaded
284+
285+
#### Parameters
286+
287+
**driveId**: `string`
288+
289+
Hyperdrive drive id
290+
291+
**entry**: [`HyperdriveEntry`](../namespaces/Hyperdrive/interfaces/HyperdriveEntry.md)
292+
293+
Hyperdrive entry
294+
295+
#### Returns
296+
297+
`Promise`\<`boolean`\>
298+
299+
***
300+
279301
### put()
280302

281303
> **put**(`blobId`, `blob`, `options`?): `Promise`\<`string`\>

docs/api/md/classes/MapeoManager.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,18 @@ Set opts.waitForSync = false to not wait for sync during addProject()
118118

119119
***
120120

121+
### close()
122+
123+
> **close**(): `Promise`\<`void`\>
124+
125+
Cleans up open resorces and closes open projects
126+
127+
#### Returns
128+
129+
`Promise`\<`void`\>
130+
131+
***
132+
121133
### connectLocalPeer()
122134

123135
> **connectLocalPeer**(`peer`): `void`

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@comapeo/core",
3-
"version": "5.1.1",
3+
"version": "5.1.2",
44
"description": "Offline p2p mapping library",
55
"main": "src/index.js",
66
"types": "dist/index.d.ts",

0 commit comments

Comments
 (0)