@avaprotocol/sdk-js 2.6.12 → 2.6.13

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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @avaprotocol/sdk-js
2
2
 
3
+ ## 2.6.13
4
+
5
+ ### Patch Changes
6
+
7
+ - 98dfca0: Added executionContext to runNode response
8
+ - Updated dependencies [98dfca0]
9
+ - @avaprotocol/types@2.4.11
10
+
3
11
  ## 2.6.12
4
12
 
5
13
  ### Patch Changes
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,QAAQ,EAAU,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAE9D,OAAO,QAAQ,MAAM,mBAAmB,CAAC;AACzC,OAAO,IAAI,MAAM,eAAe,CAAC;AACjC,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAC3C,OAAO,IAAI,MAAM,eAAe,CAAC;AACjC,OAAO,WAAW,MAAM,uBAAuB,CAAC;AAChD,OAAO,cAAc,MAAM,0BAA0B,CAAC;AACtD,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAOL,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,WAAW,EAChB,KAAK,QAAQ,EACb,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAClB,KAAK,gBAAgB,EACrB,KAAK,uBAAuB,EAC5B,KAAK,cAAc,EACnB,KAAK,uBAAuB,EAC5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uBAAuB,EACvE,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,cAAc,CAAC;IAuC1B;;;;;;OAMG;IACG,gBAAgB,CACpB,EAAE,OAAO,EAAE,EAAE,uBAAuB,EACpC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,wBAAwB,CAAC;CAwBrC;AAED,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AAEzC,OAAO,EACL,MAAM,EACN,QAAQ,EACR,IAAI,EACJ,SAAS,EACT,IAAI,EACJ,WAAW,EACX,cAAc,EACd,MAAM,EACN,qBAAqB,GACtB,CAAC;AAGF,YAAY,EACV,aAAa,EACb,uBAAuB,EACvB,wBAAwB,EACxB,WAAW,GACZ,MAAM,oBAAoB,CAAC;AAG5B,OAAO,EACL,cAAc,EACd,KAAK,aAAa,EAClB,KAAK,YAAY,GAClB,MAAM,oBAAoB,CAAC"}
package/dist/index.js CHANGED
@@ -51,10 +51,6 @@ var require_avs_pb = __commonJS({
51
51
  }
52
52
  return Function("return this")();
53
53
  }.call(null);
54
- var google_protobuf_wrappers_pb = require("google-protobuf/google/protobuf/wrappers_pb.js");
55
- goog.object.extend(proto, google_protobuf_wrappers_pb);
56
- var google_protobuf_any_pb = require("google-protobuf/google/protobuf/any_pb.js");
57
- goog.object.extend(proto, google_protobuf_any_pb);
58
54
  var google_protobuf_struct_pb5 = require("google-protobuf/google/protobuf/struct_pb.js");
59
55
  goog.object.extend(proto, google_protobuf_struct_pb5);
60
56
  goog.exportSymbol("proto.aggregator.BlockTrigger", null, global);
