kurtosis-sdk 0.55.0 → 0.55.1

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.
@@ -696,6 +696,11 @@ export class KurtosisExecutionResponseLine extends jspb.Message {
696
696
  hasError(): boolean;
697
697
  clearError(): KurtosisExecutionResponseLine;
698
698
 
699
+ getProgressInfo(): KurtosisExecutionProgress | undefined;
700
+ setProgressInfo(value?: KurtosisExecutionProgress): KurtosisExecutionResponseLine;
701
+ hasProgressInfo(): boolean;
702
+ clearProgressInfo(): KurtosisExecutionResponseLine;
703
+
699
704
  getKurtosisExecutionResponseLineCase(): KurtosisExecutionResponseLine.KurtosisExecutionResponseLineCase;
700
705
 
701
706
  serializeBinary(): Uint8Array;
@@ -710,12 +715,40 @@ export namespace KurtosisExecutionResponseLine {
710
715
  export type AsObject = {
711
716
  instruction?: KurtosisInstruction.AsObject,
712
717
  error?: KurtosisError.AsObject,
718
+ progressInfo?: KurtosisExecutionProgress.AsObject,
713
719
  }
714
720
 
715
721
  export enum KurtosisExecutionResponseLineCase {
716
722
  KURTOSIS_EXECUTION_RESPONSE_LINE_NOT_SET = 0,
717
723
  INSTRUCTION = 1,
718
724
  ERROR = 2,
725
+ PROGRESS_INFO = 3,
726
+ }
727
+ }
728
+
729
+ export class KurtosisExecutionProgress extends jspb.Message {
730
+ getCurrentStepInfo(): string;
731
+ setCurrentStepInfo(value: string): KurtosisExecutionProgress;
732
+
733
+ getTotalSteps(): number;
734
+ setTotalSteps(value: number): KurtosisExecutionProgress;
735
+
736
+ getCurrentStepNumber(): number;
737
+ setCurrentStepNumber(value: number): KurtosisExecutionProgress;
738
+
739
+ serializeBinary(): Uint8Array;
740
+ toObject(includeInstance?: boolean): KurtosisExecutionProgress.AsObject;
741
+ static toObject(includeInstance: boolean, msg: KurtosisExecutionProgress): KurtosisExecutionProgress.AsObject;
742
+ static serializeBinaryToWriter(message: KurtosisExecutionProgress, writer: jspb.BinaryWriter): void;
743
+ static deserializeBinary(bytes: Uint8Array): KurtosisExecutionProgress;
744
+ static deserializeBinaryFromReader(message: KurtosisExecutionProgress, reader: jspb.BinaryReader): KurtosisExecutionProgress;
745
+ }
746
+
747
+ export namespace KurtosisExecutionProgress {
748
+ export type AsObject = {
749
+ currentStepInfo: string,
750
+ totalSteps: number,
751
+ currentStepNumber: number,
719
752
  }
720
753
  }
721
754
 
@@ -51,6 +51,7 @@ goog.exportSymbol('proto.api_container_api.HttpRequestMethod', null, global);
51
51
  goog.exportSymbol('proto.api_container_api.KurtosisError', null, global);
52
52
  goog.exportSymbol('proto.api_container_api.KurtosisError.ErrorCase', null, global);
53
53
  goog.exportSymbol('proto.api_container_api.KurtosisExecutionError', null, global);
54
+ goog.exportSymbol('proto.api_container_api.KurtosisExecutionProgress', null, global);
54
55
  goog.exportSymbol('proto.api_container_api.KurtosisExecutionResponseLine', null, global);
55
56
  goog.exportSymbol('proto.api_container_api.KurtosisExecutionResponseLine.KurtosisExecutionResponseLineCase', null, global);
56
57
  goog.exportSymbol('proto.api_container_api.KurtosisInstruction', null, global);
@@ -593,6 +594,27 @@ if (goog.DEBUG && !COMPILED) {
593
594
  */
594
595
  proto.api_container_api.KurtosisExecutionResponseLine.displayName = 'proto.api_container_api.KurtosisExecutionResponseLine';
595
596
  }
597
+ /**
598
+ * Generated by JsPbCodeGenerator.
599
+ * @param {Array=} opt_data Optional initial data array, typically from a
600
+ * server response, or constructed directly in Javascript. The array is used
601
+ * in place and becomes part of the constructed object. It is not cloned.
602
+ * If no data is provided, the constructed object will be empty, but still
603
+ * valid.
604
+ * @extends {jspb.Message}
605
+ * @constructor
606
+ */
607
+ proto.api_container_api.KurtosisExecutionProgress = function(opt_data) {
608
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
609
+ };
610
+ goog.inherits(proto.api_container_api.KurtosisExecutionProgress, jspb.Message);
611
+ if (goog.DEBUG && !COMPILED) {
612
+ /**
613
+ * @public
614
+ * @override
615
+ */
616
+ proto.api_container_api.KurtosisExecutionProgress.displayName = 'proto.api_container_api.KurtosisExecutionProgress';
617
+ }
596
618
  /**
597
619
  * Generated by JsPbCodeGenerator.
598
620
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -6249,7 +6271,7 @@ proto.api_container_api.KurtosisError.prototype.hasExecutionError = function() {
6249
6271
  * @private {!Array<!Array<number>>}
6250
6272
  * @const
6251
6273
  */
6252
- proto.api_container_api.KurtosisExecutionResponseLine.oneofGroups_ = [[1,2]];
6274
+ proto.api_container_api.KurtosisExecutionResponseLine.oneofGroups_ = [[1,2,3]];
6253
6275
 
6254
6276
  /**
6255
6277
  * @enum {number}
@@ -6257,7 +6279,8 @@ proto.api_container_api.KurtosisExecutionResponseLine.oneofGroups_ = [[1,2]];
6257
6279
  proto.api_container_api.KurtosisExecutionResponseLine.KurtosisExecutionResponseLineCase = {
6258
6280
  KURTOSIS_EXECUTION_RESPONSE_LINE_NOT_SET: 0,
6259
6281
  INSTRUCTION: 1,
6260
- ERROR: 2
6282
+ ERROR: 2,
6283
+ PROGRESS_INFO: 3
6261
6284
  };
6262
6285
 
6263
6286
  /**
@@ -6299,7 +6322,8 @@ proto.api_container_api.KurtosisExecutionResponseLine.prototype.toObject = funct
6299
6322
  proto.api_container_api.KurtosisExecutionResponseLine.toObject = function(includeInstance, msg) {
6300
6323
  var f, obj = {
6301
6324
  instruction: (f = msg.getInstruction()) && proto.api_container_api.KurtosisInstruction.toObject(includeInstance, f),
6302
- error: (f = msg.getError()) && proto.api_container_api.KurtosisError.toObject(includeInstance, f)
6325
+ error: (f = msg.getError()) && proto.api_container_api.KurtosisError.toObject(includeInstance, f),
6326
+ progressInfo: (f = msg.getProgressInfo()) && proto.api_container_api.KurtosisExecutionProgress.toObject(includeInstance, f)
6303
6327
  };
6304
6328
 
6305
6329
  if (includeInstance) {
@@ -6346,6 +6370,11 @@ proto.api_container_api.KurtosisExecutionResponseLine.deserializeBinaryFromReade
6346
6370
  reader.readMessage(value,proto.api_container_api.KurtosisError.deserializeBinaryFromReader);
6347
6371
  msg.setError(value);
6348
6372
  break;
6373
+ case 3:
6374
+ var value = new proto.api_container_api.KurtosisExecutionProgress;
6375
+ reader.readMessage(value,proto.api_container_api.KurtosisExecutionProgress.deserializeBinaryFromReader);
6376
+ msg.setProgressInfo(value);
6377
+ break;
6349
6378
  default:
6350
6379
  reader.skipField();
6351
6380
  break;
@@ -6391,6 +6420,14 @@ proto.api_container_api.KurtosisExecutionResponseLine.serializeBinaryToWriter =
6391
6420
  proto.api_container_api.KurtosisError.serializeBinaryToWriter
6392
6421
  );
6393
6422
  }
6423
+ f = message.getProgressInfo();
6424
+ if (f != null) {
6425
+ writer.writeMessage(
6426
+ 3,
6427
+ f,
6428
+ proto.api_container_api.KurtosisExecutionProgress.serializeBinaryToWriter
6429
+ );
6430
+ }
6394
6431
  };
6395
6432
 
6396
6433
 
@@ -6468,6 +6505,233 @@ proto.api_container_api.KurtosisExecutionResponseLine.prototype.hasError = funct
6468
6505
  };
6469
6506
 
6470
6507
 
6508
+ /**
6509
+ * optional KurtosisExecutionProgress progress_info = 3;
6510
+ * @return {?proto.api_container_api.KurtosisExecutionProgress}
6511
+ */
6512
+ proto.api_container_api.KurtosisExecutionResponseLine.prototype.getProgressInfo = function() {
6513
+ return /** @type{?proto.api_container_api.KurtosisExecutionProgress} */ (
6514
+ jspb.Message.getWrapperField(this, proto.api_container_api.KurtosisExecutionProgress, 3));
6515
+ };
6516
+
6517
+
6518
+ /**
6519
+ * @param {?proto.api_container_api.KurtosisExecutionProgress|undefined} value
6520
+ * @return {!proto.api_container_api.KurtosisExecutionResponseLine} returns this
6521
+ */
6522
+ proto.api_container_api.KurtosisExecutionResponseLine.prototype.setProgressInfo = function(value) {
6523
+ return jspb.Message.setOneofWrapperField(this, 3, proto.api_container_api.KurtosisExecutionResponseLine.oneofGroups_[0], value);
6524
+ };
6525
+
6526
+
6527
+ /**
6528
+ * Clears the message field making it undefined.
6529
+ * @return {!proto.api_container_api.KurtosisExecutionResponseLine} returns this
6530
+ */
6531
+ proto.api_container_api.KurtosisExecutionResponseLine.prototype.clearProgressInfo = function() {
6532
+ return this.setProgressInfo(undefined);
6533
+ };
6534
+
6535
+
6536
+ /**
6537
+ * Returns whether this field is set.
6538
+ * @return {boolean}
6539
+ */
6540
+ proto.api_container_api.KurtosisExecutionResponseLine.prototype.hasProgressInfo = function() {
6541
+ return jspb.Message.getField(this, 3) != null;
6542
+ };
6543
+
6544
+
6545
+
6546
+
6547
+
6548
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6549
+ /**
6550
+ * Creates an object representation of this proto.
6551
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6552
+ * Optional fields that are not set will be set to undefined.
6553
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6554
+ * For the list of reserved names please see:
6555
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6556
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6557
+ * JSPB instance for transitional soy proto support:
6558
+ * http://goto/soy-param-migration
6559
+ * @return {!Object}
6560
+ */
6561
+ proto.api_container_api.KurtosisExecutionProgress.prototype.toObject = function(opt_includeInstance) {
6562
+ return proto.api_container_api.KurtosisExecutionProgress.toObject(opt_includeInstance, this);
6563
+ };
6564
+
6565
+
6566
+ /**
6567
+ * Static version of the {@see toObject} method.
6568
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6569
+ * the JSPB instance for transitional soy proto support:
6570
+ * http://goto/soy-param-migration
6571
+ * @param {!proto.api_container_api.KurtosisExecutionProgress} msg The msg instance to transform.
6572
+ * @return {!Object}
6573
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6574
+ */
6575
+ proto.api_container_api.KurtosisExecutionProgress.toObject = function(includeInstance, msg) {
6576
+ var f, obj = {
6577
+ currentStepInfo: jspb.Message.getFieldWithDefault(msg, 1, ""),
6578
+ totalSteps: jspb.Message.getFieldWithDefault(msg, 2, 0),
6579
+ currentStepNumber: jspb.Message.getFieldWithDefault(msg, 3, 0)
6580
+ };
6581
+
6582
+ if (includeInstance) {
6583
+ obj.$jspbMessageInstance = msg;
6584
+ }
6585
+ return obj;
6586
+ };
6587
+ }
6588
+
6589
+
6590
+ /**
6591
+ * Deserializes binary data (in protobuf wire format).
6592
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
6593
+ * @return {!proto.api_container_api.KurtosisExecutionProgress}
6594
+ */
6595
+ proto.api_container_api.KurtosisExecutionProgress.deserializeBinary = function(bytes) {
6596
+ var reader = new jspb.BinaryReader(bytes);
6597
+ var msg = new proto.api_container_api.KurtosisExecutionProgress;
6598
+ return proto.api_container_api.KurtosisExecutionProgress.deserializeBinaryFromReader(msg, reader);
6599
+ };
6600
+
6601
+
6602
+ /**
6603
+ * Deserializes binary data (in protobuf wire format) from the
6604
+ * given reader into the given message object.
6605
+ * @param {!proto.api_container_api.KurtosisExecutionProgress} msg The message object to deserialize into.
6606
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6607
+ * @return {!proto.api_container_api.KurtosisExecutionProgress}
6608
+ */
6609
+ proto.api_container_api.KurtosisExecutionProgress.deserializeBinaryFromReader = function(msg, reader) {
6610
+ while (reader.nextField()) {
6611
+ if (reader.isEndGroup()) {
6612
+ break;
6613
+ }
6614
+ var field = reader.getFieldNumber();
6615
+ switch (field) {
6616
+ case 1:
6617
+ var value = /** @type {string} */ (reader.readString());
6618
+ msg.setCurrentStepInfo(value);
6619
+ break;
6620
+ case 2:
6621
+ var value = /** @type {number} */ (reader.readUint32());
6622
+ msg.setTotalSteps(value);
6623
+ break;
6624
+ case 3:
6625
+ var value = /** @type {number} */ (reader.readUint32());
6626
+ msg.setCurrentStepNumber(value);
6627
+ break;
6628
+ default:
6629
+ reader.skipField();
6630
+ break;
6631
+ }
6632
+ }
6633
+ return msg;
6634
+ };
6635
+
6636
+
6637
+ /**
6638
+ * Serializes the message to binary data (in protobuf wire format).
6639
+ * @return {!Uint8Array}
6640
+ */
6641
+ proto.api_container_api.KurtosisExecutionProgress.prototype.serializeBinary = function() {
6642
+ var writer = new jspb.BinaryWriter();
6643
+ proto.api_container_api.KurtosisExecutionProgress.serializeBinaryToWriter(this, writer);
6644
+ return writer.getResultBuffer();
6645
+ };
6646
+
6647
+
6648
+ /**
6649
+ * Serializes the given message to binary data (in protobuf wire
6650
+ * format), writing to the given BinaryWriter.
6651
+ * @param {!proto.api_container_api.KurtosisExecutionProgress} message
6652
+ * @param {!jspb.BinaryWriter} writer
6653
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6654
+ */
6655
+ proto.api_container_api.KurtosisExecutionProgress.serializeBinaryToWriter = function(message, writer) {
6656
+ var f = undefined;
6657
+ f = message.getCurrentStepInfo();
6658
+ if (f.length > 0) {
6659
+ writer.writeString(
6660
+ 1,
6661
+ f
6662
+ );
6663
+ }
6664
+ f = message.getTotalSteps();
6665
+ if (f !== 0) {
6666
+ writer.writeUint32(
6667
+ 2,
6668
+ f
6669
+ );
6670
+ }
6671
+ f = message.getCurrentStepNumber();
6672
+ if (f !== 0) {
6673
+ writer.writeUint32(
6674
+ 3,
6675
+ f
6676
+ );
6677
+ }
6678
+ };
6679
+
6680
+
6681
+ /**
6682
+ * optional string current_step_info = 1;
6683
+ * @return {string}
6684
+ */
6685
+ proto.api_container_api.KurtosisExecutionProgress.prototype.getCurrentStepInfo = function() {
6686
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
6687
+ };
6688
+
6689
+
6690
+ /**
6691
+ * @param {string} value
6692
+ * @return {!proto.api_container_api.KurtosisExecutionProgress} returns this
6693
+ */
6694
+ proto.api_container_api.KurtosisExecutionProgress.prototype.setCurrentStepInfo = function(value) {
6695
+ return jspb.Message.setProto3StringField(this, 1, value);
6696
+ };
6697
+
6698
+
6699
+ /**
6700
+ * optional uint32 total_steps = 2;
6701
+ * @return {number}
6702
+ */
6703
+ proto.api_container_api.KurtosisExecutionProgress.prototype.getTotalSteps = function() {
6704
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
6705
+ };
6706
+
6707
+
6708
+ /**
6709
+ * @param {number} value
6710
+ * @return {!proto.api_container_api.KurtosisExecutionProgress} returns this
6711
+ */
6712
+ proto.api_container_api.KurtosisExecutionProgress.prototype.setTotalSteps = function(value) {
6713
+ return jspb.Message.setProto3IntField(this, 2, value);
6714
+ };
6715
+
6716
+
6717
+ /**
6718
+ * optional uint32 current_step_number = 3;
6719
+ * @return {number}
6720
+ */
6721
+ proto.api_container_api.KurtosisExecutionProgress.prototype.getCurrentStepNumber = function() {
6722
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
6723
+ };
6724
+
6725
+
6726
+ /**
6727
+ * @param {number} value
6728
+ * @return {!proto.api_container_api.KurtosisExecutionProgress} returns this
6729
+ */
6730
+ proto.api_container_api.KurtosisExecutionProgress.prototype.setCurrentStepNumber = function(value) {
6731
+ return jspb.Message.setProto3IntField(this, 3, value);
6732
+ };
6733
+
6734
+
6471
6735
 
6472
6736
 
6473
6737
 
@@ -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.55.0";
7
+ exports.KURTOSIS_VERSION = "0.55.1";
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.55.0",
4
+ "version": "0.55.1",
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",