react-native-purchases 9.13.0 → 9.14.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", '17.51.1'
28
+ spec.dependency "PurchasesHybridCommon", '17.52.0'
29
29
  spec.swift_version = '5.7'
30
30
  end
@@ -29,7 +29,7 @@ android {
29
29
  minSdkVersion getExtOrIntegerDefault('minSdkVersion')
30
30
  targetSdkVersion getExtOrIntegerDefault('targetSdkVersion')
31
31
  versionCode 1
32
- versionName '9.13.0'
32
+ versionName '9.14.0'
33
33
  }
34
34
 
35
35
  buildTypes {
@@ -121,6 +121,6 @@ def kotlin_version = getExtOrDefault('kotlinVersion')
121
121
  dependencies {
122
122
  //noinspection GradleDynamicVersion
123
123
  api 'com.facebook.react:react-native:+'
124
- implementation 'com.revenuecat.purchases:purchases-hybrid-common:17.51.1'
124
+ implementation 'com.revenuecat.purchases:purchases-hybrid-common:17.52.0'
125
125
  implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
126
126
  }
@@ -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 = "9.13.0";
54
+ public static final String PLUGIN_VERSION = "9.14.0";
55
55
 
56
56
  private final ReactApplicationContext reactContext;
57
57
 
@@ -14,6 +14,11 @@ export { PURCHASE_TYPE, PurchasesAreCompletedBy, PurchasesAreCompletedByMyApp, P
14
14
  */
15
15
  export interface TrackCustomPaywallImpressionOptions {
16
16
  paywallId?: string | null;
17
+ /**
18
+ * An optional identifier for the offering associated with the custom paywall.
19
+ * If not provided, the SDK will use the current offering identifier from the cache.
20
+ */
21
+ offeringId?: string | null;
17
22
  }
18
23
  export default class Purchases {
19
24
  /**
@@ -860,6 +865,8 @@ export default class Purchases {
860
865
  *
861
866
  * @param params - Optional parameters for the impression event.
862
867
  * @param params.paywallId - Optional identifier for the custom paywall being shown.
868
+ * @param params.offeringId - Optional identifier for the offering associated with the custom paywall.
869
+ * If not provided, the SDK will use the current offering identifier from the cache.
863
870
  */
864
871
  static trackCustomPaywallImpression(params?: TrackCustomPaywallImpressionOptions): Promise<void>;
865
872
  private static throwIfNotConfigured;
package/dist/purchases.js CHANGED
@@ -1964,6 +1964,8 @@ var Purchases = /** @class */ (function () {
1964
1964
  *
1965
1965
  * @param params - Optional parameters for the impression event.
1966
1966
  * @param params.paywallId - Optional identifier for the custom paywall being shown.
1967
+ * @param params.offeringId - Optional identifier for the offering associated with the custom paywall.
1968
+ * If not provided, the SDK will use the current offering identifier from the cache.
1967
1969
  */
1968
1970
  Purchases.trackCustomPaywallImpression = function (params) {
1969
1971
  return __awaiter(this, void 0, void 0, function () {
package/ios/RNPurchases.m CHANGED
@@ -697,7 +697,7 @@ readyForPromotedProduct:(RCStoreProduct *)product
697
697
  }
698
698
 
699
699
  - (NSString *)platformFlavorVersion {
700
- return @"9.13.0";
700
+ return @"9.14.0";
701
701
  }
702
702
 
703
703
  @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": "9.13.0",
4
+ "version": "9.14.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",
@@ -114,7 +114,7 @@
114
114
  ]
115
115
  },
116
116
  "dependencies": {
117
- "@revenuecat/purchases-js-hybrid-mappings": "17.51.1",
118
- "@revenuecat/purchases-typescript-internal": "17.51.1"
117
+ "@revenuecat/purchases-js-hybrid-mappings": "17.52.0",
118
+ "@revenuecat/purchases-typescript-internal": "17.52.0"
119
119
  }
120
120
  }