@php-wasm/fs-journal 0.5.6 → 0.6.0

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.
@@ -91,7 +91,7 @@ export type FSNode = {
91
91
  children?: FSNode[];
92
92
  };
93
93
  export type FilesystemOperation = CreateOperation | UpdateFileOperation | DeleteOperation | RenameOperation;
94
- export declare function journalFSEvents(php: BasePHP, fsRoot: string, onEntry?: (entry: FilesystemOperation) => void): () => void;
94
+ export declare function journalFSEvents(php: BasePHP, fsRoot: string, onEntry?: (entry: FilesystemOperation) => void): () => any;
95
95
  /**
96
96
  * Replays a list of filesystem operations on a PHP instance.
97
97
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@php-wasm/fs-journal",
3
- "version": "0.5.6",
3
+ "version": "0.6.0",
4
4
  "description": "Bindings to journal the PHP filesystem",
5
5
  "repository": {
6
6
  "type": "git",
@@ -36,7 +36,7 @@
36
36
  "main": "./index.cjs",
37
37
  "module": "./index.js",
38
38
  "license": "GPL-2.0-or-later",
39
- "gitHead": "72e190ebb407051ccb5ef544e2a62018395395a0",
39
+ "gitHead": "3f137306ec8e3b10ec0674a1fe69ee43349edb4a",
40
40
  "engines": {
41
41
  "node": ">=18.18.2",
42
42
  "npm": ">=8.11.0"