@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/CHANGELOG.md +25 -0
- package/dist/chunk-DE75YD5H.js +2 -0
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/platform/index.cjs +2 -1
- package/dist/platform/index.d.cts +16 -1
- package/dist/platform/index.d.ts +16 -1
- package/dist/platform/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-MEUEUF7D.js +0 -1
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';
|
|
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';
|
|
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;
|