@idosgames/core 0.21.1 → 0.21.2

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 CHANGED
@@ -14,6 +14,18 @@ and this project follows [Semantic Versioning](https://semver.org/spec/v2.0.0.ht
14
14
 
15
15
  ## [Unreleased]
16
16
 
17
+ ## [0.21.2] - 2026-10-05
18
+
19
+ The model follows the backend rename (rolled out 05.10.2026). Patch, not minor: the server no longer
20
+ sends the old field, so the old name was already always empty — nothing that worked stops working.
21
+
22
+ ### Changed
23
+
24
+ - `BlockchainDefinitions.IframeAllowedHosts` → **`IframeConnectHosts`**. It now widens only the
25
+ game's network requests (`connect-src`) while it is embedded on idosgames.com. Framing another
26
+ website there is never allowed (`frame-src` is platform hosts only, owner's decision): a game build
27
+ must be the game itself, not a wrapper around an external site.
28
+
17
29
  ## [0.21.1] - 2026-10-05
18
30
 
19
31
  Crypto withdrawal fees and IOUs (rollout 05.10.2026). Additive: new optional fields only.
@@ -3090,7 +3090,7 @@ declare const PlayAccessMode: {
3090
3090
  };
3091
3091
  type PlayAccessMode = (typeof PlayAccessMode)[keyof typeof PlayAccessMode];
3092
3092
  type BlockchainPlayAccessPolicy = { Mode?: null | 'Open' | 'AnyWithLinkedWallet' | 'WalletOnly'; TokenGates?: null | Array<WalletPlayTokenGate>; [key: string]: unknown; };
3093
- type BlockchainDefinitions = { SystemState?: null | BlockchainSystemState; Networks?: null | Record<string, BlockchainNetworkDefinition>; AccountSafety?: null | BlockchainAccountSafetyPolicy; WalletLogin?: null | { Enabled?: null | boolean; WalletConnectProjectId?: null | string; [key: string]: unknown; }; PlayAccess?: null | BlockchainPlayAccessPolicy; IframeAllowedHosts?: null | Array<string>; [key: string]: unknown; };
3093
+ type BlockchainDefinitions = { SystemState?: null | BlockchainSystemState; Networks?: null | Record<string, BlockchainNetworkDefinition>; AccountSafety?: null | BlockchainAccountSafetyPolicy; WalletLogin?: null | { Enabled?: null | boolean; WalletConnectProjectId?: null | string; [key: string]: unknown; }; PlayAccess?: null | BlockchainPlayAccessPolicy; IframeConnectHosts?: null | Array<string>; [key: string]: unknown; };
3094
3094
  type LinkedWalletInfo = { NetworkID?: null | string; Address?: null | string; LinkedAt?: null | string; LastUsedAt?: null | string; LinkType?: null | 'AutoLinkedFromTransaction' | 'SignatureVerified' | 'ManuallyLinked'; IsSignatureVerified?: null | boolean; [key: string]: unknown; };
3095
3095
  type PendingWithdrawalRef = { TitleTransactionID?: null | string; Type?: null | 'Token' | 'Nft'; NetworkID?: null | string; AssetID?: null | string; Amount?: null | string; CreatedAt?: null | string; ExpiresAt?: null | string; [key: string]: unknown; };
3096
3096
  type UserKycState = { Status?: null | 'Expired' | 'Pending' | 'Rejected' | 'NotRequested' | 'Verified'; Tier?: null | 'None' | 'Tier1' | 'Tier2' | 'Tier3'; VerifiedAt?: null | string; ExpiresAt?: null | string; RejectedAt?: null | string; ProviderReference?: null | string; RejectionReason?: null | string; [key: string]: unknown; };
@@ -3090,7 +3090,7 @@ declare const PlayAccessMode: {
3090
3090
  };
3091
3091
  type PlayAccessMode = (typeof PlayAccessMode)[keyof typeof PlayAccessMode];
3092
3092
  type BlockchainPlayAccessPolicy = { Mode?: null | 'Open' | 'AnyWithLinkedWallet' | 'WalletOnly'; TokenGates?: null | Array<WalletPlayTokenGate>; [key: string]: unknown; };
3093
- type BlockchainDefinitions = { SystemState?: null | BlockchainSystemState; Networks?: null | Record<string, BlockchainNetworkDefinition>; AccountSafety?: null | BlockchainAccountSafetyPolicy; WalletLogin?: null | { Enabled?: null | boolean; WalletConnectProjectId?: null | string; [key: string]: unknown; }; PlayAccess?: null | BlockchainPlayAccessPolicy; IframeAllowedHosts?: null | Array<string>; [key: string]: unknown; };
3093
+ type BlockchainDefinitions = { SystemState?: null | BlockchainSystemState; Networks?: null | Record<string, BlockchainNetworkDefinition>; AccountSafety?: null | BlockchainAccountSafetyPolicy; WalletLogin?: null | { Enabled?: null | boolean; WalletConnectProjectId?: null | string; [key: string]: unknown; }; PlayAccess?: null | BlockchainPlayAccessPolicy; IframeConnectHosts?: null | Array<string>; [key: string]: unknown; };
3094
3094
  type LinkedWalletInfo = { NetworkID?: null | string; Address?: null | string; LinkedAt?: null | string; LastUsedAt?: null | string; LinkType?: null | 'AutoLinkedFromTransaction' | 'SignatureVerified' | 'ManuallyLinked'; IsSignatureVerified?: null | boolean; [key: string]: unknown; };
3095
3095
  type PendingWithdrawalRef = { TitleTransactionID?: null | string; Type?: null | 'Token' | 'Nft'; NetworkID?: null | string; AssetID?: null | string; Amount?: null | string; CreatedAt?: null | string; ExpiresAt?: null | string; [key: string]: unknown; };
3096
3096
  type UserKycState = { Status?: null | 'Expired' | 'Pending' | 'Rejected' | 'NotRequested' | 'Verified'; Tier?: null | 'None' | 'Tier1' | 'Tier2' | 'Tier3'; VerifiedAt?: null | string; ExpiresAt?: null | string; RejectedAt?: null | string; ProviderReference?: null | string; RejectionReason?: null | string; [key: string]: unknown; };