@php-wasm/logger 0.9.28 → 0.9.30

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.
@@ -1,11 +1,13 @@
1
1
  /// <reference lib="webworker" />
2
2
  /**
3
3
  * **Call this inside a service worker.**
4
- * These errors include Playground errors like Asyncify errors. PHP errors won't trigger this event.
4
+ * These errors include Playground errors like Asyncify errors. PHP errors
5
+ * won't trigger this event.
5
6
  *
6
7
  * Reports service worker metrics.
7
- * Allows the logger to request metrics from the service worker by sending a message.
8
- * The service worker will respond with the number of open Playground tabs.
8
+ * Allows the logger to request metrics from the service worker by sending a
9
+ * message. The service worker will respond with the number of open Playground
10
+ * tabs.
9
11
  *
10
12
  * @param worker The service worker
11
13
  */
package/lib/logger.d.ts CHANGED
@@ -79,7 +79,8 @@ export declare const formatLogEntry: (message: string, severity: LogSeverity, pr
79
79
  /**
80
80
  * Add a listener for the Playground crashes.
81
81
  * These crashes include Playground errors like Asyncify errors.
82
- * The callback function will receive an Event object with logs in the detail property.
82
+ * The callback function will receive an Event object with logs in the detail
83
+ * property.
83
84
  *
84
85
  * @param loggerInstance The logger instance
85
86
  * @param callback The callback function
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@php-wasm/logger",
3
- "version": "0.9.28",
3
+ "version": "0.9.30",
4
4
  "description": "A logger for PHP-wasm clients like Playground and WP-now.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -27,8 +27,8 @@
27
27
  "node": ">=18.18.0",
28
28
  "npm": ">=8.11.0"
29
29
  },
30
- "gitHead": "15d87898b0a7f8a0cf322425923336df1d84843b",
30
+ "gitHead": "8c1286b89eb1793445681bf801f64cbf12e15cf2",
31
31
  "dependencies": {
32
- "@php-wasm/node-polyfills": "0.9.28"
32
+ "@php-wasm/node-polyfills": "0.9.30"
33
33
  }
34
34
  }