@arkadiuminc/sdk 2.67.1 → 2.68.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.
@@ -59,10 +59,8 @@ export declare class WalletArena implements Wallet, VirtualItemsApiProvider {
59
59
  */
60
60
  getGems(): Promise<number>;
61
61
  /**
62
- * Consumes the desired amount of gems from the user wallet
63
- * @param amount
64
- * @returns true if the spending of the gem amount was successful, false otherwise
65
- */
62
+ * @deprecated Use purchaseBundle instead
63
+ */
66
64
  consumeGems(amount: number): Promise<boolean>;
67
65
  getBundles(): Promise<Bundles>;
68
66
  purchaseBundle(bundleSku: string, amount?: number): Promise<boolean>;
@@ -82,10 +80,8 @@ export declare class WalletGame implements Wallet {
82
80
  */
83
81
  getGems(): Promise<number>;
84
82
  /**
85
- * Consumes the desired amount of gems from the user wallet
86
- * @param amount
87
- * @returns true if the spending of the gem amount was successful, false otherwise
88
- */
83
+ * @deprecated Use purchaseBundle instead
84
+ */
89
85
  consumeGems(amount: number): Promise<boolean>;
90
86
  isGemsSupported(): Promise<boolean>;
91
87
  getBundles(): Promise<Bundles>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arkadiuminc/sdk",
3
- "version": "2.67.1",
3
+ "version": "2.68.0",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "main": "dist/pkg/arkadium-sdk.umd.js",