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.
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-native-iap",
3
3
  "packageManager": "yarn@3.1.1",
4
- "version": "7.5.5",
4
+ "version": "7.5.6",
5
5
  "description": "React Native In App Purchase Module.",
6
6
  "main": "index.js",
7
7
  "types": "index.d.ts",
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 invetory of purchases made by the user regardless of consumption status
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 invetory of purchases made by the user regardless of consumption status
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 () {
@@ -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;