kurtosis-sdk 0.80.23 → 0.81.0

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.
@@ -8,7 +8,6 @@ import { Readable } from "stream";
8
8
  import { StarlarkRunResult } from "./starlark_run_blocking";
9
9
  import { ServiceIdentifiers } from "../services/service_identifiers";
10
10
  export type EnclaveUUID = string;
11
- export type PartitionID = string;
12
11
  export declare const KURTOSIS_YAML_FILENAME = "kurtosis.yml";
13
12
  export declare class EnclaveContext {
14
13
  private readonly backend;
@@ -12,7 +12,7 @@ export declare class KurtosisContext {
12
12
  private readonly client;
13
13
  constructor(client: GenericEngineClient);
14
14
  static newKurtosisContextFromLocalEngine(): Promise<Result<KurtosisContext, Error>>;
15
- createEnclave(enclaveName: string, isSubnetworkingEnabled: boolean): Promise<Result<EnclaveContext, Error>>;
15
+ createEnclave(enclaveName: string): Promise<Result<EnclaveContext, Error>>;
16
16
  getEnclaveContext(enclaveIdentifier: string): Promise<Result<EnclaveContext, Error>>;
17
17
  getEnclaves(): Promise<Result<Enclaves, Error>>;
18
18
  getEnclave(enclaveIdentifier: string): Promise<Result<EnclaveInfo, Error>>;
@@ -61,9 +61,10 @@ class KurtosisContext {
61
61
  });
62
62
  }
63
63
  // Docs available at https://docs.kurtosis.com/sdk#createenclaveenclaveid-enclaveid-boolean-issubnetworkingenabled---enclavecontextenclavecontext-enclavecontext
64
- createEnclave(enclaveName, isSubnetworkingEnabled) {
64
+ createEnclave(enclaveName) {
65
65
  return __awaiter(this, void 0, void 0, function* () {
66
- const enclaveArgs = (0, constructor_calls_1.newCreateEnclaveArgs)(enclaveName, DEFAULT_API_CONTAINER_VERSION_TAG, API_CONTAINER_LOG_LEVEL, isSubnetworkingEnabled);
66
+ const subnetworkDisableBecauseItIsDeprecated = false;
67
+ const enclaveArgs = (0, constructor_calls_1.newCreateEnclaveArgs)(enclaveName, DEFAULT_API_CONTAINER_VERSION_TAG, API_CONTAINER_LOG_LEVEL, subnetworkDisableBecauseItIsDeprecated);
67
68
  const getEnclaveResponseResult = yield this.client.createEnclaveResponse(enclaveArgs);
68
69
  if (getEnclaveResponseResult.isErr()) {
69
70
  return (0, neverthrow_1.err)(getEnclaveResponseResult.error);
package/build/index.d.ts CHANGED
@@ -3,7 +3,7 @@ export type { ServiceName, ServiceUUID } from "./core/lib/services/service";
3
3
  export { ServiceContext } from "./core/lib/services/service_context";
4
4
  export { PortSpec, TransportProtocol } from "./core/lib/services/port_spec";
5
5
  export { EnclaveContext } from "./core/lib/enclaves/enclave_context";
6
- export type { EnclaveUUID, PartitionID } from "./core/lib/enclaves/enclave_context";
6
+ export type { EnclaveUUID } from "./core/lib/enclaves/enclave_context";
7
7
  export type { FilesArtifactUUID } from "./core/lib/enclaves/files_artifact";
8
8
  export { newExecCommandArgs, newGetServicesArgs, newWaitForHttpGetEndpointAvailabilityArgs, newWaitForHttpPostEndpointAvailabilityArgs } from "./core/lib/constructor_calls";
9
9
  export { KurtosisContext, DEFAULT_GRPC_ENGINE_SERVER_PORT_NUM } from "./engine/lib/kurtosis_context/kurtosis_context";
@@ -4,5 +4,5 @@ exports.KURTOSIS_VERSION = void 0;
4
4
  // !!!!!!!!!!! DO NOT UPDATE! WILL BE MANUALLY UPDATED DURING THE RELEASE PROCESS !!!!!!!!!!!!!!!!!!!!!!
5
5
  // This is necessary so that Kurt Core consumers (e.g. modules) will know if they're compatible with the currently-running
6
6
  // API container
7
- exports.KURTOSIS_VERSION = "0.80.23";
7
+ exports.KURTOSIS_VERSION = "0.81.0";
8
8
  // !!!!!!!!!!! DO NOT UPDATE! WILL BE MANUALLY UPDATED DURING THE RELEASE PROCESS !!!!!!!!!!!!!!!!!!!!!!
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "kurtosis-sdk",
3
3
  "//": "NOTE: DO NOT UPDATE THIS VERSION MANUALLY - IT WILL BE UPDATED DURING THE RELEASE PROCESS!",
4
- "version": "0.80.23",
4
+ "version": "0.81.0",
5
5
  "main": "./build/index",
6
6
  "description": "This repo contains a Typescript client for communicating with the Kurtosis Engine server, which is responsible for creating, managing and destroying Kurtosis Enclaves.",
7
7
  "types": "./build/index",