@serverless/platform-client
Advanced tools
Comparing version 0.8.0 to 0.9.0
@@ -219,11 +219,15 @@ const domains = require('./domains') | ||
/** | ||
* Save Instance | ||
* Run Finish | ||
* @param {object} instance An object representing your Instance definition. | ||
* @param {string} method The action that was performed on the Component. | ||
*/ | ||
async saveInstance(instance = {}) { | ||
async runFinish(instance = {}, method = null) { | ||
return await utils.request({ | ||
endpoint: `${this.getDomain('engine')}/saveInstance`, | ||
endpoint: `${this.getDomain('engine')}/runFinish`, | ||
accessKey: this.accessKey, | ||
method: 'POST', | ||
data: { instance }, | ||
data: { | ||
instance, | ||
method | ||
}, | ||
}) | ||
@@ -230,0 +234,0 @@ } |
{ | ||
"name": "@serverless/platform-client", | ||
"version": "0.8.0", | ||
"version": "0.9.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
29677
507
0