@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.
package/index.js CHANGED
@@ -132,6 +132,7 @@
132
132
  // Capture components from global scope into internal storage
133
133
  function captureComponents() {
134
134
  const componentNames = [
135
+ "createSuperLeapSDK", // SDK factory function - must be preserved for init()
135
136
  "superleapClient",
136
137
  "SuperleapBridge",
137
138
  "Toast",
@@ -231,7 +232,9 @@
231
232
  if (isStandalone && !client.isAvailable()) {
232
233
  // Auto-init with default config for standalone testing
233
234
  client.init(client.getDefaultConfig());
234
- console.log("[Superleap-Flow] SDK auto-initialized for standalone mode");
235
+ console.log(
236
+ "[Superleap-Flow] SDK auto-initialized for standalone mode"
237
+ );
235
238
  }
236
239
  }
237
240
 
@@ -247,7 +250,7 @@
247
250
  },
248
251
  });
249
252
  document.dispatchEvent(event);
250
- console.log("[Superleap-Flow] Library ready - v2.2.2");
253
+ console.log("[Superleap-Flow] Library ready - v__VERSION__");
251
254
  }
252
255
 
253
256
  // Wait for DOM to be ready before dispatching event
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superleapai/flow-ui",
3
- "version": "2.2.7",
3
+ "version": "2.2.9",
4
4
  "description": "A reusable design system for building multi-step forms with comprehensive UI components. Single file, clean globals, SDK included. Only FlowUI and SuperLeap exposed.",
5
5
  "main": "dist/superleap-flow.min.js",
6
6
  "types": "index.d.ts",