player-map 2.0.22 → 2.0.23
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/PlayerMapHome.d.ts +1 -0
- package/dist/api/fetchPlayerAliases.d.ts +7 -0
- package/dist/index.es.js +11954 -11866
- package/dist/index.umd.js +375 -362
- package/dist/utils/constants.d.ts +8 -0
- package/package.json +1 -1
package/dist/PlayerMapHome.d.ts
CHANGED
|
@@ -37,6 +37,13 @@ export interface RawAliasWithSubject extends RawAliasTriple {
|
|
|
37
37
|
* Also fetches the user's position in each alias triple's vault (may be 0).
|
|
38
38
|
*/
|
|
39
39
|
export declare const fetchAliasesByWalletPosition: (walletAddress: string, predicateId: string, network?: Network) => Promise<RawAliasWithSubject[]>;
|
|
40
|
+
/**
|
|
41
|
+
* Looks up the on-chain term_id of the triple (accountAtomId → IS → fairplayAtomId).
|
|
42
|
+
* This triple is created during player registration and is shared across games —
|
|
43
|
+
* a returning player already has it from their first game registration.
|
|
44
|
+
* Returns the term_id string if found, or null if the triple doesn't exist yet.
|
|
45
|
+
*/
|
|
46
|
+
export declare const fetchFirstClaimTripleId: (accountAtomId: string, predicateId: string, fairplayAtomId: string, network?: Network) => Promise<string | null>;
|
|
40
47
|
/**
|
|
41
48
|
* Used at form load to skip consent steps for users who already accepted terms v1.0.
|
|
42
49
|
* Returns exists: false (not called) when accountAtomId is undefined (new user).
|