@revenuecat/purchases-typescript-internal 17.9.1 → 17.10.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.
- package/dist/customerInfo.d.ts +1 -1
- package/dist/errors.d.ts +2 -1
- package/dist/errors.js +1 -0
- package/package.json +1 -1
package/dist/customerInfo.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { VERIFICATION_RESULT } from "./enums";
|
|
|
3
3
|
* The supported stores for purchases.
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
6
|
-
export type Store = "PLAY_STORE" | "APP_STORE" | "STRIPE" | "MAC_APP_STORE" | "PROMOTIONAL" | "AMAZON" | "RC_BILLING" | "EXTERNAL" | "PADDLE" | "UNKNOWN_STORE";
|
|
6
|
+
export type Store = "PLAY_STORE" | "APP_STORE" | "STRIPE" | "MAC_APP_STORE" | "PROMOTIONAL" | "AMAZON" | "RC_BILLING" | "EXTERNAL" | "PADDLE" | "TEST_STORE" | "UNKNOWN_STORE";
|
|
7
7
|
/**
|
|
8
8
|
* The supported ownership types for an entitlement.
|
|
9
9
|
* @public
|
package/dist/errors.d.ts
CHANGED
|
@@ -37,7 +37,8 @@ export declare enum PURCHASES_ERROR_CODE {
|
|
|
37
37
|
PRODUCT_REQUEST_TIMED_OUT_ERROR = "32",
|
|
38
38
|
API_ENDPOINT_BLOCKED = "33",
|
|
39
39
|
INVALID_PROMOTIONAL_OFFER_ERROR = "34",
|
|
40
|
-
OFFLINE_CONNECTION_ERROR = "35"
|
|
40
|
+
OFFLINE_CONNECTION_ERROR = "35",
|
|
41
|
+
TEST_STORE_SIMULATED_PURCHASE_ERROR = "42"
|
|
41
42
|
}
|
|
42
43
|
/**
|
|
43
44
|
* Type encapsulating an error in an SDK operation.
|
package/dist/errors.js
CHANGED
|
@@ -58,6 +58,7 @@ var PURCHASES_ERROR_CODE;
|
|
|
58
58
|
PURCHASES_ERROR_CODE["API_ENDPOINT_BLOCKED"] = "33";
|
|
59
59
|
PURCHASES_ERROR_CODE["INVALID_PROMOTIONAL_OFFER_ERROR"] = "34";
|
|
60
60
|
PURCHASES_ERROR_CODE["OFFLINE_CONNECTION_ERROR"] = "35";
|
|
61
|
+
PURCHASES_ERROR_CODE["TEST_STORE_SIMULATED_PURCHASE_ERROR"] = "42";
|
|
61
62
|
})(PURCHASES_ERROR_CODE || (exports.PURCHASES_ERROR_CODE = PURCHASES_ERROR_CODE = {}));
|
|
62
63
|
/**
|
|
63
64
|
* @internal
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@revenuecat/purchases-typescript-internal",
|
|
3
3
|
"title": "Purchases typescript internal shared code",
|
|
4
|
-
"version": "17.
|
|
4
|
+
"version": "17.10.0",
|
|
5
5
|
"description": "Typescript code to be used by RevenueCat's hybrid SDKs. Not meant for external usage.",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|