@orbit-software/sdk 1.40.0 → 1.41.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.
@@ -0,0 +1 @@
1
+ export declare const BuyShopItems: () => import("react/jsx-runtime").JSX.Element | null;
package/dist/esm/sdk.d.ts CHANGED
@@ -88,6 +88,11 @@ interface TMANetworkInterstitialResponse {
88
88
  id: string;
89
89
  reward: boolean;
90
90
  }
91
+ interface BalanceResponse {
92
+ balance: number;
93
+ balance_gems: number;
94
+ balance_coins: number;
95
+ }
91
96
  export type AdType = "REWARD" | "INTERSTITIAL";
92
97
  export interface RequestAdOptions {
93
98
  onStart?: () => void;
@@ -100,7 +105,7 @@ export interface CryptoSteamSDK {
100
105
  requestAd: (options?: RequestAdOptions) => Promise<true>;
101
106
  requestRewardAd: (options?: RequestAdOptions) => Promise<boolean>;
102
107
  getProfile: () => Promise<CryptoSteamSDKProfile>;
103
- getBalance: () => Promise<number>;
108
+ getBalance: () => Promise<BalanceResponse>;
104
109
  trackGameTimeTick: () => void;
105
110
  getVersion: () => string;
106
111
  initializeOverlay: (config?: OverlayConfig) => void;