@fluidframework/container-definitions
Advanced tools
Comparing version 0.37.4 to 0.38.0-21934
@@ -71,3 +71,3 @@ /*! | ||
(event: "codeDetailsProposed", listener: (codeDetails: IFluidCodeDetails, proposal: IPendingProposal) => void): any; | ||
(event: "contextDisposed" | "contextChanged", listener: (codeDetails: IFluidCodeDetails, previousCodeDetails: IFluidCodeDetails | undefined) => void): any; | ||
(event: "contextChanged", listener: (codeDetails: IFluidCodeDetails) => void): any; | ||
(event: "disconnected" | "attaching" | "attached", listener: () => void): any; | ||
@@ -186,10 +186,2 @@ (event: "closed", listener: (error?: ICriticalContainerError) => void): any; | ||
/** | ||
* Affects the behavior of the Container when a new code proposal | ||
* is accepted that the current loaded code does not satisfy. | ||
* True to reload the context without closing the container, or | ||
* false to only close the container. | ||
* Defaults to false. | ||
*/ | ||
hotSwapContext?: boolean; | ||
/** | ||
* Set caching behavior for the loader. If true, we will load a container from cache if one | ||
@@ -196,0 +188,0 @@ * with the same id/version exists or create a new container and cache it if it does not. If |
@@ -24,9 +24,2 @@ /*! | ||
/** | ||
* Represents the data that will be preserved from the previous IRuntime during a context reload. | ||
*/ | ||
export interface IRuntimeState { | ||
snapshot?: ITree; | ||
state?: unknown; | ||
} | ||
/** | ||
* The IRuntime represents an instantiation of a code package within a Container. | ||
@@ -55,3 +48,6 @@ * Primarily held by the ContainerContext to be able to interact with the running instance of the Container. | ||
*/ | ||
stop(): Promise<IRuntimeState>; | ||
stop(): Promise<{ | ||
snapshot?: never; | ||
state?: never; | ||
}>; | ||
/** | ||
@@ -103,3 +99,2 @@ * Processes the given op (message) | ||
readonly serviceConfiguration: IClientConfiguration | undefined; | ||
readonly previousRuntimeState: IRuntimeState; | ||
pendingLocalState?: unknown; | ||
@@ -106,0 +101,0 @@ /** |
@@ -71,3 +71,3 @@ /*! | ||
(event: "codeDetailsProposed", listener: (codeDetails: IFluidCodeDetails, proposal: IPendingProposal) => void): any; | ||
(event: "contextDisposed" | "contextChanged", listener: (codeDetails: IFluidCodeDetails, previousCodeDetails: IFluidCodeDetails | undefined) => void): any; | ||
(event: "contextChanged", listener: (codeDetails: IFluidCodeDetails) => void): any; | ||
(event: "disconnected" | "attaching" | "attached", listener: () => void): any; | ||
@@ -186,10 +186,2 @@ (event: "closed", listener: (error?: ICriticalContainerError) => void): any; | ||
/** | ||
* Affects the behavior of the Container when a new code proposal | ||
* is accepted that the current loaded code does not satisfy. | ||
* True to reload the context without closing the container, or | ||
* false to only close the container. | ||
* Defaults to false. | ||
*/ | ||
hotSwapContext?: boolean; | ||
/** | ||
* Set caching behavior for the loader. If true, we will load a container from cache if one | ||
@@ -196,0 +188,0 @@ * with the same id/version exists or create a new container and cache it if it does not. If |
@@ -24,9 +24,2 @@ /*! | ||
/** | ||
* Represents the data that will be preserved from the previous IRuntime during a context reload. | ||
*/ | ||
export interface IRuntimeState { | ||
snapshot?: ITree; | ||
state?: unknown; | ||
} | ||
/** | ||
* The IRuntime represents an instantiation of a code package within a Container. | ||
@@ -55,3 +48,6 @@ * Primarily held by the ContainerContext to be able to interact with the running instance of the Container. | ||
*/ | ||
stop(): Promise<IRuntimeState>; | ||
stop(): Promise<{ | ||
snapshot?: never; | ||
state?: never; | ||
}>; | ||
/** | ||
@@ -103,3 +99,2 @@ * Processes the given op (message) | ||
readonly serviceConfiguration: IClientConfiguration | undefined; | ||
readonly previousRuntimeState: IRuntimeState; | ||
pendingLocalState?: unknown; | ||
@@ -106,0 +101,0 @@ /** |
{ | ||
"name": "@fluidframework/container-definitions", | ||
"version": "0.37.4", | ||
"version": "0.38.0-21934", | ||
"description": "Fluid container definitions", | ||
@@ -32,11 +32,11 @@ "homepage": "https://fluidframework.com", | ||
"@fluidframework/common-definitions": "^0.19.1", | ||
"@fluidframework/core-interfaces": "^0.37.4", | ||
"@fluidframework/driver-definitions": "^0.37.4", | ||
"@fluidframework/protocol-definitions": "^0.1022.0" | ||
"@fluidframework/core-interfaces": "0.38.0-21934", | ||
"@fluidframework/driver-definitions": "0.38.0-21934", | ||
"@fluidframework/protocol-definitions": "^0.1022.0-0" | ||
}, | ||
"devDependencies": { | ||
"@fluidframework/build-common": "^0.20.0", | ||
"@fluidframework/build-common": "^0.21.0-0", | ||
"@fluidframework/eslint-config-fluid": "^0.23.0", | ||
"@microsoft/api-extractor": "^7.13.1", | ||
"@types/node": "^10.17.24", | ||
"@types/node": "^12.19.0", | ||
"@typescript-eslint/eslint-plugin": "~4.14.0", | ||
@@ -43,0 +43,0 @@ "@typescript-eslint/parser": "~4.14.0", |
@@ -90,4 +90,3 @@ /*! | ||
(event: "codeDetailsProposed", listener: (codeDetails: IFluidCodeDetails, proposal: IPendingProposal) => void); | ||
(event: "contextDisposed" | "contextChanged", | ||
listener: (codeDetails: IFluidCodeDetails, previousCodeDetails: IFluidCodeDetails | undefined) => void); | ||
(event: "contextChanged", listener: (codeDetails: IFluidCodeDetails) => void); | ||
(event: "disconnected" | "attaching" | "attached", listener: () => void); | ||
@@ -225,11 +224,2 @@ (event: "closed", listener: (error?: ICriticalContainerError) => void); | ||
/** | ||
* Affects the behavior of the Container when a new code proposal | ||
* is accepted that the current loaded code does not satisfy. | ||
* True to reload the context without closing the container, or | ||
* false to only close the container. | ||
* Defaults to false. | ||
*/ | ||
hotSwapContext?: boolean; | ||
/** | ||
* Set caching behavior for the loader. If true, we will load a container from cache if one | ||
@@ -236,0 +226,0 @@ * with the same id/version exists or create a new container and cache it if it does not. If |
@@ -46,10 +46,2 @@ /*! | ||
/** | ||
* Represents the data that will be preserved from the previous IRuntime during a context reload. | ||
*/ | ||
export interface IRuntimeState { | ||
snapshot?: ITree, | ||
state?: unknown, | ||
} | ||
/** | ||
* The IRuntime represents an instantiation of a code package within a Container. | ||
@@ -82,3 +74,3 @@ * Primarily held by the ContainerContext to be able to interact with the running instance of the Container. | ||
*/ | ||
stop(): Promise<IRuntimeState>; | ||
stop(): Promise<{snapshot?: never, state?: never}>; | ||
@@ -136,3 +128,2 @@ /** | ||
readonly serviceConfiguration: IClientConfiguration | undefined; | ||
readonly previousRuntimeState: IRuntimeState; | ||
pendingLocalState?: unknown; | ||
@@ -139,0 +130,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
213412
2741
+ Added@fluidframework/core-interfaces@0.38.0-21934(transitive)
+ Added@fluidframework/driver-definitions@0.38.0-21934(transitive)
- Removed@fluidframework/core-interfaces@0.37.4(transitive)
- Removed@fluidframework/driver-definitions@0.37.4(transitive)