@embarkai/ui-kit 0.2.7 → 0.2.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.
@@ -15,7 +15,7 @@
15
15
  <meta http-equiv="X-Content-Type-Options" content="nosniff" />
16
16
  <meta http-equiv="Referrer-Policy" content="strict-origin-when-cross-origin" />
17
17
 
18
- <title>EmbarkAI Secure Wallet - iframe version 0.2.7</title>
18
+ <title>EmbarkAI Secure Wallet - iframe version 0.2.8</title>
19
19
 
20
20
  <!-- Styles will be injected by build process -->
21
21
  <style>
@@ -3314,6 +3314,10 @@ var SdkChannelManager = class {
3314
3314
  * Validate channel token and origin
3315
3315
  */
3316
3316
  validateChannel(channelToken, origin) {
3317
+ if (!channelToken) {
3318
+ console.warn("[iframe][SdkChannel] \u2717 channelToken is null/undefined");
3319
+ return false;
3320
+ }
3317
3321
  const channel = this.channels.get(channelToken);
3318
3322
  if (!channel) {
3319
3323
  console.warn(`[iframe][SdkChannel] \u2717 NOT FOUND: ${channelToken.slice(0, 16)}... (active channels: ${this.channels.size})`);
@@ -4395,7 +4399,7 @@ var SigningManager = class extends TokenRefreshApiClient {
4395
4399
  };
4396
4400
 
4397
4401
  // src/iframe/main.ts
4398
- var IFRAME_VERSION = "0.2.7";
4402
+ var IFRAME_VERSION = "0.2.8";
4399
4403
  var IframeWallet = class {
4400
4404
  constructor() {
4401
4405
  console.log("=".repeat(60));