diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index ec28fd0..8481d18 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -2104,6 +2104,11 @@ "from": "pull-paramap@>=1.2.1 <2.0.0", "resolved": "https://registry.npmjs.org/pull-paramap/-/pull-paramap-1.2.1.tgz" }, + "pull-promise": { + "version": "2.0.0", + "from": "pull-promise@>=2.0.0 <3.0.0", + "resolved": "https://registry.npmjs.org/pull-promise/-/pull-promise-2.0.0.tgz" + }, "pull-pushable": { "version": "2.0.1", "from": "pull-pushable@>=2.0.0 <3.0.0", @@ -2124,6 +2129,18 @@ "from": "pull-stream-to-stream@>=1.3.3 <2.0.0", "resolved": "https://registry.npmjs.org/pull-stream-to-stream/-/pull-stream-to-stream-1.3.3.tgz" }, + "pull-window": { + "version": "2.1.4", + "from": "pull-window@>=2.1.4 <3.0.0", + "resolved": "https://registry.npmjs.org/pull-window/-/pull-window-2.1.4.tgz", + "dependencies": { + "looper": { + "version": "2.0.0", + "from": "looper@>=2.0.0 <3.0.0", + "resolved": "https://registry.npmjs.org/looper/-/looper-2.0.0.tgz" + } + } + }, "pull-ws": { "version": "3.2.8", "from": "pull-ws@>=3.2.8 <4.0.0", diff --git a/src/client/api/RestClient.js b/src/client/api/RestClient.js index 6f35824..01e696d 100644 --- a/src/client/api/RestClient.js +++ b/src/client/api/RestClient.js @@ -336,8 +336,8 @@ class RestClient { .then(r => r.json()) } - getNodeManifest (): Promise { - return this.getRequest('manifest/node') + getSelfManifest (): Promise { + return this.getRequest('manifest/self') .then(trimTextResponse) } diff --git a/src/client/cli/commands/manifest/self.js b/src/client/cli/commands/manifest/self.js index c424323..94b210c 100644 --- a/src/client/cli/commands/manifest/self.js +++ b/src/client/cli/commands/manifest/self.js @@ -9,7 +9,7 @@ module.exports = { `suitable for signing by mcid to produce a manifest.\n`, handler: subcommand((opts: {client: RestClient}) => { const {client} = opts - return client.getNodeManifest() + return client.getSelfManifest() .then(m => println(m)) }) }