@amazon-devices/keplerscript-appstore-iap-lib 2.12.13 → 2.13.0-rn-83
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/SystemBundles/2545d9fd13922b166b979854915029888a711f7315aa9d5d1df55ba8a22c9405.bundle.map +1 -0
- package/SystemBundles/hermes-072/2545d9fd13922b166b979854915029888a711f7315aa9d5d1df55ba8a22c9405.bundle.map +1 -0
- package/SystemBundles/hermes-072/index.amzn__keplerscript-appstore-iap-lib-2.hermes.bundle +0 -0
- package/SystemBundles/hermes-083/2545d9fd13922b166b979854915029888a711f7315aa9d5d1df55ba8a22c9405.bundle.map +1 -0
- package/SystemBundles/hermes-083/index.amzn__keplerscript-appstore-iap-lib-2.hermes.bundle +0 -0
- package/SystemBundles/index.amzn__keplerscript-appstore-iap-lib-2.hermes.bundle +0 -0
- package/SystemModules/amzn__keplerscript-appstore-iap-lib-2.private.modules.txt +36 -39
- package/dist/PurchasingService.js +1 -1
- package/dist/hooks/useIapProductData.js +1 -1
- package/dist/hooks/useIapPurchaseUpdates.js +1 -1
- package/dist/hooks/useIapUserData.js +1 -1
- package/dist/index.js +1 -1
- package/dist/internal/NativeIAPRequestHandler.js +1 -1
- package/dist/internal/PurchasingManager.js +1 -1
- package/dist/internal/constants/IAPSDKConstants.js +1 -1
- package/dist/internal/internalTypes/InternalIAPTypes.js +1 -1
- package/dist/internal/listeners/IResponseListener.js +1 -1
- package/dist/internal/listeners/InternalModifySubscriptionResponseListener.js +1 -1
- package/dist/internal/listeners/InternalPurchaseResponseListener.js +1 -1
- package/dist/internal/listeners/ModifySubscriptionResponseListener.js +1 -1
- package/dist/internal/listeners/PurchaseResponseListener.js +1 -1
- package/dist/internal/logger/IAPSDKLogger.js +1 -1
- package/dist/internal/operations/handler/APIBaseRequestHandler.js +1 -1
- package/dist/internal/operations/handler/basicAck/BasicAckRequestHandler.js +1 -1
- package/dist/internal/operations/handler/getProductData/GetProductDataRequestHandler.js +1 -1
- package/dist/internal/operations/handler/getPurchaseUpdates/GetPurchaseUpdatesRequestHandler.js +1 -1
- package/dist/internal/operations/handler/getPurchaseUpdatesAck/GetPurchaseUpdatesAckRequestHandler.js +1 -1
- package/dist/internal/operations/handler/getUserData/GetUserDataRequestHandler.js +1 -1
- package/dist/internal/operations/handler/modifySubscription/ModifySubscriptionRequestHandler.js +1 -1
- package/dist/internal/operations/handler/notifyFulfillment/NotifyFulfillmentRequestHandler.js +1 -1
- package/dist/internal/operations/handler/purchase/PurchaseRequestHandler.js +1 -1
- package/dist/internal/operations/handler/userProfileAccess/UserProfileAccessRequestHandler.js +1 -1
- package/dist/internal/operations/model/APIReqRespBaseModel.js +1 -1
- package/dist/internal/operations/model/basicAck/BasicAckReqRespBaseModel.js +1 -1
- package/dist/internal/operations/model/basicAck/BasicAckReqRespModelV2.js +1 -1
- package/dist/internal/operations/model/getProductData/GetProductDataReqRespBaseModel.js +1 -1
- package/dist/internal/operations/model/getProductData/GetProductDataReqRespModelV2.js +1 -1
- package/dist/internal/operations/model/getPurchaseUpdates/GetPurchaseUpdatesReqRespBaseModel.js +1 -1
- package/dist/internal/operations/model/getPurchaseUpdates/GetPurchaseUpdatesReqRespModelV2.js +1 -1
- package/dist/internal/operations/model/getPurchaseUpdatesAck/GetPurchaseUpdatesAckReqRespBaseModel.js +1 -1
- package/dist/internal/operations/model/getPurchaseUpdatesAck/GetPurchaseUpdatesAckReqRespModelV2.js +1 -1
- package/dist/internal/operations/model/getUserData/GetUserDataReqRespBaseModel.js +1 -1
- package/dist/internal/operations/model/getUserData/GetUserDataReqRespModelV2.js +1 -1
- package/dist/internal/operations/model/modifySubscription/ModifySubscriptionReqRespBaseModel.js +1 -1
- package/dist/internal/operations/model/modifySubscription/ModifySubscriptionReqRespModelV2.js +1 -1
- package/dist/internal/operations/model/notifyFulfillment/NotifyFulfillmentReqRespBaseModel.js +1 -1
- package/dist/internal/operations/model/notifyFulfillment/NotifyFulfillmentReqRespModelV2.js +1 -1
- package/dist/internal/operations/model/purchase/PurchaseReqRespBaseModel.js +1 -1
- package/dist/internal/operations/model/purchase/PurchaseReqRespModelV2.js +1 -1
- package/dist/internal/operations/model/userProfileAccess/UserProfileAccessReqRespModel.js +1 -1
- package/dist/internal/utils/IAPSDKUtils.js +1 -1
- package/dist/internal/utils/cursor/CursorType.js +1 -1
- package/dist/internal/utils/cursor/CursorUtils.js +1 -1
- package/dist/internal/utils/receiptHelper/ReceiptHelper.js +1 -1
- package/dist/internal/utils/validator/ValidatorUtils.js +1 -1
- package/dist/types/IAPTypes.d.ts +4 -0
- package/dist/types/IAPTypes.js +1 -1
- package/kepler-compatibility.json +7 -1
- package/package.json +93 -1
- package/SystemBundles/453be002f64ad366efa41022a9e3a1aa0c200b706a3a12fdf4a93650adb4985c.bundle +0 -15594
- package/SystemBundles/453be002f64ad366efa41022a9e3a1aa0c200b706a3a12fdf4a93650adb4985c.bundle.map +0 -1
|
Binary file
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
node_modules/@
|
|
2
|
-
node_modules/@
|
|
3
|
-
node_modules/@
|
|
4
|
-
node_modules/@babel/runtime_7.
|
|
5
|
-
node_modules/@babel/runtime_7.
|
|
6
|
-
node_modules/@babel/runtime_7.26.9/helpers/toPropertyKey.js:a8c8780df4560174ada7
|
|
7
|
-
node_modules/@babel/runtime_7.26.9/helpers/toPrimitive.js:ffc6df13d33bb305555d
|
|
8
|
-
node_modules/@babel/runtime_7.26.9/helpers/typeof.js:d8362e1f4a4e80eaa9d4
|
|
1
|
+
node_modules/@babel/runtime_7.29.2/helpers/classCallCheck.js:2bfb5e99807ec81b822f
|
|
2
|
+
node_modules/@babel/runtime_7.29.2/helpers/createClass.js:cc42269051bc9ff17a63
|
|
3
|
+
node_modules/@babel/runtime_7.29.2/helpers/toPropertyKey.js:7519d1b9ea0de500d604
|
|
4
|
+
node_modules/@babel/runtime_7.29.2/helpers/toPrimitive.js:6c47e04d255cdfb1533c
|
|
5
|
+
node_modules/@babel/runtime_7.29.2/helpers/typeof.js:7b6247ce00695d888c36
|
|
9
6
|
node_modules/react-native-uuid_2.0.3/dist/index.js:6dc130e8685389b37217
|
|
10
7
|
node_modules/react-native-uuid_2.0.3/dist/parse.js:71851ba2fa15f448dca9
|
|
11
8
|
node_modules/react-native-uuid_2.0.3/dist/utils.js:7143627dffbb0e0dc470
|
|
@@ -22,48 +19,48 @@ node_modules/react-native-uuid_2.0.3/dist/v35.js:f3e6658d6cbceadaefde
|
|
|
22
19
|
node_modules/react-native-uuid_2.0.3/dist/v4.js:ec7546d860741c0a2b2d
|
|
23
20
|
node_modules/react-native-uuid_2.0.3/dist/v5.js:d8d660b4410cdc80206a
|
|
24
21
|
node_modules/react-native-uuid_2.0.3/dist/sha1.js:27fa44b0b5d622c37b36
|
|
25
|
-
node_modules/@babel/runtime_7.
|
|
26
|
-
node_modules/@babel/runtime_7.
|
|
27
|
-
node_modules/@babel/runtime_7.
|
|
28
|
-
node_modules/@babel/runtime_7.
|
|
29
|
-
node_modules/@babel/runtime_7.
|
|
30
|
-
node_modules/@babel/runtime_7.
|
|
22
|
+
node_modules/@babel/runtime_7.29.2/helpers/getPrototypeOf.js:9c829ff5032996ffdc8e
|
|
23
|
+
node_modules/@babel/runtime_7.29.2/helpers/possibleConstructorReturn.js:80a4a0ee188e065108c9
|
|
24
|
+
node_modules/@babel/runtime_7.29.2/helpers/assertThisInitialized.js:7a9699b26019ae7270f5
|
|
25
|
+
node_modules/@babel/runtime_7.29.2/helpers/inherits.js:3ebfecb28bc5857801a2
|
|
26
|
+
node_modules/@babel/runtime_7.29.2/helpers/setPrototypeOf.js:ea37d1dec222e5845b2b
|
|
27
|
+
node_modules/@babel/runtime_7.29.2/helpers/asyncToGenerator.js:37d2d0df8e62891cc30d
|
|
31
28
|
node_modules/@amzn/keplerscript-turbomodule-api_1.0.0/dist/index.js:8a35a86b7946c72e0207
|
|
32
29
|
node_modules/@amzn/keplerscript-turbomodule-api_1.0.0/dist/turbomodules/TurboModuleRegistry.js:33d6b98d6e39f6b0a8f9
|
|
33
30
|
node_modules/@amzn/keplerscript-turbomodule-api_1.0.0/dist/invariant/invariant.js:8d9475a2cb77b53e450d
|
|
34
|
-
node_modules/@babel/runtime_7.
|
|
35
|
-
node_modules/@babel/runtime_7.
|
|
36
|
-
node_modules/@babel/runtime_7.
|
|
37
|
-
node_modules/@babel/runtime_7.
|
|
38
|
-
node_modules/@babel/runtime_7.
|
|
39
|
-
node_modules/@babel/runtime_7.
|
|
40
|
-
node_modules/@babel/runtime_7.
|
|
31
|
+
node_modules/@babel/runtime_7.29.2/helpers/interopRequireDefault.js:d3b57c8ff490ba8c7c47
|
|
32
|
+
node_modules/@babel/runtime_7.29.2/helpers/toConsumableArray.js:27d0a985292f85890094
|
|
33
|
+
node_modules/@babel/runtime_7.29.2/helpers/arrayWithoutHoles.js:f68a2b1e2787457746ed
|
|
34
|
+
node_modules/@babel/runtime_7.29.2/helpers/arrayLikeToArray.js:93f664c5afc3b3c0ffb9
|
|
35
|
+
node_modules/@babel/runtime_7.29.2/helpers/iterableToArray.js:a557e0618dee554f2e2b
|
|
36
|
+
node_modules/@babel/runtime_7.29.2/helpers/unsupportedIterableToArray.js:0c30490eff100ca51d7c
|
|
37
|
+
node_modules/@babel/runtime_7.29.2/helpers/nonIterableSpread.js:b3f48bee2c320d36016c
|
|
41
38
|
node_modules/invariant_2.2.4/browser.js:fd099686726b2dfb6f66
|
|
42
|
-
node_modules/@babel/runtime_7.
|
|
43
|
-
node_modules/@babel/runtime_7.
|
|
44
|
-
node_modules/@babel/runtime_7.
|
|
45
|
-
node_modules/@babel/runtime_7.
|
|
39
|
+
node_modules/@babel/runtime_7.29.2/helpers/slicedToArray.js:8972a767e9133b0e3a28
|
|
40
|
+
node_modules/@babel/runtime_7.29.2/helpers/arrayWithHoles.js:ee99881fa9643e7bd96f
|
|
41
|
+
node_modules/@babel/runtime_7.29.2/helpers/iterableToArrayLimit.js:1847ec9d510321afd855
|
|
42
|
+
node_modules/@babel/runtime_7.29.2/helpers/nonIterableRest.js:9ef80b625777ecb8d705
|
|
46
43
|
node_modules/nullthrows_1.1.1/nullthrows.js:afd4874b36ccd4e13961
|
|
47
|
-
node_modules/@babel/runtime_7.
|
|
48
|
-
node_modules/@babel/runtime_7.
|
|
49
|
-
node_modules/@babel/runtime_7.
|
|
50
|
-
node_modules/@babel/runtime_7.
|
|
51
|
-
node_modules/@babel/runtime_7.
|
|
44
|
+
node_modules/@babel/runtime_7.29.2/helpers/readOnlyError.js:b769be1a7481ccdab905
|
|
45
|
+
node_modules/@babel/runtime_7.29.2/helpers/wrapNativeSuper.js:b510ad86a9e18c7a79b6
|
|
46
|
+
node_modules/@babel/runtime_7.29.2/helpers/isNativeFunction.js:74c2adc9de6e582a35f1
|
|
47
|
+
node_modules/@babel/runtime_7.29.2/helpers/construct.js:d66ad0c399283f558869
|
|
48
|
+
node_modules/@babel/runtime_7.29.2/helpers/isNativeReflectConstruct.js:22840e4117f5dbcb3b06
|
|
52
49
|
node_modules/stacktrace-parser_0.1.11/dist/stack-trace-parser.cjs.js:aa725aa4c0b37e1add33
|
|
53
50
|
node_modules/promise_8.3.0/setimmediate/finally.js:15bc4ccb25fc2d0c4428
|
|
54
51
|
node_modules/promise_8.3.0/setimmediate/core.js:890f60fa94d3f6854a19
|
|
55
52
|
node_modules/promise_8.3.0/setimmediate/es6-extensions.js:a7846fdeffeb1ebf6241
|
|
56
53
|
node_modules/regenerator-runtime_0.13.11/runtime.js:af823d9710c534173a4d
|
|
57
|
-
node_modules/@babel/runtime_7.
|
|
58
|
-
node_modules/@babel/runtime_7.
|
|
54
|
+
node_modules/@babel/runtime_7.29.2/helpers/get.js:659b028086c2c6f074a3
|
|
55
|
+
node_modules/@babel/runtime_7.29.2/helpers/superPropBase.js:263943b885b53437e9e0
|
|
59
56
|
node_modules/event-target-shim_5.0.1/dist/event-target-shim.js:2bd3f165b1ed6b916de7
|
|
60
57
|
node_modules/base64-js_1.5.1/index.js:71af70f51435e3e1b37b
|
|
61
58
|
node_modules/whatwg-fetch_3.6.20/dist/fetch.umd.js:ca4b0363146267ef3e77
|
|
62
|
-
node_modules/@babel/runtime_7.
|
|
63
|
-
node_modules/@babel/runtime_7.
|
|
59
|
+
node_modules/@babel/runtime_7.29.2/helpers/objectWithoutProperties.js:54be67f13f7547a51521
|
|
60
|
+
node_modules/@babel/runtime_7.29.2/helpers/objectWithoutPropertiesLoose.js:ae112a2672a8a53f82e5
|
|
64
61
|
node_modules/abort-controller_3.0.0/dist/abort-controller.js:ea8fcbd647aab1cfcdaa
|
|
65
62
|
node_modules/@react-native/normalize-colors_0.72.0/index.js:bab9017c6ff43bb4a95b
|
|
66
|
-
node_modules/@babel/runtime_7.
|
|
63
|
+
node_modules/@babel/runtime_7.29.2/helpers/defineProperty.js:fa7f6cfc43876c5055b6
|
|
67
64
|
node_modules/@react-native/assets-registry_0.72.0/registry.js:05d58bec2a6d939f08d8
|
|
68
65
|
node_modules/@react-native/assets-registry_0.72.0/path-support.js:914260cfb55fe13c431c
|
|
69
66
|
node_modules/scheduler_0.24.0-canary-efb381bbf-20230505/index.native.js:d57407eff7026d491c8a
|
|
@@ -104,7 +101,7 @@ node_modules/@react-native/virtualized-lists_0.72.8/Lists/VirtualizedListCellRen
|
|
|
104
101
|
node_modules/@react-native/virtualized-lists_0.72.8/Lists/VirtualizedListContext.js:e6b1ef1f5b720d640981
|
|
105
102
|
node_modules/@react-native/virtualized-lists_0.72.8/Lists/CellRenderMask.js:de5ab026f9499640d730
|
|
106
103
|
node_modules/@react-native/virtualized-lists_0.72.8/Lists/VirtualizedSectionList.js:d2355175ff6609a3def1
|
|
107
|
-
node_modules/use-sync-external-store_1.
|
|
108
|
-
node_modules/use-sync-external-store_1.
|
|
109
|
-
node_modules/@babel/runtime_7.
|
|
110
|
-
node_modules/@babel/runtime_7.
|
|
104
|
+
node_modules/use-sync-external-store_1.6.0/shim/index.native.js:962cceb83a0665e556b0
|
|
105
|
+
node_modules/use-sync-external-store_1.6.0/cjs/use-sync-external-store-shim.native.production.js:882f173eeacafe179433
|
|
106
|
+
node_modules/@babel/runtime_7.29.2/helpers/classPrivateFieldLooseKey.js:3998b40f87a7681fa397
|
|
107
|
+
node_modules/@babel/runtime_7.29.2/helpers/classPrivateFieldLooseBase.js:8e4a72d63eec1bceb909
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a0_0x4d7078=a0_0x260b;function a0_0x260b(_0x2381d3,_0x1ae498){const _0x302b2f=a0_0x302b();return a0_0x260b=function(_0x260b93,_0x3a8b23){_0x260b93=_0x260b93-0x11d;let _0x4e29a6=_0x302b2f[_0x260b93];return _0x4e29a6;},a0_0x260b(_0x2381d3,_0x1ae498);}(function(_0x2ca7ef,_0x217107){const _0x437c46=a0_0x260b,_0x5039bc=_0x2ca7ef();while(!![]){try{const _0x220f09=parseInt(_0x437c46(0x12b))/0x1+-parseInt(_0x437c46(0x123))/0x2+-parseInt(_0x437c46(0x120))/0x3*(parseInt(_0x437c46(0x12e))/0x4)+parseInt(_0x437c46(0x11d))/0x5*(parseInt(_0x437c46(0x12f))/0x6)+-parseInt(_0x437c46(0x121))/0x7+-parseInt(_0x437c46(0x127))/0x8+parseInt(_0x437c46(0x126))/0x9;if(_0x220f09===_0x217107)break;else _0x5039bc['push'](_0x5039bc['shift']());}catch(_0x5d7592){_0x5039bc['push'](_0x5039bc['shift']());}}}(a0_0x302b,0x33e71));Object[a0_0x4d7078(0x129)](exports,'__esModule',{'value':!![]}),exports[a0_0x4d7078(0x122)]=void 0x0;const PurchasingManager_1=require('./internal/PurchasingManager');function a0_0x302b(){const _0x2bd8b9=['defineProperty','getUserData','420961QsALTs','notifyFulfillment','purchase','287668YwoRnI','12FdYUmf','357130AtjffG','getProductData','getPurchaseUpdates','15LdBivX','2932496JxifTl','PurchasingService','506484cXJykp','getInstance','requestUserProfileAccess','9463374KLNYxg','2967608jniupF','PurchasingManager'];a0_0x302b=function(){return _0x2bd8b9;};return a0_0x302b();}class PurchasingService{static[a0_0x4d7078(0x12d)](_0xaa8b5f){const _0x3fdd60=a0_0x4d7078;return PurchasingManager_1[_0x3fdd60(0x128)][_0x3fdd60(0x124)]()[_0x3fdd60(0x12d)](_0xaa8b5f);}static['modifySubscription'](_0x480cc5){const _0x48d1ee=a0_0x4d7078;return PurchasingManager_1[_0x48d1ee(0x128)]['getInstance']()['modifySubscription'](_0x480cc5);}static[a0_0x4d7078(0x11f)](_0x5800ad){const _0x1e81c7=a0_0x4d7078;return PurchasingManager_1[_0x1e81c7(0x128)][_0x1e81c7(0x124)]()['getPurchaseUpdates'](_0x5800ad);}static['getProductData'](_0x25fa2d){const _0x49b6a0=a0_0x4d7078;return PurchasingManager_1[_0x49b6a0(0x128)][_0x49b6a0(0x124)]()[_0x49b6a0(0x11e)](_0x25fa2d);}static[a0_0x4d7078(0x12c)](_0x2863fa){const _0x227149=a0_0x4d7078;return PurchasingManager_1[_0x227149(0x128)]['getInstance']()[_0x227149(0x12c)](_0x2863fa);}static['getUserData'](_0x351474){const _0x13a527=a0_0x4d7078;return PurchasingManager_1[_0x13a527(0x128)][_0x13a527(0x124)]()[_0x13a527(0x12a)](_0x351474);}static[a0_0x4d7078(0x125)](){const _0x5c4024=a0_0x4d7078;return PurchasingManager_1[_0x5c4024(0x128)]['getInstance']()[_0x5c4024(0x125)]();}}exports[a0_0x4d7078(0x122)]=PurchasingService;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const a1_0x5be2fc=a1_0x4ba6;(function(_0x229612,_0x473cfc){const _0x25f758=a1_0x4ba6,_0x2940ee=_0x229612();while(!![]){try{const _0x5456bf=-parseInt(_0x25f758(0x1d7))/0x1+parseInt(_0x25f758(0x1d6))/0x2+parseInt(_0x25f758(0x1ed))/0x3+parseInt(_0x25f758(0x1e9))/0x4+parseInt(_0x25f758(0x1e0))/0x5*(parseInt(_0x25f758(0x1db))/0x6)+parseInt(_0x25f758(0x1ec))/0x7*(-parseInt(_0x25f758(0x1e4))/0x8)+-parseInt(_0x25f758(0x1d9))/0x9*(parseInt(_0x25f758(0x1de))/0xa);if(_0x5456bf===_0x473cfc)break;else _0x2940ee['push'](_0x2940ee['shift']());}catch(_0x34b630){_0x2940ee['push'](_0x2940ee['shift']());}}}(a1_0x2498,0x9b27e));function a1_0x2498(){const _0x58eb5c=['59286DRpNCr','PurchasingService','6667191FZYkMG','ProductDataResponseCode','11202FWjTLA','useState','useIapProductData\x20Hook\x20called','20HjBSjq','FAILED','3310kEhgwU','useIapProductData','catch','useEffect','263728GtMheD','Calling\x20getProductData\x20API','IAPSDKLogger','getProductData','GetProductDataReqRespBaseModel','1363620etpvPo','error','Exception\x20while\x20calling\x20getProductData\x20','119gIFvXP','3191574ORzxec','defineProperty','info','SUCCESSFUL','responseCode','192214PapwqO'];a1_0x2498=function(){return _0x58eb5c;};return a1_0x2498();}Object[a1_0x5be2fc(0x1ee)](exports,'__esModule',{'value':!![]}),exports[a1_0x5be2fc(0x1e1)]=void 0x0;const react_1=require('react'),IAPSDKLogger_1=require('../internal/logger/IAPSDKLogger'),GetProductDataReqRespBaseModel_1=require('../internal/operations/model/getProductData/GetProductDataReqRespBaseModel'),PurchasingService_1=require('../PurchasingService'),IAPTypes_1=require('../types/IAPTypes'),useIapProductData=_0x3e0c53=>{const _0x5dc23b=a1_0x5be2fc,[_0x40fbf2,_0x3b5831]=(0x0,react_1['useState'])(),[_0x2b50b5,_0x22fa68]=(0x0,react_1[_0x5dc23b(0x1dc)])(!![]),[_0x44fc44,_0xed4de4]=(0x0,react_1[_0x5dc23b(0x1dc)])(![]);return IAPSDKLogger_1[_0x5dc23b(0x1e6)]['debug'](_0x5dc23b(0x1dd)),(0x0,react_1[_0x5dc23b(0x1e3)])(()=>{const _0x11e406=_0x5dc23b;IAPSDKLogger_1[_0x11e406(0x1e6)][_0x11e406(0x1ef)](_0x11e406(0x1e5)),PurchasingService_1[_0x11e406(0x1d8)][_0x11e406(0x1e7)](_0x3e0c53)['then'](_0x40b579=>{const _0x51a5d6=_0x11e406;_0x3b5831(_0x40b579),_0xed4de4(_0x40b579[_0x51a5d6(0x1f1)]!==IAPTypes_1[_0x51a5d6(0x1da)][_0x51a5d6(0x1f0)]),_0x22fa68(![]);})[_0x11e406(0x1e2)](_0xcabc2=>{const _0x4753c7=_0x11e406;IAPSDKLogger_1[_0x4753c7(0x1e6)][_0x4753c7(0x1ea)](_0x4753c7(0x1eb)+_0xcabc2),_0x3b5831(GetProductDataReqRespBaseModel_1[_0x4753c7(0x1e8)]['createNullResponse'](IAPTypes_1['ProductDataResponseCode'][_0x4753c7(0x1df)])),_0xed4de4(!![]),_0x22fa68(![]);});},[]),{'iapProductDataLoading':_0x2b50b5,'iapProductDataError':_0x44fc44,'iapProductData':_0x40fbf2};};function a1_0x4ba6(_0x39c58c,_0x7ad2a7){const _0x24989c=a1_0x2498();return a1_0x4ba6=function(_0x4ba6c2,_0x997e3e){_0x4ba6c2=_0x4ba6c2-0x1d6;let _0xb98615=_0x24989c[_0x4ba6c2];return _0xb98615;},a1_0x4ba6(_0x39c58c,_0x7ad2a7);}exports[a1_0x5be2fc(0x1e1)]=useIapProductData;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';function a2_0x53bc(_0x4323ff,_0xeec1d8){const _0x2c4cd1=a2_0x2c4c();return a2_0x53bc=function(_0x53bc84,_0x375404){_0x53bc84=_0x53bc84-0x13a;let _0x43dc7e=_0x2c4cd1[_0x53bc84];return _0x43dc7e;},a2_0x53bc(_0x4323ff,_0xeec1d8);}const a2_0x3eaadb=a2_0x53bc;(function(_0x59355c,_0x2c01bc){const _0x3c8e3d=a2_0x53bc,_0x210289=_0x59355c();while(!![]){try{const _0x11f70a=parseInt(_0x3c8e3d(0x13e))/0x1+parseInt(_0x3c8e3d(0x152))/0x2*(parseInt(_0x3c8e3d(0x146))/0x3)+parseInt(_0x3c8e3d(0x14f))/0x4*(-parseInt(_0x3c8e3d(0x140))/0x5)+-parseInt(_0x3c8e3d(0x148))/0x6+-parseInt(_0x3c8e3d(0x141))/0x7+parseInt(_0x3c8e3d(0x156))/0x8*(-parseInt(_0x3c8e3d(0x161))/0x9)+-parseInt(_0x3c8e3d(0x147))/0xa*(-parseInt(_0x3c8e3d(0x13d))/0xb);if(_0x11f70a===_0x2c01bc)break;else _0x210289['push'](_0x210289['shift']());}catch(_0xe462e){_0x210289['push'](_0x210289['shift']());}}}(a2_0x2c4c,0x5bfe4));Object[a2_0x3eaadb(0x158)](exports,a2_0x3eaadb(0x15a),{'value':!![]}),exports[a2_0x3eaadb(0x149)]=void 0x0;const react_native_kepler_1=require('@amazon-devices/react-native-kepler'),react_1=require('react'),IAPSDKLogger_1=require('../internal/logger/IAPSDKLogger'),GetPurchaseUpdatesReqRespBaseModel_1=require('../internal/operations/model/getPurchaseUpdates/GetPurchaseUpdatesReqRespBaseModel'),PurchasingService_1=require('../PurchasingService'),IAPTypes_1=require('../types/IAPTypes'),useIapPurchaseUpdates=_0x4d7e85=>{const _0x1cc693=a2_0x3eaadb,[_0x5e8d53,_0x390f0b]=(0x0,react_1['useState'])(),[_0x5dd8f1,_0x334eab]=(0x0,react_1['useState'])(!![]),[_0xa3b3cc,_0x179446]=(0x0,react_1[_0x1cc693(0x14e)])(![]),_0x451bf1=(0x0,react_1[_0x1cc693(0x15e)])();IAPSDKLogger_1[_0x1cc693(0x143)][_0x1cc693(0x145)](_0x1cc693(0x14b));const _0xc396e=()=>{const _0x123897=_0x1cc693;IAPSDKLogger_1[_0x123897(0x143)][_0x123897(0x153)]('Calling\x20getPurchaseUpdates\x20API\x20with\x20reset\x20flag\x20=\x20'+_0x4d7e85[_0x123897(0x159)]),_0x334eab(!![]),PurchasingService_1[_0x123897(0x13c)][_0x123897(0x15f)](_0x4d7e85)[_0x123897(0x154)](_0x3506e3=>{const _0x3ff039=_0x123897;_0x390f0b(_0x3506e3),_0x179446(_0x3506e3[_0x3ff039(0x15d)]!==IAPTypes_1[_0x3ff039(0x15b)]['SUCCESSFUL']),_0x334eab(![]);})[_0x123897(0x14c)](_0x14012d=>{const _0x1804d0=_0x123897;IAPSDKLogger_1[_0x1804d0(0x143)][_0x1804d0(0x14d)](_0x1804d0(0x151)+_0x14012d),_0x390f0b(GetPurchaseUpdatesReqRespBaseModel_1[_0x1804d0(0x150)][_0x1804d0(0x14a)](IAPTypes_1[_0x1804d0(0x15b)][_0x1804d0(0x13b)])),_0x179446(!![]),_0x334eab(![]);});},_0x17d0c1=_0x38ebf1=>{const _0x2a1555=_0x1cc693;let _0x2e3594;_0x334eab(_0xe90544=>{return _0x2e3594=_0xe90544,_0xe90544;}),_0x38ebf1===_0x2a1555(0x13a)&&_0x2e3594===![]?(IAPSDKLogger_1[_0x2a1555(0x143)]['debug']('App\x20comes\x20from\x20background\x20to\x20foreground.\x20Triggering\x20getPurchaseUpdates\x20API.'),_0xc396e()):IAPSDKLogger_1['IAPSDKLogger']['debug'](_0x2a1555(0x157)+_0x38ebf1);};return(0x0,react_1[_0x1cc693(0x15c)])(()=>{const _0x1d3baf=_0x1cc693;return _0xc396e(),_0x451bf1['current']=react_native_kepler_1[_0x1d3baf(0x142)][_0x1d3baf(0x160)]('change',_0x17d0c1),()=>{const _0x2906d3=_0x1d3baf;IAPSDKLogger_1[_0x2906d3(0x143)][_0x2906d3(0x145)](_0x2906d3(0x13f)),_0x451bf1[_0x2906d3(0x155)]?.[_0x2906d3(0x144)]();};},[]),{'iapPurchaseUpdatesLoading':_0x5dd8f1,'iapPurchaseUpdatesError':_0xa3b3cc,'iapPurchaseUpdates':_0x5e8d53};};exports[a2_0x3eaadb(0x149)]=useIapPurchaseUpdates;function a2_0x2c4c(){const _0x1b021b=['76WPPDgL','info','then','current','200narTuB','useIapPurchaseUpdates:\x20App\x20state\x20change\x20ignored:\x20','defineProperty','reset','__esModule','PurchaseUpdatesResponseCode','useEffect','responseCode','useRef','getPurchaseUpdates','addEventListener','178983idUdjH','active','FAILED','PurchasingService','11dZQmik','164423YbTHqe','Component\x20unmounted.\x20Removing\x20AppState\x20listener','3311275Rivqwc','4767196HRZbXe','AppState','IAPSDKLogger','remove','debug','25323DHyIWo','18261500aVHYew','564414nggnQj','useIapPurchaseUpdates','createNullResponse','useIapPurchaseUpdates\x20Hook\x20called','catch','error','useState','4bvNSYt','GetPurchaseUpdatesReqRespBaseModel','Exception\x20while\x20calling\x20getPurchaseUpdates\x20'];a2_0x2c4c=function(){return _0x1b021b;};return a2_0x2c4c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a3_0xe7123c=a3_0x2c62;(function(_0x4d9203,_0x4243d0){const _0x271046=a3_0x2c62,_0x5de3d9=_0x4d9203();while(!![]){try{const _0x7c06d5=parseInt(_0x271046(0x104))/0x1*(parseInt(_0x271046(0x123))/0x2)+-parseInt(_0x271046(0x111))/0x3+parseInt(_0x271046(0x115))/0x4*(-parseInt(_0x271046(0x110))/0x5)+-parseInt(_0x271046(0x10c))/0x6+parseInt(_0x271046(0x112))/0x7+parseInt(_0x271046(0x103))/0x8*(-parseInt(_0x271046(0x11a))/0x9)+parseInt(_0x271046(0x10b))/0xa*(parseInt(_0x271046(0x11e))/0xb);if(_0x7c06d5===_0x4243d0)break;else _0x5de3d9['push'](_0x5de3d9['shift']());}catch(_0x545640){_0x5de3d9['push'](_0x5de3d9['shift']());}}}(a3_0x46e6,0xcf8e5));function a3_0x2c62(_0x1e25bf,_0x3f4c88){const _0x46e675=a3_0x46e6();return a3_0x2c62=function(_0x2c62ea,_0x4d388a){_0x2c62ea=_0x2c62ea-0x101;let _0x89eab=_0x46e675[_0x2c62ea];return _0x89eab;},a3_0x2c62(_0x1e25bf,_0x3f4c88);}function a3_0x46e6(){const _0x398780=['Component\x20unmounted.\x20Removing\x20AppState\x20listener','debug','15ULBdBn','2608962lsgsWq','8939084qwKOCy','AppState','responseCode','801616yPrQnL','current','useIapUserData','addEventListener','then','3857355jzLVGE','Calling\x20getUserData\x20API','Exception\x20while\x20calling\x20getUserData\x20','error','252659NJIfEh','App\x20comes\x20from\x20background\x20to\x20foreground.\x20Triggering\x20getUserData\x20API.','PurchasingService','UserDataResponseCode','useRef','98584xPpUEH','useIapUserData\x20Hook\x20called','change','SUCCESSFUL','FAILED','8SXhUkU','1yPEBaS','active','GetUserDataReqRespBaseModel','remove','defineProperty','useState','catch','1010hXMaev','5379378YHvHaR','IAPSDKLogger'];a3_0x46e6=function(){return _0x398780;};return a3_0x46e6();}Object[a3_0xe7123c(0x108)](exports,'__esModule',{'value':!![]}),exports[a3_0xe7123c(0x117)]=void 0x0;const react_native_kepler_1=require('@amazon-devices/react-native-kepler'),react_1=require('react'),IAPSDKLogger_1=require('../internal/logger/IAPSDKLogger'),GetUserDataReqRespBaseModel_1=require('../internal/operations/model/getUserData/GetUserDataReqRespBaseModel'),PurchasingService_1=require('../PurchasingService'),IAPTypes_1=require('../types/IAPTypes'),useIapUserData=_0x1e5fca=>{const _0x3903ca=a3_0xe7123c,[_0x364f8c,_0x470866]=(0x0,react_1['useState'])(),[_0xa4e32c,_0x5b7e99]=(0x0,react_1['useState'])(!![]),[_0x91c6,_0x47d9d1]=(0x0,react_1[_0x3903ca(0x109)])(![]),_0x76d495=(0x0,react_1[_0x3903ca(0x122)])();IAPSDKLogger_1[_0x3903ca(0x10d)][_0x3903ca(0x10f)](_0x3903ca(0x124));const _0x4dbe56=()=>{const _0x34b271=_0x3903ca;IAPSDKLogger_1[_0x34b271(0x10d)]['info'](_0x34b271(0x11b)),_0x5b7e99(!![]),PurchasingService_1[_0x34b271(0x120)]['getUserData'](_0x1e5fca)[_0x34b271(0x119)](_0x252328=>{const _0xe8bdc3=_0x34b271;_0x470866(_0x252328),_0x47d9d1(_0x252328[_0xe8bdc3(0x114)]!==IAPTypes_1[_0xe8bdc3(0x121)][_0xe8bdc3(0x101)]),_0x5b7e99(![]);})[_0x34b271(0x10a)](_0x57d960=>{const _0x3670e3=_0x34b271;IAPSDKLogger_1[_0x3670e3(0x10d)][_0x3670e3(0x11d)](_0x3670e3(0x11c)+_0x57d960),_0x470866(GetUserDataReqRespBaseModel_1[_0x3670e3(0x106)]['createNullResponse'](IAPTypes_1[_0x3670e3(0x121)][_0x3670e3(0x102)])),_0x47d9d1(!![]),_0x5b7e99(![]);});},_0x5a2a5d=_0x1bd867=>{const _0x127e16=_0x3903ca;let _0x4b9c0a;_0x5b7e99(_0x18cb96=>{return _0x4b9c0a=_0x18cb96,_0x18cb96;}),_0x1bd867===_0x127e16(0x105)&&_0x4b9c0a===![]?(IAPSDKLogger_1[_0x127e16(0x10d)][_0x127e16(0x10f)](_0x127e16(0x11f)),_0x4dbe56()):IAPSDKLogger_1[_0x127e16(0x10d)]['debug']('useIapUserData:\x20App\x20state\x20change\x20ignored:\x20'+_0x1bd867);};return(0x0,react_1['useEffect'])(()=>{const _0x26fa41=_0x3903ca;return _0x4dbe56(),_0x76d495[_0x26fa41(0x116)]=react_native_kepler_1[_0x26fa41(0x113)][_0x26fa41(0x118)](_0x26fa41(0x125),_0x5a2a5d),()=>{const _0x40ac6a=_0x26fa41;IAPSDKLogger_1[_0x40ac6a(0x10d)][_0x40ac6a(0x10f)](_0x40ac6a(0x10e)),_0x76d495[_0x40ac6a(0x116)]?.[_0x40ac6a(0x107)]();};},[]),{'iapUserDataLoading':_0xa4e32c,'iapUserDataError':_0x91c6,'iapUserData':_0x364f8c};};exports[a3_0xe7123c(0x117)]=useIapUserData;
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function a4_0x5dcf(){var _0x2d7cc7=['__createBinding','673590uzPdWN','303112ENAJxI','1125411NqqHKz','__esModule','call','PurchasingService','useIapUserData','default','203306CirzcO','__exportStar','9qgPFDW','45vbbFIX','1ihJvNP','defineProperty','getOwnPropertyDescriptor','useIapProductData','get','configurable','useIapPurchaseUpdates','hasOwnProperty','402843KjsrFJ','83476vTFCrm','77KWtQAR','1477950DeUMte'];a4_0x5dcf=function(){return _0x2d7cc7;};return a4_0x5dcf();}var a4_0x3ff0e5=a4_0x4318;function a4_0x4318(_0x1bb2d2,_0x37ada1){var _0x5dcfc3=a4_0x5dcf();return a4_0x4318=function(_0x4318a7,_0x2cfde6){_0x4318a7=_0x4318a7-0x111;var _0x5cd42d=_0x5dcfc3[_0x4318a7];return _0x5cd42d;},a4_0x4318(_0x1bb2d2,_0x37ada1);}(function(_0x1946d7,_0x23c57a){var _0x473946=a4_0x4318,_0x454621=_0x1946d7();while(!![]){try{var _0x254f9c=-parseInt(_0x473946(0x120))/0x1*(-parseInt(_0x473946(0x11c))/0x2)+-parseInt(_0x473946(0x128))/0x3+-parseInt(_0x473946(0x129))/0x4*(-parseInt(_0x473946(0x11f))/0x5)+parseInt(_0x473946(0x112))/0x6+parseInt(_0x473946(0x116))/0x7+parseInt(_0x473946(0x115))/0x8*(parseInt(_0x473946(0x11e))/0x9)+parseInt(_0x473946(0x114))/0xa*(-parseInt(_0x473946(0x111))/0xb);if(_0x254f9c===_0x23c57a)break;else _0x454621['push'](_0x454621['shift']());}catch(_0x59d124){_0x454621['push'](_0x454621['shift']());}}}(a4_0x5dcf,0x1f69b));var __createBinding=this&&this[a4_0x3ff0e5(0x113)]||(Object['create']?function(_0x5d455d,_0x2375f5,_0x5ddcd4,_0x30ecbb){var _0x5cfa4f=a4_0x3ff0e5;if(_0x30ecbb===undefined)_0x30ecbb=_0x5ddcd4;var _0x13b2e4=Object[_0x5cfa4f(0x122)](_0x2375f5,_0x5ddcd4);(!_0x13b2e4||(_0x5cfa4f(0x124)in _0x13b2e4?!_0x2375f5[_0x5cfa4f(0x117)]:_0x13b2e4['writable']||_0x13b2e4[_0x5cfa4f(0x125)]))&&(_0x13b2e4={'enumerable':!![],'get':function(){return _0x2375f5[_0x5ddcd4];}}),Object['defineProperty'](_0x5d455d,_0x30ecbb,_0x13b2e4);}:function(_0x468a95,_0x2402f4,_0xd38b75,_0x38d44e){if(_0x38d44e===undefined)_0x38d44e=_0xd38b75;_0x468a95[_0x38d44e]=_0x2402f4[_0xd38b75];}),__exportStar=this&&this[a4_0x3ff0e5(0x11d)]||function(_0x2b1b80,_0x4d29fb){var _0x5dc7ad=a4_0x3ff0e5;for(var _0x5cb54e in _0x2b1b80)if(_0x5cb54e!==_0x5dc7ad(0x11b)&&!Object['prototype'][_0x5dc7ad(0x127)][_0x5dc7ad(0x118)](_0x4d29fb,_0x5cb54e))__createBinding(_0x4d29fb,_0x2b1b80,_0x5cb54e);};Object[a4_0x3ff0e5(0x121)](exports,a4_0x3ff0e5(0x117),{'value':!![]}),exports[a4_0x3ff0e5(0x123)]=exports[a4_0x3ff0e5(0x126)]=exports['useIapUserData']=exports[a4_0x3ff0e5(0x119)]=void 0x0,__exportStar(require('./types/IAPTypes'),exports);var PurchasingService_1=require('./PurchasingService');Object[a4_0x3ff0e5(0x121)](exports,a4_0x3ff0e5(0x119),{'enumerable':!![],'get':function(){var _0x17f081=a4_0x3ff0e5;return PurchasingService_1[_0x17f081(0x119)];}});var useIapUserData_1=require('./hooks/useIapUserData');Object['defineProperty'](exports,a4_0x3ff0e5(0x11a),{'enumerable':!![],'get':function(){var _0x53def5=a4_0x3ff0e5;return useIapUserData_1[_0x53def5(0x11a)];}});var useIapPurchaseUpdates_1=require('./hooks/useIapPurchaseUpdates');Object[a4_0x3ff0e5(0x121)](exports,a4_0x3ff0e5(0x126),{'enumerable':!![],'get':function(){var _0x205a21=a4_0x3ff0e5;return useIapPurchaseUpdates_1[_0x205a21(0x126)];}});var useIapProductData_1=require('./hooks/useIapProductData');Object[a4_0x3ff0e5(0x121)](exports,a4_0x3ff0e5(0x123),{'enumerable':!![],'get':function(){var _0x3d2c8a=a4_0x3ff0e5;return useIapProductData_1[_0x3d2c8a(0x123)];}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function a5_0x9dc9(){const _0x46f436=['51KGajVr','default','defineProperty','24NDpNAO','179250WOGSAZ','12yxCYei','__esModule','1103445DhQtlf','TurboModuleRegistry','getEnforcing','11982212ZiQtKF','2020nGyFtK','4544568JklDTv','2888255zUeIgA','24ewtgXn','11729570VtYrDR','AppstoreIAPRequestHandlerModule','20ORbNNE'];a5_0x9dc9=function(){return _0x46f436;};return a5_0x9dc9();}const a5_0x4885a8=a5_0x3758;(function(_0x33abf8,_0x3f0104){const _0x536478=a5_0x3758,_0x10593f=_0x33abf8();while(!![]){try{const _0x3eb3d1=parseInt(_0x536478(0x1b6))/0x1*(-parseInt(_0x536478(0x1c1))/0x2)+-parseInt(_0x536478(0x1ba))/0x3*(-parseInt(_0x536478(0x1b5))/0x4)+-parseInt(_0x536478(0x1c3))/0x5*(-parseInt(_0x536478(0x1bb))/0x6)+parseInt(_0x536478(0x1c2))/0x7+-parseInt(_0x536478(0x1b9))/0x8*(parseInt(_0x536478(0x1bd))/0x9)+parseInt(_0x536478(0x1b3))/0xa+parseInt(_0x536478(0x1c0))/0xb*(-parseInt(_0x536478(0x1b2))/0xc);if(_0x3eb3d1===_0x3f0104)break;else _0x10593f['push'](_0x10593f['shift']());}catch(_0x36d2ef){_0x10593f['push'](_0x10593f['shift']());}}}(a5_0x9dc9,0xa59b4));function a5_0x3758(_0x46c52c,_0x24a8bc){const _0x9dc931=a5_0x9dc9();return a5_0x3758=function(_0x3758e7,_0x263350){_0x3758e7=_0x3758e7-0x1b2;let _0x4c7915=_0x9dc931[_0x3758e7];return _0x4c7915;},a5_0x3758(_0x46c52c,_0x24a8bc);}Object[a5_0x4885a8(0x1b8)](exports,a5_0x4885a8(0x1bc),{'value':!![]});const keplerscript_turbomodule_api_1=require('@amazon-devices/keplerscript-turbomodule-api');exports[a5_0x4885a8(0x1b7)]=keplerscript_turbomodule_api_1[a5_0x4885a8(0x1be)][a5_0x4885a8(0x1bf)](a5_0x4885a8(0x1b4));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a6_0xc88cd9=a6_0x5a64;(function(_0x2cc5ba,_0x131081){const _0x5ab378=a6_0x5a64,_0x5a3568=_0x2cc5ba();while(!![]){try{const _0x25eeec=-parseInt(_0x5ab378(0xa2))/0x1+-parseInt(_0x5ab378(0xa0))/0x2+-parseInt(_0x5ab378(0x8b))/0x3*(-parseInt(_0x5ab378(0x8f))/0x4)+-parseInt(_0x5ab378(0x87))/0x5*(-parseInt(_0x5ab378(0x83))/0x6)+parseInt(_0x5ab378(0xaa))/0x7*(-parseInt(_0x5ab378(0x91))/0x8)+parseInt(_0x5ab378(0x96))/0x9+-parseInt(_0x5ab378(0x9d))/0xa*(-parseInt(_0x5ab378(0x93))/0xb);if(_0x25eeec===_0x131081)break;else _0x5a3568['push'](_0x5a3568['shift']());}catch(_0x6e0eb7){_0x5a3568['push'](_0x5a3568['shift']());}}}(a6_0x4509,0xdb9fd));function a6_0x5a64(_0x531a84,_0x563ed7){const _0x4509b1=a6_0x4509();return a6_0x5a64=function(_0x5a6410,_0x428af7){_0x5a6410=_0x5a6410-0x7e;let _0x3018c5=_0x4509b1[_0x5a6410];return _0x3018c5;},a6_0x5a64(_0x531a84,_0x563ed7);}function a6_0x4509(){const _0x2f0545=['27482345fBWLCq','PurchasingManager','GetUserDataRequestHandler','10722519xEejkU','Received\x20the\x20request\x20for\x20getPurchaseUpdates\x20API','\x20for\x20API\x20requestUserProfileAccess','info','requestUserProfileAccess','getUserData','Received\x20the\x20request\x20for\x20userProfileAccess','10nQbuaT','__esModule','getProductData','3462416mbJFKS','getNewRequestId','1724794TghrxK','Received\x20the\x20request\x20for\x20getProductData\x20API','IAPSDKLogger','ModifySubscriptionRequestHandler','requestId\x20:\x20','getResultPromise','requestIdStr','purchase','70wQgaYH','notifyFulfillment','InternalModifySubscriptionResponseListener','Received\x20the\x20request\x20for\x20getUserData','Received\x20the\x20request\x20for\x20modifySubscription\x20API','purchasingManagerInstance','IAPSDKUtils','12804OsXINB','PurchaseRequestHandler','Created\x20a\x20new\x20Instance\x20for\x20Purchasing\x20Manager','GetProductDataRequestHandler','1385UWttJe','defineProperty','debug','getPurchaseUpdates','9osJlZF','GetPurchaseUpdatesRequestHandler','InternalPurchaseResponseListener','NotifyFulfillmentRequestHandler','1172692Wyelye','execute','643872FIwcbu','Received\x20the\x20request\x20for\x20notifyFulfillment\x20API'];a6_0x4509=function(){return _0x2f0545;};return a6_0x4509();}Object[a6_0xc88cd9(0x88)](exports,a6_0xc88cd9(0x9e),{'value':!![]}),exports['PurchasingManager']=void 0x0;const InternalModifySubscriptionResponseListener_1=require('./listeners/InternalModifySubscriptionResponseListener'),InternalPurchaseResponseListener_1=require('./listeners/InternalPurchaseResponseListener'),IAPSDKLogger_1=require('./logger/IAPSDKLogger'),GetProductDataRequestHandler_1=require('./operations/handler/getProductData/GetProductDataRequestHandler'),GetPurchaseUpdatesRequestHandler_1=require('./operations/handler/getPurchaseUpdates/GetPurchaseUpdatesRequestHandler'),GetUserDataRequestHandler_1=require('./operations/handler/getUserData/GetUserDataRequestHandler'),ModifySubscriptionRequestHandler_1=require('./operations/handler/modifySubscription/ModifySubscriptionRequestHandler'),NotifyFulfillmentRequestHandler_1=require('./operations/handler/notifyFulfillment/NotifyFulfillmentRequestHandler'),PurchaseRequestHandler_1=require('./operations/handler/purchase/PurchaseRequestHandler'),UserProfileAccessRequestHandler_1=require('./operations/handler/userProfileAccess/UserProfileAccessRequestHandler'),IAPSDKUtils_1=require('./utils/IAPSDKUtils');class PurchasingManager{static [a6_0xc88cd9(0x81)]=null;constructor(){}static['getInstance'](){const _0x3d6bc4=a6_0xc88cd9;return PurchasingManager[_0x3d6bc4(0x81)]==null&&(IAPSDKLogger_1[_0x3d6bc4(0xa4)]['debug'](_0x3d6bc4(0x85)),PurchasingManager['purchasingManagerInstance']=new PurchasingManager()),PurchasingManager['purchasingManagerInstance'];}[a6_0xc88cd9(0x9b)](_0x119dbb){const _0x4f4057=a6_0xc88cd9;IAPSDKLogger_1['IAPSDKLogger']['info'](_0x4f4057(0x7f));const _0x3f6a33=IAPSDKUtils_1[_0x4f4057(0x82)][_0x4f4057(0xa1)]();return IAPSDKLogger_1[_0x4f4057(0xa4)]['info'](_0x4f4057(0xa6)+_0x3f6a33[_0x4f4057(0xa8)]),new GetUserDataRequestHandler_1[(_0x4f4057(0x95))](_0x119dbb,_0x3f6a33)[_0x4f4057(0x90)]();}[a6_0xc88cd9(0x9f)](_0x354440){const _0x7a8467=a6_0xc88cd9;IAPSDKLogger_1[_0x7a8467(0xa4)][_0x7a8467(0x99)](_0x7a8467(0xa3));const _0x1e6b81=IAPSDKUtils_1[_0x7a8467(0x82)]['getNewRequestId']();return IAPSDKLogger_1['IAPSDKLogger'][_0x7a8467(0x99)](_0x7a8467(0xa6)+_0x1e6b81[_0x7a8467(0xa8)]),new GetProductDataRequestHandler_1[(_0x7a8467(0x86))](_0x354440,_0x1e6b81)[_0x7a8467(0x90)]();}[a6_0xc88cd9(0xab)](_0x455b09){const _0x554074=a6_0xc88cd9;IAPSDKLogger_1[_0x554074(0xa4)][_0x554074(0x99)](_0x554074(0x92));const _0x5eb99f=IAPSDKUtils_1[_0x554074(0x82)][_0x554074(0xa1)]();return IAPSDKLogger_1[_0x554074(0xa4)][_0x554074(0x99)]('requestId\x20:\x20'+_0x5eb99f[_0x554074(0xa8)]),new NotifyFulfillmentRequestHandler_1[(_0x554074(0x8e))](_0x455b09,_0x5eb99f)[_0x554074(0x90)]();}[a6_0xc88cd9(0x8a)](_0x6c2341){const _0x226796=a6_0xc88cd9;IAPSDKLogger_1[_0x226796(0xa4)][_0x226796(0x99)](_0x226796(0x97));const _0x35ffd5=IAPSDKUtils_1[_0x226796(0x82)][_0x226796(0xa1)]();return IAPSDKLogger_1[_0x226796(0xa4)][_0x226796(0x99)](_0x226796(0xa6)+_0x35ffd5[_0x226796(0xa8)]),new GetPurchaseUpdatesRequestHandler_1[(_0x226796(0x8c))](_0x6c2341,_0x35ffd5)[_0x226796(0x90)]();}[a6_0xc88cd9(0xa9)](_0x70f485){const _0x599c96=a6_0xc88cd9;IAPSDKLogger_1['IAPSDKLogger'][_0x599c96(0x99)]('Received\x20the\x20request\x20for\x20purchase\x20API');const _0x4f68fa=new InternalPurchaseResponseListener_1[(_0x599c96(0x8d))](),_0x4ed33a=IAPSDKUtils_1[_0x599c96(0x82)]['getNewRequestId']();return IAPSDKLogger_1[_0x599c96(0xa4)][_0x599c96(0x99)](_0x599c96(0xa6)+_0x4ed33a[_0x599c96(0xa8)]),void new PurchaseRequestHandler_1[(_0x599c96(0x84))](_0x70f485,_0x4ed33a,_0x4f68fa)[_0x599c96(0x90)](),_0x4f68fa[_0x599c96(0xa7)]();}['modifySubscription'](_0x276959){const _0x20ad53=a6_0xc88cd9;IAPSDKLogger_1['IAPSDKLogger'][_0x20ad53(0x99)](_0x20ad53(0x80));const _0x3e79f7=new InternalModifySubscriptionResponseListener_1[(_0x20ad53(0x7e))](),_0x5eb2e1=IAPSDKUtils_1[_0x20ad53(0x82)]['getNewRequestId']();return IAPSDKLogger_1[_0x20ad53(0xa4)][_0x20ad53(0x99)]('requestId\x20:\x20'+_0x5eb2e1[_0x20ad53(0xa8)]),void new ModifySubscriptionRequestHandler_1[(_0x20ad53(0xa5))](_0x276959,_0x5eb2e1,_0x3e79f7)[_0x20ad53(0x90)](),_0x3e79f7[_0x20ad53(0xa7)]();}[a6_0xc88cd9(0x9a)](){const _0x1414af=a6_0xc88cd9;IAPSDKLogger_1[_0x1414af(0xa4)][_0x1414af(0x89)](_0x1414af(0x9c));const _0x1538a8=IAPSDKUtils_1[_0x1414af(0x82)][_0x1414af(0xa1)]();return IAPSDKLogger_1[_0x1414af(0xa4)][_0x1414af(0x99)](_0x1414af(0xa6)+_0x1538a8[_0x1414af(0xa8)]+_0x1414af(0x98)),new UserProfileAccessRequestHandler_1['UserProfileAccessRequestHandler'](_0x1538a8)[_0x1414af(0x90)]();}}exports[a6_0xc88cd9(0x94)]=PurchasingManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var a7_0x2c5845=a7_0x1a5a;(function(_0x15bd66,_0x4c7834){var _0x1ab39e=a7_0x1a5a,_0x471661=_0x15bd66();while(!![]){try{var _0x5bb825=-parseInt(_0x1ab39e(0x120))/0x1+-parseInt(_0x1ab39e(0xc6))/0x2*(parseInt(_0x1ab39e(0xed))/0x3)+-parseInt(_0x1ab39e(0x134))/0x4*(-parseInt(_0x1ab39e(0xcd))/0x5)+-parseInt(_0x1ab39e(0x109))/0x6*(parseInt(_0x1ab39e(0xb7))/0x7)+-parseInt(_0x1ab39e(0xe3))/0x8*(-parseInt(_0x1ab39e(0x137))/0x9)+parseInt(_0x1ab39e(0xff))/0xa+parseInt(_0x1ab39e(0xcf))/0xb;if(_0x5bb825===_0x4c7834)break;else _0x471661['push'](_0x471661['shift']());}catch(_0x1510a3){_0x471661['push'](_0x471661['shift']());}}}(a7_0x4579,0x5d22f));Object[a7_0x2c5845(0x11a)](exports,a7_0x2c5845(0x114),{'value':!![]}),exports['IAPSDKConstants']=void 0x0;function a7_0x4579(){var _0x48d5fc=['promotionType','priceJson','KEY_V2_REQUEST_PAYLOAD','defineProperty','SAMPLE_PACKAGE_NAME','ZERO_STRING','KEY_SIGNATURE','promotionPriceCycles','packageName','387600oGlPpu','validationStatus','KEY_PROMOTIONS_PRICE_CYCLES','skus','KEY_RECEIPTS','userId','KEY_AUTH_CODE_FOR_USER_PROFILE_ACCESS','response_received','KEY_PROMOTIONS_PRICE','cancelDateEpoch','KEY_PRODUCT_TYPE','fulfillmentResult','KEY_URL','KEY_SKUS','KEY_TERM_SKU','reset','responseStatus','modify_subscription','KEY_RECEIPT_DELIVERED','OPERATION_NAME_MODIFY_SUBSCRIPTION_RESPONSE','1676aDXIev','OPERATION_NAME_PURCHASE','signature','9wKGrwM','description','KEY_RESPONSE','authCodeForUserProfileAccess','70gsUEVq','PURCHASE_EVENT','KEY_PURCHASE_DATE_EPOCH','fulfillmentStatus','purchaseEvent','promotionPriceJson','sdkVersion','KEY_HAS_MORE','KEY_CURRENCY','KEY_RECEIPT','prorationMode','KEY_DEVICE_ID','cursor','KEY_RECEIPT_ID','iconUrl','1479802JNXIFB','KEY_VALUE_IN_MICROS','KEY_REQUEST_ID','OPERATION_NAME_GET_PURCHASE_UPDATES','purchaseItemIntent','hasMore','KEY_CURSOR_V2','3165DJGKDF','purchase_fulfilled','12794254TAUOeb','KEY_ICON_URL','KEY_RESPONSE_STATUS','KEY_CURSOR','OPERATION_NAME_RESPONSE_RECEIVED','OPERATION_NAME_GET_AUTH_CODE_FOR_USER_PROFILE_ACCESS','KEY_SKU','promotions','FAILURE','OPERATION_NAME_MODIFY_SUBSCRIPTION','deviceId','KEY_V3_VERSION','KEY_PURCHASE_UI_INFO','KEY_PROMOTIONS_PRICE_PERIOD','LWA_CONSENT_STATUS_UNAVAILABLE','SDK_VERSION','KEY_IAP_RECEIPT_TYPE','title','getItem_data','SUCCESS','4098368vxlCaU','KEY_VERSION','KEY_PRICE','KEY_CANCEL_DATE_EPOCH','version','price','KEY_SUBSCRIPTION_PERIOD','KEY_MARKETPLACE','itemType','KEY_RESET','3bkltSZ','IAPSDKConstants','ALREADY_ENTITLED','KEY_TITLE','receiptDelivered','purchase_response','KEY_FULFILLMENT_STATUS','cursor_v2','fetchLwaConsentStatus','KEY_SDK_VERSION','deferredDateEpoch','subscriptionPeriod','get_userId','KEY_DEFERRED_DATE_EPOCH','KEY_RECEIPT_IDS','KEY_DEFERRED_SKU','OPERATION_NAME_GET_PRODUCT_DATA','OPERATION_NAME_GET_USER_DATA','809810XPMBAA','KEY_ORDER_STATUS','modifySubscriptionIntent','KEY_RESPONSE_VERSION','KEY_REQUEST_PAYLOAD','com.amazon.sampleapp','KEY_OPERATION_NAME','KEY_FREE_TRIAL_PERIOD','value','KEY_DESCRIPTION','307578YYDhEl','LAUNCH_UI_EVENT','KEY_PACKAGE_NAME','KEY_NOTIFY_LISTENER_SUCCEEDED','OPERATION_NAME_PURCHASE_RESPONSE','get_authCodeForUserProfileAccess','DELIVERED','KEY_VALIDATION_STATUS','url','promotionPricePeriod','deferredSku','__esModule','notifyListenerSucceeded','requestId'];a7_0x4579=function(){return _0x48d5fc;};return a7_0x4579();}function a7_0x1a5a(_0x41fba2,_0x56d2c8){var _0x457998=a7_0x4579();return a7_0x1a5a=function(_0x1a5a31,_0x3e3a3f){_0x1a5a31=_0x1a5a31-0xb5;var _0x128fef=_0x457998[_0x1a5a31];return _0x128fef;},a7_0x1a5a(_0x41fba2,_0x56d2c8);}class IAPSDKConstants{static [a7_0x2c5845(0xde)]='V2';static [a7_0x2c5845(0xb8)]=a7_0x2c5845(0xbb);static [a7_0x2c5845(0x10a)]='launchUIEvent';static [a7_0x2c5845(0x11b)]=a7_0x2c5845(0x104);static [a7_0x2c5845(0x12c)]=a7_0x2c5845(0x111);static [a7_0x2c5845(0xfe)]=a7_0x2c5845(0xf9);static [a7_0x2c5845(0xfd)]=a7_0x2c5845(0xe1);static [a7_0x2c5845(0xc9)]='purchase_updates';static ['OPERATION_NAME_NOTIFY_FULFILLMENT']=a7_0x2c5845(0xce);static [a7_0x2c5845(0x135)]='purchase_item';static [a7_0x2c5845(0x10d)]=a7_0x2c5845(0xf2);static [a7_0x2c5845(0xd8)]=a7_0x2c5845(0x131);static [a7_0x2c5845(0x133)]='modify_subscription_response';static [a7_0x2c5845(0xd3)]=a7_0x2c5845(0x127);static [a7_0x2c5845(0xe2)]=a7_0x2c5845(0xe2);static ['FAILURE']=a7_0x2c5845(0xd7);static [a7_0x2c5845(0x10f)]=a7_0x2c5845(0x10f);static [a7_0x2c5845(0xef)]='ALREADY_ENTITLED';static [a7_0x2c5845(0xd4)]=a7_0x2c5845(0x10e);static [a7_0x2c5845(0xf6)]=a7_0x2c5845(0xbd);static ['KEY_V2_VERSION']='V2';static [a7_0x2c5845(0xda)]='V3';static [a7_0x2c5845(0x102)]='responseVersion';static [a7_0x2c5845(0x105)]='name';static [a7_0x2c5845(0xc8)]=a7_0x2c5845(0x116);static [a7_0x2c5845(0x10b)]=a7_0x2c5845(0x11f);static [a7_0x2c5845(0xe4)]=a7_0x2c5845(0xe7);static [a7_0x2c5845(0x103)]='requestPayload';static [a7_0x2c5845(0x119)]='V2';static [a7_0x2c5845(0xb5)]='response';static [a7_0x2c5845(0xd1)]=a7_0x2c5845(0x130);static ['KEY_USER_ID']=a7_0x2c5845(0x125);static [a7_0x2c5845(0xea)]='marketplace';static ['KEY_COUNTRY_CODE']='countryCode';static ['KEY_LWA_CONSENT_STATUS']='lwaConsentStatus';static ['KEY_FETCH_LWA_CONSENT_STATUS']=a7_0x2c5845(0xf5);static [a7_0x2c5845(0xdd)]='UNAVAILABLE';static [a7_0x2c5845(0x12a)]=a7_0x2c5845(0xeb);static [a7_0x2c5845(0x108)]=a7_0x2c5845(0x138);static [a7_0x2c5845(0xe5)]=a7_0x2c5845(0xe8);static ['KEY_PRICE_JSON']=a7_0x2c5845(0x118);static [a7_0x2c5845(0xbf)]='currency';static [a7_0x2c5845(0xc7)]=a7_0x2c5845(0x107);static [a7_0x2c5845(0xf0)]=a7_0x2c5845(0xe0);static [a7_0x2c5845(0xd0)]=a7_0x2c5845(0xc5);static ['KEY_COINS_REWARD_AMOUNT']='coinsRewardAmount';static [a7_0x2c5845(0x12d)]=a7_0x2c5845(0x123);static [a7_0x2c5845(0xc4)]='receiptId';static [a7_0x2c5845(0xfb)]='receiptIds';static ['KEY_FULFILLMENT_RESULT']=a7_0x2c5845(0x12b);static [a7_0x2c5845(0xf3)]=a7_0x2c5845(0xba);static [a7_0x2c5845(0x110)]=a7_0x2c5845(0x121);static [a7_0x2c5845(0xec)]=a7_0x2c5845(0x12f);static [a7_0x2c5845(0xd2)]=a7_0x2c5845(0xc3);static [a7_0x2c5845(0xcc)]=a7_0x2c5845(0xf4);static [a7_0x2c5845(0xc0)]='receipt';static [a7_0x2c5845(0x124)]='receipts';static [a7_0x2c5845(0xbe)]=a7_0x2c5845(0xcb);static [a7_0x2c5845(0xdf)]='iapReceiptType';static [a7_0x2c5845(0xc2)]=a7_0x2c5845(0xd9);static [a7_0x2c5845(0x11d)]=a7_0x2c5845(0x136);static [a7_0x2c5845(0xd5)]='sku';static [a7_0x2c5845(0x12e)]='termSku';static [a7_0x2c5845(0xfc)]=a7_0x2c5845(0x113);static [a7_0x2c5845(0xb9)]='purchaseDateEpoch';static [a7_0x2c5845(0xe6)]=a7_0x2c5845(0x129);static [a7_0x2c5845(0xfa)]=a7_0x2c5845(0xf7);static [a7_0x2c5845(0xdb)]=a7_0x2c5845(0xca);static [a7_0x2c5845(0x132)]=a7_0x2c5845(0xf1);static [a7_0x2c5845(0x10c)]=a7_0x2c5845(0x115);static ['KEY_PRORATION_MODE']=a7_0x2c5845(0xc1);static ['KEY_MODIFY_SUBSCRIPTION_UI_INFO']=a7_0x2c5845(0x101);static [a7_0x2c5845(0x106)]='freeTrialPeriod';static [a7_0x2c5845(0xe9)]=a7_0x2c5845(0xf8);static ['KEY_PROMOTIONS']=a7_0x2c5845(0xd6);static ['KEY_PROMOTIONS_TYPE']=a7_0x2c5845(0x117);static ['KEY_PROMOTIONS_PLANS']='promotionPlans';static [a7_0x2c5845(0x128)]='promotionPrice';static ['KEY_PROMOTIONS_PRICE_JSON']=a7_0x2c5845(0xbc);static [a7_0x2c5845(0xdc)]=a7_0x2c5845(0x112);static [a7_0x2c5845(0x122)]=a7_0x2c5845(0x11e);static [a7_0x2c5845(0x100)]='orderStatus';static [a7_0x2c5845(0x126)]=a7_0x2c5845(0xb6);static ['EMPTY_STRING']='';static [a7_0x2c5845(0x11c)]='0';}exports[a7_0x2c5845(0xee)]=IAPSDKConstants;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';var a8_0x445a81=a8_0x1ec2;(function(_0x55ee17,_0x1686de){var _0x1c4980=a8_0x1ec2,_0x4f0e4f=_0x55ee17();while(!![]){try{var _0x154f67=parseInt(_0x1c4980(0x94))/0x1*(parseInt(_0x1c4980(0x97))/0x2)+-parseInt(_0x1c4980(0x93))/0x3*(parseInt(_0x1c4980(0x95))/0x4)+parseInt(_0x1c4980(0x9e))/0x5+-parseInt(_0x1c4980(0x99))/0x6+parseInt(_0x1c4980(0x9b))/0x7+-parseInt(_0x1c4980(0x9d))/0x8*(parseInt(_0x1c4980(0x98))/0x9)+parseInt(_0x1c4980(0x9c))/0xa;if(_0x154f67===_0x1686de)break;else _0x4f0e4f['push'](_0x4f0e4f['shift']());}catch(_0x398bd6){_0x4f0e4f['push'](_0x4f0e4f['shift']());}}}(a8_0x4e93,0x99fe6));function a8_0x4e93(){var _0xd3e6be=['PurchaseUpdatesAckResponseCode','393cRrGQE','1VeCyWl','22208wCMxfq','FAILED','1037206Dpjitt','9LIMIXX','1088142VESswE','__esModule','6490260xvqRjE','7676390VhIASp','8743704IFSRKh','2094840XTObTr','SUCCESSFUL'];a8_0x4e93=function(){return _0xd3e6be;};return a8_0x4e93();}function a8_0x1ec2(_0x1dea65,_0x36dd45){var _0x4e93e5=a8_0x4e93();return a8_0x1ec2=function(_0x1ec291,_0x2c4f44){_0x1ec291=_0x1ec291-0x92;var _0x41b473=_0x4e93e5[_0x1ec291];return _0x41b473;},a8_0x1ec2(_0x1dea65,_0x36dd45);}Object['defineProperty'](exports,a8_0x445a81(0x9a),{'value':!![]}),exports['BasicAckResponseCode']=exports[a8_0x445a81(0x92)]=void 0x0;var PurchaseUpdatesAckResponseCode;(function(_0x11866e){var _0xc0a890=a8_0x445a81;_0x11866e[_0x11866e[_0xc0a890(0x9f)]=0x1]=_0xc0a890(0x9f),_0x11866e[_0x11866e['FAILED']=0x2]=_0xc0a890(0x96);}(PurchaseUpdatesAckResponseCode=exports[a8_0x445a81(0x92)]||(exports['PurchaseUpdatesAckResponseCode']={})));var BasicAckResponseCode;(function(_0x32eeac){var _0x1ced0a=a8_0x445a81;_0x32eeac[_0x32eeac[_0x1ced0a(0x9f)]=0x1]=_0x1ced0a(0x9f),_0x32eeac[_0x32eeac[_0x1ced0a(0x96)]=0x2]=_0x1ced0a(0x96);}(BasicAckResponseCode=exports['BasicAckResponseCode']||(exports['BasicAckResponseCode']={})));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';function a9_0x1712(){var _0x5b1313=['IResponseListener','204yltpea','520558WvPWVB','11268528Fjckhy','20CzjCEh','126610YOivqM','704022OzIBcA','__esModule','1017lSSpcU','1268840FuxROq','1544049huVRwd','5547486rRXMDn','2IKBEtl','7HbJJzs'];a9_0x1712=function(){return _0x5b1313;};return a9_0x1712();}var a9_0x15776f=a9_0x5933;function a9_0x5933(_0x39a910,_0x2d4675){var _0x17125c=a9_0x1712();return a9_0x5933=function(_0x5933de,_0x5e6cbd){_0x5933de=_0x5933de-0x121;var _0x5e8a65=_0x17125c[_0x5933de];return _0x5e8a65;},a9_0x5933(_0x39a910,_0x2d4675);}(function(_0x3a8273,_0x3cbb14){var _0x378220=a9_0x5933,_0x279a05=_0x3a8273();while(!![]){try{var _0x4dc22c=parseInt(_0x378220(0x124))/0x1*(-parseInt(_0x378220(0x128))/0x2)+parseInt(_0x378220(0x122))/0x3+parseInt(_0x378220(0x12a))/0x4*(-parseInt(_0x378220(0x121))/0x5)+-parseInt(_0x378220(0x123))/0x6*(-parseInt(_0x378220(0x125))/0x7)+parseInt(_0x378220(0x129))/0x8+-parseInt(_0x378220(0x12e))/0x9*(parseInt(_0x378220(0x12b))/0xa)+-parseInt(_0x378220(0x12c))/0xb*(-parseInt(_0x378220(0x127))/0xc);if(_0x4dc22c===_0x3cbb14)break;else _0x279a05['push'](_0x279a05['shift']());}catch(_0x37ecd1){_0x279a05['push'](_0x279a05['shift']());}}}(a9_0x1712,0xaebfd));Object['defineProperty'](exports,a9_0x15776f(0x12d),{'value':!![]}),exports['IResponseListener']=void 0x0;class IResponseListener{}exports[a9_0x15776f(0x126)]=IResponseListener;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a10_0xd2833c=a10_0x4fcc;function a10_0x1274(){const _0x2192b7=['defineProperty','resolvePromise','ModifySubscriptionResponseListener','InternalModifySubscriptionResponseListener','941136oJXEhm','resultPromise','getResultPromise','942198eJQUnj','4869055HOISrp','6061392ZsWYcK','2123458hiOGNK','358050AKdUUq','54ANMZgW','12rOUyMF','onModifySubscriptionResponse','20707479aebLuG'];a10_0x1274=function(){return _0x2192b7;};return a10_0x1274();}function a10_0x4fcc(_0x11b32a,_0x3c0681){const _0x127423=a10_0x1274();return a10_0x4fcc=function(_0x4fcccd,_0x1f27f2){_0x4fcccd=_0x4fcccd-0x1c1;let _0x2e2f55=_0x127423[_0x4fcccd];return _0x2e2f55;},a10_0x4fcc(_0x11b32a,_0x3c0681);}(function(_0x224eff,_0x19e9e6){const _0x5ac5fc=a10_0x4fcc,_0xc9da5b=_0x224eff();while(!![]){try{const _0x5c0fd3=-parseInt(_0x5ac5fc(0x1c9))/0x1+-parseInt(_0x5ac5fc(0x1cf))/0x2+parseInt(_0x5ac5fc(0x1cc))/0x3*(parseInt(_0x5ac5fc(0x1c2))/0x4)+-parseInt(_0x5ac5fc(0x1cd))/0x5+parseInt(_0x5ac5fc(0x1c1))/0x6*(-parseInt(_0x5ac5fc(0x1d0))/0x7)+parseInt(_0x5ac5fc(0x1ce))/0x8+parseInt(_0x5ac5fc(0x1c4))/0x9;if(_0x5c0fd3===_0x19e9e6)break;else _0xc9da5b['push'](_0xc9da5b['shift']());}catch(_0x3d4575){_0xc9da5b['push'](_0xc9da5b['shift']());}}}(a10_0x1274,0x899dd));Object[a10_0xd2833c(0x1c5)](exports,'__esModule',{'value':!![]}),exports[a10_0xd2833c(0x1c8)]=void 0x0;const ModifySubscriptionResponseListener_1=require('./ModifySubscriptionResponseListener');class InternalModifySubscriptionResponseListener extends ModifySubscriptionResponseListener_1[a10_0xd2833c(0x1c7)]{[a10_0xd2833c(0x1ca)];[a10_0xd2833c(0x1c6)];constructor(){const _0x359234=a10_0xd2833c;super(),this[_0x359234(0x1ca)]=new Promise((_0x430ab7,_0x190ba4)=>{this['resolvePromise']=_0x430ab7;});}[a10_0xd2833c(0x1c3)](_0x31154c){const _0x149bae=a10_0xd2833c;this[_0x149bae(0x1c6)](_0x31154c);}[a10_0xd2833c(0x1cb)](){const _0xcd7207=a10_0xd2833c;return this[_0xcd7207(0x1ca)];}}exports[a10_0xd2833c(0x1c8)]=InternalModifySubscriptionResponseListener;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';const a11_0x3c7214=a11_0x35e3;function a11_0x4b96(){const _0xf967fb=['1270512brWhcv','7895mMotxf','resultPromise','resolvePromise','612BkAaZZ','106044xoLyck','getResultPromise','__esModule','404392HpYPgQ','975380upbGxm','11693hvZsXO','63fyynTe','InternalPurchaseResponseListener','defineProperty','28lrABYb','622442kqgVLj','onPurchaseResponse','2680MLGNxp'];a11_0x4b96=function(){return _0xf967fb;};return a11_0x4b96();}(function(_0x5d7a88,_0x33be71){const _0x37b867=a11_0x35e3,_0x1b2d17=_0x5d7a88();while(!![]){try{const _0x33d8e3=parseInt(_0x37b867(0x91))/0x1+-parseInt(_0x37b867(0x97))/0x2+-parseInt(_0x37b867(0x93))/0x3*(parseInt(_0x37b867(0x8d))/0x4)+parseInt(_0x37b867(0x9b))/0x5*(parseInt(_0x37b867(0x8c))/0x6)+-parseInt(_0x37b867(0x96))/0x7*(parseInt(_0x37b867(0x90))/0x8)+parseInt(_0x37b867(0x9a))/0x9+-parseInt(_0x37b867(0x99))/0xa*(-parseInt(_0x37b867(0x92))/0xb);if(_0x33d8e3===_0x33be71)break;else _0x1b2d17['push'](_0x1b2d17['shift']());}catch(_0x5d5e09){_0x1b2d17['push'](_0x1b2d17['shift']());}}}(a11_0x4b96,0x78336));Object[a11_0x3c7214(0x95)](exports,a11_0x3c7214(0x8f),{'value':!![]}),exports['InternalPurchaseResponseListener']=void 0x0;const PurchaseResponseListener_1=require('./PurchaseResponseListener');function a11_0x35e3(_0x1682dd,_0x44c911){const _0x4b9632=a11_0x4b96();return a11_0x35e3=function(_0x35e337,_0x312576){_0x35e337=_0x35e337-0x8a;let _0x2e44fd=_0x4b9632[_0x35e337];return _0x2e44fd;},a11_0x35e3(_0x1682dd,_0x44c911);}class InternalPurchaseResponseListener extends PurchaseResponseListener_1['PurchaseResponseListener']{[a11_0x3c7214(0x8a)];[a11_0x3c7214(0x8b)];constructor(){const _0xef63cc=a11_0x3c7214;super(),this[_0xef63cc(0x8a)]=new Promise((_0x5b9cfe,_0x14fdad)=>{const _0x13fb88=_0xef63cc;this[_0x13fb88(0x8b)]=_0x5b9cfe;});}[a11_0x3c7214(0x98)](_0x42fd64){const _0x3af2a4=a11_0x3c7214;this[_0x3af2a4(0x8b)](_0x42fd64);}[a11_0x3c7214(0x8e)](){const _0x50cca1=a11_0x3c7214;return this[_0x50cca1(0x8a)];}}exports[a11_0x3c7214(0x94)]=InternalPurchaseResponseListener;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a12_0x4d7bac=a12_0x2537;function a12_0x2537(_0x2c29da,_0x11dd47){const _0x3d7c59=a12_0x3d7c();return a12_0x2537=function(_0x2537b5,_0x4d17af){_0x2537b5=_0x2537b5-0x97;let _0x1b0434=_0x3d7c59[_0x2537b5];return _0x1b0434;},a12_0x2537(_0x2c29da,_0x11dd47);}(function(_0x2f6ec0,_0x556883){const _0x27f20b=a12_0x2537,_0x1d864c=_0x2f6ec0();while(!![]){try{const _0x272ea5=-parseInt(_0x27f20b(0xa0))/0x1*(-parseInt(_0x27f20b(0x9d))/0x2)+-parseInt(_0x27f20b(0x9e))/0x3+-parseInt(_0x27f20b(0x9b))/0x4+parseInt(_0x27f20b(0x98))/0x5+-parseInt(_0x27f20b(0x9f))/0x6+parseInt(_0x27f20b(0x9c))/0x7+parseInt(_0x27f20b(0xa2))/0x8;if(_0x272ea5===_0x556883)break;else _0x1d864c['push'](_0x1d864c['shift']());}catch(_0x5b88e3){_0x1d864c['push'](_0x1d864c['shift']());}}}(a12_0x3d7c,0xbf390));Object[a12_0x4d7bac(0x9a)](exports,a12_0x4d7bac(0x97),{'value':!![]}),exports[a12_0x4d7bac(0xa1)]=void 0x0;const IResponseListener_1=require('./IResponseListener');function a12_0x3d7c(){const _0x12a059=['3484490QYIwMv','IResponseListener','defineProperty','5653108ldHnGK','1296113NvwOjG','1002dClRux','881469WlLDLY','2698386NmVqlP','2263cPXOTz','ModifySubscriptionResponseListener','7394072TorVnf','__esModule'];a12_0x3d7c=function(){return _0x12a059;};return a12_0x3d7c();}class ModifySubscriptionResponseListener extends IResponseListener_1[a12_0x4d7bac(0x99)]{}exports['ModifySubscriptionResponseListener']=ModifySubscriptionResponseListener;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function a13_0x2a08(){const _0x3851de=['PurchaseResponseListener','IResponseListener','4983903LUbcoQ','3JQTEaD','1472114wzYxYi','61122vOANxr','970034BaosXY','1601408zLOgKe','10fLgluJ','303230IDMERo','4202016PSTIkW','190ZQNPvH'];a13_0x2a08=function(){return _0x3851de;};return a13_0x2a08();}function a13_0x4394(_0x8b73c2,_0x2f1b45){const _0x2a0899=a13_0x2a08();return a13_0x4394=function(_0x4394f4,_0x137772){_0x4394f4=_0x4394f4-0x81;let _0x576c33=_0x2a0899[_0x4394f4];return _0x576c33;},a13_0x4394(_0x8b73c2,_0x2f1b45);}const a13_0x303453=a13_0x4394;(function(_0x599852,_0x45e715){const _0x52dc45=a13_0x4394,_0x418fee=_0x599852();while(!![]){try{const _0x4e8560=parseInt(_0x52dc45(0x81))/0x1+parseInt(_0x52dc45(0x8a))/0x2+parseInt(_0x52dc45(0x87))/0x3*(parseInt(_0x52dc45(0x8b))/0x4)+-parseInt(_0x52dc45(0x83))/0x5*(-parseInt(_0x52dc45(0x89))/0x6)+-parseInt(_0x52dc45(0x88))/0x7+-parseInt(_0x52dc45(0x82))/0x8+-parseInt(_0x52dc45(0x86))/0x9*(parseInt(_0x52dc45(0x8c))/0xa);if(_0x4e8560===_0x45e715)break;else _0x418fee['push'](_0x418fee['shift']());}catch(_0x5169ce){_0x418fee['push'](_0x418fee['shift']());}}}(a13_0x2a08,0x45eb0));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['PurchaseResponseListener']=void 0x0;const IResponseListener_1=require('./IResponseListener');class PurchaseResponseListener extends IResponseListener_1[a13_0x303453(0x85)]{}exports[a13_0x303453(0x84)]=PurchaseResponseListener;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var a14_0x292338=a14_0x2b18;(function(_0x4febfb,_0x5d2a4c){var _0x188957=a14_0x2b18,_0x269a71=_0x4febfb();while(!![]){try{var _0x58a83a=-parseInt(_0x188957(0xb3))/0x1*(-parseInt(_0x188957(0xc3))/0x2)+parseInt(_0x188957(0xb2))/0x3+-parseInt(_0x188957(0xb1))/0x4+-parseInt(_0x188957(0xb4))/0x5*(parseInt(_0x188957(0xbf))/0x6)+-parseInt(_0x188957(0xc0))/0x7*(parseInt(_0x188957(0xc4))/0x8)+-parseInt(_0x188957(0xbc))/0x9*(-parseInt(_0x188957(0xc2))/0xa)+-parseInt(_0x188957(0xb5))/0xb;if(_0x58a83a===_0x5d2a4c)break;else _0x269a71['push'](_0x269a71['shift']());}catch(_0x157839){_0x269a71['push'](_0x269a71['shift']());}}}(a14_0x5801,0x1cf91));function a14_0x2b18(_0x443c33,_0x272a24){var _0x5801d1=a14_0x5801();return a14_0x2b18=function(_0x2b1851,_0x14ebf1){_0x2b1851=_0x2b1851-0xb1;var _0x74054f=_0x5801d1[_0x2b1851];return _0x74054f;},a14_0x2b18(_0x443c33,_0x272a24);}function a14_0x5801(){var _0xb07d72=['1143SvnDvW','error','info','6234XmyImR','80871FFinBS','[AmazonIAPSDK]\x20','8530xwwaTB','188iqanPA','40ziVRyk','700040mowwPd','576861CulKBK','1622dxnbPh','455thtCBD','77979OhaBSe','warn','LOGGER_TAG','__esModule','debug','defineProperty','IAPSDKLogger'];a14_0x5801=function(){return _0xb07d72;};return a14_0x5801();}Object[a14_0x292338(0xba)](exports,a14_0x292338(0xb8),{'value':!![]}),exports[a14_0x292338(0xbb)]=void 0x0;class IAPSDKLogger{static [a14_0x292338(0xb7)]=a14_0x292338(0xc1);static[a14_0x292338(0xb9)](_0x5e8ed5){var _0x3f0404=a14_0x292338;console[_0x3f0404(0xb9)](IAPSDKLogger[_0x3f0404(0xb7)]+_0x5e8ed5);}static[a14_0x292338(0xbe)](_0x2ab1f4){var _0x35d546=a14_0x292338;console[_0x35d546(0xbe)](IAPSDKLogger[_0x35d546(0xb7)]+_0x2ab1f4);}static[a14_0x292338(0xbd)](_0x1f634a){var _0x70af4e=a14_0x292338;console[_0x70af4e(0xbd)](IAPSDKLogger[_0x70af4e(0xb7)]+_0x1f634a);}static[a14_0x292338(0xb6)](_0x2b8e1e){var _0x53f21e=a14_0x292338;console[_0x53f21e(0xb6)](IAPSDKLogger['LOGGER_TAG']+_0x2b8e1e);}}exports[a14_0x292338(0xbb)]=IAPSDKLogger;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a15_0x4ed569=a15_0x3469;function a15_0x3aef(){const _0x4ccb37=['requestIdStr','32XteZvi','15GkXllD','2688990LwDsPZ','requestId','IAPSDKConstants','defineProperty','performIAPRequest','__esModule','post','1975794znpkjF','6GWNvHT','addRequestPayload','parse','inputJson','SDK_VERSION','44733392cerqRT','8687034epxOYJ','debug','614563jJdExo','APIBaseRequestHandler','getRequestId','stringify','addDataToAllRequestPayloadVersions','KEY_SDK_VERSION','710738hUTyEV','1499248MSVdPI','API\x20Base\x20Request\x20Handler\x20Constructor\x20invoked','KEY_REQUEST_PAYLOAD','2USahsq'];a15_0x3aef=function(){return _0x4ccb37;};return a15_0x3aef();}(function(_0x38272d,_0x2536d8){const _0x45fdad=a15_0x3469,_0x58ad42=_0x38272d();while(!![]){try{const _0x634999=parseInt(_0x45fdad(0x7e))/0x1*(-parseInt(_0x45fdad(0x88))/0x2)+-parseInt(_0x45fdad(0x94))/0x3*(parseInt(_0x45fdad(0x85))/0x4)+-parseInt(_0x45fdad(0x8b))/0x5*(parseInt(_0x45fdad(0x93))/0x6)+parseInt(_0x45fdad(0x84))/0x7*(-parseInt(_0x45fdad(0x8a))/0x8)+-parseInt(_0x45fdad(0x7c))/0x9+parseInt(_0x45fdad(0x8c))/0xa+parseInt(_0x45fdad(0x99))/0xb;if(_0x634999===_0x2536d8)break;else _0x58ad42['push'](_0x58ad42['shift']());}catch(_0x241043){_0x58ad42['push'](_0x58ad42['shift']());}}}(a15_0x3aef,0x9571d));var __importDefault=this&&this['__importDefault']||function(_0x184db0){const _0x4c865e=a15_0x3469;return _0x184db0&&_0x184db0[_0x4c865e(0x91)]?_0x184db0:{'default':_0x184db0};};Object[a15_0x4ed569(0x8f)](exports,a15_0x4ed569(0x91),{'value':!![]}),exports[a15_0x4ed569(0x7f)]=void 0x0;const IAPSDKConstants_1=require('../../constants/IAPSDKConstants'),IAPSDKLogger_1=require('../../logger/IAPSDKLogger'),NativeIAPRequestHandler_1=__importDefault(require('../../NativeIAPRequestHandler'));function a15_0x3469(_0x5ceaf7,_0x4775a8){const _0x3aef83=a15_0x3aef();return a15_0x3469=function(_0x34692b,_0x4b86e1){_0x34692b=_0x34692b-0x7c;let _0x37888d=_0x3aef83[_0x34692b];return _0x37888d;},a15_0x3469(_0x5ceaf7,_0x4775a8);}class APIBaseRequestHandler{['inputJson'];['requestId'];constructor(_0x52e65c){const _0x53c805=a15_0x4ed569;IAPSDKLogger_1['IAPSDKLogger'][_0x53c805(0x7d)](_0x53c805(0x86)),this['requestId']=_0x52e65c,this[_0x53c805(0x97)]=JSON[_0x53c805(0x96)](JSON['stringify']({})),this[_0x53c805(0x97)][IAPSDKConstants_1[_0x53c805(0x8e)][_0x53c805(0x83)]]=IAPSDKConstants_1[_0x53c805(0x8e)][_0x53c805(0x98)],this[_0x53c805(0x97)][IAPSDKConstants_1[_0x53c805(0x8e)]['KEY_REQUEST_ID']]=_0x52e65c['requestIdStr'],this[_0x53c805(0x97)][IAPSDKConstants_1['IAPSDKConstants']['KEY_REQUEST_PAYLOAD']]=JSON[_0x53c805(0x96)](JSON[_0x53c805(0x81)]({}));}[a15_0x4ed569(0x95)](_0x45c00f,_0x5a6716){const _0x47fd70=a15_0x4ed569;this['inputJson'][IAPSDKConstants_1[_0x47fd70(0x8e)][_0x47fd70(0x87)]][_0x45c00f]=_0x5a6716;}['addDataToInputJson'](_0xce3b5f,_0x347a40){const _0x5ec735=a15_0x4ed569;this[_0x5ec735(0x97)][_0xce3b5f]=_0x347a40;}async[a15_0x4ed569(0x92)](){const _0x4d77e5=a15_0x4ed569;return JSON['parse'](await NativeIAPRequestHandler_1['default'][_0x4d77e5(0x90)](this[_0x4d77e5(0x80)]()[_0x4d77e5(0x89)],JSON[_0x4d77e5(0x81)](this[_0x4d77e5(0x97)]),![]));}[a15_0x4ed569(0x82)](_0x145065,_0x131588){const _0x253309=a15_0x4ed569,_0x30e696=Object['keys'](this[_0x253309(0x97)][IAPSDKConstants_1[_0x253309(0x8e)][_0x253309(0x87)]]);for(const _0x548e8a of _0x30e696){this[_0x253309(0x97)][IAPSDKConstants_1[_0x253309(0x8e)]['KEY_REQUEST_PAYLOAD']][_0x548e8a][_0x145065]=_0x131588;}}[a15_0x4ed569(0x80)](){const _0x2d0f19=a15_0x4ed569;return this[_0x2d0f19(0x8d)];}}exports[a15_0x4ed569(0x7f)]=APIBaseRequestHandler;
|