@taquito/rpc 13.0.0 → 14.0.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,7 @@
8
8
 
9
9
  var BigNumber__default = /*#__PURE__*/_interopDefaultLegacy(BigNumber);
10
10
 
11
- /*! *****************************************************************************
11
+ /******************************************************************************
12
12
  Copyright (c) Microsoft Corporation.
13
13
 
14
14
  Permission to use, copy, modify, and/or distribute this software for any
@@ -856,6 +856,19 @@
856
856
  return this.rpcClient.runCode(code, { block });
857
857
  });
858
858
  }
859
+ /**
860
+ * @param viewScriptParams Parameters of the script view to run
861
+ * @param options contains generic configuration for rpc calls
862
+ *
863
+ * @description Simulate a call to a michelson view
864
+ *
865
+ */
866
+ runScriptView(_a, { block } = defaultRPCOptions) {
867
+ var { unparsing_mode = 'Readable' } = _a, rest = __rest(_a, ["unparsing_mode"]);
868
+ return __awaiter(this, void 0, void 0, function* () {
869
+ return this.rpcClient.runScriptView(Object.assign({ unparsing_mode }, rest), { block });
870
+ });
871
+ }
859
872
  /**
860
873
  * @param viewParams Parameters of the view to run
861
874
  * @param options contains generic configuration for rpc calls
@@ -1118,12 +1131,15 @@
1118
1131
  OpKind["TX_ROLLUP_REJECTION"] = "tx_rollup_rejection";
1119
1132
  OpKind["TX_ROLLUP_DISPATCH_TICKETS"] = "tx_rollup_dispatch_tickets";
1120
1133
  OpKind["TRANSFER_TICKET"] = "transfer_ticket";
1134
+ OpKind["INCREASE_PAID_STORAGE"] = "increase_paid_storage";
1135
+ OpKind["VDF_REVELATION"] = "vdf_revelation";
1136
+ OpKind["EVENT"] = "event";
1121
1137
  })(exports.OpKind || (exports.OpKind = {}));
1122
1138
 
1123
1139
  // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN!
1124
1140
  const VERSION = {
1125
- "commitHash": "01d3579d51bb8d70038a304cd4dbb7c6366a244b",
1126
- "version": "13.0.0"
1141
+ "commitHash": "b1a433145402043facaec3519daceb21a305deef",
1142
+ "version": "14.0.0"
1127
1143
  };
1128
1144
 
1129
1145
  /***
@@ -1450,6 +1466,8 @@
1450
1466
  'double_baking_punishment',
1451
1467
  'delay_increment_per_round',
1452
1468
  'tx_rollup_commitment_bond',
1469
+ 'vdf_difficulty',
1470
+ 'sc_rollup_stake_amount',
1453
1471
  ]);
1454
1472
  return Object.assign(Object.assign({}, response), castedResponse);
1455
1473
  });
@@ -1762,6 +1780,22 @@
1762
1780
  return response;
1763
1781
  });
1764
1782
  }
1783
+ /**
1784
+ * @param viewScriptParams Parameters of the script view to run
1785
+ * @param options contains generic configuration for rpc calls
1786
+ *
1787
+ * @description Simulate a call to a michelson view
1788
+ *
1789
+ */
1790
+ runScriptView(_a, { block } = defaultRPCOptions) {
1791
+ var { unparsing_mode = 'Readable' } = _a, rest = __rest(_a, ["unparsing_mode"]);
1792
+ return __awaiter(this, void 0, void 0, function* () {
1793
+ return this.httpBackend.createRequest({
1794
+ url: this.createURL(`/chains/${this.chain}/blocks/${block}/helpers/scripts/run_script_view`),
1795
+ method: 'POST',
1796
+ }, Object.assign({ unparsing_mode }, rest));
1797
+ });
1798
+ }
1765
1799
  /**
1766
1800
  * @param viewParams Parameters of the view to run
1767
1801
  * @param options contains generic configuration for rpc calls