@orbit-software/sdk 1.84.8 → 1.86.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.
package/dist/esm/sdk.d.ts CHANGED
@@ -203,6 +203,7 @@ interface RequestWageValueParams {
203
203
  export interface InitializeOptions {
204
204
  mode: 'portal';
205
205
  authData?: string;
206
+ disable_startup_ads?: boolean;
206
207
  }
207
208
  export interface StartupConfig {
208
209
  /**
@@ -214,6 +215,8 @@ export interface StartupConfig {
214
215
  export declare function startGameTimeTrack(): void;
215
216
  export interface CryptoSteamSDK {
216
217
  version: string;
218
+ onAdStart: (() => void) | null;
219
+ onAdEnd: ((result: boolean) => void) | null;
217
220
  initialize: (botId?: string, options?: InitializeOptions) => Promise<void>;
218
221
  getConfig: () => Promise<CryptoSteamSDKConfig>;
219
222
  isAdEnabled: () => Promise<boolean>;
@@ -239,7 +242,6 @@ export interface CryptoSteamSDK {
239
242
  height: number;
240
243
  }) => Promise<PurchaseConfirmResponse>;
241
244
  createInvoice: (title: string, description: string, to_user_id: number, amount: number) => Promise<ServiceInvoiceCreatedResponse>;
242
- claimTask: (taskId: number) => Promise<void>;
243
245
  getValue: (key: string) => Promise<string>;
244
246
  setValue: (key: string, value: string) => Promise<void>;
245
247
  /**