abstract-confine-runtime
Advanced tools
Comparing version 0.0.1 to 0.1.0
module.exports = class AbstractConfineRuntime { | ||
constructor (sourcePath, opts = {}) { | ||
this.sourcePath = sourcePath | ||
constructor (opts = {}) { | ||
this.source = opts.source | ||
this.ipc = opts.ipc | ||
this.opts = opts | ||
@@ -15,2 +16,6 @@ } | ||
} | ||
async handleRequest (body) { | ||
} | ||
} |
{ | ||
"name": "abstract-confine-runtime", | ||
"version": "0.0.1", | ||
"version": "0.1.0", | ||
"description": "The base class for confine runtimes. ", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -16,4 +16,5 @@ # Abstract Confine Runtime | ||
module.exports = class MyConfineRuntime extends AbstractConfineRuntime { | ||
constructor (scriptPath, opts) { | ||
super(scriptPath, opts) | ||
constructor (opts) { | ||
super(opts) | ||
// sets this.source, this.ipc, and this.opts | ||
} | ||
@@ -32,2 +33,6 @@ | ||
} | ||
async handleRequest (body) { | ||
// handle requests sent to the runtime by the host environment | ||
} | ||
} | ||
@@ -34,0 +39,0 @@ ``` |
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
1628
14
41