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