@helia/unixfs 1.4.0 → 1.4.1
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/dist/index.min.js +1 -3
- package/dist/src/index.d.ts +2 -2
- package/package.json +2 -2
- package/src/index.ts +2 -2
package/dist/src/index.d.ts
CHANGED
|
@@ -340,7 +340,7 @@ export interface UnixFS {
|
|
|
340
340
|
*
|
|
341
341
|
* ```typescript
|
|
342
342
|
* const cid = await fs.addFile({
|
|
343
|
-
* path: './foo.txt'
|
|
343
|
+
* path: './foo.txt',
|
|
344
344
|
* content: Uint8Array.from([0, 1, 2, 3]),
|
|
345
345
|
* mode: 0x755,
|
|
346
346
|
* mtime: {
|
|
@@ -416,7 +416,7 @@ export interface UnixFS {
|
|
|
416
416
|
*
|
|
417
417
|
* ```typescript
|
|
418
418
|
* for await (const entry of fs.ls(directoryCid)) {
|
|
419
|
-
* console.info(
|
|
419
|
+
* console.info(entry)
|
|
420
420
|
* }
|
|
421
421
|
* ```
|
|
422
422
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@helia/unixfs",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.1",
|
|
4
4
|
"description": "A Helia-compatible wrapper for UnixFS",
|
|
5
5
|
"license": "Apache-2.0 OR MIT",
|
|
6
6
|
"homepage": "https://github.com/ipfs/helia-unixfs/tree/master/packages/unixfs#readme",
|
|
@@ -189,7 +189,7 @@
|
|
|
189
189
|
"entryPoint": "./src/index.ts"
|
|
190
190
|
},
|
|
191
191
|
"browser": {
|
|
192
|
-
"./dist/utils/glob-source.js": false,
|
|
192
|
+
"./dist/src/utils/glob-source.js": false,
|
|
193
193
|
"node:fs": false,
|
|
194
194
|
"node:fs/promises": false,
|
|
195
195
|
"node:path": false,
|
package/src/index.ts
CHANGED
|
@@ -401,7 +401,7 @@ export interface UnixFS {
|
|
|
401
401
|
*
|
|
402
402
|
* ```typescript
|
|
403
403
|
* const cid = await fs.addFile({
|
|
404
|
-
* path: './foo.txt'
|
|
404
|
+
* path: './foo.txt',
|
|
405
405
|
* content: Uint8Array.from([0, 1, 2, 3]),
|
|
406
406
|
* mode: 0x755,
|
|
407
407
|
* mtime: {
|
|
@@ -482,7 +482,7 @@ export interface UnixFS {
|
|
|
482
482
|
*
|
|
483
483
|
* ```typescript
|
|
484
484
|
* for await (const entry of fs.ls(directoryCid)) {
|
|
485
|
-
* console.info(
|
|
485
|
+
* console.info(entry)
|
|
486
486
|
* }
|
|
487
487
|
* ```
|
|
488
488
|
*/
|