@idosgames/core 0.16.0 → 0.17.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/index.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  import { PlatformAdapter, KeyValueStorage } from './platform/index.cjs';
3
- export { BrowserPlatformAdapter, BrowserStorage, MemoryStorage, NoopPlatformAdapter, TelegramInitDataUnsafe, TelegramWebApp } from './platform/index.cjs';
3
+ export { BrowserPlatformAdapter, BrowserStorage, MemoryStorage, NoopPlatformAdapter, PLATFORM_ORIGINS, TelegramInitDataUnsafe, TelegramWebApp, isPlatformParentOrigin } from './platform/index.cjs';
4
4
  import Decimal from 'decimal.js';
5
5
 
6
6
  type EventMap = Record<string, unknown>;
@@ -2130,7 +2130,7 @@ declare const PlatformFriendsMode: {
2130
2130
  readonly PlatformOnly: "PlatformOnly";
2131
2131
  };
2132
2132
  type PlatformFriendsMode = (typeof PlatformFriendsMode)[keyof typeof PlatformFriendsMode];
2133
- type PlatformBridgeDefinitions = { Profile?: null | 'Always' | 'Off' | 'Default'; Friends?: null | 'TitleOnly' | 'TitleAndPlatform' | 'PlatformOnly'; AllowShowTitlesPlayed?: null | boolean; AllowShowWorkshopWorks?: null | boolean; [key: string]: unknown; };
2133
+ type PlatformBridgeDefinitions = { Profile?: null | 'Always' | 'Off' | 'Default'; Friends?: null | 'TitleOnly' | 'TitleAndPlatform' | 'PlatformOnly'; [key: string]: unknown; };
2134
2134
  /** Cursor of a social list page, exactly as the previous page returned it. */
2135
2135
  interface SocialCursor {
2136
2136
  at?: string | null;
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  import { PlatformAdapter, KeyValueStorage } from './platform/index.js';
3
- export { BrowserPlatformAdapter, BrowserStorage, MemoryStorage, NoopPlatformAdapter, TelegramInitDataUnsafe, TelegramWebApp } from './platform/index.js';
3
+ export { BrowserPlatformAdapter, BrowserStorage, MemoryStorage, NoopPlatformAdapter, PLATFORM_ORIGINS, TelegramInitDataUnsafe, TelegramWebApp, isPlatformParentOrigin } from './platform/index.js';
4
4
  import Decimal from 'decimal.js';
5
5
 
6
6
  type EventMap = Record<string, unknown>;
@@ -2130,7 +2130,7 @@ declare const PlatformFriendsMode: {
2130
2130
  readonly PlatformOnly: "PlatformOnly";
2131
2131
  };
2132
2132
  type PlatformFriendsMode = (typeof PlatformFriendsMode)[keyof typeof PlatformFriendsMode];
2133
- type PlatformBridgeDefinitions = { Profile?: null | 'Always' | 'Off' | 'Default'; Friends?: null | 'TitleOnly' | 'TitleAndPlatform' | 'PlatformOnly'; AllowShowTitlesPlayed?: null | boolean; AllowShowWorkshopWorks?: null | boolean; [key: string]: unknown; };
2133
+ type PlatformBridgeDefinitions = { Profile?: null | 'Always' | 'Off' | 'Default'; Friends?: null | 'TitleOnly' | 'TitleAndPlatform' | 'PlatformOnly'; [key: string]: unknown; };
2134
2134
  /** Cursor of a social list page, exactly as the previous page returned it. */
2135
2135
  interface SocialCursor {
2136
2136
  at?: string | null;