react-native-purchases 10.12.1 → 10.13.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.
@@ -25,6 +25,6 @@ Pod::Spec.new do |spec|
25
25
  ]
26
26
 
27
27
  spec.dependency "React-Core"
28
- spec.dependency "PurchasesHybridCommon", '19.8.0'
28
+ spec.dependency "PurchasesHybridCommon", '19.11.0'
29
29
  spec.swift_version = '5.7'
30
30
  end
@@ -35,7 +35,7 @@ android {
35
35
  minSdkVersion getExtOrIntegerDefault('minSdkVersion')
36
36
  targetSdkVersion getExtOrIntegerDefault('targetSdkVersion')
37
37
  versionCode 1
38
- versionName '10.12.1'
38
+ versionName '10.13.0'
39
39
  }
40
40
 
41
41
  buildTypes {
@@ -127,6 +127,6 @@ def kotlin_version = getExtOrDefault('kotlinVersion')
127
127
  dependencies {
128
128
  //noinspection GradleDynamicVersion
129
129
  api 'com.facebook.react:react-native:+'
130
- implementation 'com.revenuecat.purchases:purchases-hybrid-common:19.8.0'
130
+ implementation 'com.revenuecat.purchases:purchases-hybrid-common:19.11.0'
131
131
  implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
132
132
  }
@@ -51,7 +51,7 @@ public class RNPurchasesModule extends ReactContextBaseJavaModule implements Upd
51
51
  private static final String TRACKED_EVENT = "Purchases-TrackedEvent";
52
52
  private static final String DEBUG_EVENT = "Purchases-DebugEvent";
53
53
  public static final String PLATFORM_NAME = "react-native";
54
- public static final String PLUGIN_VERSION = "10.12.1";
54
+ public static final String PLUGIN_VERSION = "10.13.0";
55
55
 
56
56
  private final ReactApplicationContext reactContext;
57
57
 
@@ -43,7 +43,7 @@ var typeGuards_1 = require("./typeGuards");
43
43
  var environment_1 = require("../utils/environment");
44
44
  var utils_1 = require("./utils");
45
45
  var purchaseSimulatedPackageHelper_1 = require("./simulatedstore/purchaseSimulatedPackageHelper");
46
- var packageVersion = '10.12.1';
46
+ var packageVersion = '10.13.0';
47
47
  /**
48
48
  * Browser implementation of the native module. This will be used in the browser and Expo Go.
49
49
  */
@@ -1,4 +1,4 @@
1
- import { PURCHASES_ERROR_CODE, UninitializedPurchasesError, UnsupportedPlatformError, CustomerInfo, PurchasesEntitlementInfo, PRORATION_MODE, PACKAGE_TYPE, INTRO_ELIGIBILITY_STATUS, PurchasesOfferings, PurchasesStoreProduct, UpgradeInfo, PurchasesPromotionalOffer, PurchasesPackage, IntroEligibility, PurchasesStoreProductDiscount, SubscriptionOption, PRODUCT_CATEGORY, GoogleProductChangeInfo, PURCHASE_TYPE, BILLING_FEATURE, REFUND_REQUEST_STATUS, LOG_LEVEL, PurchasesConfiguration as BasePurchasesConfiguration, CustomerInfoUpdateListener, ShouldPurchasePromoProductListener, MakePurchaseResult, LogHandler, LogInResult, IN_APP_MESSAGE_TYPE, ENTITLEMENT_VERIFICATION_MODE, VERIFICATION_RESULT, STOREKIT_VERSION, PurchasesStoreTransaction, PurchasesOffering, PURCHASES_ARE_COMPLETED_BY_TYPE, PurchasesVirtualCurrencies, PurchasesWinBackOffer, WebPurchaseRedemption, WebPurchaseRedemptionResult, Storefront, STORE_REPLACEMENT_MODE, StoreProductChangeInfo } from "@revenuecat/purchases-typescript-internal";
1
+ import { PURCHASES_ERROR_CODE, UninitializedPurchasesError, UnsupportedPlatformError, CustomerInfo, PurchasesEntitlementInfo, PRORATION_MODE, PACKAGE_TYPE, INTRO_ELIGIBILITY_STATUS, PurchasesOfferings, PurchasesStoreProduct, UpgradeInfo, PurchasesPromotionalOffer, PurchasesPackage, IntroEligibility, PurchasesStoreProductDiscount, SubscriptionOption, PRODUCT_CATEGORY, GoogleProductChangeInfo, PURCHASE_TYPE, BILLING_FEATURE, REFUND_REQUEST_STATUS, LOG_LEVEL, PurchasesConfiguration as BasePurchasesConfiguration, CustomerInfoUpdateListener, ShouldPurchasePromoProductListener, MakePurchaseResult, LogHandler, LogInResult, IN_APP_MESSAGE_TYPE, ENTITLEMENT_VERIFICATION_MODE, VERIFICATION_RESULT, STOREKIT_VERSION, PurchasesStoreTransaction, PurchasesOffering, PURCHASES_ARE_COMPLETED_BY_TYPE, PurchasesVirtualCurrencies, PurchasesWinBackOffer, WebPurchaseRedemption, WebPurchaseRedemptionResult, Storefront, STORE_REPLACEMENT_MODE, StoreProductChangeInfo, BILLING_PLAN_TYPE } from "@revenuecat/purchases-typescript-internal";
2
2
  /**
3
3
  * Result of a syncPurchases operation.
4
4
  */
@@ -229,6 +229,12 @@ export default class Purchases {
229
229
  * @enum {string}
230
230
  */
231
231
  static PACKAGE_TYPE: typeof PACKAGE_TYPE;
232
+ /**
233
+ * Enum of billing plan types for subscriptions with billing plans on iOS.
234
+ * @readonly
235
+ * @enum {string}
236
+ */
237
+ static BILLING_PLAN_TYPE: typeof BILLING_PLAN_TYPE;
232
238
  /**
233
239
  * Enum of different possible states for intro price eligibility status.
234
240
  * @readonly
package/dist/purchases.js CHANGED
@@ -2237,6 +2237,12 @@ var Purchases = /** @class */ (function () {
2237
2237
  * @enum {string}
2238
2238
  */
2239
2239
  Purchases.PACKAGE_TYPE = purchases_typescript_internal_1.PACKAGE_TYPE;
2240
+ /**
2241
+ * Enum of billing plan types for subscriptions with billing plans on iOS.
2242
+ * @readonly
2243
+ * @enum {string}
2244
+ */
2245
+ Purchases.BILLING_PLAN_TYPE = purchases_typescript_internal_1.BILLING_PLAN_TYPE;
2240
2246
  /**
2241
2247
  * Enum of different possible states for intro price eligibility status.
2242
2248
  * @readonly
package/ios/RNPurchases.m CHANGED
@@ -805,7 +805,7 @@ readyForPromotedProduct:(RCStoreProduct *)product
805
805
  }
806
806
 
807
807
  - (NSString *)platformFlavorVersion {
808
- return @"10.12.1";
808
+ return @"10.13.0";
809
809
  }
810
810
 
811
811
  @end
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-native-purchases",
3
3
  "title": "React Native Purchases",
4
- "version": "10.12.1",
4
+ "version": "10.13.0",
5
5
  "description": "React Native in-app purchases and subscriptions made easy. Supports iOS and Android. ",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -118,7 +118,7 @@
118
118
  ]
119
119
  },
120
120
  "dependencies": {
121
- "@revenuecat/purchases-js-hybrid-mappings": "19.8.0",
122
- "@revenuecat/purchases-typescript-internal": "19.8.0"
121
+ "@revenuecat/purchases-js-hybrid-mappings": "19.11.0",
122
+ "@revenuecat/purchases-typescript-internal": "19.11.0"
123
123
  }
124
124
  }