@layers/react-native 3.3.1 → 3.3.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/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/react.js +1 -1
- package/dist/react.mjs +1 -1
- package/dist/{src-B_cCCgWM.js → src-CExoKDAB.js} +1 -1
- package/dist/{src-DL5bdg2R.mjs → src-HL7K6lv5.mjs} +2 -2
- package/dist/{src-DL5bdg2R.mjs.map → src-HL7K6lv5.mjs.map} +1 -1
- package/ios/PrivacyInfo.xcprivacy +2 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-nOFOJqeH.js');
|
|
2
2
|
const require_att = require('./att-CauvkIKr.js');
|
|
3
|
-
const require_src = require('./src-
|
|
3
|
+
const require_src = require('./src-CExoKDAB.js');
|
|
4
4
|
const require_skan = require('./skan-qcOYJKzP.js');
|
|
5
5
|
let __layers_core_wasm = require("@layers/core-wasm");
|
|
6
6
|
__layers_core_wasm = require_chunk.__toESM(__layers_core_wasm);
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as requestTrackingAuthorization, i as isATTAvailable, n as getAdvertisingId, r as getVendorId, t as getATTStatus } from "./att-CnlG_CuV.mjs";
|
|
2
|
-
import { $ as superwallTrackSkip, A as useLayersNavigationTracking, B as trackAddToCart, C as readClipboardAttribution, Ct as installExceptionAutoCapture, D as SurveysModule, E as useLayersExpoRouterTracking, F as connectRevenueCat, G as trackRefund, H as trackOrder, I as isRevenueCatConnected, J as trackViewProduct, K as trackRemoveFromCart, L as resetRevenueCatForTesting, M as BACKGROUND_FLUSH_TASK_NAME, N as createBackgroundFlushHandler, O as createNavigationListener, P as registerExpoBackgroundFlush, Q as superwallTrackPurchase, R as syncRevenueCatAttributes, S as parseInstallReferrerUrl, St as buildExceptionProperties, T as shouldTreatAsNewInstall, U as trackPurchase, V as trackBeginCheckout, W as trackPurchaseFailed, X as superwallTrackDismiss, Y as superwallOnEvent, Z as superwallTrackPresentation, _ as getFirstInstallTime, _t as startTrialEvent, a as buildBeginCheckoutEvent, at as levelCompleteEvent, b as getOrSetInstallId, bt as viewContentEvent, c as buildOnboardingStartEvent, ct as onboardingCompleteEvent, d as buildRefundEvent, dt as purchaseEvent, et as superwallUserAttributes, f as buildStartTrialEvent, ft as registerEvent, g as getAdServicesToken, gt as signUpEvent, h as formatFbc, ht as shareEvent, i as buildAddToCartEvent, it as initiateCheckoutEvent, j as BACKGROUND_FLUSH_MIN_INTERVAL_MINUTES, k as resolveActiveRoute, l as buildPaywallShowEvent, lt as onboardingStartEvent, m as buildViewItemEvent, mt as searchEvent, n as LayersEvent, nt as addToCartEvent, o as buildInstallReferrerProperties, ot as levelStartEvent, p as buildSubscribeEvent, pt as screenViewEvent, q as trackSubscription, r as LayersReactNative, rt as addToWishlistEvent, s as buildOnboardingCompleteEvent, st as loginEvent, t as LayersError, tt as StandardEvents, u as buildPurchaseEvent, ut as paywallShowEvent, v as getGoogleAdvertisingId, vt as subscribeEvent, w as setupDeepLinkListener, x as parseDeepLink, xt as viewItemEvent, y as getInstallReferrer, yt as tutorialCompleteEvent, z as trackRevenueCatPurchase } from "./src-
|
|
2
|
+
import { $ as superwallTrackSkip, A as useLayersNavigationTracking, B as trackAddToCart, C as readClipboardAttribution, Ct as installExceptionAutoCapture, D as SurveysModule, E as useLayersExpoRouterTracking, F as connectRevenueCat, G as trackRefund, H as trackOrder, I as isRevenueCatConnected, J as trackViewProduct, K as trackRemoveFromCart, L as resetRevenueCatForTesting, M as BACKGROUND_FLUSH_TASK_NAME, N as createBackgroundFlushHandler, O as createNavigationListener, P as registerExpoBackgroundFlush, Q as superwallTrackPurchase, R as syncRevenueCatAttributes, S as parseInstallReferrerUrl, St as buildExceptionProperties, T as shouldTreatAsNewInstall, U as trackPurchase, V as trackBeginCheckout, W as trackPurchaseFailed, X as superwallTrackDismiss, Y as superwallOnEvent, Z as superwallTrackPresentation, _ as getFirstInstallTime, _t as startTrialEvent, a as buildBeginCheckoutEvent, at as levelCompleteEvent, b as getOrSetInstallId, bt as viewContentEvent, c as buildOnboardingStartEvent, ct as onboardingCompleteEvent, d as buildRefundEvent, dt as purchaseEvent, et as superwallUserAttributes, f as buildStartTrialEvent, ft as registerEvent, g as getAdServicesToken, gt as signUpEvent, h as formatFbc, ht as shareEvent, i as buildAddToCartEvent, it as initiateCheckoutEvent, j as BACKGROUND_FLUSH_MIN_INTERVAL_MINUTES, k as resolveActiveRoute, l as buildPaywallShowEvent, lt as onboardingStartEvent, m as buildViewItemEvent, mt as searchEvent, n as LayersEvent, nt as addToCartEvent, o as buildInstallReferrerProperties, ot as levelStartEvent, p as buildSubscribeEvent, pt as screenViewEvent, q as trackSubscription, r as LayersReactNative, rt as addToWishlistEvent, s as buildOnboardingCompleteEvent, st as loginEvent, t as LayersError, tt as StandardEvents, u as buildPurchaseEvent, ut as paywallShowEvent, v as getGoogleAdvertisingId, vt as subscribeEvent, w as setupDeepLinkListener, x as parseDeepLink, xt as viewItemEvent, y as getInstallReferrer, yt as tutorialCompleteEvent, z as trackRevenueCatPurchase } from "./src-HL7K6lv5.mjs";
|
|
3
3
|
import { t as SKANManager } from "./skan-DO7MLv2w.mjs";
|
|
4
4
|
|
|
5
5
|
export { BACKGROUND_FLUSH_MIN_INTERVAL_MINUTES, BACKGROUND_FLUSH_TASK_NAME, LayersError, LayersEvent, LayersReactNative, SKANManager, StandardEvents, SurveysModule, addToCartEvent, addToWishlistEvent, buildAddToCartEvent, buildBeginCheckoutEvent, buildExceptionProperties, buildInstallReferrerProperties, buildOnboardingCompleteEvent, buildOnboardingStartEvent, buildPaywallShowEvent, buildPurchaseEvent, buildRefundEvent, buildStartTrialEvent, buildSubscribeEvent, buildViewItemEvent, connectRevenueCat, createBackgroundFlushHandler, createNavigationListener, formatFbc, getATTStatus, getAdServicesToken, getAdvertisingId, getFirstInstallTime, getGoogleAdvertisingId, getInstallReferrer, getOrSetInstallId, getVendorId, initiateCheckoutEvent, installExceptionAutoCapture, isATTAvailable, isRevenueCatConnected, levelCompleteEvent, levelStartEvent, loginEvent, onboardingCompleteEvent, onboardingStartEvent, parseDeepLink, parseInstallReferrerUrl, paywallShowEvent, purchaseEvent, readClipboardAttribution, registerEvent, registerExpoBackgroundFlush, requestTrackingAuthorization, resetRevenueCatForTesting, resolveActiveRoute, screenViewEvent, searchEvent, setupDeepLinkListener, shareEvent, shouldTreatAsNewInstall, signUpEvent, startTrialEvent, subscribeEvent, superwallOnEvent, superwallTrackDismiss, superwallTrackPresentation, superwallTrackPurchase, superwallTrackSkip, superwallUserAttributes, syncRevenueCatAttributes, trackAddToCart, trackBeginCheckout, trackOrder, trackPurchase, trackPurchaseFailed, trackRefund, trackRemoveFromCart, trackRevenueCatPurchase, trackSubscription, trackViewProduct, tutorialCompleteEvent, useLayersExpoRouterTracking, useLayersNavigationTracking, viewContentEvent, viewItemEvent };
|
package/dist/react.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-nOFOJqeH.js');
|
|
2
2
|
require('./att-CauvkIKr.js');
|
|
3
|
-
const require_src = require('./src-
|
|
3
|
+
const require_src = require('./src-CExoKDAB.js');
|
|
4
4
|
require('./skan-qcOYJKzP.js');
|
|
5
5
|
let react = require("react");
|
|
6
6
|
react = require_chunk.__toESM(react);
|
package/dist/react.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./att-CnlG_CuV.mjs";
|
|
2
|
-
import { r as LayersReactNative } from "./src-
|
|
2
|
+
import { r as LayersReactNative } from "./src-HL7K6lv5.mjs";
|
|
3
3
|
import "./skan-DO7MLv2w.mjs";
|
|
4
4
|
import { createContext, useCallback, useContext, useEffect, useRef } from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1110,7 +1110,7 @@ function hostAppIsRegisteredOn(rn) {
|
|
|
1110
1110
|
}
|
|
1111
1111
|
}
|
|
1112
1112
|
const DUPLICATE_REACT_NATIVE_MESSAGE = "[Layers] The SDK resolved a SECOND copy of react-native, not the one your app runs. React Native delivers native lifecycle events to a single copy, so this listener can never fire: $app_background and $app_foreground will not be emitted and the background crash-safety snapshot will not run, which loses every event queued since the last flush on any launch that ends in a kill. Fix the duplicate in your bundler — in a Metro monorepo set `resolver.disableHierarchicalLookup = true` and list every workspace node_modules in `resolver.nodeModulesPaths` — or hand the SDK your app's module: `new LayersReactNative({ ..., appState: AppState })` with AppState imported from 'react-native'.";
|
|
1113
|
-
const SDK_VERSION = "3.3.
|
|
1113
|
+
const SDK_VERSION = "3.3.2";
|
|
1114
1114
|
var LayersReactNative = class LayersReactNative {
|
|
1115
1115
|
core;
|
|
1116
1116
|
eagerPersistence;
|
|
@@ -1109,7 +1109,7 @@ function hostAppIsRegisteredOn(rn) {
|
|
|
1109
1109
|
}
|
|
1110
1110
|
}
|
|
1111
1111
|
const DUPLICATE_REACT_NATIVE_MESSAGE = "[Layers] The SDK resolved a SECOND copy of react-native, not the one your app runs. React Native delivers native lifecycle events to a single copy, so this listener can never fire: $app_background and $app_foreground will not be emitted and the background crash-safety snapshot will not run, which loses every event queued since the last flush on any launch that ends in a kill. Fix the duplicate in your bundler — in a Metro monorepo set `resolver.disableHierarchicalLookup = true` and list every workspace node_modules in `resolver.nodeModulesPaths` — or hand the SDK your app's module: `new LayersReactNative({ ..., appState: AppState })` with AppState imported from 'react-native'.";
|
|
1112
|
-
const SDK_VERSION = "3.3.
|
|
1112
|
+
const SDK_VERSION = "3.3.2";
|
|
1113
1113
|
var LayersReactNative = class LayersReactNative {
|
|
1114
1114
|
core;
|
|
1115
1115
|
eagerPersistence;
|
|
@@ -3155,4 +3155,4 @@ function useLayersExpoRouterTracking(sdkInstance, usePathname, useGlobalSearchPa
|
|
|
3155
3155
|
|
|
3156
3156
|
//#endregion
|
|
3157
3157
|
export { superwallTrackSkip as $, useLayersNavigationTracking as A, trackAddToCart as B, readClipboardAttribution as C, installExceptionAutoCapture as Ct, SurveysModule as D, useLayersExpoRouterTracking as E, connectRevenueCat as F, trackRefund as G, trackOrder as H, isRevenueCatConnected as I, trackViewProduct as J, trackRemoveFromCart as K, resetRevenueCatForTesting as L, BACKGROUND_FLUSH_TASK_NAME as M, createBackgroundFlushHandler as N, createNavigationListener as O, registerExpoBackgroundFlush as P, superwallTrackPurchase as Q, syncRevenueCatAttributes as R, parseInstallReferrerUrl as S, buildExceptionProperties as St, shouldTreatAsNewInstall as T, trackPurchase as U, trackBeginCheckout as V, trackPurchaseFailed as W, superwallTrackDismiss as X, superwallOnEvent as Y, superwallTrackPresentation as Z, getFirstInstallTime as _, startTrialEvent as _t, buildBeginCheckoutEvent as a, levelCompleteEvent as at, getOrSetInstallId as b, viewContentEvent as bt, buildOnboardingStartEvent as c, onboardingCompleteEvent as ct, buildRefundEvent as d, purchaseEvent as dt, superwallUserAttributes as et, buildStartTrialEvent as f, registerEvent as ft, getAdServicesToken as g, signUpEvent as gt, formatFbc as h, shareEvent as ht, buildAddToCartEvent as i, initiateCheckoutEvent as it, BACKGROUND_FLUSH_MIN_INTERVAL_MINUTES as j, resolveActiveRoute as k, buildPaywallShowEvent as l, onboardingStartEvent as lt, buildViewItemEvent as m, searchEvent as mt, LayersEvent as n, addToCartEvent as nt, buildInstallReferrerProperties as o, levelStartEvent as ot, buildSubscribeEvent as p, screenViewEvent as pt, trackSubscription as q, LayersReactNative as r, addToWishlistEvent as rt, buildOnboardingCompleteEvent as s, loginEvent as st, LayersError$1 as t, StandardEvents as tt, buildPurchaseEvent as u, paywallShowEvent as ut, getGoogleAdvertisingId as v, subscribeEvent as vt, setupDeepLinkListener as w, parseDeepLink as x, viewItemEvent as xt, getInstallReferrer as y, tutorialCompleteEvent as yt, trackRevenueCatPurchase as z };
|
|
3158
|
-
//# sourceMappingURL=src-
|
|
3158
|
+
//# sourceMappingURL=src-HL7K6lv5.mjs.map
|