@revenuecat/purchases-js 1.37.0 → 1.39.0
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/Purchases.es.d.ts +10 -2
- package/dist/Purchases.es.js +6820 -6621
- package/dist/Purchases.umd.js +86 -83
- package/package.json +2 -2
package/dist/Purchases.es.d.ts
CHANGED
|
@@ -952,7 +952,7 @@ export declare interface PresentPaywallParams {
|
|
|
952
952
|
readonly hideBackButtons?: boolean;
|
|
953
953
|
/**
|
|
954
954
|
* Custom variables to pass to the paywall at runtime, overriding defaults set
|
|
955
|
-
* in the RevenueCat dashboard.
|
|
955
|
+
* in the RevenueCat dashboard.
|
|
956
956
|
*
|
|
957
957
|
* Variables must be defined in the dashboard first. Reference them in paywall
|
|
958
958
|
* text using the `custom.` prefix (e.g. `{{ custom.player_name }}`).
|
|
@@ -1851,7 +1851,7 @@ export declare class Purchases {
|
|
|
1851
1851
|
* The store where the user originally subscribed.
|
|
1852
1852
|
* @public
|
|
1853
1853
|
*/
|
|
1854
|
-
export declare type Store = "app_store" | "mac_app_store" | "play_store" | "amazon" | "stripe" | "rc_billing" | "promotional" | "paddle" | "test_store" | "unknown";
|
|
1854
|
+
export declare type Store = "app_store" | "mac_app_store" | "play_store" | "amazon" | "stripe" | "rc_billing" | "promotional" | "paddle" | "test_store" | "galaxy" | "unknown";
|
|
1855
1855
|
|
|
1856
1856
|
/**
|
|
1857
1857
|
* Determines when the store module (e.g. Stripe) is loaded.
|
|
@@ -1966,6 +1966,14 @@ export declare class Purchases {
|
|
|
1966
1966
|
* Whether the subscription will renew at the next billing period.
|
|
1967
1967
|
*/
|
|
1968
1968
|
readonly willRenew: boolean;
|
|
1969
|
+
/**
|
|
1970
|
+
* The display name of the subscription as configured in the RevenueCat dashboard.
|
|
1971
|
+
*/
|
|
1972
|
+
readonly displayName: string | null;
|
|
1973
|
+
/**
|
|
1974
|
+
* Paid price for the subscription.
|
|
1975
|
+
*/
|
|
1976
|
+
readonly price: Price | null;
|
|
1969
1977
|
}
|
|
1970
1978
|
|
|
1971
1979
|
/**
|