@carrot-protocol/http-client 0.2.52-add-wallet-performance-dev-96dfa50 → 0.2.52-add-wallet-performance-dev-9e0ad92

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -163,7 +163,7 @@ class Client {
163
163
  }
164
164
  async getUserPerformance(vault, wallets) {
165
165
  const walletsString = wallets.map((wallet) => wallet.toString()).join(",");
166
- const url = new URL(`${this.baseUrl}/userPerformance?vault=${vault.toString()}&users=${walletsString}`);
166
+ const url = new URL(`${this.baseUrl}/userPerformance?vault=${vault.toString()}&wallets=${walletsString}`);
167
167
  const response = await (0, cross_fetch_1.default)(url, {
168
168
  method: "GET",
169
169
  headers: this.headers,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carrot-protocol/http-client",
3
- "version": "0.2.52-add-wallet-performance-dev-96dfa50",
3
+ "version": "0.2.52-add-wallet-performance-dev-9e0ad92",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",