@wixc3/engine-core
Advanced tools
Comparing version 49.1.0 to 49.1.1
@@ -14,3 +14,3 @@ import type { Message } from './message-types.js'; | ||
export declare const UNHANDLED: (message: Message, hostId: string) => string; | ||
export declare const reportError: typeof globalThis.reportError; | ||
export declare function reportError(e: unknown): void; | ||
//# sourceMappingURL=logs.d.ts.map |
@@ -13,6 +13,5 @@ export const GLOBAL_REF = (id) => `Com with id "${id}" is already running.`; | ||
export const UNHANDLED = (message, hostId) => `[DEBUG] unhandledMessage received at ${hostId}. message:\n${JSON.stringify(message, null, 2)}`; | ||
export const reportError = globalThis.reportError ?? | ||
function reportError(e) { | ||
console.error(e); | ||
}; | ||
export function reportError(e) { | ||
console.error(e); | ||
} | ||
//# sourceMappingURL=logs.js.map |
{ | ||
"name": "@wixc3/engine-core", | ||
"version": "49.1.0", | ||
"version": "49.1.1", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -34,6 +34,4 @@ import type { Message } from './message-types.js'; | ||
export const reportError = | ||
globalThis.reportError ?? | ||
function reportError(e: unknown) { | ||
console.error(e); | ||
}; | ||
export function reportError(e: unknown) { | ||
console.error(e); | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
452703
7563