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.
package/android/build.gradle
CHANGED
|
@@ -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.
|
|
46
|
+
public static final String PLUGIN_VERSION = "4.4.1";
|
|
47
47
|
|
|
48
48
|
private final ReactApplicationContext reactContext;
|
|
49
49
|
|
package/dist/purchases.d.ts
CHANGED
|
@@ -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
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.
|
|
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",
|