Fix StartOS 0.4 TypeScript packaging to match SDK API
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.GetContainerIp = void 0;
|
||||
const Watchable_1 = require("./Watchable");
|
||||
class GetContainerIp extends Watchable_1.Watchable {
|
||||
constructor(effects, opts = {}) {
|
||||
super(effects);
|
||||
this.opts = opts;
|
||||
this.label = 'GetContainerIp';
|
||||
}
|
||||
fetch(callback) {
|
||||
return this.effects.getContainerIp({ ...this.opts, callback });
|
||||
}
|
||||
}
|
||||
exports.GetContainerIp = GetContainerIp;
|
||||
//# sourceMappingURL=GetContainerIp.js.map
|
||||
Reference in New Issue
Block a user