@revenuecat/purchases-js-vega 1.71.0 → 1.73.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.vega.es.d.ts +17 -5
- package/dist/Purchases.vega.es.js +11950 -10484
- package/dist/Purchases.vega.umd.js +113 -111
- package/package.json +1 -1
|
@@ -261,9 +261,10 @@ export declare interface EntitlementInfo {
|
|
|
261
261
|
readonly periodType: PeriodType;
|
|
262
262
|
/**
|
|
263
263
|
* Use this property to determine whether a purchase was made by the
|
|
264
|
-
* current user
|
|
265
|
-
*
|
|
266
|
-
*
|
|
264
|
+
* current user, shared to them by a family member, or assigned to them
|
|
265
|
+
* by an organization. This can be useful for onboarding users who have
|
|
266
|
+
* had an entitlement shared with or assigned to them, but might not be
|
|
267
|
+
* entirely aware of the benefits they now have.
|
|
267
268
|
*/
|
|
268
269
|
readonly ownershipType: OwnershipType | null;
|
|
269
270
|
}
|
|
@@ -787,10 +788,11 @@ export declare interface Offerings {
|
|
|
787
788
|
|
|
788
789
|
/**
|
|
789
790
|
* The types used to describe whether a transaction was purchased by the user,
|
|
790
|
-
*
|
|
791
|
+
* is available to them through Family Sharing, or was assigned to them
|
|
792
|
+
* by an organization.
|
|
791
793
|
* @public
|
|
792
794
|
*/
|
|
793
|
-
export declare type OwnershipType = "PURCHASED" | "FAMILY_SHARED" | "UNKNOWN";
|
|
795
|
+
export declare type OwnershipType = "PURCHASED" | "FAMILY_SHARED" | "ASSIGNED" | "UNKNOWN";
|
|
794
796
|
|
|
795
797
|
/**
|
|
796
798
|
* Contains information about the product available for the user to purchase.
|
|
@@ -1115,6 +1117,8 @@ export declare interface PresentExpressPurchaseButtonParams {
|
|
|
1115
1117
|
* @public
|
|
1116
1118
|
*/
|
|
1117
1119
|
export declare interface PresentPaywallParams {
|
|
1120
|
+
/* Excluded from this release type: externalCheckoutUrl */
|
|
1121
|
+
/* Excluded from this release type: externalCheckoutReturnUrl */
|
|
1118
1122
|
/**
|
|
1119
1123
|
* The identifier of the offering to fetch the paywall for.
|
|
1120
1124
|
* Can be a string identifier or one of the predefined keywords.
|
|
@@ -1532,6 +1536,8 @@ declare interface PurchaseOptionResponse {
|
|
|
1532
1536
|
* @public
|
|
1533
1537
|
*/
|
|
1534
1538
|
export declare interface PurchaseParams {
|
|
1539
|
+
/* Excluded from this release type: externalCheckoutUrl */
|
|
1540
|
+
/* Excluded from this release type: externalCheckoutReturnUrl */
|
|
1535
1541
|
/**
|
|
1536
1542
|
* The package you want to purchase. Obtained from {@link Purchases.getOfferings}.
|
|
1537
1543
|
*/
|
|
@@ -1711,6 +1717,8 @@ export declare class Purchases extends Purchases_2 {
|
|
|
1711
1717
|
/* Excluded from this release type: _subscriberToken */
|
|
1712
1718
|
/* Excluded from this release type: _brandingAppearanceOverride */
|
|
1713
1719
|
/* Excluded from this release type: _context */
|
|
1720
|
+
/* Excluded from this release type: _externalCheckoutUrl */
|
|
1721
|
+
/* Excluded from this release type: _externalCheckoutReturnUrl */
|
|
1714
1722
|
/* Excluded from this release type: backend */
|
|
1715
1723
|
/* Excluded from this release type: purchaseOperationHelper */
|
|
1716
1724
|
/* Excluded from this release type: eventsTracker */
|
|
@@ -2038,6 +2046,9 @@ export declare class Purchases extends Purchases_2 {
|
|
|
2038
2046
|
* @public
|
|
2039
2047
|
*/
|
|
2040
2048
|
export declare interface PurchasesConfig {
|
|
2049
|
+
/* Excluded from this release type: externalCheckoutUrl */
|
|
2050
|
+
/* Excluded from this release type: externalCheckoutReturnUrl */
|
|
2051
|
+
/* Excluded from this release type: externalCheckoutReturnToken */
|
|
2041
2052
|
/**
|
|
2042
2053
|
* RevenueCat API Key. Can be obtained from the RevenueCat dashboard.
|
|
2043
2054
|
*/
|
|
@@ -2450,6 +2461,7 @@ export declare class Purchases extends Purchases_2 {
|
|
|
2450
2461
|
* How the Customer received access to this subscription:
|
|
2451
2462
|
* - "PURCHASED": The customer bought the subscription.
|
|
2452
2463
|
* - "FAMILY_SHARED": The customer has access to the product via their family.
|
|
2464
|
+
* - "ASSIGNED": The customer was assigned access to the product.
|
|
2453
2465
|
*/
|
|
2454
2466
|
readonly ownershipType: OwnershipType;
|
|
2455
2467
|
/**
|