@provable-games/budokan-sdk 0.1.20 → 0.1.21

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/react.cjs CHANGED
@@ -358,23 +358,6 @@ function fetchOpts3(ctx) {
358
358
  timeout: ctx?.timeout
359
359
  };
360
360
  }
361
- async function getActivity(baseUrl, params, ctx) {
362
- const qs = buildQueryString({
363
- event_type: params?.eventType,
364
- tournament_id: params?.tournamentId,
365
- player_address: params?.playerAddress,
366
- limit: params?.limit,
367
- offset: params?.offset
368
- });
369
- const result = await apiFetch(`${baseUrl}/activity${qs}`, fetchOpts3(ctx));
370
- const { total, limit: resLimit, offset: resOffset } = extractPagination(result, { limit: params?.limit, offset: params?.offset });
371
- return {
372
- data: result.data.map((item) => snakeToCamel(item)),
373
- total,
374
- limit: resLimit,
375
- offset: resOffset
376
- };
377
- }
378
361
  async function getActivityStats(baseUrl, ctx) {
379
362
  const result = await apiFetch(
380
363
  `${baseUrl}/activity/stats`,
@@ -4587,13 +4570,6 @@ var BudokanClient = class {
4587
4570
  return getTournamentPrizeAggregation(this.resolvedConfig.apiBaseUrl, tournamentId, this.apiCtx);
4588
4571
  }
4589
4572
  // ---- Activity Queries (API-only, activity is indexed) ----
4590
- /**
4591
- * Fetch activity events with optional filtering.
4592
- * API-only — no RPC fallback available.
4593
- */
4594
- async getActivity(params) {
4595
- return getActivity(this.resolvedConfig.apiBaseUrl, params, this.apiCtx);
4596
- }
4597
4573
  /**
4598
4574
  * Fetch platform-wide activity stats.
4599
4575
  * API-only — no RPC fallback available.