@looplay/sdk 0.8.6 → 0.8.8

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.
@@ -4,4 +4,5 @@ export * from './errors';
4
4
  export * from './auth';
5
5
  export * from './apps';
6
6
  export * from './iframe';
7
+ export * from './version';
7
8
  export type { GameEventKey } from '@looplay/types';
@@ -39,5 +39,12 @@ export declare class LooplaySDK {
39
39
  }): Promise<EmitGameEventResponse>;
40
40
  private assertInitialized;
41
41
  private verifyGameId;
42
+ /**
43
+ * Best-effort self-report — must never block init(). A missing/misconfigured
44
+ * whitelist (a separate setup step from SDK integration) makes the backend
45
+ * reject this call; if that rejection propagated, the whole init() would
46
+ * reject too and every other SDK method would throw NotInitializedError,
47
+ * breaking a game over what's really just an unfinished onboarding step.
48
+ */
42
49
  private detectIntegration;
43
50
  }
@@ -0,0 +1 @@
1
+ export declare const LOOPLAY_SDK_VERSION = "0.8.5";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@looplay/sdk",
3
- "version": "0.8.6",
3
+ "version": "0.8.8",
4
4
  "description": "LooplaySDK (auth + points) for game integrations",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",