react-native-iap 7.5.5 → 7.5.6
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/.yarn/install-state.gz +0 -0
- package/package.json +1 -1
- package/src/iap.d.ts +1 -1
- package/src/iap.js +1 -1
- package/src/types/index.d.ts +1 -0
package/.yarn/install-state.gz
CHANGED
|
Binary file
|
package/package.json
CHANGED
package/src/iap.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ export declare const getProducts: (skus: string[]) => Promise<Array<Product>>;
|
|
|
32
32
|
*/
|
|
33
33
|
export declare const getSubscriptions: (skus: string[]) => Promise<Subscription[]>;
|
|
34
34
|
/**
|
|
35
|
-
* Gets an
|
|
35
|
+
* Gets an inventory of purchases made by the user regardless of consumption status
|
|
36
36
|
* @returns {Promise<(InAppPurchase | SubscriptionPurchase)[]>}
|
|
37
37
|
*/
|
|
38
38
|
export declare const getPurchaseHistory: () => Promise<(InAppPurchase | SubscriptionPurchase)[]>;
|
package/src/iap.js
CHANGED
|
@@ -192,7 +192,7 @@ export var getSubscriptions = function (skus) {
|
|
|
192
192
|
}) || Promise.resolve)();
|
|
193
193
|
};
|
|
194
194
|
/**
|
|
195
|
-
* Gets an
|
|
195
|
+
* Gets an inventory of purchases made by the user regardless of consumption status
|
|
196
196
|
* @returns {Promise<(InAppPurchase | SubscriptionPurchase)[]>}
|
|
197
197
|
*/
|
|
198
198
|
export var getPurchaseHistory = function () {
|
package/src/types/index.d.ts
CHANGED
|
@@ -109,6 +109,7 @@ export interface Subscription extends ProductCommon {
|
|
|
109
109
|
introductoryPriceSubscriptionPeriodIOS?: 'DAY' | 'WEEK' | 'MONTH' | 'YEAR' | '';
|
|
110
110
|
subscriptionPeriodNumberIOS?: string;
|
|
111
111
|
subscriptionPeriodUnitIOS?: '' | 'YEAR' | 'MONTH' | 'WEEK' | 'DAY';
|
|
112
|
+
introductoryPriceAsAmountAndroid: string;
|
|
112
113
|
introductoryPriceCyclesAndroid?: string;
|
|
113
114
|
introductoryPricePeriodAndroid?: string;
|
|
114
115
|
subscriptionPeriodAndroid?: string;
|