@orbit-software/sdk 1.87.9 → 1.87.12
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.mjs +236 -216
- package/dist/esm/sdk.umd.js +16 -16
- package/dist/esm/types/sdk.d.ts +14 -1
- package/dist/stats-esm.html +1 -1
- package/dist/stats-umd-react.html +1 -1
- package/dist/stats-umd.html +1 -1
- package/dist/umd/sdk.umd.js +16 -16
- package/dist/umd_react/sdk_react.umd.js +15 -15
- package/package.json +1 -1
package/dist/esm/types/sdk.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { InventoryItem, ServiceInvoiceCreatedResponse } from './api';
|
|
2
2
|
export interface CryptoSteamSDKConfig {
|
|
3
|
-
supported_screen_formats: ('landscape' | 'portrait' | 'fullscreen')[];
|
|
3
|
+
supported_screen_formats: ('landscape' | 'portrait' | 'fullscreen' | 'fullscreen-desktop')[];
|
|
4
4
|
supported_devices: string[];
|
|
5
5
|
title: string;
|
|
6
6
|
app_url: string;
|
|
@@ -113,6 +113,7 @@ export interface OverlayConfig {
|
|
|
113
113
|
initialPosition?: 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight';
|
|
114
114
|
botId?: string;
|
|
115
115
|
authData?: string;
|
|
116
|
+
visible?: boolean;
|
|
116
117
|
}
|
|
117
118
|
export interface CryptoSteamSDKTask {
|
|
118
119
|
id: number;
|
|
@@ -194,6 +195,18 @@ export interface CryptoSteamSDK {
|
|
|
194
195
|
isLaunchedFromPortal: () => boolean;
|
|
195
196
|
setBottomBanner: () => void;
|
|
196
197
|
clearBottomBanner: () => void;
|
|
198
|
+
/**
|
|
199
|
+
* Show the overlay if it was initialized with visible: false or hidden via hideOverlay()
|
|
200
|
+
*/
|
|
201
|
+
showOverlay: () => void;
|
|
202
|
+
/**
|
|
203
|
+
* Hide the overlay while keeping it loaded
|
|
204
|
+
*/
|
|
205
|
+
hideOverlay: () => void;
|
|
206
|
+
/**
|
|
207
|
+
* Check if the overlay is currently visible
|
|
208
|
+
*/
|
|
209
|
+
isOverlayVisible: () => boolean;
|
|
197
210
|
}
|
|
198
211
|
export interface PortalEmuSDK {
|
|
199
212
|
isAdRunning: () => boolean;
|