@@ -3723,8 +3719,7 @@ var require_avs_pb = __commonJS({
3723
3719
  };
3724
3720
  proto.aggregator.ContractWriteNode.Output.toObject = function(includeInstance, msg) {
3725
3721
  var f, obj = {
3726
- data: (f = msg.getData()) && google_protobuf_struct_pb5.Value.toObject(includeInstance, f),
3727
- metadata: (f = msg.getMetadata()) && google_protobuf_struct_pb5.Value.toObject(includeInstance, f)
3722
+ data: (f = msg.getData()) && google_protobuf_struct_pb5.Value.toObject(includeInstance, f)
3728
3723
  };
3729
3724
  if (includeInstance) {
3730
3725
  obj.$jspbMessageInstance = msg;
@@ -3749,11 +3744,6 @@ var require_avs_pb = __commonJS({
3749
3744
  reader.readMessage(value, google_protobuf_struct_pb5.Value.deserializeBinaryFromReader);
3750
3745
  msg.setData(value);
3751
3746
  break;
3752
- case 2:
3753
- var value = new google_protobuf_struct_pb5.Value();
3754
- reader.readMessage(value, google_protobuf_struct_pb5.Value.deserializeBinaryFromReader);
3755
- msg.setMetadata(value);
3756
- break;
3757
3747
  default:
3758
3748
  reader.skipField();
3759
3749
  break;
@@ -3776,14 +3766,6 @@ var require_avs_pb = __commonJS({
3776
3766
  google_protobuf_struct_pb5.Value.serializeBinaryToWriter
3777
3767
  );
3778
3768
  }
3779
- f = message.getMetadata();
3780
- if (f != null) {
3781
- writer.writeMessage(
3782
- 2,
3783
- f,
3784
- google_protobuf_struct_pb5.Value.serializeBinaryToWriter
3785
- );
3786
- }
3787
3769
  };
3788
3770
  proto.aggregator.ContractWriteNode.Output.prototype.getData = function() {
3789
3771
  return (
@@ -3800,21 +3782,6 @@ var require_avs_pb = __commonJS({
3800
3782
  proto.aggregator.ContractWriteNode.Output.prototype.hasData = function() {
3801
3783
  return jspb.Message.getField(this, 1) != null;
3802
3784
  };
3803
- proto.aggregator.ContractWriteNode.Output.prototype.getMetadata = function() {
3804
- return (
3805
- /** @type{?proto.google.protobuf.Value} */
3806
- jspb.Message.getWrapperField(this, google_protobuf_struct_pb5.Value, 2)
3807
- );
3808
- };
3809
- proto.aggregator.ContractWriteNode.Output.prototype.setMetadata = function(value) {
3810
- return jspb.Message.setWrapperField(this, 2, value);
3811
- };
3812
- proto.aggregator.ContractWriteNode.Output.prototype.clearMetadata = function() {
3813
- return this.setMetadata(void 0);
3814
- };
3815
- proto.aggregator.ContractWriteNode.Output.prototype.hasMetadata = function() {
3816
- return jspb.Message.getField(this, 2) != null;
3817
- };
3818
3785
  if (jspb.Message.GENERATE_TO_OBJECT) {
3819
3786
  proto.aggregator.ContractWriteNode.MethodResult.prototype.toObject = function(opt_includeInstance) {
3820
3787
  return proto.aggregator.ContractWriteNode.MethodResult.toObject(opt_includeInstance, this);
@@ -4665,8 +4632,7 @@ var require_avs_pb = __commonJS({
4665
4632
  };
4666
4633
  proto.aggregator.ContractReadNode.Output.toObject = function(includeInstance, msg) {
4667
4634
  var f, obj = {
4668
- data: (f = msg.getData()) && google_protobuf_struct_pb5.Value.toObject(includeInstance, f),
4669
- metadata: (f = msg.getMetadata()) && google_protobuf_struct_pb5.Value.toObject(includeInstance, f)
4635
+ data: (f = msg.getData()) && google_protobuf_struct_pb5.Value.toObject(includeInstance, f)
4670
4636
  };
4671
4637
  if (includeInstance) {
4672
4638
  obj.$jspbMessageInstance = msg;
@@ -4691,11 +4657,6 @@ var require_avs_pb = __commonJS({
4691
4657
  reader.readMessage(value, google_protobuf_struct_pb5.Value.deserializeBinaryFromReader);
4692
4658
  msg.setData(value);
4693
4659
  break;
4694
- case 2:
4695
- var value = new google_protobuf_struct_pb5.Value();
4696
- reader.readMessage(value, google_protobuf_struct_pb5.Value.deserializeBinaryFromReader);
4697
- msg.setMetadata(value);
4698
- break;
4699
4660
  default:
4700
4661
  reader.skipField();
4701
4662
  break;
@@ -4718,14 +4679,6 @@ var require_avs_pb = __commonJS({
4718
4679
  google_protobuf_struct_pb5.Value.serializeBinaryToWriter
4719
4680
  );
4720
4681
  }
4721
- f = message.getMetadata();
4722
- if (f != null) {
4723
- writer.writeMessage(
4724
- 2,
4725
- f,
4726
- google_protobuf_struct_pb5.Value.serializeBinaryToWriter
4727
- );
4728
- }
4729
4682
  };
4730
4683
  proto.aggregator.ContractReadNode.Output.prototype.getData = function() {
4731
4684
  return (
@@ -4742,21 +4695,6 @@ var require_avs_pb = __commonJS({
4742
4695
  proto.aggregator.ContractReadNode.Output.prototype.hasData = function() {
4743
4696
  return jspb.Message.getField(this, 1) != null;
4744
4697
  };
4745
- proto.aggregator.ContractReadNode.Output.prototype.getMetadata = function() {
4746
- return (
4747
- /** @type{?proto.google.protobuf.Value} */
4748
- jspb.Message.getWrapperField(this, google_protobuf_struct_pb5.Value, 2)
4749
- );
4750
- };
4751
- proto.aggregator.ContractReadNode.Output.prototype.setMetadata = function(value) {
4752
- return jspb.Message.setWrapperField(this, 2, value);
4753
- };
4754
- proto.aggregator.ContractReadNode.Output.prototype.clearMetadata = function() {
4755
- return this.setMetadata(void 0);
4756
- };
4757
- proto.aggregator.ContractReadNode.Output.prototype.hasMetadata = function() {
4758
- return jspb.Message.getField(this, 2) != null;
4759
- };
4760
4698
  proto.aggregator.ContractReadNode.prototype.getConfig = function() {
4761
4699
  return (
4762
4700
  /** @type{?proto.aggregator.ContractReadNode.Config} */
@@ -7217,6 +7155,8 @@ var require_avs_pb = __commonJS({
7217
7155
  log: jspb.Message.getFieldWithDefault(msg, 12, ""),
7218
7156
  inputsList: (f = jspb.Message.getRepeatedField(msg, 16)) == null ? void 0 : f,
7219
7157
  config: (f = msg.getConfig()) && google_protobuf_struct_pb5.Value.toObject(includeInstance, f),
7158
+ metadata: (f = msg.getMetadata()) && google_protobuf_struct_pb5.Value.toObject(includeInstance, f),
7159
+ executionContext: (f = msg.getExecutionContext()) && google_protobuf_struct_pb5.Value.toObject(includeInstance, f),
7220
7160
  blockTrigger: (f = msg.getBlockTrigger()) && proto.aggregator.BlockTrigger.Output.toObject(includeInstance, f),
7221
7161
  fixedTimeTrigger: (f = msg.getFixedTimeTrigger()) && proto.aggregator.FixedTimeTrigger.Output.toObject(includeInstance, f),
7222
7162
  cronTrigger: (f = msg.getCronTrigger()) && proto.aggregator.CronTrigger.Output.toObject(includeInstance, f),
@@ -7306,6 +7246,16 @@ var require_avs_pb = __commonJS({
7306
7246
  reader.readMessage(value, google_protobuf_struct_pb5.Value.deserializeBinaryFromReader);
7307
7247
  msg.setConfig(value);
7308
7248
  break;
7249
+ case 25:
7250
+ var value = new google_protobuf_struct_pb5.Value();
7251
+ reader.readMessage(value, google_protobuf_struct_pb5.Value.deserializeBinaryFromReader);
7252
+ msg.setMetadata(value);
7253
+ break;
7254
+ case 26:
7255
+ var value = new google_protobuf_struct_pb5.Value();
7256
+ reader.readMessage(value, google_protobuf_struct_pb5.Value.deserializeBinaryFromReader);
7257
+ msg.setExecutionContext(value);
7258
+ break;
7309
7259
  case 20:
7310
7260
  var value = new proto.aggregator.BlockTrigger.Output();
7311
7261
  reader.readMessage(value, proto.aggregator.BlockTrigger.Output.deserializeBinaryFromReader);
@@ -7461,6 +7411,22 @@ var require_avs_pb = __commonJS({
7461
7411
  google_protobuf_struct_pb5.Value.serializeBinaryToWriter
7462
7412
  );
7463
7413
  }
7414
+ f = message.getMetadata();
7415
+ if (f != null) {
7416
+ writer.writeMessage(
7417
+ 25,
7418
+ f,
7419
+ google_protobuf_struct_pb5.Value.serializeBinaryToWriter
7420
+ );
7421
+ }
7422
+ f = message.getExecutionContext();
7423
+ if (f != null) {
7424
+ writer.writeMessage(
7425
+ 26,
7426
+ f,
7427
+ google_protobuf_struct_pb5.Value.serializeBinaryToWriter
7428
+ );
7429
+ }
7464
7430
  f = message.getBlockTrigger();
7465
7431
  if (f != null) {
7466
7432
  writer.writeMessage(
@@ -7672,6 +7638,36 @@ var require_avs_pb = __commonJS({
7672
7638
  proto.aggregator.Execution.Step.prototype.hasConfig = function() {
7673
7639
  return jspb.Message.getField(this, 19) != null;
7674
7640
  };
7641
+ proto.aggregator.Execution.Step.prototype.getMetadata = function() {
7642
+ return (
7643
+ /** @type{?proto.google.protobuf.Value} */
7644
+ jspb.Message.getWrapperField(this, google_protobuf_struct_pb5.Value, 25)
7645
+ );
7646
+ };
7647
+ proto.aggregator.Execution.Step.prototype.setMetadata = function(value) {
7648
+ return jspb.Message.setWrapperField(this, 25, value);
7649
+ };
7650
+ proto.aggregator.Execution.Step.prototype.clearMetadata = function() {
7651
+ return this.setMetadata(void 0);
7652
+ };
7653
+ proto.aggregator.Execution.Step.prototype.hasMetadata = function() {
7654
+ return jspb.Message.getField(this, 25) != null;
7655
+ };
7656
+ proto.aggregator.Execution.Step.prototype.getExecutionContext = function() {
7657
+ return (
7658
+ /** @type{?proto.google.protobuf.Value} */
7659
+ jspb.Message.getWrapperField(this, google_protobuf_struct_pb5.Value, 26)
7660
+ );
7661
+ };
7662
+ proto.aggregator.Execution.Step.prototype.setExecutionContext = function(value) {
7663
+ return jspb.Message.setWrapperField(this, 26, value);
7664
+ };
7665
+ proto.aggregator.Execution.Step.prototype.clearExecutionContext = function() {
7666
+ return this.setExecutionContext(void 0);
7667
+ };
7668
+ proto.aggregator.Execution.Step.prototype.hasExecutionContext = function() {
7669
+ return jspb.Message.getField(this, 26) != null;
7670
+ };
7675
7671
  proto.aggregator.Execution.Step.prototype.getBlockTrigger = function() {
7676
7672
  return (
7677
7673
  /** @type{?proto.aggregator.BlockTrigger.Output} */
@@ -13641,6 +13637,7 @@ var require_avs_pb = __commonJS({
13641
13637
  error: jspb.Message.getFieldWithDefault(msg, 3, ""),
13642
13638
  nodeId: jspb.Message.getFieldWithDefault(msg, 4, ""),
13643
13639
  metadata: (f = msg.getMetadata()) && google_protobuf_struct_pb5.Value.toObject(includeInstance, f),
13640
+ executionContext: (f = msg.getExecutionContext()) && google_protobuf_struct_pb5.Value.toObject(includeInstance, f),
13644
13641
  ethTransfer: (f = msg.getEthTransfer()) && proto.aggregator.ETHTransferNode.Output.toObject(includeInstance, f),
13645
13642
  graphql: (f = msg.getGraphql()) && proto.aggregator.GraphQLQueryNode.Output.toObject(includeInstance, f),
13646
13643
  contractRead: (f = msg.getContractRead()) && proto.aggregator.ContractReadNode.Output.toObject(includeInstance, f),
@@ -13695,6 +13692,11 @@ var require_avs_pb = __commonJS({
13695
13692
  reader.readMessage(value, google_protobuf_struct_pb5.Value.deserializeBinaryFromReader);
13696
13693
  msg.setMetadata(value);
13697
13694
  break;
13695
+ case 6:
13696
+ var value = new google_protobuf_struct_pb5.Value();
13697
+ reader.readMessage(value, google_protobuf_struct_pb5.Value.deserializeBinaryFromReader);
13698
+ msg.setExecutionContext(value);
13699
+ break;
13698
13700
  case 10:
13699
13701
  var value = new proto.aggregator.ETHTransferNode.Output();
13700
13702
  reader.readMessage(value, proto.aggregator.ETHTransferNode.Output.deserializeBinaryFromReader);
@@ -13783,6 +13785,14 @@ var require_avs_pb = __commonJS({
13783
13785
  google_protobuf_struct_pb5.Value.serializeBinaryToWriter
13784
13786
  );
13785
13787
  }
13788
+ f = message.getExecutionContext();
13789
+ if (f != null) {
13790
+ writer.writeMessage(
13791
+ 6,
13792
+ f,
13793
+ google_protobuf_struct_pb5.Value.serializeBinaryToWriter
13794
+ );
13795
+ }
13786
13796
  f = message.getEthTransfer();
13787
13797
  if (f != null) {
13788
13798
  writer.writeMessage(
@@ -13898,6 +13908,21 @@ var require_avs_pb = __commonJS({
13898
13908
  proto.aggregator.RunNodeWithInputsResp.prototype.hasMetadata = function() {
13899
13909
  return jspb.Message.getField(this, 5) != null;
13900
13910
  };
13911
+ proto.aggregator.RunNodeWithInputsResp.prototype.getExecutionContext = function() {
13912
+ return (
13913
+ /** @type{?proto.google.protobuf.Value} */
13914
+ jspb.Message.getWrapperField(this, google_protobuf_struct_pb5.Value, 6)
13915
+ );
13916
+ };
13917
+ proto.aggregator.RunNodeWithInputsResp.prototype.setExecutionContext = function(value) {
13918
+ return jspb.Message.setWrapperField(this, 6, value);
13919
+ };
13920
+ proto.aggregator.RunNodeWithInputsResp.prototype.clearExecutionContext = function() {
13921
+ return this.setExecutionContext(void 0);
13922
+ };
13923
+ proto.aggregator.RunNodeWithInputsResp.prototype.hasExecutionContext = function() {
13924
+ return jspb.Message.getField(this, 6) != null;
13925
+ };
13901
13926
  proto.aggregator.RunNodeWithInputsResp.prototype.getEthTransfer = function() {
13902
13927
  return (
13903
13928
  /** @type{?proto.aggregator.ETHTransferNode.Output} */
@@ -14174,6 +14199,7 @@ var require_avs_pb = __commonJS({
14174
14199
  error: jspb.Message.getFieldWithDefault(msg, 2, ""),
14175
14200
  triggerId: jspb.Message.getFieldWithDefault(msg, 3, ""),
14176
14201
  metadata: (f = msg.getMetadata()) && google_protobuf_struct_pb5.Value.toObject(includeInstance, f),
14202
+ executionContext: (f = msg.getExecutionContext()) && google_protobuf_struct_pb5.Value.toObject(includeInstance, f),
14177
14203
  blockTrigger: (f = msg.getBlockTrigger()) && proto.aggregator.BlockTrigger.Output.toObject(includeInstance, f),
14178
14204
  fixedTimeTrigger: (f = msg.getFixedTimeTrigger()) && proto.aggregator.FixedTimeTrigger.Output.toObject(includeInstance, f),
14179
14205
  cronTrigger: (f = msg.getCronTrigger()) && proto.aggregator.CronTrigger.Output.toObject(includeInstance, f),
@@ -14224,6 +14250,11 @@ var require_avs_pb = __commonJS({
14224
14250
  reader.readMessage(value, google_protobuf_struct_pb5.Value.deserializeBinaryFromReader);
14225
14251
  msg.setMetadata(value);
14226
14252
  break;
14253
+ case 5:
14254
+ var value = new google_protobuf_struct_pb5.Value();
14255
+ reader.readMessage(value, google_protobuf_struct_pb5.Value.deserializeBinaryFromReader);
14256
+ msg.setExecutionContext(value);
14257
+ break;
14227
14258
  case 10:
14228
14259
  var value = new proto.aggregator.BlockTrigger.Output();
14229
14260
  reader.readMessage(value, proto.aggregator.BlockTrigger.Output.deserializeBinaryFromReader);
@@ -14292,6 +14323,14 @@ var require_avs_pb = __commonJS({
14292
14323
  google_protobuf_struct_pb5.Value.serializeBinaryToWriter
14293
14324
  );
14294
14325
  }
14326
+ f = message.getExecutionContext();
14327
+ if (f != null) {
14328
+ writer.writeMessage(
14329
+ 5,
14330
+ f,
14331
+ google_protobuf_struct_pb5.Value.serializeBinaryToWriter
14332
+ );
14333
+ }
14295
14334
  f = message.getBlockTrigger();
14296
14335
  if (f != null) {
14297
14336
  writer.writeMessage(
@@ -14375,6 +14414,21 @@ var require_avs_pb = __commonJS({
14375
14414
  proto.aggregator.RunTriggerResp.prototype.hasMetadata = function() {
14376
14415
  return jspb.Message.getField(this, 4) != null;
14377
14416
  };
14417
+ proto.aggregator.RunTriggerResp.prototype.getExecutionContext = function() {
14418
+ return (
14419
+ /** @type{?proto.google.protobuf.Value} */
14420
+ jspb.Message.getWrapperField(this, google_protobuf_struct_pb5.Value, 5)
14421
+ );
14422
+ };
14423
+ proto.aggregator.RunTriggerResp.prototype.setExecutionContext = function(value) {
14424
+ return jspb.Message.setWrapperField(this, 5, value);
14425
+ };
14426
+ proto.aggregator.RunTriggerResp.prototype.clearExecutionContext = function() {
14427
+ return this.setExecutionContext(void 0);
14428
+ };
14429
+ proto.aggregator.RunTriggerResp.prototype.hasExecutionContext = function() {
14430
+ return jspb.Message.getField(this, 5) != null;
14431
+ };
14378
14432
  proto.aggregator.RunTriggerResp.prototype.getBlockTrigger = function() {
14379
14433
  return (
14380
14434
  /** @type{?proto.aggregator.BlockTrigger.Output} */
@@ -14839,8 +14893,6 @@ var require_avs_grpc_pb = __commonJS({
14839
14893
  "use strict";
14840
14894
  var grpc = require("@grpc/grpc-js");
14841
14895
  var avs_pb23 = require_avs_pb();
14842
- var google_protobuf_wrappers_pb = require("google-protobuf/google/protobuf/wrappers_pb.js");
14843
- var google_protobuf_any_pb = require("google-protobuf/google/protobuf/any_pb.js");
14844
14896
  var google_protobuf_struct_pb5 = require("google-protobuf/google/protobuf/struct_pb.js");
14845
14897
  function serialize_aggregator_CancelTaskResp(arg) {
14846
14898
  if (!(arg instanceof avs_pb23.CancelTaskResp)) {
@@ -15892,6 +15944,19 @@ function convertJSValueToProtobuf(value) {
15892
15944
  }
15893
15945
  return protobufValue;
15894
15946
  }
15947
+ function toCamelCaseKeys(input) {
15948
+ if (input === null || input === void 0) return input;
15949
+ if (Array.isArray(input)) {
15950
+ return input.map((item) => toCamelCaseKeys(item));
15951
+ }
15952
+ if (typeof input !== "object") return input;
15953
+ const result = {};
15954
+ for (const [key, value] of Object.entries(input)) {
15955
+ const camelKey = key.replace(/_([a-z])/g, (_4, c) => c.toUpperCase());
15956
+ result[camelKey] = toCamelCaseKeys(value);
15957
+ }
15958
+ return result;
15959
+ }
15895
15960
  function convertProtobufTriggerTypeToSdk(protobufType) {
15896
15961
  switch (protobufType) {
15897
15962
  case "TRIGGER_TYPE_MANUAL":
@@ -17459,6 +17524,8 @@ var Step = class _Step {
17459
17524
  this.output = props.output;
17460
17525
  this.startAt = props.startAt;
17461
17526
  this.endAt = props.endAt;
17527
+ this.metadata = props.metadata;
17528
+ this.executionContext = props.executionContext;
17462
17529
  }
17463
17530
  /**
17464
17531
  * Convert Step instance to plain object (StepProps)
@@ -17476,44 +17543,35 @@ var Step = class _Step {
17476
17543
  config: this.config,
17477
17544
  output: this.output,
17478
17545
  startAt: this.startAt,
17479
- endAt: this.endAt
17546
+ endAt: this.endAt,
17547
+ metadata: this.metadata,
17548
+ executionContext: this.executionContext
17480
17549
  };
17481
17550
  }
17482
17551
  static getOutput(step) {
17483
- const outputData = this.extractOutputData(step);
17484
- if (!outputData) return null;
17485
- const outputCase = this.getOutputDataCase(step);
17486
- if (outputCase === avs_pb20.Execution.Step.OutputDataCase.CONTRACT_WRITE || outputCase === avs_pb20.Execution.Step.OutputDataCase.CONTRACT_READ) {
17552
+ const outputObj = this.extractOutputData(step);
17553
+ if (!outputObj) return null;
17554
+ if (typeof outputObj.getData === "function") {
17555
+ const val = outputObj.getData();
17556
+ if (!val) return null;
17487
17557
  try {
17488
- const result = {};
17489
- if (typeof outputData.getData === "function") {
17490
- result.data = convertProtobufValueToJs(outputData.getData());
17491
- }
17492
- if (typeof outputData.getMetadata === "function") {
17493
- result.metadata = convertProtobufValueToJs(outputData.getMetadata());
17494
- }
17495
- return result;
17496
- } catch (error) {
17497
- console.warn("Failed to convert ContractWrite/ContractRead protobuf to JavaScript:", error);
17498
- return outputData.getData ? outputData.getData() : null;
17499
- }
17500
- }
17501
- if (typeof outputData.hasData === "function" && outputData.hasData()) {
17502
- try {
17503
- return convertProtobufValueToJs(outputData.getData());
17558
+ return convertProtobufValueToJs(val);
17504
17559
  } catch (error) {
17505
17560
  console.warn("Failed to convert protobuf Value to JavaScript:", error);
17506
- return outputData.getData();
17561
+ return val;
17507
17562
  }
17508
- } else if (typeof outputData.getData === "function") {
17563
+ }
17564
+ const data = outputObj.data;
17565
+ if (data) {
17509
17566
  try {
17510
- return convertProtobufValueToJs(outputData.getData());
17567
+ return typeof data.getKindCase === "function" ? convertProtobufValueToJs(data) : data;
17511
17568
  } catch (error) {
17512
- console.warn("Failed to convert protobuf Value to JavaScript:", error);
17513
- return outputData.getData();
17569
+ console.warn(
17570
+ "Failed to convert plain object Value to JavaScript:",
17571
+ error
17572
+ );
17573
+ return data;
17514
17574
  }
17515
- } else if (outputData.data) {
17516
- return typeof outputData.data.getKindCase === "function" ? convertProtobufValueToJs(outputData.data) : outputData.data;
17517
17575
  }
17518
17576
  return null;
17519
17577
  }
@@ -17604,6 +17662,28 @@ var Step = class _Step {
17604
17662
  const getInputsList = () => typeof step.getInputsList === "function" ? step.getInputsList() : step.inputsList || [];
17605
17663
  const getStartAt = () => typeof step.getStartAt === "function" ? step.getStartAt() : step.startAt;
17606
17664
  const getEndAt = () => typeof step.getEndAt === "function" ? step.getEndAt() : step.endAt;
17665
+ let stepMetadata = void 0;
17666
+ if (typeof step.getMetadata === "function" && step.getMetadata()) {
17667
+ try {
17668
+ stepMetadata = convertProtobufValueToJs(step.getMetadata());
17669
+ } catch (e) {
17670
+ stepMetadata = step.getMetadata();
17671
+ }
17672
+ } else if (step.metadata) {
17673
+ stepMetadata = step.metadata;
17674
+ }
17675
+ let executionContext = void 0;
17676
+ if (typeof step.getExecutionContext === "function" && step.getExecutionContext()) {
17677
+ try {
17678
+ executionContext = convertProtobufValueToJs(
17679
+ step.getExecutionContext()
17680
+ );
17681
+ } catch (e) {
17682
+ executionContext = step.getExecutionContext();
17683
+ }
17684
+ } else if (step.executionContext) {
17685
+ executionContext = step.executionContext;
17686
+ }
17607
17687
  return new _Step({
17608
17688
  id: getId(),
17609
17689
  type: convertProtobufStepTypeToSdk(getType()),
@@ -17615,7 +17695,9 @@ var Step = class _Step {
17615
17695
  config: configData,
17616
17696
  output: _Step.getOutput(step),
17617
17697
  startAt: getStartAt(),
17618
- endAt: getEndAt()
17698
+ endAt: getEndAt(),
17699
+ metadata: stepMetadata,
17700
+ executionContext
17619
17701
  });
17620
17702
  }
17621
17703
  // Client side does not generate the step, so there's no toRequest() method
@@ -18572,8 +18654,7 @@ var Client = class extends BaseClient {
18572
18654
  return {
18573
18655
  success: false,
18574
18656
  error: `Trigger type "${nodeType}" should use the runTrigger() method instead of runNodeWithInputs()`,
18575
- data: null,
18576
- nodeId: ""
18657
+ data: null
18577
18658
  };
18578
18659
  }
18579
18660
  const request = new avs_pb22.RunNodeWithInputsReq();
@@ -18592,10 +18673,10 @@ var Client = class extends BaseClient {
18592
18673
  const result = await this.sendGrpcRequest("runNodeWithInputs", request, options);
18593
18674
  return {
18594
18675
  success: result.getSuccess(),
18595
- data: factory_default2.fromOutputData(result),
18676
+ data: toCamelCaseKeys(factory_default2.fromOutputData(result)),
18596
18677
  error: result.getError(),
18597
- nodeId: result.getNodeId(),
18598
- metadata: result.hasMetadata() ? convertProtobufValueToJs(result.getMetadata()) : void 0
18678
+ metadata: result.hasMetadata() ? toCamelCaseKeys(convertProtobufValueToJs(result.getMetadata())) : void 0,
18679
+ executionContext: result.hasExecutionContext() ? toCamelCaseKeys(convertProtobufValueToJs(result.getExecutionContext())) : void 0
18599
18680
  };
18600
18681
  }
18601
18682
  /**
@@ -18627,10 +18708,10 @@ var Client = class extends BaseClient {
18627
18708
  }
18628
18709
  return {
18629
18710
  success: result.getSuccess(),
18630
- data: factory_default.fromOutputData(result),
18711
+ data: toCamelCaseKeys(factory_default.fromOutputData(result)),
18631
18712
  error: result.getError(),
18632
- triggerId: result.getTriggerId(),
18633
- metadata
18713
+ metadata: toCamelCaseKeys(metadata),
18714
+ executionContext: result.hasExecutionContext() ? toCamelCaseKeys(convertProtobufValueToJs(result.getExecutionContext())) : void 0
18634
18715
  };
18635
18716
  }
18636
18717
  /**