@flare-engine/iap-revenuecat 0.4.6 → 0.4.8
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/index.d.mts +2 -6
- package/dist/index.d.mts.map +1 -1
- package/dist/index.d.ts +2 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -2
- package/dist/index.mjs +1 -2
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { IAPProvider } from "@flare-engine/iap";
|
|
2
|
-
//#region src/types.d.ts
|
|
3
2
|
interface RevenueCatConfig {
|
|
4
3
|
apiKeyIos: string;
|
|
5
4
|
apiKeyAndroid: string;
|
|
@@ -56,9 +55,6 @@ interface RevenueCatCustomerInfo {
|
|
|
56
55
|
};
|
|
57
56
|
nonSubscriptionTransactions?: RevenueCatNonSubscriptionTransaction[];
|
|
58
57
|
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
declare function createRevenueCatProvider(config: RevenueCatConfig): IAPProvider;
|
|
62
|
-
//#endregion
|
|
63
|
-
export { type RevenueCatConfig, type RevenueCatPurchasesModule, createRevenueCatProvider };
|
|
58
|
+
export declare function createRevenueCatProvider(config: RevenueCatConfig): IAPProvider;
|
|
59
|
+
export type { RevenueCatConfig, RevenueCatPurchasesModule };
|
|
64
60
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/types.ts","../src/provider.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/types.ts","../src/provider.ts"],"mappings":";UAAiB;EACf;EACA;EACA;;;EAGA;;EAEA,WAAW;;;;UAKI;EACf,UAAU;IAAU;IAAgB;;EACpC,YAAY,eAAe,gBAAgB,QAAQ;EACnD,qBACE,SAAS,yBACR;IAAU,cAAc;;EAC3B,oBAAoB,QAAQ;EAC5B,8BAA8B,WAAW,MAAM;EAC/C,iCAAiC,WAAW,MAAM;;UAGnC;EACf;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;UAGe;EACf;EACA;EAGA;EACA;EACA;;UAGe;EACf;EACA;EAGA;EACA;;UAGe;EACf;EACA;IACE,MAAM,eAAe;IACrB,SAAS,eAAe;;EAE1B,8BAA8B;;wBC8BhB,yBAAyB,QAAQ,mBAAmB"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { IAPProvider } from "@flare-engine/iap";
|
|
2
|
-
//#region src/types.d.ts
|
|
3
2
|
interface RevenueCatConfig {
|
|
4
3
|
apiKeyIos: string;
|
|
5
4
|
apiKeyAndroid: string;
|
|
@@ -56,9 +55,6 @@ interface RevenueCatCustomerInfo {
|
|
|
56
55
|
};
|
|
57
56
|
nonSubscriptionTransactions?: RevenueCatNonSubscriptionTransaction[];
|
|
58
57
|
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
declare function createRevenueCatProvider(config: RevenueCatConfig): IAPProvider;
|
|
62
|
-
//#endregion
|
|
63
|
-
export { type RevenueCatConfig, type RevenueCatPurchasesModule, createRevenueCatProvider };
|
|
58
|
+
export declare function createRevenueCatProvider(config: RevenueCatConfig): IAPProvider;
|
|
59
|
+
export type { RevenueCatConfig, RevenueCatPurchasesModule };
|
|
64
60
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/types.ts","../src/provider.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/types.ts","../src/provider.ts"],"mappings":";UAAiB;EACf;EACA;EACA;;;EAGA;;EAEA,WAAW;;;;UAKI;EACf,UAAU;IAAU;IAAgB;;EACpC,YAAY,eAAe,gBAAgB,QAAQ;EACnD,qBACE,SAAS,yBACR;IAAU,cAAc;;EAC3B,oBAAoB,QAAQ;EAC5B,8BAA8B,WAAW,MAAM;EAC/C,iCAAiC,WAAW,MAAM;;UAGnC;EACf;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;UAGe;EACf;EACA;EAGA;EACA;EACA;;UAGe;EACf;EACA;EAGA;EACA;;UAGe;EACf;EACA;IACE,MAAM,eAAe;IACrB,SAAS,eAAe;;EAE1B,8BAA8B;;wBC8BhB,yBAAyB,QAAQ,mBAAmB"}
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
|
|
2
|
+
// src/provider.ts
|
|
3
3
|
function parsePurchaseDateMillis(iso) {
|
|
4
4
|
if (iso === void 0) return void 0;
|
|
5
5
|
const ms = Date.parse(iso);
|
|
@@ -149,7 +149,6 @@ function createRevenueCatProvider(config) {
|
|
|
149
149
|
}
|
|
150
150
|
};
|
|
151
151
|
}
|
|
152
|
-
//#endregion
|
|
153
152
|
exports.createRevenueCatProvider = createRevenueCatProvider;
|
|
154
153
|
|
|
155
154
|
//# sourceMappingURL=index.js.map
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/provider.ts
|
|
2
2
|
function parsePurchaseDateMillis(iso) {
|
|
3
3
|
if (iso === void 0) return void 0;
|
|
4
4
|
const ms = Date.parse(iso);
|
|
@@ -148,7 +148,6 @@ function createRevenueCatProvider(config) {
|
|
|
148
148
|
}
|
|
149
149
|
};
|
|
150
150
|
}
|
|
151
|
-
//#endregion
|
|
152
151
|
export { createRevenueCatProvider };
|
|
153
152
|
|
|
154
153
|
//# sourceMappingURL=index.mjs.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flare-engine/iap-revenuecat",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.8",
|
|
4
4
|
"description": "RevenueCat IAPProvider adapter for @flare-engine/iap",
|
|
5
5
|
"keywords": ["flare-engine", "iap", "revenuecat", "in-app-purchase", "adapter"],
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"typecheck": "tsc --noEmit"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@flare-engine/iap": "^0.4.
|
|
40
|
+
"@flare-engine/iap": "^0.4.8"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"react-native": ">=0.79.0",
|