@ipld/car 5.0.2 → 5.0.3
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.
- package/README.md +1 -1
- package/dist/src/reader-browser.d.ts +1 -1
- package/package.json +1 -1
- package/src/reader-browser.js +1 -1
package/README.md
CHANGED
|
@@ -338,7 +338,7 @@ the `CID`s contained within the CAR referenced by this reader.
|
|
|
338
338
|
|
|
339
339
|
* `bytes` `(Uint8Array)`
|
|
340
340
|
|
|
341
|
-
* Returns: `Promise<CarReader
|
|
341
|
+
* Returns: `Promise<CarReader>`
|
|
342
342
|
|
|
343
343
|
Instantiate a [`CarReader`](#CarReader) from a `Uint8Array` blob. This performs a
|
|
344
344
|
decode fully in memory and maintains the decoded state in memory for full
|
|
@@ -43,7 +43,7 @@ export class CarReader implements CarReaderIface {
|
|
|
43
43
|
* @static
|
|
44
44
|
* @memberof CarReader
|
|
45
45
|
* @param {Uint8Array} bytes
|
|
46
|
-
* @returns {Promise<CarReader>}
|
|
46
|
+
* @returns {Promise<CarReader>}
|
|
47
47
|
*/
|
|
48
48
|
static fromBytes(bytes: Uint8Array): Promise<CarReader>;
|
|
49
49
|
/**
|
package/package.json
CHANGED
package/src/reader-browser.js
CHANGED
|
@@ -148,7 +148,7 @@ export class CarReader {
|
|
|
148
148
|
* @static
|
|
149
149
|
* @memberof CarReader
|
|
150
150
|
* @param {Uint8Array} bytes
|
|
151
|
-
* @returns {Promise<CarReader>}
|
|
151
|
+
* @returns {Promise<CarReader>}
|
|
152
152
|
*/
|
|
153
153
|
static async fromBytes (bytes) {
|
|
154
154
|
if (!(bytes instanceof Uint8Array)) {
|