@proofchain/sdk 2.3.0 → 2.3.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.
package/dist/index.js CHANGED
@@ -1455,7 +1455,7 @@ var QuestsClient = class {
1455
1455
  * Start a quest for a user
1456
1456
  */
1457
1457
  async startQuest(questId, userId) {
1458
- return this.http.post(`/quests/${questId}/start`, { user_id: userId });
1458
+ return this.http.post(`/quests/${questId}/start?user_id=${encodeURIComponent(userId)}`, {});
1459
1459
  }
1460
1460
  /**
1461
1461
  * Get user's progress on a quest
package/dist/index.mjs CHANGED
@@ -1403,7 +1403,7 @@ var QuestsClient = class {
1403
1403
  * Start a quest for a user
1404
1404
  */
1405
1405
  async startQuest(questId, userId) {
1406
- return this.http.post(`/quests/${questId}/start`, { user_id: userId });
1406
+ return this.http.post(`/quests/${questId}/start?user_id=${encodeURIComponent(userId)}`, {});
1407
1407
  }
1408
1408
  /**
1409
1409
  * Get user's progress on a quest
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proofchain/sdk",
3
- "version": "2.3.0",
3
+ "version": "2.3.1",
4
4
  "description": "Official JavaScript/TypeScript SDK for ProofChain - blockchain-anchored document attestation",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",