@provablehq/sdk 0.11.2 → 0.11.3

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.
@@ -1532,7 +1532,7 @@ class AleoNetworkClient {
1532
1532
  else {
1533
1533
  this.headers = {
1534
1534
  // This is replaced by the actual version by a Rollup plugin
1535
- "X-Aleo-SDK-Version": "0.11.2",
1535
+ "X-Aleo-SDK-Version": "0.11.3",
1536
1536
  "X-Aleo-environment": environment(),
1537
1537
  };
1538
1538
  }
@@ -1548,7 +1548,7 @@ class AleoNetworkClient {
1548
1548
  else {
1549
1549
  this.headers = {
1550
1550
  // This is replaced by the actual version by a Rollup plugin
1551
- "X-Aleo-SDK-Version": "0.11.2",
1551
+ "X-Aleo-SDK-Version": "0.11.3",
1552
1552
  "X-Aleo-environment": environment(),
1553
1553
  };
1554
1554
  }
@@ -2409,7 +2409,7 @@ class AleoNetworkClient {
2409
2409
  async getProgramAmendmentCount(programId) {
2410
2410
  try {
2411
2411
  this.ctx = { "X-ALEO-METHOD": "getProgramAmendmentCount" };
2412
- const raw = await this.fetchRaw("/programs/" + programId + "/amendment_count");
2412
+ const raw = await this.fetchRaw("/program/" + programId + "/amendment_count");
2413
2413
  return JSON.parse(raw);
2414
2414
  }
2415
2415
  catch (error) {
@@ -8465,7 +8465,7 @@ class ProgramManager {
8465
8465
  * import { AleoKeyProvider, getOrInitConsensusVersionTestHeights, ProgramManager, NetworkRecordProvider } from "@provablehq/sdk/mainnet.js";
8466
8466
  *
8467
8467
  * // Initialize the development consensus heights in order to work with devnode.
8468
- * getOrInitConsensusVersionTestHeights("0,1,2,3,4,5,6,7,8,9,10,11,12,13,14");
8468
+ * getOrInitConsensusVersionTestHeights("0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16");
8469
8469
  *
8470
8470
  * // Create a new NetworkClient and RecordProvider.
8471
8471
  * const recordProvider = new NetworkRecordProvider(account, networkClient);
@@ -8592,7 +8592,7 @@ class ProgramManager {
8592
8592
  * import { ProgramManager, NetworkRecordProvider, getOrInitConsensusVersionTestHeights } from "@provablehq/sdk/mainnet.js";
8593
8593
  *
8594
8594
  * // Initialize the development consensus heights in order to work with a local devnode.
8595
- * getOrInitConsensusVersionTestHeights("0,1,2,3,4,5,6,7,8,9,10,11,12,13,14");
8595
+ * getOrInitConsensusVersionTestHeights("0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16");
8596
8596
  *
8597
8597
  * // Create a new NetworkClient, and RecordProvider
8598
8598
  * const recordProvider = new NetworkRecordProvider(account, networkClient);