@revenuecat/purchases-js-vega 1.72.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 +8 -5
- package/dist/Purchases.vega.es.js +1173 -1128
- package/dist/Purchases.vega.umd.js +56 -56
- 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.
|
|
@@ -2459,6 +2461,7 @@ export declare class Purchases extends Purchases_2 {
|
|
|
2459
2461
|
* How the Customer received access to this subscription:
|
|
2460
2462
|
* - "PURCHASED": The customer bought the subscription.
|
|
2461
2463
|
* - "FAMILY_SHARED": The customer has access to the product via their family.
|
|
2464
|
+
* - "ASSIGNED": The customer was assigned access to the product.
|
|
2462
2465
|
*/
|
|
2463
2466
|
readonly ownershipType: OwnershipType;
|
|
2464
2467
|
/**
|