@swarm-tips/client 0.4.0 → 0.4.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/SBOM.spdx.json CHANGED
@@ -2,10 +2,10 @@
2
2
  "spdxVersion": "SPDX-2.3",
3
3
  "dataLicense": "CC0-1.0",
4
4
  "SPDXID": "SPDXRef-DOCUMENT",
5
- "name": "@swarm-tips/client-0.4.0",
6
- "documentNamespace": "https://swarm.tips/sbom/client/0.4.0",
5
+ "name": "@swarm-tips/client-0.4.1",
6
+ "documentNamespace": "https://swarm.tips/sbom/client/0.4.1",
7
7
  "creationInfo": {
8
- "created": "2026-11-11T10:48:38.299Z",
8
+ "created": "2026-11-12T07:38:25.259Z",
9
9
  "creators": [
10
10
  "Tool: sdk/client/scripts/generate-sbom.mjs",
11
11
  "Organization: Swarm Tips"
@@ -15,8 +15,8 @@
15
15
  {
16
16
  "name": "@swarm-tips/client",
17
17
  "SPDXID": "SPDXRef-Package",
18
- "versionInfo": "0.4.0",
19
- "downloadLocation": "https://www.npmjs.com/package/@swarm-tips/client/v/0.4.0",
18
+ "versionInfo": "0.4.1",
19
+ "downloadLocation": "https://www.npmjs.com/package/@swarm-tips/client/v/0.4.1",
20
20
  "filesAnalyzed": false,
21
21
  "licenseConcluded": "MIT",
22
22
  "licenseDeclared": "MIT"
package/dist/agent.js CHANGED
@@ -330,8 +330,7 @@ export class SwarmAgent {
330
330
  const targetNet = net ?? self.network;
331
331
  const tournamentId = opts?.tournamentId ?? ACTIVE_TOURNAMENT_ID[targetNet];
332
332
  const limit = opts?.limit ?? 20;
333
- const suffix = targetNet === "devnet" ? `&network=devnet` : "";
334
- return self.gameClient.http.get(`/tournaments/${encodeURIComponent(String(tournamentId))}/leaderboard?limit=${encodeURIComponent(String(limit))}${suffix}`);
333
+ return self.gameClient.http.get(`/leaderboard?tournament_id=${encodeURIComponent(String(tournamentId))}&limit=${encodeURIComponent(String(limit))}`);
335
334
  },
336
335
  };
337
336
  }
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const CLIENT_VERSION = "0.4.0";
1
+ export declare const CLIENT_VERSION = "0.4.1";
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const CLIENT_VERSION = "0.4.0";
1
+ export const CLIENT_VERSION = "0.4.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swarm-tips/client",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Typed browser and Node.js clients for Swarm Tips, Shillbot, and Coordination Game",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",