matchlock-sdk 0.1.26 → 0.1.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/client/create.js +3 -0
- package/dist/client.js +3 -1
- package/dist/types.d.ts +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/client/create.js
CHANGED
|
@@ -87,6 +87,9 @@ function buildCreateParams(options, wireVFS, wireNetworkInterception) {
|
|
|
87
87
|
}
|
|
88
88
|
params.image_config = imageConfig;
|
|
89
89
|
}
|
|
90
|
+
if (options.launchEntrypoint) {
|
|
91
|
+
params.launch_entrypoint = true;
|
|
92
|
+
}
|
|
90
93
|
return params;
|
|
91
94
|
}
|
|
92
95
|
function resolveCreateBlockPrivateIPs(opts) {
|
package/dist/client.js
CHANGED
|
@@ -84,7 +84,9 @@ class Client {
|
|
|
84
84
|
await (0, volumes_1.volumeRemove)((args) => this.transport.execCLI(args), name);
|
|
85
85
|
}
|
|
86
86
|
async launch(sandbox) {
|
|
87
|
-
|
|
87
|
+
const options = (0, builder_1.cloneCreateOptions)(sandbox.options());
|
|
88
|
+
options.launchEntrypoint = true;
|
|
89
|
+
return this.create(options);
|
|
88
90
|
}
|
|
89
91
|
async create(opts = {}) {
|
|
90
92
|
const options = (0, builder_1.cloneCreateOptions)(opts);
|
package/dist/types.d.ts
CHANGED