@lwc/engine-core
Advanced tools
Comparing version 1.7.2 to 1.7.3-alpha1
{ | ||
"name": "@lwc/engine-core", | ||
"version": "1.7.2", | ||
"version": "1.7.3-alpha1", | ||
"description": "Core LWC engine APIs.", | ||
@@ -28,4 +28,4 @@ "homepage": "https://lwc.dev/", | ||
"devDependencies": { | ||
"@lwc/features": "1.7.2", | ||
"@lwc/shared": "1.7.2", | ||
"@lwc/features": "1.7.3-alpha1", | ||
"@lwc/shared": "1.7.3-alpha1", | ||
"observable-membrane": "0.26.1" | ||
@@ -36,3 +36,3 @@ }, | ||
}, | ||
"gitHead": "ef2f13618f62740fd72db108c3e2e3311c592e2f" | ||
"gitHead": "59821480186ff6de30f8cf76465e92e2c29e1294" | ||
} |
@@ -19,1 +19,2 @@ export { createContextProvider } from './context-provider'; | ||
export type { Renderer } from './renderer'; | ||
export type { DataCallback, WireAdapter, WireAdapterConstructor } from './wiring'; |
import { ComponentInterface } from './component'; | ||
import { VM } from './vm'; | ||
declare type DataCallback = (value: any) => void; | ||
interface WireContextInternalEventPayload { | ||
setNewContext(newContext: ContextValue): void; | ||
setDisconnectedCallback(disconnectCallback: () => void): void; | ||
} | ||
export declare class WireContextRegistrationEvent extends CustomEvent<undefined> { | ||
readonly setNewContext: (newContext: ContextValue) => void; | ||
readonly setDisconnectedCallback: (disconnectCallback: () => void) => void; | ||
constructor(adapterToken: string, { setNewContext, setDisconnectedCallback }: WireContextInternalEventPayload); | ||
} | ||
export declare type DataCallback = (value: any) => void; | ||
declare type ConfigValue = Record<string, any>; | ||
interface WireAdapter { | ||
export interface WireAdapter { | ||
update(config: ConfigValue, context?: ContextValue): void; | ||
@@ -7,0 +16,0 @@ connect(): void; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
411917
11494
1