rampkit-expo-dev 0.0.99 → 0.0.101

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/build/RampKit.js CHANGED
@@ -299,17 +299,14 @@ class RampKitCore {
299
299
  })();
300
300
  // Initialize storage with initial values
301
301
  OnboardingResponseStorage_1.OnboardingResponseStorage.initializeVariables(variables);
302
- const screens = data.screens.map((s) => {
303
- Logger_1.Logger.verbose(`Screen mapping - id: ${s.id}, label: ${s.label}`);
304
- return {
305
- id: s.id,
306
- label: s.label,
307
- html: s.html ||
308
- `<div style="padding:24px"><h1>${s.label || s.id}</h1><button onclick="window.ReactNativeWebView && window.ReactNativeWebView.postMessage('rampkit:tap')">Continue</button></div>`,
309
- css: s.css,
310
- js: s.js,
311
- };
312
- });
302
+ const screens = data.screens.map((s) => ({
303
+ id: s.id,
304
+ label: s.label,
305
+ html: s.html ||
306
+ `<div style="padding:24px"><h1>${s.label || s.id}</h1><button onclick="window.ReactNativeWebView && window.ReactNativeWebView.postMessage('rampkit:tap')">Continue</button></div>`,
307
+ css: s.css,
308
+ js: s.js,
309
+ }));
313
310
  const requiredScripts = Array.isArray(data.requiredScripts)
314
311
  ? data.requiredScripts
315
312
  : [];
@@ -1498,11 +1498,8 @@ function Overlay(props) {
1498
1498
  // Track screen navigation event
1499
1499
  const fromScreen = props.screens[index];
1500
1500
  const toScreen = props.screens[nextIndex];
1501
- Logger_1.Logger.verbose(`Navigation - fromScreen: ${JSON.stringify(fromScreen)}`);
1502
- Logger_1.Logger.verbose(`Navigation - toScreen: ${JSON.stringify(toScreen)}`);
1503
1501
  const fromScreenName = (fromScreen === null || fromScreen === void 0 ? void 0 : fromScreen.label) || null;
1504
1502
  const toScreenName = (toScreen === null || toScreen === void 0 ? void 0 : toScreen.label) || "";
1505
- Logger_1.Logger.verbose(`Navigation - fromScreenName: ${fromScreenName}, toScreenName: ${toScreenName}`);
1506
1503
  const navigationDirection = nextIndex > index ? "forward" : "back";
1507
1504
  EventManager_1.eventManager.trackScreenNavigated(fromScreenName, toScreenName, navigationDirection);
1508
1505
  // Parse animation type case-insensitively
@@ -5,6 +5,7 @@
5
5
  */
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
7
  exports.buildTargetingContext = buildTargetingContext;
8
+ const constants_1 = require("./constants");
8
9
  /**
9
10
  * Calculate days since install from install date string
10
11
  */
@@ -48,7 +49,7 @@ function buildTargetingContext(deviceInfo) {
48
49
  app: {
49
50
  version: "1.0.0",
50
51
  buildNumber: "1",
51
- sdkVersion: "1.0.0",
52
+ sdkVersion: constants_1.SDK_VERSION,
52
53
  },
53
54
  asa: {
54
55
  keyword: null,
@@ -1,7 +1,8 @@
1
1
  /**
2
2
  * RampKit SDK Constants
3
+ * Note: SDK_VERSION is updated by sync-versions.sh from package.json
3
4
  */
4
- export declare const SDK_VERSION = "1.0.0";
5
+ export declare const SDK_VERSION = "0.0.100";
5
6
  export declare const ENDPOINTS: {
6
7
  readonly BASE_URL: "https://uustlzuvjmochxkxatfx.supabase.co/functions/v1";
7
8
  readonly APP_USERS: "/app-users";
@@ -1,10 +1,11 @@
1
1
  "use strict";
2
2
  /**
3
3
  * RampKit SDK Constants
4
+ * Note: SDK_VERSION is updated by sync-versions.sh from package.json
4
5
  */
5
6
  Object.defineProperty(exports, "__esModule", { value: true });
6
7
  exports.SUPABASE_ANON_KEY = exports.CAPABILITIES = exports.STORAGE_KEYS = exports.MANIFEST_BASE_URL = exports.ENDPOINTS = exports.SDK_VERSION = void 0;
7
- exports.SDK_VERSION = "1.0.0";
8
+ exports.SDK_VERSION = "0.0.100";
8
9
  exports.ENDPOINTS = {
9
10
  BASE_URL: "https://uustlzuvjmochxkxatfx.supabase.co/functions/v1",
10
11
  APP_USERS: "/app-users",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rampkit-expo-dev",
3
- "version": "0.0.99",
3
+ "version": "0.0.101",
4
4
  "description": "The Expo SDK for RampKit. Build, test, and personalize app onboardings with instant updates.",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",