@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.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ReactNode } from 'react';
3
- import { j as BudokanClientConfig, B as BudokanClient, T as Tournament, b as PaginatedResult, e as TournamentListParams, n as Phase, m as LeaderboardEntry, R as Registration, c as RewardClaim, d as RewardClaimSummary, h as PrizeStats, a as Prize, P as PrizeAggregation, Q as QualificationEntry, f as PlatformStats, p as WSEventMessage, o as WSChannel, C as ConnectionMode } from './client-CoWIQozF.cjs';
3
+ import { i as BudokanClientConfig, B as BudokanClient, T as Tournament, b as PaginatedResult, e as TournamentListParams, m as Phase, l as LeaderboardEntry, R as Registration, c as RewardClaim, d as RewardClaimSummary, g as PrizeStats, a as Prize, P as PrizeAggregation, Q as QualificationEntry, f as PlatformStats, o as WSEventMessage, n as WSChannel, C as ConnectionMode } from './client-0HDPKrdw.cjs';
4
4
  import 'starknet';
5
5
  import '@provable-games/metagame-sdk';
6
6
 
package/dist/react.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ReactNode } from 'react';
3
- import { j as BudokanClientConfig, B as BudokanClient, T as Tournament, b as PaginatedResult, e as TournamentListParams, n as Phase, m as LeaderboardEntry, R as Registration, c as RewardClaim, d as RewardClaimSummary, h as PrizeStats, a as Prize, P as PrizeAggregation, Q as QualificationEntry, f as PlatformStats, p as WSEventMessage, o as WSChannel, C as ConnectionMode } from './client-CoWIQozF.js';
3
+ import { i as BudokanClientConfig, B as BudokanClient, T as Tournament, b as PaginatedResult, e as TournamentListParams, m as Phase, l as LeaderboardEntry, R as Registration, c as RewardClaim, d as RewardClaimSummary, g as PrizeStats, a as Prize, P as PrizeAggregation, Q as QualificationEntry, f as PlatformStats, o as WSEventMessage, n as WSChannel, C as ConnectionMode } from './client-0HDPKrdw.js';
4
4
  import 'starknet';
5
5
  import '@provable-games/metagame-sdk';
6
6
 
package/dist/react.js CHANGED
@@ -356,23 +356,6 @@ function fetchOpts3(ctx) {
356
356
  timeout: ctx?.timeout
357
357
  };
358
358
  }
359
- async function getActivity(baseUrl, params, ctx) {
360
- const qs = buildQueryString({
361
- event_type: params?.eventType,
362
- tournament_id: params?.tournamentId,
363
- player_address: params?.playerAddress,
364
- limit: params?.limit,
365
- offset: params?.offset
366
- });
367
- const result = await apiFetch(`${baseUrl}/activity${qs}`, fetchOpts3(ctx));
368
- const { total, limit: resLimit, offset: resOffset } = extractPagination(result, { limit: params?.limit, offset: params?.offset });
369
- return {
370
- data: result.data.map((item) => snakeToCamel(item)),
371
- total,
372
- limit: resLimit,
373
- offset: resOffset
374
- };
375
- }
376
359
  async function getActivityStats(baseUrl, ctx) {
377
360
  const result = await apiFetch(
378
361
  `${baseUrl}/activity/stats`,
@@ -4585,13 +4568,6 @@ var BudokanClient = class {
4585
4568
  return getTournamentPrizeAggregation(this.resolvedConfig.apiBaseUrl, tournamentId, this.apiCtx);
4586
4569
  }
4587
4570
  // ---- Activity Queries (API-only, activity is indexed) ----
4588
- /**
4589
- * Fetch activity events with optional filtering.
4590
- * API-only — no RPC fallback available.
4591
- */
4592
- async getActivity(params) {
4593
- return getActivity(this.resolvedConfig.apiBaseUrl, params, this.apiCtx);
4594
- }
4595
4571
  /**
4596
4572
  * Fetch platform-wide activity stats.
4597
4573
  * API-only — no RPC fallback available.