@virex-tech/paywallo-sdk 2.2.3 → 2.2.4
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/android/src/main/AndroidManifest.xml +7 -0
- package/dist/index.d.mts +70 -9
- package/dist/index.d.ts +70 -9
- package/dist/index.js +258 -175
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +277 -192
- package/dist/index.mjs.map +1 -1
- package/ios/PaywalloWebView.m +5 -0
- package/package.json +6 -2
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
2
2
|
package="com.paywallo.sdk">
|
|
3
3
|
|
|
4
|
+
<!--
|
|
5
|
+
Google Play Billing — required by PaywalloStoreKitModule (BillingClient).
|
|
6
|
+
Merged into the host app manifest automatically. Without this permission,
|
|
7
|
+
BillingClient.startConnection() fails silently at runtime.
|
|
8
|
+
-->
|
|
9
|
+
<uses-permission android:name="com.android.vending.BILLING" />
|
|
10
|
+
|
|
4
11
|
<application>
|
|
5
12
|
<!--
|
|
6
13
|
PaywalloFirebaseMessagingService handles FCM token refresh and message delivery.
|
package/dist/index.d.mts
CHANGED
|
@@ -378,7 +378,7 @@ declare const PaywalloContext: React.Context<PaywalloContextValue | null>;
|
|
|
378
378
|
* event in the V2 ingest envelope. The provider is called at flush time so
|
|
379
379
|
* each field reflects the most recent SDK state.
|
|
380
380
|
*
|
|
381
|
-
* The shape mirrors the server-side `/
|
|
381
|
+
* The shape mirrors the server-side `/sdk/ingest/batch` contract (Phase
|
|
382
382
|
* 3.1). Fields declared here are deduplicated across the batch — they exist
|
|
383
383
|
* once on the envelope instead of `N` times on each `events[]` entry.
|
|
384
384
|
*/
|
|
@@ -410,11 +410,9 @@ interface EventContext {
|
|
|
410
410
|
* `lifecycle` (foreground/background/session), `onboarding`,
|
|
411
411
|
* `notification`, `custom`.
|
|
412
412
|
*
|
|
413
|
-
* Both priorities post to `/sdk/ingest/batch
|
|
414
|
-
*
|
|
415
|
-
*
|
|
416
|
-
* network-failure durability for both queues via the `PostFn` injected by
|
|
417
|
-
* `ApiClient.postWithQueue`.
|
|
413
|
+
* Both priorities post to `/sdk/ingest/batch`. On 4xx the event is dropped.
|
|
414
|
+
* On 5xx or network failure, `OfflineQueue` handles durability via the
|
|
415
|
+
* `PostFn` injected by `ApiClient.postWithQueue`.
|
|
418
416
|
*/
|
|
419
417
|
type EventPriority = "critical" | "normal";
|
|
420
418
|
interface TrackOptions {
|
|
@@ -588,6 +586,68 @@ declare const networkMonitor: NetworkMonitorClass;
|
|
|
588
586
|
*/
|
|
589
587
|
type DistinctIdProvider = () => string;
|
|
590
588
|
|
|
589
|
+
/**
|
|
590
|
+
* Attribution data captured at first touch (UTM params, click IDs, referrer).
|
|
591
|
+
* `capturedAt` is ISO 8601 UTC — generated automatically by `capture()`.
|
|
592
|
+
*/
|
|
593
|
+
interface AttributionCapture {
|
|
594
|
+
readonly utmSource?: string;
|
|
595
|
+
readonly utmMedium?: string;
|
|
596
|
+
readonly utmCampaign?: string;
|
|
597
|
+
readonly utmContent?: string;
|
|
598
|
+
readonly utmTerm?: string;
|
|
599
|
+
readonly fbclid?: string;
|
|
600
|
+
readonly gclid?: string;
|
|
601
|
+
readonly ttclid?: string;
|
|
602
|
+
readonly tiktokCampaignId?: string;
|
|
603
|
+
readonly tiktokAdgroupId?: string;
|
|
604
|
+
readonly tiktokAdId?: string;
|
|
605
|
+
readonly installReferrerRaw?: string;
|
|
606
|
+
readonly installReferrerSource?: string;
|
|
607
|
+
readonly referrer?: string;
|
|
608
|
+
readonly capturedAt: string;
|
|
609
|
+
}
|
|
610
|
+
type AttributionInput = Omit<AttributionCapture, "capturedAt">;
|
|
611
|
+
/**
|
|
612
|
+
* Attribution module — first-write-wins persistence of UTM / click-ID data.
|
|
613
|
+
*
|
|
614
|
+
* Once a capture is stored, subsequent `capture()` calls are silently ignored.
|
|
615
|
+
* Use `clear()` to reset (e.g. on logout or in tests).
|
|
616
|
+
*
|
|
617
|
+
* @example
|
|
618
|
+
* await attributionTracker.capture({ utmSource: "google", gclid: "Cj0KCQ..." });
|
|
619
|
+
* const attr = attributionTracker.get(); // { utmSource: "google", capturedAt: "..." }
|
|
620
|
+
*/
|
|
621
|
+
declare class AttributionTracker {
|
|
622
|
+
private cache;
|
|
623
|
+
private captureInProgress;
|
|
624
|
+
private readonly storage;
|
|
625
|
+
constructor(debug?: boolean);
|
|
626
|
+
/**
|
|
627
|
+
* Load persisted attribution from storage into in-memory cache.
|
|
628
|
+
* Called once on SDK init. Subsequent `get()` reads are synchronous.
|
|
629
|
+
*/
|
|
630
|
+
loadFromStorage(): Promise<void>;
|
|
631
|
+
/**
|
|
632
|
+
* Persist attribution data. First-write wins — ignores if already captured
|
|
633
|
+
* or if all fields are absent (empty capture).
|
|
634
|
+
*
|
|
635
|
+
* @param data - Attribution fields without `capturedAt` (generated internally).
|
|
636
|
+
*/
|
|
637
|
+
capture(data: AttributionInput): Promise<void>;
|
|
638
|
+
/**
|
|
639
|
+
* Returns the persisted attribution capture, or `null` if none exists.
|
|
640
|
+
* Synchronous — reads from in-memory cache (populated via `loadFromStorage()`).
|
|
641
|
+
*/
|
|
642
|
+
get(): AttributionCapture | null;
|
|
643
|
+
/**
|
|
644
|
+
* Clears the persisted attribution from storage and in-memory cache.
|
|
645
|
+
* After `clear()`, `get()` returns `null` and the next `capture()` writes normally.
|
|
646
|
+
*/
|
|
647
|
+
clear(): Promise<void>;
|
|
648
|
+
}
|
|
649
|
+
declare const attributionTracker: AttributionTracker;
|
|
650
|
+
|
|
591
651
|
declare class IdentityError extends PaywalloError {
|
|
592
652
|
constructor(code: string, message: string);
|
|
593
653
|
}
|
|
@@ -734,7 +794,7 @@ type PushPermissionStatus = "granted" | "denied" | "provisional" | "notDetermine
|
|
|
734
794
|
*/
|
|
735
795
|
type NotificationEventType = "notification_sent" | "notification_delivered" | "notification_displayed" | "notification_clicked" | "notification_dismissed" | "notification_failed" | "notification_converted";
|
|
736
796
|
/**
|
|
737
|
-
* Payload sent to `POST /
|
|
797
|
+
* Payload sent to `POST /sdk/push-tokens`. Server schema matches 1:1:
|
|
738
798
|
* `{ token, platform, distinct_id, app_version, sdk_version }`.
|
|
739
799
|
*
|
|
740
800
|
* Optional client-side extras (deviceId/locale/timezone) are kept for context
|
|
@@ -753,6 +813,7 @@ interface DeviceTokenRegistration {
|
|
|
753
813
|
}
|
|
754
814
|
interface NotificationPayload {
|
|
755
815
|
notificationId: string;
|
|
816
|
+
messageId?: string;
|
|
756
817
|
campaignId: string;
|
|
757
818
|
variantKey?: string;
|
|
758
819
|
title: string;
|
|
@@ -1440,7 +1501,7 @@ declare const ONBOARDING_ERROR_CODES: {
|
|
|
1440
1501
|
/**
|
|
1441
1502
|
* Minimal surface the OnboardingManager needs from the unified event pipeline.
|
|
1442
1503
|
* `PaywalloClient` satisfies this interface (forwarding to
|
|
1443
|
-
* `ApiClient.trackEvent` → `EventBatcher` → `/
|
|
1504
|
+
* `ApiClient.trackEvent` → `EventBatcher` → `/sdk/ingest/batch`).
|
|
1444
1505
|
*/
|
|
1445
1506
|
interface OnboardingEventPipeline {
|
|
1446
1507
|
trackEvent(eventName: string, distinctId: string, properties?: Record<string, unknown>, timestamp?: number): Promise<void>;
|
|
@@ -1785,4 +1846,4 @@ declare function hasVariables(text: string): boolean;
|
|
|
1785
1846
|
|
|
1786
1847
|
declare const Paywallo: IPaywalloClient;
|
|
1787
1848
|
|
|
1788
|
-
export { type AllPlansResponse, ApiClient, type ApiClientConfig, type BlockType, type BoxSpacing, CAMPAIGN_ERROR_CODES, type CachedOfferings, type CachedPlans, type CachedSubscription, CampaignError, type CampaignPresentOptions, type CampaignResponse, type CampaignResult, type ConditionalFlagContext, type ConditionalFlagResult, type DeviceTokenRegistration, PURCHASE_ERROR_CODES as ERROR_CODES, type EmergencyPaywallResponse, type Environment, type FlagVariant, HttpClient, type HttpClientConfig, type HttpResponse, type IAPProduct, type IAPPurchase, IAPService, IDENTITY_ERROR_CODES, type IPaywalloClient, type IPushBridge, type IdentifyOptions, IdentityError, IdentityManager, type IdentityState, type LocalizedText, MetaBridge, NOTIFICATIONS_ERROR_CODES, NativePushBridge, type NetworkListener, type NetworkMonitorConfig, type NetworkState, type NotificationEventType, type NotificationListener, type NotificationPayload, NotificationsError, NotificationsManager, ONBOARDING_ERROR_CODES, type Offering, type OfferingProduct, OfferingService, type OfferingServiceConfig, type OfflineQueueConfig, type OnboardingDropPayload, OnboardingError, OnboardingManager, type OnboardingStepPayload, PAYWALL_ERROR_CODES, PURCHASE_ERROR_CODES, type PaywallBlockConfig, type PaywallConfig, PaywallContext, PaywallError, type PaywallErrorStrings$1 as PaywallErrorStrings, PaywallModal, type PaywallNode, type PaywallPresentOptions, type PaywallResult, type PaywallState, Paywallo, PaywalloClient, type PaywalloConfig, PaywalloContext, PaywalloError, type PaywalloInitConfig, PaywalloProvider, type PaywalloProviderProps, type Plan, PlanCache, type PlanProduct, PlanService, type PlanServiceConfig, type PlansResponse, type PrePromptHandle, type PrePromptOptions, type PreloadCampaignResult, type PreloadResult, type Product, type ProductPriceInfo, type Purchase, type PurchaseControllerConfig, PurchaseError, type PurchaseResult, type PurchaseState, type PushPermissionStatus, type PushPlatform, type QueueEvent, type QueueItem, type QueueListener, type QueueProcessorConfig, type RequestOptions, type RestoreResult$1 as RestoreResult, type RetryConfig, SESSION_ERROR_CODES, type SessionConfig, SessionError, SessionManager, type SessionState, type Subscription, SubscriptionCache, type SubscriptionInfo, type SubscriptionManagerConfig, type SubscriptionPlatform, type SubscriptionStatus$1 as SubscriptionStatus, type SubscriptionStatusResponse$1 as SubscriptionStatusResponse, type TapBehavior, type TrackEventOptions, type UserProperties, type ValidatePurchaseResponse, type VariableContext, createPurchaseError, Paywallo as default, detectDeviceLanguage, getCurrentLanguage, getDefaultLanguage, getIAPService, getLocalizedString, hasVariables, identityManager, initLocalization, metaBridge, nativeStoreKit, networkMonitor, notificationsManager, offeringService, offlineQueue, onboardingManager, parseVariables, planCache, planService, queueProcessor, resolveText, sessionManager, setCurrentLanguage, setDefaultLanguage, subscriptionManager, useOfferingPurchase, useOfferings, useOnboarding, usePaywallContext, usePaywallo, usePlanPurchase, usePlans, useProducts, usePurchase, useSubscription };
|
|
1849
|
+
export { type AllPlansResponse, ApiClient, type ApiClientConfig, type AttributionCapture, AttributionTracker, type BlockType, type BoxSpacing, CAMPAIGN_ERROR_CODES, type CachedOfferings, type CachedPlans, type CachedSubscription, CampaignError, type CampaignPresentOptions, type CampaignResponse, type CampaignResult, type ConditionalFlagContext, type ConditionalFlagResult, type DeviceTokenRegistration, PURCHASE_ERROR_CODES as ERROR_CODES, type EmergencyPaywallResponse, type Environment, type FlagVariant, HttpClient, type HttpClientConfig, type HttpResponse, type IAPProduct, type IAPPurchase, IAPService, IDENTITY_ERROR_CODES, type IPaywalloClient, type IPushBridge, type IdentifyOptions, IdentityError, IdentityManager, type IdentityState, type LocalizedText, MetaBridge, NOTIFICATIONS_ERROR_CODES, NativePushBridge, type NetworkListener, type NetworkMonitorConfig, type NetworkState, type NotificationEventType, type NotificationListener, type NotificationPayload, NotificationsError, NotificationsManager, ONBOARDING_ERROR_CODES, type Offering, type OfferingProduct, OfferingService, type OfferingServiceConfig, type OfflineQueueConfig, type OnboardingDropPayload, OnboardingError, OnboardingManager, type OnboardingStepPayload, PAYWALL_ERROR_CODES, PURCHASE_ERROR_CODES, type PaywallBlockConfig, type PaywallConfig, PaywallContext, PaywallError, type PaywallErrorStrings$1 as PaywallErrorStrings, PaywallModal, type PaywallNode, type PaywallPresentOptions, type PaywallResult, type PaywallState, Paywallo, PaywalloClient, type PaywalloConfig, PaywalloContext, PaywalloError, type PaywalloInitConfig, PaywalloProvider, type PaywalloProviderProps, type Plan, PlanCache, type PlanProduct, PlanService, type PlanServiceConfig, type PlansResponse, type PrePromptHandle, type PrePromptOptions, type PreloadCampaignResult, type PreloadResult, type Product, type ProductPriceInfo, type Purchase, type PurchaseControllerConfig, PurchaseError, type PurchaseResult, type PurchaseState, type PushPermissionStatus, type PushPlatform, type QueueEvent, type QueueItem, type QueueListener, type QueueProcessorConfig, type RequestOptions, type RestoreResult$1 as RestoreResult, type RetryConfig, SESSION_ERROR_CODES, type SessionConfig, SessionError, SessionManager, type SessionState, type Subscription, SubscriptionCache, type SubscriptionInfo, type SubscriptionManagerConfig, type SubscriptionPlatform, type SubscriptionStatus$1 as SubscriptionStatus, type SubscriptionStatusResponse$1 as SubscriptionStatusResponse, type TapBehavior, type TrackEventOptions, type UserProperties, type ValidatePurchaseResponse, type VariableContext, attributionTracker, createPurchaseError, Paywallo as default, detectDeviceLanguage, getCurrentLanguage, getDefaultLanguage, getIAPService, getLocalizedString, hasVariables, identityManager, initLocalization, metaBridge, nativeStoreKit, networkMonitor, notificationsManager, offeringService, offlineQueue, onboardingManager, parseVariables, planCache, planService, queueProcessor, resolveText, sessionManager, setCurrentLanguage, setDefaultLanguage, subscriptionManager, useOfferingPurchase, useOfferings, useOnboarding, usePaywallContext, usePaywallo, usePlanPurchase, usePlans, useProducts, usePurchase, useSubscription };
|
package/dist/index.d.ts
CHANGED
|
@@ -378,7 +378,7 @@ declare const PaywalloContext: React.Context<PaywalloContextValue | null>;
|
|
|
378
378
|
* event in the V2 ingest envelope. The provider is called at flush time so
|
|
379
379
|
* each field reflects the most recent SDK state.
|
|
380
380
|
*
|
|
381
|
-
* The shape mirrors the server-side `/
|
|
381
|
+
* The shape mirrors the server-side `/sdk/ingest/batch` contract (Phase
|
|
382
382
|
* 3.1). Fields declared here are deduplicated across the batch — they exist
|
|
383
383
|
* once on the envelope instead of `N` times on each `events[]` entry.
|
|
384
384
|
*/
|
|
@@ -410,11 +410,9 @@ interface EventContext {
|
|
|
410
410
|
* `lifecycle` (foreground/background/session), `onboarding`,
|
|
411
411
|
* `notification`, `custom`.
|
|
412
412
|
*
|
|
413
|
-
* Both priorities post to `/sdk/ingest/batch
|
|
414
|
-
*
|
|
415
|
-
*
|
|
416
|
-
* network-failure durability for both queues via the `PostFn` injected by
|
|
417
|
-
* `ApiClient.postWithQueue`.
|
|
413
|
+
* Both priorities post to `/sdk/ingest/batch`. On 4xx the event is dropped.
|
|
414
|
+
* On 5xx or network failure, `OfflineQueue` handles durability via the
|
|
415
|
+
* `PostFn` injected by `ApiClient.postWithQueue`.
|
|
418
416
|
*/
|
|
419
417
|
type EventPriority = "critical" | "normal";
|
|
420
418
|
interface TrackOptions {
|
|
@@ -588,6 +586,68 @@ declare const networkMonitor: NetworkMonitorClass;
|
|
|
588
586
|
*/
|
|
589
587
|
type DistinctIdProvider = () => string;
|
|
590
588
|
|
|
589
|
+
/**
|
|
590
|
+
* Attribution data captured at first touch (UTM params, click IDs, referrer).
|
|
591
|
+
* `capturedAt` is ISO 8601 UTC — generated automatically by `capture()`.
|
|
592
|
+
*/
|
|
593
|
+
interface AttributionCapture {
|
|
594
|
+
readonly utmSource?: string;
|
|
595
|
+
readonly utmMedium?: string;
|
|
596
|
+
readonly utmCampaign?: string;
|
|
597
|
+
readonly utmContent?: string;
|
|
598
|
+
readonly utmTerm?: string;
|
|
599
|
+
readonly fbclid?: string;
|
|
600
|
+
readonly gclid?: string;
|
|
601
|
+
readonly ttclid?: string;
|
|
602
|
+
readonly tiktokCampaignId?: string;
|
|
603
|
+
readonly tiktokAdgroupId?: string;
|
|
604
|
+
readonly tiktokAdId?: string;
|
|
605
|
+
readonly installReferrerRaw?: string;
|
|
606
|
+
readonly installReferrerSource?: string;
|
|
607
|
+
readonly referrer?: string;
|
|
608
|
+
readonly capturedAt: string;
|
|
609
|
+
}
|
|
610
|
+
type AttributionInput = Omit<AttributionCapture, "capturedAt">;
|
|
611
|
+
/**
|
|
612
|
+
* Attribution module — first-write-wins persistence of UTM / click-ID data.
|
|
613
|
+
*
|
|
614
|
+
* Once a capture is stored, subsequent `capture()` calls are silently ignored.
|
|
615
|
+
* Use `clear()` to reset (e.g. on logout or in tests).
|
|
616
|
+
*
|
|
617
|
+
* @example
|
|
618
|
+
* await attributionTracker.capture({ utmSource: "google", gclid: "Cj0KCQ..." });
|
|
619
|
+
* const attr = attributionTracker.get(); // { utmSource: "google", capturedAt: "..." }
|
|
620
|
+
*/
|
|
621
|
+
declare class AttributionTracker {
|
|
622
|
+
private cache;
|
|
623
|
+
private captureInProgress;
|
|
624
|
+
private readonly storage;
|
|
625
|
+
constructor(debug?: boolean);
|
|
626
|
+
/**
|
|
627
|
+
* Load persisted attribution from storage into in-memory cache.
|
|
628
|
+
* Called once on SDK init. Subsequent `get()` reads are synchronous.
|
|
629
|
+
*/
|
|
630
|
+
loadFromStorage(): Promise<void>;
|
|
631
|
+
/**
|
|
632
|
+
* Persist attribution data. First-write wins — ignores if already captured
|
|
633
|
+
* or if all fields are absent (empty capture).
|
|
634
|
+
*
|
|
635
|
+
* @param data - Attribution fields without `capturedAt` (generated internally).
|
|
636
|
+
*/
|
|
637
|
+
capture(data: AttributionInput): Promise<void>;
|
|
638
|
+
/**
|
|
639
|
+
* Returns the persisted attribution capture, or `null` if none exists.
|
|
640
|
+
* Synchronous — reads from in-memory cache (populated via `loadFromStorage()`).
|
|
641
|
+
*/
|
|
642
|
+
get(): AttributionCapture | null;
|
|
643
|
+
/**
|
|
644
|
+
* Clears the persisted attribution from storage and in-memory cache.
|
|
645
|
+
* After `clear()`, `get()` returns `null` and the next `capture()` writes normally.
|
|
646
|
+
*/
|
|
647
|
+
clear(): Promise<void>;
|
|
648
|
+
}
|
|
649
|
+
declare const attributionTracker: AttributionTracker;
|
|
650
|
+
|
|
591
651
|
declare class IdentityError extends PaywalloError {
|
|
592
652
|
constructor(code: string, message: string);
|
|
593
653
|
}
|
|
@@ -734,7 +794,7 @@ type PushPermissionStatus = "granted" | "denied" | "provisional" | "notDetermine
|
|
|
734
794
|
*/
|
|
735
795
|
type NotificationEventType = "notification_sent" | "notification_delivered" | "notification_displayed" | "notification_clicked" | "notification_dismissed" | "notification_failed" | "notification_converted";
|
|
736
796
|
/**
|
|
737
|
-
* Payload sent to `POST /
|
|
797
|
+
* Payload sent to `POST /sdk/push-tokens`. Server schema matches 1:1:
|
|
738
798
|
* `{ token, platform, distinct_id, app_version, sdk_version }`.
|
|
739
799
|
*
|
|
740
800
|
* Optional client-side extras (deviceId/locale/timezone) are kept for context
|
|
@@ -753,6 +813,7 @@ interface DeviceTokenRegistration {
|
|
|
753
813
|
}
|
|
754
814
|
interface NotificationPayload {
|
|
755
815
|
notificationId: string;
|
|
816
|
+
messageId?: string;
|
|
756
817
|
campaignId: string;
|
|
757
818
|
variantKey?: string;
|
|
758
819
|
title: string;
|
|
@@ -1440,7 +1501,7 @@ declare const ONBOARDING_ERROR_CODES: {
|
|
|
1440
1501
|
/**
|
|
1441
1502
|
* Minimal surface the OnboardingManager needs from the unified event pipeline.
|
|
1442
1503
|
* `PaywalloClient` satisfies this interface (forwarding to
|
|
1443
|
-
* `ApiClient.trackEvent` → `EventBatcher` → `/
|
|
1504
|
+
* `ApiClient.trackEvent` → `EventBatcher` → `/sdk/ingest/batch`).
|
|
1444
1505
|
*/
|
|
1445
1506
|
interface OnboardingEventPipeline {
|
|
1446
1507
|
trackEvent(eventName: string, distinctId: string, properties?: Record<string, unknown>, timestamp?: number): Promise<void>;
|
|
@@ -1785,4 +1846,4 @@ declare function hasVariables(text: string): boolean;
|
|
|
1785
1846
|
|
|
1786
1847
|
declare const Paywallo: IPaywalloClient;
|
|
1787
1848
|
|
|
1788
|
-
export { type AllPlansResponse, ApiClient, type ApiClientConfig, type BlockType, type BoxSpacing, CAMPAIGN_ERROR_CODES, type CachedOfferings, type CachedPlans, type CachedSubscription, CampaignError, type CampaignPresentOptions, type CampaignResponse, type CampaignResult, type ConditionalFlagContext, type ConditionalFlagResult, type DeviceTokenRegistration, PURCHASE_ERROR_CODES as ERROR_CODES, type EmergencyPaywallResponse, type Environment, type FlagVariant, HttpClient, type HttpClientConfig, type HttpResponse, type IAPProduct, type IAPPurchase, IAPService, IDENTITY_ERROR_CODES, type IPaywalloClient, type IPushBridge, type IdentifyOptions, IdentityError, IdentityManager, type IdentityState, type LocalizedText, MetaBridge, NOTIFICATIONS_ERROR_CODES, NativePushBridge, type NetworkListener, type NetworkMonitorConfig, type NetworkState, type NotificationEventType, type NotificationListener, type NotificationPayload, NotificationsError, NotificationsManager, ONBOARDING_ERROR_CODES, type Offering, type OfferingProduct, OfferingService, type OfferingServiceConfig, type OfflineQueueConfig, type OnboardingDropPayload, OnboardingError, OnboardingManager, type OnboardingStepPayload, PAYWALL_ERROR_CODES, PURCHASE_ERROR_CODES, type PaywallBlockConfig, type PaywallConfig, PaywallContext, PaywallError, type PaywallErrorStrings$1 as PaywallErrorStrings, PaywallModal, type PaywallNode, type PaywallPresentOptions, type PaywallResult, type PaywallState, Paywallo, PaywalloClient, type PaywalloConfig, PaywalloContext, PaywalloError, type PaywalloInitConfig, PaywalloProvider, type PaywalloProviderProps, type Plan, PlanCache, type PlanProduct, PlanService, type PlanServiceConfig, type PlansResponse, type PrePromptHandle, type PrePromptOptions, type PreloadCampaignResult, type PreloadResult, type Product, type ProductPriceInfo, type Purchase, type PurchaseControllerConfig, PurchaseError, type PurchaseResult, type PurchaseState, type PushPermissionStatus, type PushPlatform, type QueueEvent, type QueueItem, type QueueListener, type QueueProcessorConfig, type RequestOptions, type RestoreResult$1 as RestoreResult, type RetryConfig, SESSION_ERROR_CODES, type SessionConfig, SessionError, SessionManager, type SessionState, type Subscription, SubscriptionCache, type SubscriptionInfo, type SubscriptionManagerConfig, type SubscriptionPlatform, type SubscriptionStatus$1 as SubscriptionStatus, type SubscriptionStatusResponse$1 as SubscriptionStatusResponse, type TapBehavior, type TrackEventOptions, type UserProperties, type ValidatePurchaseResponse, type VariableContext, createPurchaseError, Paywallo as default, detectDeviceLanguage, getCurrentLanguage, getDefaultLanguage, getIAPService, getLocalizedString, hasVariables, identityManager, initLocalization, metaBridge, nativeStoreKit, networkMonitor, notificationsManager, offeringService, offlineQueue, onboardingManager, parseVariables, planCache, planService, queueProcessor, resolveText, sessionManager, setCurrentLanguage, setDefaultLanguage, subscriptionManager, useOfferingPurchase, useOfferings, useOnboarding, usePaywallContext, usePaywallo, usePlanPurchase, usePlans, useProducts, usePurchase, useSubscription };
|
|
1849
|
+
export { type AllPlansResponse, ApiClient, type ApiClientConfig, type AttributionCapture, AttributionTracker, type BlockType, type BoxSpacing, CAMPAIGN_ERROR_CODES, type CachedOfferings, type CachedPlans, type CachedSubscription, CampaignError, type CampaignPresentOptions, type CampaignResponse, type CampaignResult, type ConditionalFlagContext, type ConditionalFlagResult, type DeviceTokenRegistration, PURCHASE_ERROR_CODES as ERROR_CODES, type EmergencyPaywallResponse, type Environment, type FlagVariant, HttpClient, type HttpClientConfig, type HttpResponse, type IAPProduct, type IAPPurchase, IAPService, IDENTITY_ERROR_CODES, type IPaywalloClient, type IPushBridge, type IdentifyOptions, IdentityError, IdentityManager, type IdentityState, type LocalizedText, MetaBridge, NOTIFICATIONS_ERROR_CODES, NativePushBridge, type NetworkListener, type NetworkMonitorConfig, type NetworkState, type NotificationEventType, type NotificationListener, type NotificationPayload, NotificationsError, NotificationsManager, ONBOARDING_ERROR_CODES, type Offering, type OfferingProduct, OfferingService, type OfferingServiceConfig, type OfflineQueueConfig, type OnboardingDropPayload, OnboardingError, OnboardingManager, type OnboardingStepPayload, PAYWALL_ERROR_CODES, PURCHASE_ERROR_CODES, type PaywallBlockConfig, type PaywallConfig, PaywallContext, PaywallError, type PaywallErrorStrings$1 as PaywallErrorStrings, PaywallModal, type PaywallNode, type PaywallPresentOptions, type PaywallResult, type PaywallState, Paywallo, PaywalloClient, type PaywalloConfig, PaywalloContext, PaywalloError, type PaywalloInitConfig, PaywalloProvider, type PaywalloProviderProps, type Plan, PlanCache, type PlanProduct, PlanService, type PlanServiceConfig, type PlansResponse, type PrePromptHandle, type PrePromptOptions, type PreloadCampaignResult, type PreloadResult, type Product, type ProductPriceInfo, type Purchase, type PurchaseControllerConfig, PurchaseError, type PurchaseResult, type PurchaseState, type PushPermissionStatus, type PushPlatform, type QueueEvent, type QueueItem, type QueueListener, type QueueProcessorConfig, type RequestOptions, type RestoreResult$1 as RestoreResult, type RetryConfig, SESSION_ERROR_CODES, type SessionConfig, SessionError, SessionManager, type SessionState, type Subscription, SubscriptionCache, type SubscriptionInfo, type SubscriptionManagerConfig, type SubscriptionPlatform, type SubscriptionStatus$1 as SubscriptionStatus, type SubscriptionStatusResponse$1 as SubscriptionStatusResponse, type TapBehavior, type TrackEventOptions, type UserProperties, type ValidatePurchaseResponse, type VariableContext, attributionTracker, createPurchaseError, Paywallo as default, detectDeviceLanguage, getCurrentLanguage, getDefaultLanguage, getIAPService, getLocalizedString, hasVariables, identityManager, initLocalization, metaBridge, nativeStoreKit, networkMonitor, notificationsManager, offeringService, offlineQueue, onboardingManager, parseVariables, planCache, planService, queueProcessor, resolveText, sessionManager, setCurrentLanguage, setDefaultLanguage, subscriptionManager, useOfferingPurchase, useOfferings, useOnboarding, usePaywallContext, usePaywallo, usePlanPurchase, usePlans, useProducts, usePurchase, useSubscription };
|