@provable-games/budokan-sdk 0.1.18 → 0.1.19
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/{client-C4PUxzuO.d.cts → client-B97mEKJc.d.cts} +8 -0
- package/dist/{client-C4PUxzuO.d.ts → client-B97mEKJc.d.ts} +8 -0
- package/dist/index.cjs +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/react.cjs +1 -0
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.cts +1 -1
- package/dist/react.d.ts +1 -1
- package/dist/react.js +1 -0
- package/dist/react.js.map +1 -1
- package/package.json +1 -1
|
@@ -100,6 +100,14 @@ interface TournamentListParams {
|
|
|
100
100
|
sort?: "start_time" | "end_time" | "players" | "created_at";
|
|
101
101
|
fromId?: string;
|
|
102
102
|
excludeIds?: string[];
|
|
103
|
+
/**
|
|
104
|
+
* Restrict results to this set of tournament IDs. Used by the
|
|
105
|
+
* "My Tournaments" UX where the caller derives ids from currently-owned
|
|
106
|
+
* game tokens (denshokan-sdk) and asks Budokan only for those tournaments.
|
|
107
|
+
* Mutually exclusive with no-filter "show everything" semantics — an empty
|
|
108
|
+
* array yields zero results, not all tournaments.
|
|
109
|
+
*/
|
|
110
|
+
tournamentIds?: string[];
|
|
103
111
|
whitelistedExtensions?: string[];
|
|
104
112
|
includePrizeSummary?: "summary" | boolean;
|
|
105
113
|
}
|
|
@@ -100,6 +100,14 @@ interface TournamentListParams {
|
|
|
100
100
|
sort?: "start_time" | "end_time" | "players" | "created_at";
|
|
101
101
|
fromId?: string;
|
|
102
102
|
excludeIds?: string[];
|
|
103
|
+
/**
|
|
104
|
+
* Restrict results to this set of tournament IDs. Used by the
|
|
105
|
+
* "My Tournaments" UX where the caller derives ids from currently-owned
|
|
106
|
+
* game tokens (denshokan-sdk) and asks Budokan only for those tournaments.
|
|
107
|
+
* Mutually exclusive with no-filter "show everything" semantics — an empty
|
|
108
|
+
* array yields zero results, not all tournaments.
|
|
109
|
+
*/
|
|
110
|
+
tournamentIds?: string[];
|
|
103
111
|
whitelistedExtensions?: string[];
|
|
104
112
|
includePrizeSummary?: "summary" | boolean;
|
|
105
113
|
}
|
package/dist/index.cjs
CHANGED
|
@@ -233,6 +233,7 @@ async function getTournaments(baseUrl, params, ctx) {
|
|
|
233
233
|
sort: params?.sort,
|
|
234
234
|
from_id: params?.fromId,
|
|
235
235
|
exclude_ids: params?.excludeIds?.join(","),
|
|
236
|
+
tournament_ids: params?.tournamentIds?.join(","),
|
|
236
237
|
whitelisted_extensions: params?.whitelistedExtensions?.join(","),
|
|
237
238
|
include_prizes: params?.includePrizeSummary
|
|
238
239
|
});
|