@superleapai/flow-ui 2.2.7 → 2.2.9

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.
@@ -100,8 +100,14 @@
100
100
  // Check for both global function and class constructor
101
101
  if (typeof global.createSuperLeapSDK === "function") {
102
102
  _sdkInstance = global.createSuperLeapSDK(_config);
103
+ console.log("[superleapClient] SDK created via createSuperLeapSDK");
104
+ console.log("[superleapClient] SDK has records?", !!_sdkInstance?.records);
105
+ console.log("[superleapClient] SDK keys:", _sdkInstance ? Object.keys(_sdkInstance) : "null");
103
106
  } else if (typeof global.SuperLeapSDK === "function") {
104
107
  _sdkInstance = new global.SuperLeapSDK(_config);
108
+ console.log("[superleapClient] SDK created via new SuperLeapSDK()");
109
+ console.log("[superleapClient] SDK has records?", !!_sdkInstance?.records);
110
+ console.log("[superleapClient] SDK keys:", _sdkInstance ? Object.keys(_sdkInstance) : "null");
105
111
  } else {
106
112
  console.warn(
107
113
  "[superleapClient] SuperLeap SDK not found. Install with: npm install superleap-sdk"