@jupyterlab/services
Advanced tools
Comparing version 0.47.0 to 0.47.1
@@ -233,3 +233,3 @@ import { ModelDB } from '@jupyterlab/coreutils'; | ||
*/ | ||
createCheckpoint(path: string): Promise<IModel>; | ||
createCheckpoint(path: string): Promise<ICheckpointModel>; | ||
/** | ||
@@ -363,3 +363,3 @@ * List available checkpoints for a file. | ||
*/ | ||
createCheckpoint(localPath: string): Promise<IModel>; | ||
createCheckpoint(localPath: string): Promise<ICheckpointModel>; | ||
/** | ||
@@ -366,0 +366,0 @@ * List available checkpoints for a file. |
@@ -1442,7 +1442,3 @@ "use strict"; | ||
} | ||
return new Promise(function (resolve, reject) { | ||
future.onReply = function (reply) { | ||
resolve(reply); | ||
}; | ||
}); | ||
return new Promise(function (resolve) { future.onReply = resolve; }); | ||
} | ||
@@ -1449,0 +1445,0 @@ Private.handleShellMessage = handleShellMessage; |
@@ -112,3 +112,7 @@ import { IDisposable } from '@phosphor/disposable'; | ||
readonly serverSettings?: ServerConnection.ISettings; | ||
/** | ||
* The default drive for the contents manager. | ||
*/ | ||
readonly defaultDrive?: Contents.IDrive; | ||
} | ||
} |
@@ -30,3 +30,3 @@ import { ISignal, Signal } from '@phosphor/signaling'; | ||
*/ | ||
readonly iopubMessage: ISignal<this, KernelMessage.IMessage>; | ||
readonly iopubMessage: ISignal<this, KernelMessage.IIOPubMessage>; | ||
/** | ||
@@ -33,0 +33,0 @@ * A signal emitted for an unhandled kernel message. |
@@ -490,4 +490,4 @@ "use strict"; | ||
*/ | ||
function createSession(model, options) { | ||
var settings = options.serverSettings || __1.ServerConnection.makeSettings(); | ||
function createSession(model, settings) { | ||
settings = settings || __1.ServerConnection.makeSettings(); | ||
return kernel_1.Kernel.connectTo(model.kernel.id, settings).then(function (kernel) { | ||
@@ -666,3 +666,3 @@ return new DefaultSession({ | ||
return startSession(options).then(function (model) { | ||
return createSession(model, options); | ||
return createSession(model, options.serverSettings); | ||
}); | ||
@@ -669,0 +669,0 @@ } |
@@ -18,11 +18,11 @@ import { IIterator } from '@phosphor/algorithm'; | ||
*/ | ||
terminated: ISignal<ISession, void>; | ||
terminated: ISignal<this, void>; | ||
/** | ||
* A signal emitted when the kernel changes. | ||
*/ | ||
kernelChanged: ISignal<ISession, Kernel.IKernelConnection>; | ||
kernelChanged: ISignal<this, Kernel.IKernelConnection>; | ||
/** | ||
* A signal emitted when the session status changes. | ||
*/ | ||
statusChanged: ISignal<ISession, Kernel.Status>; | ||
statusChanged: ISignal<this, Kernel.Status>; | ||
/** | ||
@@ -35,7 +35,7 @@ * A signal emitted when a session property changes. | ||
*/ | ||
iopubMessage: ISignal<ISession, KernelMessage.IIOPubMessage>; | ||
iopubMessage: ISignal<this, KernelMessage.IIOPubMessage>; | ||
/** | ||
* A signal emitted for unhandled kernel message. | ||
*/ | ||
unhandledMessage: ISignal<ISession, KernelMessage.IMessage>; | ||
unhandledMessage: ISignal<this, KernelMessage.IMessage>; | ||
/** | ||
@@ -110,3 +110,3 @@ * Unique id of the session. | ||
*/ | ||
changeKernel(options: Kernel.IModel): Promise<Kernel.IKernel>; | ||
changeKernel(options: Kernel.IModel): Promise<Kernel.IKernelConnection>; | ||
/** | ||
@@ -279,7 +279,7 @@ * Kill the kernel and shutdown the session. | ||
*/ | ||
specsChanged: ISignal<IManager, Kernel.ISpecModels>; | ||
specsChanged: ISignal<this, Kernel.ISpecModels>; | ||
/** | ||
* A signal emitted when the running sessions change. | ||
*/ | ||
runningChanged: ISignal<IManager, IModel[]>; | ||
runningChanged: ISignal<this, IModel[]>; | ||
/** | ||
@@ -286,0 +286,0 @@ * The server settings for the manager. |
{ | ||
"name": "@jupyterlab/services", | ||
"version": "0.47.0", | ||
"version": "0.47.1", | ||
"description": "Client APIs for the Jupyter services REST APIs", | ||
@@ -8,3 +8,3 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@jupyterlab/coreutils": "^0.8.0", | ||
"@jupyterlab/coreutils": "^0.8.1", | ||
"@phosphor/algorithm": "^1.1.1", | ||
@@ -26,3 +26,3 @@ "@phosphor/coreutils": "^1.2.0", | ||
"text-encoding": "^0.5.2", | ||
"typescript": "~2.3.1", | ||
"typescript": "~2.4.1", | ||
"webpack": "^2.2.1", | ||
@@ -29,0 +29,0 @@ "ws": "^1.1.1", |
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
371992
Updated@jupyterlab/coreutils@^0.8.1