expo-iap 3.1.1 → 3.1.2
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/coverage/clover.xml +497 -0
- package/coverage/coverage-final.json +6 -0
- package/coverage/lcov-report/base.css +224 -0
- package/coverage/lcov-report/block-navigation.js +87 -0
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +161 -0
- package/coverage/lcov-report/prettify.css +1 -0
- package/coverage/lcov-report/prettify.js +2 -0
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +196 -0
- package/coverage/lcov-report/src/helpers/index.html +116 -0
- package/coverage/lcov-report/src/helpers/subscription.ts.html +496 -0
- package/coverage/lcov-report/src/index.html +116 -0
- package/coverage/lcov-report/src/index.ts.html +1993 -0
- package/coverage/lcov-report/src/modules/android.ts.html +550 -0
- package/coverage/lcov-report/src/modules/index.html +131 -0
- package/coverage/lcov-report/src/modules/ios.ts.html +1222 -0
- package/coverage/lcov-report/src/utils/errorMapping.ts.html +1069 -0
- package/coverage/lcov-report/src/utils/index.html +116 -0
- package/coverage/lcov.info +929 -0
- package/jest.config.js +0 -1
- package/openiap-versions.json +1 -1
- package/package.json +1 -1
- package/build/utils/constants.d.ts +0 -6
- package/build/utils/constants.d.ts.map +0 -1
- package/build/utils/constants.js +0 -19
- package/build/utils/constants.js.map +0 -1
- package/src/utils/constants.ts +0 -23
package/jest.config.js
CHANGED
package/openiap-versions.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export declare const CONSUMABLE_PRODUCT_IDS: string[];
|
|
2
|
-
export declare const NON_CONSUMABLE_PRODUCT_IDS: string[];
|
|
3
|
-
export declare const PRODUCT_IDS: string[];
|
|
4
|
-
export declare const SUBSCRIPTION_PRODUCT_IDS: string[];
|
|
5
|
-
export declare const DEFAULT_SUBSCRIPTION_PRODUCT_ID: string;
|
|
6
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/utils/constants.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,sBAAsB,EAAE,MAAM,EAG1C,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,MAAM,EAE9C,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,MAAM,EAG/B,CAAC;AAGF,eAAO,MAAM,wBAAwB,EAAE,MAAM,EAA+B,CAAC;AAG7E,eAAO,MAAM,+BAA+B,QAA8B,CAAC"}
|
package/build/utils/constants.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
// Centralized product ID constants for examples and internal usage
|
|
2
|
-
// Rename guide: subscriptionIds -> SUBSCRIPTION_PRODUCT_IDS, PRODUCT_IDS remains the same name
|
|
3
|
-
// One-time purchase product IDs split by consumption behavior
|
|
4
|
-
export const CONSUMABLE_PRODUCT_IDS = [
|
|
5
|
-
'dev.hyo.martie.10bulbs',
|
|
6
|
-
'dev.hyo.martie.30bulbs',
|
|
7
|
-
];
|
|
8
|
-
export const NON_CONSUMABLE_PRODUCT_IDS = [
|
|
9
|
-
'dev.hyo.martie.certified',
|
|
10
|
-
];
|
|
11
|
-
export const PRODUCT_IDS = [
|
|
12
|
-
...CONSUMABLE_PRODUCT_IDS,
|
|
13
|
-
...NON_CONSUMABLE_PRODUCT_IDS,
|
|
14
|
-
];
|
|
15
|
-
// Subscription product IDs
|
|
16
|
-
export const SUBSCRIPTION_PRODUCT_IDS = ['dev.hyo.martie.premium'];
|
|
17
|
-
// Optionally export a single default subscription for convenience
|
|
18
|
-
export const DEFAULT_SUBSCRIPTION_PRODUCT_ID = SUBSCRIPTION_PRODUCT_IDS[0];
|
|
19
|
-
//# sourceMappingURL=constants.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/utils/constants.ts"],"names":[],"mappings":"AAAA,mEAAmE;AACnE,+FAA+F;AAE/F,8DAA8D;AAC9D,MAAM,CAAC,MAAM,sBAAsB,GAAa;IAC9C,wBAAwB;IACxB,wBAAwB;CACzB,CAAC;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAa;IAClD,0BAA0B;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAa;IACnC,GAAG,sBAAsB;IACzB,GAAG,0BAA0B;CAC9B,CAAC;AAEF,2BAA2B;AAC3B,MAAM,CAAC,MAAM,wBAAwB,GAAa,CAAC,wBAAwB,CAAC,CAAC;AAE7E,kEAAkE;AAClE,MAAM,CAAC,MAAM,+BAA+B,GAAG,wBAAwB,CAAC,CAAC,CAAC,CAAC","sourcesContent":["// Centralized product ID constants for examples and internal usage\n// Rename guide: subscriptionIds -> SUBSCRIPTION_PRODUCT_IDS, PRODUCT_IDS remains the same name\n\n// One-time purchase product IDs split by consumption behavior\nexport const CONSUMABLE_PRODUCT_IDS: string[] = [\n 'dev.hyo.martie.10bulbs',\n 'dev.hyo.martie.30bulbs',\n];\n\nexport const NON_CONSUMABLE_PRODUCT_IDS: string[] = [\n 'dev.hyo.martie.certified',\n];\n\nexport const PRODUCT_IDS: string[] = [\n ...CONSUMABLE_PRODUCT_IDS,\n ...NON_CONSUMABLE_PRODUCT_IDS,\n];\n\n// Subscription product IDs\nexport const SUBSCRIPTION_PRODUCT_IDS: string[] = ['dev.hyo.martie.premium'];\n\n// Optionally export a single default subscription for convenience\nexport const DEFAULT_SUBSCRIPTION_PRODUCT_ID = SUBSCRIPTION_PRODUCT_IDS[0];\n"]}
|
package/src/utils/constants.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
// Centralized product ID constants for examples and internal usage
|
|
2
|
-
// Rename guide: subscriptionIds -> SUBSCRIPTION_PRODUCT_IDS, PRODUCT_IDS remains the same name
|
|
3
|
-
|
|
4
|
-
// One-time purchase product IDs split by consumption behavior
|
|
5
|
-
export const CONSUMABLE_PRODUCT_IDS: string[] = [
|
|
6
|
-
'dev.hyo.martie.10bulbs',
|
|
7
|
-
'dev.hyo.martie.30bulbs',
|
|
8
|
-
];
|
|
9
|
-
|
|
10
|
-
export const NON_CONSUMABLE_PRODUCT_IDS: string[] = [
|
|
11
|
-
'dev.hyo.martie.certified',
|
|
12
|
-
];
|
|
13
|
-
|
|
14
|
-
export const PRODUCT_IDS: string[] = [
|
|
15
|
-
...CONSUMABLE_PRODUCT_IDS,
|
|
16
|
-
...NON_CONSUMABLE_PRODUCT_IDS,
|
|
17
|
-
];
|
|
18
|
-
|
|
19
|
-
// Subscription product IDs
|
|
20
|
-
export const SUBSCRIPTION_PRODUCT_IDS: string[] = ['dev.hyo.martie.premium'];
|
|
21
|
-
|
|
22
|
-
// Optionally export a single default subscription for convenience
|
|
23
|
-
export const DEFAULT_SUBSCRIPTION_PRODUCT_ID = SUBSCRIPTION_PRODUCT_IDS[0];
|