@arkadiuminc/sdk 2.49.0 → 2.50.0
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.
|
@@ -14,8 +14,11 @@ export declare class WalletArena implements Wallet {
|
|
|
14
14
|
private virtualItemGateway;
|
|
15
15
|
private currencySku;
|
|
16
16
|
private isInited;
|
|
17
|
+
private _isGemsSupported;
|
|
17
18
|
constructor(backendApi: Backend, lifecycle: GameLifecycleArena, rpcProvider: RpcProvider);
|
|
18
19
|
init(env: ApiEnv): Promise<void>;
|
|
20
|
+
setGemsSupported(isSupported: boolean): void;
|
|
21
|
+
private isGemsSupported;
|
|
19
22
|
/**
|
|
20
23
|
* Allows querying for the wallet balance
|
|
21
24
|
* @returns the amount of gems in the user wallet
|
|
@@ -42,4 +45,5 @@ export declare class WalletGame implements Wallet {
|
|
|
42
45
|
* @returns true if the spending of the gem amount was successful, false otherwise
|
|
43
46
|
*/
|
|
44
47
|
consumeGems(amount: number): Promise<boolean>;
|
|
48
|
+
isGemsSupported(): Promise<boolean>;
|
|
45
49
|
}
|