@orbit-software/sdk 1.84.5 → 1.85.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
@@ -205,12 +205,17 @@ export interface InitializeOptions {
205
205
  authData?: string;
206
206
  }
207
207
  export interface StartupConfig {
208
+ /**
209
+ * @deprecated This field is no longer supported. Fullscreen configuration is now done through Portal.
210
+ */
208
211
  isFullscreen: boolean;
209
212
  overlayPosition: 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight';
210
213
  }
211
214
  export declare function startGameTimeTrack(): void;
212
215
  export interface CryptoSteamSDK {
213
216
  version: string;
217
+ onAdStart: (() => void) | null;
218
+ onAdEnd: ((result: boolean) => void) | null;
214
219
  initialize: (botId?: string, options?: InitializeOptions) => Promise<void>;
215
220
  getConfig: () => Promise<CryptoSteamSDKConfig>;
216
221
  isAdEnabled: () => Promise<boolean>;
@@ -236,7 +241,6 @@ export interface CryptoSteamSDK {
236
241
  height: number;
237
242
  }) => Promise<PurchaseConfirmResponse>;
238
243
  createInvoice: (title: string, description: string, to_user_id: number, amount: number) => Promise<ServiceInvoiceCreatedResponse>;
239
- claimTask: (taskId: number) => Promise<void>;
240
244
  getValue: (key: string) => Promise<string>;
241
245
  setValue: (key: string, value: string) => Promise<void>;
242
246
  /**