react-native-purchases 4.4.0 → 4.4.1

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.
@@ -29,7 +29,7 @@ android {
29
29
  minSdkVersion getExtOrIntegerDefault('minSdkVersion')
30
30
  targetSdkVersion getExtOrIntegerDefault('targetSdkVersion')
31
31
  versionCode 1
32
- versionName '4.4.0'
32
+ versionName '4.4.1'
33
33
  }
34
34
 
35
35
  buildTypes {
@@ -43,7 +43,7 @@ public class RNPurchasesModule extends ReactContextBaseJavaModule implements Upd
43
43
 
44
44
  private static final String PURCHASER_INFO_UPDATED = "Purchases-PurchaserInfoUpdated";
45
45
  public static final String PLATFORM_NAME = "react-native";
46
- public static final String PLUGIN_VERSION = "4.4.0";
46
+ public static final String PLUGIN_VERSION = "4.4.1";
47
47
 
48
48
  private final ReactApplicationContext reactContext;
49
49
 
@@ -251,9 +251,9 @@ export default class Purchases {
251
251
  static restoreTransactions(): Promise<PurchaserInfo>;
252
252
  /**
253
253
  * Get the appUserID
254
- * @returns {string} The app user id in a promise
254
+ * @returns {Promise<string>} The app user id in a promise
255
255
  */
256
- static getAppUserID(): string;
256
+ static getAppUserID(): Promise<string>;
257
257
  /**
258
258
  * This function will logIn the current user with an appUserID. Typically this would be used after a log in
259
259
  * to identify a user without calling configure.
package/dist/purchases.js CHANGED
@@ -267,7 +267,7 @@ var Purchases = /** @class */ (function () {
267
267
  };
268
268
  /**
269
269
  * Get the appUserID
270
- * @returns {string} The app user id in a promise
270
+ * @returns {Promise<string>} The app user id in a promise
271
271
  */
272
272
  Purchases.getAppUserID = function () {
273
273
  return RNPurchases.getAppUserID();
package/ios/RNPurchases.m CHANGED
@@ -362,7 +362,7 @@ shouldPurchasePromoProduct:(SKProduct *)product
362
362
  }
363
363
 
364
364
  - (NSString *)platformFlavorVersion {
365
- return @"4.4.0";
365
+ return @"4.4.1";
366
366
  }
367
367
 
368
368
  @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": "4.4.0",
4
+ "version": "4.4.1",
5
5
  "description": "React Native in-app purchases and subscriptions made easy. Supports iOS and Android. ",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",