@amazon-devices/keplerscript-appstore-iap-lib 2.12.13 → 2.12.16
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/38af10fbfb8ba5cb836c61120b99f13cc54d7735ca02eec6f591252322e43977.bundle.map +1 -0
- package/SystemBundles/hermes-072/38af10fbfb8ba5cb836c61120b99f13cc54d7735ca02eec6f591252322e43977.bundle.map +1 -0
- package/SystemBundles/hermes-072/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 -36
- 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.js +1 -1
- package/kepler-compatibility.json +4 -1
- package/package.json +1 -1
- package/SystemBundles/453be002f64ad366efa41022a9e3a1aa0c200b706a3a12fdf4a93650adb4985c.bundle +0 -15594
- package/SystemBundles/453be002f64ad366efa41022a9e3a1aa0c200b706a3a12fdf4a93650adb4985c.bundle.map +0 -1
|
Binary file
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
node_modules/@react-native/js-polyfills_0.72.1/console.js:c081be8f6c0109dd350f
|
|
2
2
|
node_modules/@react-native/js-polyfills_0.72.1/error-guard.js:057b32c72f7f399723ba
|
|
3
3
|
node_modules/@react-native/js-polyfills_0.72.1/Object.es8.js:a9bf7d37774d7198840b
|
|
4
|
-
node_modules/@babel/runtime_7.
|
|
5
|
-
node_modules/@babel/runtime_7.
|
|
6
|
-
node_modules/@babel/runtime_7.
|
|
7
|
-
node_modules/@babel/runtime_7.
|
|
8
|
-
node_modules/@babel/runtime_7.
|
|
4
|
+
node_modules/@babel/runtime_7.28.4/helpers/classCallCheck.js:cb664999166f9660a878
|
|
5
|
+
node_modules/@babel/runtime_7.28.4/helpers/createClass.js:68819e29ebee24bb0e88
|
|
6
|
+
node_modules/@babel/runtime_7.28.4/helpers/toPropertyKey.js:cbba112244d360ffda7a
|
|
7
|
+
node_modules/@babel/runtime_7.28.4/helpers/toPrimitive.js:ad82d340d0b5dc5f0801
|
|
8
|
+
node_modules/@babel/runtime_7.28.4/helpers/typeof.js:e08c69ed06cf526909e3
|
|
9
9
|
node_modules/react-native-uuid_2.0.3/dist/index.js:6dc130e8685389b37217
|
|
10
10
|
node_modules/react-native-uuid_2.0.3/dist/parse.js:71851ba2fa15f448dca9
|
|
11
11
|
node_modules/react-native-uuid_2.0.3/dist/utils.js:7143627dffbb0e0dc470
|
|
@@ -22,48 +22,48 @@ node_modules/react-native-uuid_2.0.3/dist/v35.js:f3e6658d6cbceadaefde
|
|
|
22
22
|
node_modules/react-native-uuid_2.0.3/dist/v4.js:ec7546d860741c0a2b2d
|
|
23
23
|
node_modules/react-native-uuid_2.0.3/dist/v5.js:d8d660b4410cdc80206a
|
|
24
24
|
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.
|
|
25
|
+
node_modules/@babel/runtime_7.28.4/helpers/getPrototypeOf.js:ba9efe5c53f1d07f5c9d
|
|
26
|
+
node_modules/@babel/runtime_7.28.4/helpers/possibleConstructorReturn.js:aab42168bb4cb23540ec
|
|
27
|
+
node_modules/@babel/runtime_7.28.4/helpers/assertThisInitialized.js:0716ce96f45f287fb302
|
|
28
|
+
node_modules/@babel/runtime_7.28.4/helpers/inherits.js:9822a58ca7726d551fe0
|
|
29
|
+
node_modules/@babel/runtime_7.28.4/helpers/setPrototypeOf.js:79c731bcf4b10abe8e4d
|
|
30
|
+
node_modules/@babel/runtime_7.28.4/helpers/asyncToGenerator.js:77f56f33f638c3751138
|
|
31
31
|
node_modules/@amzn/keplerscript-turbomodule-api_1.0.0/dist/index.js:8a35a86b7946c72e0207
|
|
32
32
|
node_modules/@amzn/keplerscript-turbomodule-api_1.0.0/dist/turbomodules/TurboModuleRegistry.js:33d6b98d6e39f6b0a8f9
|
|
33
33
|
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.
|
|
34
|
+
node_modules/@babel/runtime_7.28.4/helpers/interopRequireDefault.js:277a84013d7e1a1ace05
|
|
35
|
+
node_modules/@babel/runtime_7.28.4/helpers/toConsumableArray.js:838d7a057beeb5db50df
|
|
36
|
+
node_modules/@babel/runtime_7.28.4/helpers/arrayWithoutHoles.js:a425fd4fe3cf47759e99
|
|
37
|
+
node_modules/@babel/runtime_7.28.4/helpers/arrayLikeToArray.js:378be3062418cfac9327
|
|
38
|
+
node_modules/@babel/runtime_7.28.4/helpers/iterableToArray.js:67d028b72bb61755baea
|
|
39
|
+
node_modules/@babel/runtime_7.28.4/helpers/unsupportedIterableToArray.js:e7044bb724c5bd68e2cc
|
|
40
|
+
node_modules/@babel/runtime_7.28.4/helpers/nonIterableSpread.js:b4810fa44dd496b7d9f5
|
|
41
41
|
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.
|
|
42
|
+
node_modules/@babel/runtime_7.28.4/helpers/slicedToArray.js:d73b3a84588342abd1b6
|
|
43
|
+
node_modules/@babel/runtime_7.28.4/helpers/arrayWithHoles.js:c18fba4833d885627fc3
|
|
44
|
+
node_modules/@babel/runtime_7.28.4/helpers/iterableToArrayLimit.js:db861c9134e305a92464
|
|
45
|
+
node_modules/@babel/runtime_7.28.4/helpers/nonIterableRest.js:d2c95b166a5bd41ca703
|
|
46
46
|
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.
|
|
47
|
+
node_modules/@babel/runtime_7.28.4/helpers/readOnlyError.js:9a3a31f49f0e1fee57b0
|
|
48
|
+
node_modules/@babel/runtime_7.28.4/helpers/wrapNativeSuper.js:66be7ef871ad04671969
|
|
49
|
+
node_modules/@babel/runtime_7.28.4/helpers/isNativeFunction.js:9cf198b81404c8b483b0
|
|
50
|
+
node_modules/@babel/runtime_7.28.4/helpers/construct.js:20524c8783215c6329fe
|
|
51
|
+
node_modules/@babel/runtime_7.28.4/helpers/isNativeReflectConstruct.js:df21df9938c0adbd59f1
|
|
52
52
|
node_modules/stacktrace-parser_0.1.11/dist/stack-trace-parser.cjs.js:aa725aa4c0b37e1add33
|
|
53
53
|
node_modules/promise_8.3.0/setimmediate/finally.js:15bc4ccb25fc2d0c4428
|
|
54
54
|
node_modules/promise_8.3.0/setimmediate/core.js:890f60fa94d3f6854a19
|
|
55
55
|
node_modules/promise_8.3.0/setimmediate/es6-extensions.js:a7846fdeffeb1ebf6241
|
|
56
56
|
node_modules/regenerator-runtime_0.13.11/runtime.js:af823d9710c534173a4d
|
|
57
|
-
node_modules/@babel/runtime_7.
|
|
58
|
-
node_modules/@babel/runtime_7.
|
|
57
|
+
node_modules/@babel/runtime_7.28.4/helpers/get.js:55062adb34159de0ea92
|
|
58
|
+
node_modules/@babel/runtime_7.28.4/helpers/superPropBase.js:d53f05ad44723a08f608
|
|
59
59
|
node_modules/event-target-shim_5.0.1/dist/event-target-shim.js:2bd3f165b1ed6b916de7
|
|
60
60
|
node_modules/base64-js_1.5.1/index.js:71af70f51435e3e1b37b
|
|
61
61
|
node_modules/whatwg-fetch_3.6.20/dist/fetch.umd.js:ca4b0363146267ef3e77
|
|
62
|
-
node_modules/@babel/runtime_7.
|
|
63
|
-
node_modules/@babel/runtime_7.
|
|
62
|
+
node_modules/@babel/runtime_7.28.4/helpers/objectWithoutProperties.js:a2c8e692f78bae5b8b98
|
|
63
|
+
node_modules/@babel/runtime_7.28.4/helpers/objectWithoutPropertiesLoose.js:5927789db7c756c318ed
|
|
64
64
|
node_modules/abort-controller_3.0.0/dist/abort-controller.js:ea8fcbd647aab1cfcdaa
|
|
65
65
|
node_modules/@react-native/normalize-colors_0.72.0/index.js:bab9017c6ff43bb4a95b
|
|
66
|
-
node_modules/@babel/runtime_7.
|
|
66
|
+
node_modules/@babel/runtime_7.28.4/helpers/defineProperty.js:4926d0dbc109dc5bb6c9
|
|
67
67
|
node_modules/@react-native/assets-registry_0.72.0/registry.js:05d58bec2a6d939f08d8
|
|
68
68
|
node_modules/@react-native/assets-registry_0.72.0/path-support.js:914260cfb55fe13c431c
|
|
69
69
|
node_modules/scheduler_0.24.0-canary-efb381bbf-20230505/index.native.js:d57407eff7026d491c8a
|
|
@@ -104,7 +104,7 @@ node_modules/@react-native/virtualized-lists_0.72.8/Lists/VirtualizedListCellRen
|
|
|
104
104
|
node_modules/@react-native/virtualized-lists_0.72.8/Lists/VirtualizedListContext.js:e6b1ef1f5b720d640981
|
|
105
105
|
node_modules/@react-native/virtualized-lists_0.72.8/Lists/CellRenderMask.js:de5ab026f9499640d730
|
|
106
106
|
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.
|
|
107
|
+
node_modules/use-sync-external-store_1.6.0/shim/index.native.js:962cceb83a0665e556b0
|
|
108
|
+
node_modules/use-sync-external-store_1.6.0/cjs/use-sync-external-store-shim.native.production.js:882f173eeacafe179433
|
|
109
|
+
node_modules/@babel/runtime_7.28.4/helpers/classPrivateFieldLooseKey.js:cb8ece4f72f02a959885
|
|
110
|
+
node_modules/@babel/runtime_7.28.4/helpers/classPrivateFieldLooseBase.js:39eb90fd8fb300b049c2
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a0_0x43108d=a0_0x1ac7;function a0_0x1ac7(_0x2f771c,_0x5e4dd3){const _0x587476=a0_0x5874();return a0_0x1ac7=function(_0x1ac762,_0x51ac65){_0x1ac762=_0x1ac762-0x17a;let _0x549696=_0x587476[_0x1ac762];return _0x549696;},a0_0x1ac7(_0x2f771c,_0x5e4dd3);}(function(_0x425da6,_0x2cdbe8){const _0x54257d=a0_0x1ac7,_0x5a0c70=_0x425da6();while(!![]){try{const _0x3cfce5=parseInt(_0x54257d(0x18c))/0x1+parseInt(_0x54257d(0x17d))/0x2+parseInt(_0x54257d(0x17b))/0x3*(-parseInt(_0x54257d(0x17c))/0x4)+-parseInt(_0x54257d(0x190))/0x5*(parseInt(_0x54257d(0x189))/0x6)+parseInt(_0x54257d(0x181))/0x7*(-parseInt(_0x54257d(0x18b))/0x8)+-parseInt(_0x54257d(0x180))/0x9*(parseInt(_0x54257d(0x183))/0xa)+-parseInt(_0x54257d(0x18d))/0xb*(-parseInt(_0x54257d(0x18a))/0xc);if(_0x3cfce5===_0x2cdbe8)break;else _0x5a0c70['push'](_0x5a0c70['shift']());}catch(_0x44a401){_0x5a0c70['push'](_0x5a0c70['shift']());}}}(a0_0x5874,0x6deb4));Object[a0_0x43108d(0x184)](exports,'__esModule',{'value':!![]}),exports['PurchasingService']=void 0x0;const PurchasingManager_1=require('./internal/PurchasingManager');function a0_0x5874(){const _0x38c87c=['157344zhZVzN','338646eMhnZj','121lPbgWR','PurchasingService','getProductData','697335iXNobO','notifyFulfillment','75426qPkIFI','96FFHsLU','1761872hfLnrt','getInstance','PurchasingManager','464265NcvNbN','56grEQTD','purchase','120PlMcDv','defineProperty','getPurchaseUpdates','modifySubscription','getUserData','requestUserProfileAccess','18HcaHXM','1122348UjbzjL'];a0_0x5874=function(){return _0x38c87c;};return a0_0x5874();}class PurchasingService{static[a0_0x43108d(0x182)](_0x3b7d5a){const _0x19f6e6=a0_0x43108d;return PurchasingManager_1[_0x19f6e6(0x17f)]['getInstance']()[_0x19f6e6(0x182)](_0x3b7d5a);}static[a0_0x43108d(0x186)](_0x424139){const _0x1760fd=a0_0x43108d;return PurchasingManager_1[_0x1760fd(0x17f)][_0x1760fd(0x17e)]()['modifySubscription'](_0x424139);}static[a0_0x43108d(0x185)](_0xa9961f){const _0x1aaa39=a0_0x43108d;return PurchasingManager_1[_0x1aaa39(0x17f)][_0x1aaa39(0x17e)]()[_0x1aaa39(0x185)](_0xa9961f);}static[a0_0x43108d(0x18f)](_0x1dc944){const _0x3aa54b=a0_0x43108d;return PurchasingManager_1[_0x3aa54b(0x17f)][_0x3aa54b(0x17e)]()[_0x3aa54b(0x18f)](_0x1dc944);}static['notifyFulfillment'](_0x242bcf){const _0x5898fa=a0_0x43108d;return PurchasingManager_1['PurchasingManager']['getInstance']()[_0x5898fa(0x17a)](_0x242bcf);}static[a0_0x43108d(0x187)](_0x1b74f9){const _0x2680df=a0_0x43108d;return PurchasingManager_1[_0x2680df(0x17f)][_0x2680df(0x17e)]()[_0x2680df(0x187)](_0x1b74f9);}static[a0_0x43108d(0x188)](){const _0x444af0=a0_0x43108d;return PurchasingManager_1[_0x444af0(0x17f)][_0x444af0(0x17e)]()[_0x444af0(0x188)]();}}exports[a0_0x43108d(0x18e)]=PurchasingService;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';const a1_0x34b05f=a1_0x3466;function a1_0x3466(_0x35830e,_0x55abc6){const _0x3126c4=a1_0x3126();return a1_0x3466=function(_0x3466e2,_0x73e528){_0x3466e2=_0x3466e2-0x15d;let _0x4351ab=_0x3126c4[_0x3466e2];return _0x4351ab;},a1_0x3466(_0x35830e,_0x55abc6);}(function(_0x11b539,_0x1313a5){const _0x45dbb1=a1_0x3466,_0x55e2b7=_0x11b539();while(!![]){try{const _0x3ad1de=-parseInt(_0x45dbb1(0x16e))/0x1+parseInt(_0x45dbb1(0x16d))/0x2+parseInt(_0x45dbb1(0x175))/0x3*(parseInt(_0x45dbb1(0x15d))/0x4)+parseInt(_0x45dbb1(0x16b))/0x5*(-parseInt(_0x45dbb1(0x165))/0x6)+parseInt(_0x45dbb1(0x15f))/0x7+parseInt(_0x45dbb1(0x166))/0x8*(parseInt(_0x45dbb1(0x172))/0x9)+-parseInt(_0x45dbb1(0x16c))/0xa*(parseInt(_0x45dbb1(0x171))/0xb);if(_0x3ad1de===_0x1313a5)break;else _0x55e2b7['push'](_0x55e2b7['shift']());}catch(_0x443ebd){_0x55e2b7['push'](_0x55e2b7['shift']());}}}(a1_0x3126,0x65150));Object[a1_0x34b05f(0x15e)](exports,'__esModule',{'value':!![]}),exports[a1_0x34b05f(0x174)]=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=_0x3ca967=>{const _0x17be0b=a1_0x34b05f,[_0x53754a,_0x5c1f5b]=(0x0,react_1[_0x17be0b(0x16f)])(),[_0x3bb653,_0x589e8b]=(0x0,react_1[_0x17be0b(0x16f)])(!![]),[_0x2b7daf,_0x366dcb]=(0x0,react_1[_0x17be0b(0x16f)])(![]);return IAPSDKLogger_1['IAPSDKLogger'][_0x17be0b(0x168)](_0x17be0b(0x176)),(0x0,react_1[_0x17be0b(0x164)])(()=>{const _0x159de2=_0x17be0b;IAPSDKLogger_1[_0x159de2(0x167)][_0x159de2(0x160)](_0x159de2(0x162)),PurchasingService_1[_0x159de2(0x161)][_0x159de2(0x173)](_0x3ca967)['then'](_0xd490d3=>{const _0x32b987=_0x159de2;_0x5c1f5b(_0xd490d3),_0x366dcb(_0xd490d3['responseCode']!==IAPTypes_1[_0x32b987(0x170)][_0x32b987(0x177)]),_0x589e8b(![]);})['catch'](_0x39f042=>{const _0x437fe2=_0x159de2;IAPSDKLogger_1[_0x437fe2(0x167)][_0x437fe2(0x163)](_0x437fe2(0x169)+_0x39f042),_0x5c1f5b(GetProductDataReqRespBaseModel_1['GetProductDataReqRespBaseModel'][_0x437fe2(0x16a)](IAPTypes_1[_0x437fe2(0x170)]['FAILED'])),_0x366dcb(!![]),_0x589e8b(![]);});},[]),{'iapProductDataLoading':_0x3bb653,'iapProductDataError':_0x2b7daf,'iapProductData':_0x53754a};};exports['useIapProductData']=useIapProductData;function a1_0x3126(){const _0x2f20a2=['9cucjxy','getProductData','useIapProductData','388302mZGAsn','useIapProductData\x20Hook\x20called','SUCCESSFUL','24gxXaxL','defineProperty','1412649KgyORG','info','PurchasingService','Calling\x20getProductData\x20API','error','useEffect','6uUKqAH','2611304hPveBA','IAPSDKLogger','debug','Exception\x20while\x20calling\x20getProductData\x20','createNullResponse','2027385AMLpFT','958790nXbuLC','1447136cFRvSO','250093ycAljg','useState','ProductDataResponseCode','110rQofxE'];a1_0x3126=function(){return _0x2f20a2;};return a1_0x3126();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a2_0x5edd5e=a2_0xd576;(function(_0x176711,_0xa7eae){const _0x1ffb96=a2_0xd576,_0x37c769=_0x176711();while(!![]){try{const _0x4846cc=-parseInt(_0x1ffb96(0xb5))/0x1*(parseInt(_0x1ffb96(0x98))/0x2)+parseInt(_0x1ffb96(0xb0))/0x3+-parseInt(_0x1ffb96(0x9a))/0x4+parseInt(_0x1ffb96(0xa8))/0x5+parseInt(_0x1ffb96(0xa0))/0x6*(-parseInt(_0x1ffb96(0x93))/0x7)+parseInt(_0x1ffb96(0xad))/0x8*(-parseInt(_0x1ffb96(0x9f))/0x9)+-parseInt(_0x1ffb96(0xb4))/0xa*(-parseInt(_0x1ffb96(0xb1))/0xb);if(_0x4846cc===_0xa7eae)break;else _0x37c769['push'](_0x37c769['shift']());}catch(_0x4a7889){_0x37c769['push'](_0x37c769['shift']());}}}(a2_0x40aa,0x4a3c5));function a2_0x40aa(){const _0xc2f29c=['remove','FAILED','debug','60Xkfidd','useIapPurchaseUpdates:\x20App\x20state\x20change\x20ignored:\x20','1644064HgUmdy','responseCode','error','current','change','81513dcwSkA','762pIzCGG','useIapPurchaseUpdates','createNullResponse','__esModule','useState','info','Component\x20unmounted.\x20Removing\x20AppState\x20listener','catch','278990zBQQhT','active','PurchaseUpdatesResponseCode','AppState','App\x20comes\x20from\x20background\x20to\x20foreground.\x20Triggering\x20getPurchaseUpdates\x20API.','136gPzmdN','PurchasingService','defineProperty','1673295tduCAq','40667doTFRT','IAPSDKLogger','reset','2960UYoRGH','14613ebwtRt','useIapPurchaseUpdates\x20Hook\x20called','Exception\x20while\x20calling\x20getPurchaseUpdates\x20','22071ilTnSr','SUCCESSFUL'];a2_0x40aa=function(){return _0xc2f29c;};return a2_0x40aa();}Object[a2_0x5edd5e(0xaf)](exports,a2_0x5edd5e(0xa3),{'value':!![]}),exports[a2_0x5edd5e(0xa1)]=void 0x0;function a2_0xd576(_0x1042dc,_0x5544de){const _0x40aadb=a2_0x40aa();return a2_0xd576=function(_0xd576c7,_0x2c5353){_0xd576c7=_0xd576c7-0x92;let _0x448bbd=_0x40aadb[_0xd576c7];return _0x448bbd;},a2_0xd576(_0x1042dc,_0x5544de);}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=_0x1292fa=>{const _0x2bbde0=a2_0x5edd5e,[_0x308a8e,_0x340a15]=(0x0,react_1[_0x2bbde0(0xa4)])(),[_0xdcce8b,_0x403950]=(0x0,react_1[_0x2bbde0(0xa4)])(!![]),[_0x375675,_0xe8e8ff]=(0x0,react_1['useState'])(![]),_0x138592=(0x0,react_1['useRef'])();IAPSDKLogger_1[_0x2bbde0(0xb2)]['debug'](_0x2bbde0(0xb6));const _0x5e80e4=()=>{const _0x475668=_0x2bbde0;IAPSDKLogger_1[_0x475668(0xb2)][_0x475668(0xa5)]('Calling\x20getPurchaseUpdates\x20API\x20with\x20reset\x20flag\x20=\x20'+_0x1292fa[_0x475668(0xb3)]),_0x403950(!![]),PurchasingService_1[_0x475668(0xae)]['getPurchaseUpdates'](_0x1292fa)['then'](_0x7b4c2b=>{const _0x35d5ef=_0x475668;_0x340a15(_0x7b4c2b),_0xe8e8ff(_0x7b4c2b[_0x35d5ef(0x9b)]!==IAPTypes_1[_0x35d5ef(0xaa)][_0x35d5ef(0x94)]),_0x403950(![]);})[_0x475668(0xa7)](_0x44cca7=>{const _0x329705=_0x475668;IAPSDKLogger_1[_0x329705(0xb2)][_0x329705(0x9c)](_0x329705(0x92)+_0x44cca7),_0x340a15(GetPurchaseUpdatesReqRespBaseModel_1['GetPurchaseUpdatesReqRespBaseModel'][_0x329705(0xa2)](IAPTypes_1['PurchaseUpdatesResponseCode'][_0x329705(0x96)])),_0xe8e8ff(!![]),_0x403950(![]);});},_0x8c771a=_0x4ccf3e=>{const _0x144f9d=_0x2bbde0;let _0x16f6f8;_0x403950(_0x185968=>{return _0x16f6f8=_0x185968,_0x185968;}),_0x4ccf3e===_0x144f9d(0xa9)&&_0x16f6f8===![]?(IAPSDKLogger_1[_0x144f9d(0xb2)][_0x144f9d(0x97)](_0x144f9d(0xac)),_0x5e80e4()):IAPSDKLogger_1['IAPSDKLogger']['debug'](_0x144f9d(0x99)+_0x4ccf3e);};return(0x0,react_1['useEffect'])(()=>{const _0x548815=_0x2bbde0;return _0x5e80e4(),_0x138592[_0x548815(0x9d)]=react_native_kepler_1[_0x548815(0xab)]['addEventListener'](_0x548815(0x9e),_0x8c771a),()=>{const _0x3ba7c0=_0x548815;IAPSDKLogger_1[_0x3ba7c0(0xb2)]['debug'](_0x3ba7c0(0xa6)),_0x138592[_0x3ba7c0(0x9d)]?.[_0x3ba7c0(0x95)]();};},[]),{'iapPurchaseUpdatesLoading':_0xdcce8b,'iapPurchaseUpdatesError':_0x375675,'iapPurchaseUpdates':_0x308a8e};};exports[a2_0x5edd5e(0xa1)]=useIapPurchaseUpdates;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a3_0x309e97=a3_0x4940;(function(_0x5a6872,_0x4a1907){const _0x13325e=a3_0x4940,_0x1277ea=_0x5a6872();while(!![]){try{const _0x48fd31=parseInt(_0x13325e(0x1a0))/0x1+-parseInt(_0x13325e(0x1a9))/0x2+-parseInt(_0x13325e(0x1b2))/0x3+-parseInt(_0x13325e(0x1ba))/0x4+-parseInt(_0x13325e(0x1b3))/0x5+-parseInt(_0x13325e(0x1b4))/0x6*(-parseInt(_0x13325e(0x1a1))/0x7)+parseInt(_0x13325e(0x1b8))/0x8*(parseInt(_0x13325e(0x1a4))/0x9);if(_0x48fd31===_0x4a1907)break;else _0x1277ea['push'](_0x1277ea['shift']());}catch(_0x3952e0){_0x1277ea['push'](_0x1277ea['shift']());}}}(a3_0x33a1,0xa3b2c));function a3_0x33a1(){const _0x3596ee=['3842556wQotcB','App\x20comes\x20from\x20background\x20to\x20foreground.\x20Triggering\x20getUserData\x20API.','Component\x20unmounted.\x20Removing\x20AppState\x20listener','useState','336944LgDtzz','1218utiqqC','defineProperty','FAILED','1557kFZGKz','error','debug','useEffect','IAPSDKLogger','2015246lbAnMT','remove','current','useRef','getUserData','AppState','UserDataResponseCode','info','GetUserDataReqRespBaseModel','269349JNmLgA','5547680yzbYRP','26814QDkfyN','useIapUserData:\x20App\x20state\x20change\x20ignored:\x20','Exception\x20while\x20calling\x20getUserData\x20','useIapUserData','125944nWoIzP','addEventListener'];a3_0x33a1=function(){return _0x3596ee;};return a3_0x33a1();}Object[a3_0x309e97(0x1a2)](exports,'__esModule',{'value':!![]}),exports[a3_0x309e97(0x1b7)]=void 0x0;function a3_0x4940(_0x5c3710,_0x3313b7){const _0x33a1ae=a3_0x33a1();return a3_0x4940=function(_0x494070,_0x54f0f7){_0x494070=_0x494070-0x1a0;let _0x26a471=_0x33a1ae[_0x494070];return _0x26a471;},a3_0x4940(_0x5c3710,_0x3313b7);}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=_0x53dd8f=>{const _0x464b53=a3_0x309e97,[_0x322d94,_0x60f84c]=(0x0,react_1[_0x464b53(0x1bd)])(),[_0x43fb48,_0x5aab73]=(0x0,react_1[_0x464b53(0x1bd)])(!![]),[_0x34931f,_0x557258]=(0x0,react_1['useState'])(![]),_0x4b4514=(0x0,react_1[_0x464b53(0x1ac)])();IAPSDKLogger_1[_0x464b53(0x1a8)][_0x464b53(0x1a6)]('useIapUserData\x20Hook\x20called');const _0x4407ce=()=>{const _0x56472d=_0x464b53;IAPSDKLogger_1[_0x56472d(0x1a8)][_0x56472d(0x1b0)]('Calling\x20getUserData\x20API'),_0x5aab73(!![]),PurchasingService_1['PurchasingService'][_0x56472d(0x1ad)](_0x53dd8f)['then'](_0x560d56=>{const _0x5ba475=_0x56472d;_0x60f84c(_0x560d56),_0x557258(_0x560d56['responseCode']!==IAPTypes_1[_0x5ba475(0x1af)]['SUCCESSFUL']),_0x5aab73(![]);})['catch'](_0x2d103b=>{const _0x5b16aa=_0x56472d;IAPSDKLogger_1['IAPSDKLogger'][_0x5b16aa(0x1a5)](_0x5b16aa(0x1b6)+_0x2d103b),_0x60f84c(GetUserDataReqRespBaseModel_1[_0x5b16aa(0x1b1)]['createNullResponse'](IAPTypes_1[_0x5b16aa(0x1af)][_0x5b16aa(0x1a3)])),_0x557258(!![]),_0x5aab73(![]);});},_0x1775f0=_0x5abb1a=>{const _0x383a0c=_0x464b53;let _0x5b8d22;_0x5aab73(_0x5c5789=>{return _0x5b8d22=_0x5c5789,_0x5c5789;}),_0x5abb1a==='active'&&_0x5b8d22===![]?(IAPSDKLogger_1['IAPSDKLogger'][_0x383a0c(0x1a6)](_0x383a0c(0x1bb)),_0x4407ce()):IAPSDKLogger_1[_0x383a0c(0x1a8)]['debug'](_0x383a0c(0x1b5)+_0x5abb1a);};return(0x0,react_1[_0x464b53(0x1a7)])(()=>{const _0x2e68a5=_0x464b53;return _0x4407ce(),_0x4b4514[_0x2e68a5(0x1ab)]=react_native_kepler_1[_0x2e68a5(0x1ae)][_0x2e68a5(0x1b9)]('change',_0x1775f0),()=>{const _0x368f3f=_0x2e68a5;IAPSDKLogger_1['IAPSDKLogger']['debug'](_0x368f3f(0x1bc)),_0x4b4514['current']?.[_0x368f3f(0x1aa)]();};},[]),{'iapUserDataLoading':_0x43fb48,'iapUserDataError':_0x34931f,'iapUserData':_0x322d94};};exports[a3_0x309e97(0x1b7)]=useIapUserData;
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';var a4_0x44e92d=a4_0x240b;(function(_0x21f72d,_0x52225f){var _0x2edde8=a4_0x240b,_0xf84336=_0x21f72d();while(!![]){try{var _0x5dcd85=parseInt(_0x2edde8(0x1d7))/0x1*(parseInt(_0x2edde8(0x1c2))/0x2)+-parseInt(_0x2edde8(0x1c3))/0x3*(parseInt(_0x2edde8(0x1c9))/0x4)+-parseInt(_0x2edde8(0x1ce))/0x5+-parseInt(_0x2edde8(0x1c4))/0x6*(parseInt(_0x2edde8(0x1c8))/0x7)+parseInt(_0x2edde8(0x1c0))/0x8+parseInt(_0x2edde8(0x1cc))/0x9+-parseInt(_0x2edde8(0x1d2))/0xa*(-parseInt(_0x2edde8(0x1cf))/0xb);if(_0x5dcd85===_0x52225f)break;else _0xf84336['push'](_0xf84336['shift']());}catch(_0x2e3508){_0xf84336['push'](_0xf84336['shift']());}}}(a4_0x4513,0xdba6a));var __createBinding=this&&this[a4_0x44e92d(0x1cd)]||(Object[a4_0x44e92d(0x1c1)]?function(_0x244337,_0x145bae,_0x3e8d9a,_0x44591b){var _0x2e35e5=a4_0x44e92d;if(_0x44591b===undefined)_0x44591b=_0x3e8d9a;var _0x50a0ba=Object[_0x2e35e5(0x1c5)](_0x145bae,_0x3e8d9a);(!_0x50a0ba||('get'in _0x50a0ba?!_0x145bae[_0x2e35e5(0x1d3)]:_0x50a0ba[_0x2e35e5(0x1d6)]||_0x50a0ba[_0x2e35e5(0x1c6)]))&&(_0x50a0ba={'enumerable':!![],'get':function(){return _0x145bae[_0x3e8d9a];}}),Object[_0x2e35e5(0x1cb)](_0x244337,_0x44591b,_0x50a0ba);}:function(_0x50a59b,_0x3b6272,_0x429161,_0x4e6ee5){if(_0x4e6ee5===undefined)_0x4e6ee5=_0x429161;_0x50a59b[_0x4e6ee5]=_0x3b6272[_0x429161];}),__exportStar=this&&this[a4_0x44e92d(0x1d4)]||function(_0x4d0a12,_0x1e96d2){var _0x252f98=a4_0x44e92d;for(var _0x34ed6f in _0x4d0a12)if(_0x34ed6f!==_0x252f98(0x1ca)&&!Object['prototype'][_0x252f98(0x1d0)]['call'](_0x1e96d2,_0x34ed6f))__createBinding(_0x1e96d2,_0x4d0a12,_0x34ed6f);};function a4_0x4513(){var _0x5f0a02=['hasOwnProperty','PurchasingService','166980nTvZHU','__esModule','__exportStar','useIapProductData','writable','1QsRyCc','7627728oGAUxV','create','894162NmMqBg','3iNFNpq','198438yyIlFV','getOwnPropertyDescriptor','configurable','useIapPurchaseUpdates','371WRwVqq','2492092AcbvuT','default','defineProperty','5859288mzstgY','__createBinding','2813415rdZJoC','1177BZwYGW'];a4_0x4513=function(){return _0x5f0a02;};return a4_0x4513();}Object[a4_0x44e92d(0x1cb)](exports,a4_0x44e92d(0x1d3),{'value':!![]}),exports[a4_0x44e92d(0x1d5)]=exports['useIapPurchaseUpdates']=exports['useIapUserData']=exports[a4_0x44e92d(0x1d1)]=void 0x0,__exportStar(require('./types/IAPTypes'),exports);var PurchasingService_1=require('./PurchasingService');function a4_0x240b(_0x894fb8,_0x57ddae){var _0x4513c5=a4_0x4513();return a4_0x240b=function(_0x240b5a,_0x41fe78){_0x240b5a=_0x240b5a-0x1c0;var _0x538891=_0x4513c5[_0x240b5a];return _0x538891;},a4_0x240b(_0x894fb8,_0x57ddae);}Object[a4_0x44e92d(0x1cb)](exports,a4_0x44e92d(0x1d1),{'enumerable':!![],'get':function(){var _0x37e27c=a4_0x44e92d;return PurchasingService_1[_0x37e27c(0x1d1)];}});var useIapUserData_1=require('./hooks/useIapUserData');Object[a4_0x44e92d(0x1cb)](exports,'useIapUserData',{'enumerable':!![],'get':function(){return useIapUserData_1['useIapUserData'];}});var useIapPurchaseUpdates_1=require('./hooks/useIapPurchaseUpdates');Object[a4_0x44e92d(0x1cb)](exports,a4_0x44e92d(0x1c7),{'enumerable':!![],'get':function(){return useIapPurchaseUpdates_1['useIapPurchaseUpdates'];}});var useIapProductData_1=require('./hooks/useIapProductData');Object[a4_0x44e92d(0x1cb)](exports,a4_0x44e92d(0x1d5),{'enumerable':!![],'get':function(){return useIapProductData_1['useIapProductData'];}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a5_0x4f862c=a5_0x2bfe;(function(_0x5906ea,_0xd1f441){const _0xe34d9b=a5_0x2bfe,_0x289477=_0x5906ea();while(!![]){try{const _0x201cea=parseInt(_0xe34d9b(0xe1))/0x1+parseInt(_0xe34d9b(0xe4))/0x2+parseInt(_0xe34d9b(0xe5))/0x3*(-parseInt(_0xe34d9b(0xdf))/0x4)+-parseInt(_0xe34d9b(0xde))/0x5+-parseInt(_0xe34d9b(0xe0))/0x6+-parseInt(_0xe34d9b(0xe3))/0x7+parseInt(_0xe34d9b(0xe6))/0x8;if(_0x201cea===_0xd1f441)break;else _0x289477['push'](_0x289477['shift']());}catch(_0x3d200e){_0x289477['push'](_0x289477['shift']());}}}(a5_0x4eb7,0x9b57d));function a5_0x2bfe(_0x223766,_0x18eb4d){const _0x4eb7d2=a5_0x4eb7();return a5_0x2bfe=function(_0x2bfe31,_0x28431e){_0x2bfe31=_0x2bfe31-0xde;let _0x3275b4=_0x4eb7d2[_0x2bfe31];return _0x3275b4;},a5_0x2bfe(_0x223766,_0x18eb4d);}Object['defineProperty'](exports,a5_0x4f862c(0xe7),{'value':!![]});const keplerscript_turbomodule_api_1=require('@amazon-devices/keplerscript-turbomodule-api');function a5_0x4eb7(){const _0x54c703=['8563696bhOszw','__esModule','2113835EMHXoT','691276gDALid','5783460vAGADP','1091225mCfQiX','AppstoreIAPRequestHandlerModule','7301091HJsuaf','2499852cdjSkT','6QNCnWo'];a5_0x4eb7=function(){return _0x54c703;};return a5_0x4eb7();}exports['default']=keplerscript_turbomodule_api_1['TurboModuleRegistry']['getEnforcing'](a5_0x4f862c(0xe2));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a6_0x2d4b7e=a6_0x295d;function a6_0x5b45(){const _0x3f483a=['129622WFVnQc','modifySubscription','IAPSDKUtils','execute','NotifyFulfillmentRequestHandler','153puJLnH','Received\x20the\x20request\x20for\x20purchase\x20API','notifyFulfillment','requestIdStr','getNewRequestId','info','purchasingManagerInstance','getUserData','177050iVSBpn','4600nIZvXn','Received\x20the\x20request\x20for\x20userProfileAccess','IAPSDKLogger','defineProperty','Received\x20the\x20request\x20for\x20getPurchaseUpdates\x20API','GetUserDataRequestHandler','GetProductDataRequestHandler','2317PwYxiF','requestId\x20:\x20','775056BUzhHP','InternalModifySubscriptionResponseListener','Received\x20the\x20request\x20for\x20getProductData\x20API','UserProfileAccessRequestHandler','Created\x20a\x20new\x20Instance\x20for\x20Purchasing\x20Manager','getPurchaseUpdates','PurchaseRequestHandler','1121460YPjUGi','1949387shkUtZ','debug','Received\x20the\x20request\x20for\x20notifyFulfillment\x20API','\x20for\x20API\x20requestUserProfileAccess','Received\x20the\x20request\x20for\x20getUserData','requestUserProfileAccess','InternalPurchaseResponseListener','getInstance','1KcrTGR','getProductData','354iwQMYF','Received\x20the\x20request\x20for\x20modifySubscription\x20API','getResultPromise','14805WoaKcx'];a6_0x5b45=function(){return _0x3f483a;};return a6_0x5b45();}(function(_0x356720,_0x1f609a){const _0x311081=a6_0x295d,_0x574a85=_0x356720();while(!![]){try{const _0x3d86fd=-parseInt(_0x311081(0x131))/0x1*(-parseInt(_0x311081(0x10a))/0x2)+parseInt(_0x311081(0x121))/0x3+-parseInt(_0x311081(0x128))/0x4+parseInt(_0x311081(0x109))/0x5*(-parseInt(_0x311081(0x106))/0x6)+-parseInt(_0x311081(0x11f))/0x7*(parseInt(_0x311081(0x118))/0x8)+-parseInt(_0x311081(0x10f))/0x9*(-parseInt(_0x311081(0x117))/0xa)+parseInt(_0x311081(0x129))/0xb;if(_0x3d86fd===_0x1f609a)break;else _0x574a85['push'](_0x574a85['shift']());}catch(_0xcade7f){_0x574a85['push'](_0x574a85['shift']());}}}(a6_0x5b45,0x26148));Object[a6_0x2d4b7e(0x11b)](exports,'__esModule',{'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');function a6_0x295d(_0x28cdbd,_0x3945ae){const _0x5b45b0=a6_0x5b45();return a6_0x295d=function(_0x295d2f,_0x2be98c){_0x295d2f=_0x295d2f-0x105;let _0x59aa88=_0x5b45b0[_0x295d2f];return _0x59aa88;},a6_0x295d(_0x28cdbd,_0x3945ae);}class PurchasingManager{static [a6_0x2d4b7e(0x115)]=null;constructor(){}static[a6_0x2d4b7e(0x130)](){const _0x5b2bfd=a6_0x2d4b7e;return PurchasingManager['purchasingManagerInstance']==null&&(IAPSDKLogger_1['IAPSDKLogger'][_0x5b2bfd(0x12a)](_0x5b2bfd(0x125)),PurchasingManager[_0x5b2bfd(0x115)]=new PurchasingManager()),PurchasingManager[_0x5b2bfd(0x115)];}[a6_0x2d4b7e(0x116)](_0x269f13){const _0x1898e2=a6_0x2d4b7e;IAPSDKLogger_1[_0x1898e2(0x11a)][_0x1898e2(0x114)](_0x1898e2(0x12d));const _0x41bc53=IAPSDKUtils_1['IAPSDKUtils'][_0x1898e2(0x113)]();return IAPSDKLogger_1[_0x1898e2(0x11a)][_0x1898e2(0x114)](_0x1898e2(0x120)+_0x41bc53[_0x1898e2(0x112)]),new GetUserDataRequestHandler_1[(_0x1898e2(0x11d))](_0x269f13,_0x41bc53)[_0x1898e2(0x10d)]();}[a6_0x2d4b7e(0x105)](_0x371f19){const _0xdfd10b=a6_0x2d4b7e;IAPSDKLogger_1[_0xdfd10b(0x11a)][_0xdfd10b(0x114)](_0xdfd10b(0x123));const _0x2def4c=IAPSDKUtils_1['IAPSDKUtils'][_0xdfd10b(0x113)]();return IAPSDKLogger_1[_0xdfd10b(0x11a)]['info']('requestId\x20:\x20'+_0x2def4c[_0xdfd10b(0x112)]),new GetProductDataRequestHandler_1[(_0xdfd10b(0x11e))](_0x371f19,_0x2def4c)[_0xdfd10b(0x10d)]();}[a6_0x2d4b7e(0x111)](_0x2f0c99){const _0x152087=a6_0x2d4b7e;IAPSDKLogger_1[_0x152087(0x11a)][_0x152087(0x114)](_0x152087(0x12b));const _0x1c1529=IAPSDKUtils_1[_0x152087(0x10c)][_0x152087(0x113)]();return IAPSDKLogger_1['IAPSDKLogger'][_0x152087(0x114)](_0x152087(0x120)+_0x1c1529[_0x152087(0x112)]),new NotifyFulfillmentRequestHandler_1[(_0x152087(0x10e))](_0x2f0c99,_0x1c1529)[_0x152087(0x10d)]();}[a6_0x2d4b7e(0x126)](_0x57e318){const _0x50bc09=a6_0x2d4b7e;IAPSDKLogger_1[_0x50bc09(0x11a)][_0x50bc09(0x114)](_0x50bc09(0x11c));const _0x40fa8f=IAPSDKUtils_1['IAPSDKUtils']['getNewRequestId']();return IAPSDKLogger_1['IAPSDKLogger'][_0x50bc09(0x114)]('requestId\x20:\x20'+_0x40fa8f['requestIdStr']),new GetPurchaseUpdatesRequestHandler_1['GetPurchaseUpdatesRequestHandler'](_0x57e318,_0x40fa8f)['execute']();}['purchase'](_0x4f6255){const _0x15e0f0=a6_0x2d4b7e;IAPSDKLogger_1['IAPSDKLogger'][_0x15e0f0(0x114)](_0x15e0f0(0x110));const _0x54f2ad=new InternalPurchaseResponseListener_1[(_0x15e0f0(0x12f))](),_0x2c54ed=IAPSDKUtils_1[_0x15e0f0(0x10c)][_0x15e0f0(0x113)]();return IAPSDKLogger_1[_0x15e0f0(0x11a)][_0x15e0f0(0x114)]('requestId\x20:\x20'+_0x2c54ed['requestIdStr']),void new PurchaseRequestHandler_1[(_0x15e0f0(0x127))](_0x4f6255,_0x2c54ed,_0x54f2ad)['execute'](),_0x54f2ad[_0x15e0f0(0x108)]();}[a6_0x2d4b7e(0x10b)](_0x4af5d0){const _0xafc20a=a6_0x2d4b7e;IAPSDKLogger_1['IAPSDKLogger'][_0xafc20a(0x114)](_0xafc20a(0x107));const _0x205acd=new InternalModifySubscriptionResponseListener_1[(_0xafc20a(0x122))](),_0xfe0179=IAPSDKUtils_1[_0xafc20a(0x10c)][_0xafc20a(0x113)]();return IAPSDKLogger_1[_0xafc20a(0x11a)][_0xafc20a(0x114)]('requestId\x20:\x20'+_0xfe0179['requestIdStr']),void new ModifySubscriptionRequestHandler_1['ModifySubscriptionRequestHandler'](_0x4af5d0,_0xfe0179,_0x205acd)[_0xafc20a(0x10d)](),_0x205acd[_0xafc20a(0x108)]();}[a6_0x2d4b7e(0x12e)](){const _0x4cb51f=a6_0x2d4b7e;IAPSDKLogger_1[_0x4cb51f(0x11a)][_0x4cb51f(0x12a)](_0x4cb51f(0x119));const _0x50f14d=IAPSDKUtils_1[_0x4cb51f(0x10c)]['getNewRequestId']();return IAPSDKLogger_1[_0x4cb51f(0x11a)][_0x4cb51f(0x114)](_0x4cb51f(0x120)+_0x50f14d[_0x4cb51f(0x112)]+_0x4cb51f(0x12c)),new UserProfileAccessRequestHandler_1[(_0x4cb51f(0x124))](_0x50f14d)['execute']();}}exports['PurchasingManager']=PurchasingManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var a7_0x52b5d6=a7_0x43bb;(function(_0x30b3a2,_0x2e1eec){var _0x4c7751=a7_0x43bb,_0x28e490=_0x30b3a2();while(!![]){try{var _0x51f7af=-parseInt(_0x4c7751(0x12f))/0x1+parseInt(_0x4c7751(0x17a))/0x2*(-parseInt(_0x4c7751(0x13a))/0x3)+-parseInt(_0x4c7751(0x178))/0x4+-parseInt(_0x4c7751(0x171))/0x5*(-parseInt(_0x4c7751(0x135))/0x6)+parseInt(_0x4c7751(0x111))/0x7+-parseInt(_0x4c7751(0x126))/0x8*(parseInt(_0x4c7751(0x123))/0x9)+-parseInt(_0x4c7751(0x160))/0xa*(-parseInt(_0x4c7751(0x159))/0xb);if(_0x51f7af===_0x2e1eec)break;else _0x28e490['push'](_0x28e490['shift']());}catch(_0x37d002){_0x28e490['push'](_0x28e490['shift']());}}}(a7_0x44f8,0x311fc));Object[a7_0x52b5d6(0x158)](exports,a7_0x52b5d6(0xff),{'value':!![]}),exports[a7_0x52b5d6(0x177)]=void 0x0;function a7_0x44f8(){var _0x437c11=['UNAVAILABLE','FAILURE','593992yZsYpj','OPERATION_NAME_PURCHASE_RESPONSE','KEY_USER_ID','KEY_SIGNATURE','modifySubscriptionIntent','OPERATION_NAME_GET_USER_DATA','KEY_DEVICE_ID','promotions','KEY_V3_VERSION','promotionPricePeriod','freeTrialPeriod','KEY_RESPONSE','launchUIEvent','KEY_RECEIPT_ID','KEY_DEFERRED_SKU','purchase_response','KEY_PRICE','KEY_SDK_VERSION','46098qaWetx','EMPTY_STRING','packageName','40RGwzzc','KEY_CURRENCY','KEY_PROMOTIONS_PRICE_CYCLES','KEY_ICON_URL','KEY_VALIDATION_STATUS','deviceId','KEY_PACKAGE_NAME','KEY_PROMOTIONS_PLANS','ZERO_STRING','161959gYJSqW','response','userId','fetchLwaConsentStatus','KEY_FETCH_LWA_CONSENT_STATUS','iapReceiptType','232548CNdvYh','receiptId','KEY_FULFILLMENT_STATUS','promotionPriceJson','KEY_CANCEL_DATE_EPOCH','24gJHLxe','KEY_ORDER_STATUS','subscriptionPeriod','KEY_RESET','promotionPrice','ALREADY_ENTITLED','KEY_RECEIPT','fulfillmentStatus','KEY_RECEIPT_DELIVERED','modify_subscription_response','fulfillmentResult','requestPayload','PURCHASE_EVENT','KEY_VALUE_IN_MICROS','response_received','receipt','modify_subscription','iconUrl','KEY_RESPONSE_VERSION','purchase_item','KEY_CURSOR','receipts','KEY_SKUS','OPERATION_NAME_GET_PRODUCT_DATA','KEY_REQUEST_PAYLOAD','DELIVERED','OPERATION_NAME_MODIFY_SUBSCRIPTION_RESPONSE','KEY_AUTH_CODE_FOR_USER_PROFILE_ACCESS','KEY_PROMOTIONS_PRICE_PERIOD','responseStatus','defineProperty','33olqmRm','SUCCESS','KEY_VERSION','OPERATION_NAME_GET_AUTH_CODE_FOR_USER_PROFILE_ACCESS','description','OPERATION_NAME_RESPONSE_RECEIVED','LAUNCH_UI_EVENT','1269650DzcyTO','com.amazon.sampleapp','KEY_TITLE','deferredSku','KEY_URL','KEY_V2_REQUEST_PAYLOAD','validationStatus','sku','KEY_PROMOTIONS_TYPE','get_authCodeForUserProfileAccess','prorationMode','get_userId','KEY_MODIFY_SUBSCRIPTION_UI_INFO','KEY_MARKETPLACE','authCodeForUserProfileAccess','OPERATION_NAME_MODIFY_SUBSCRIPTION','orderStatus','35ylOqze','KEY_RECEIPT_IDS','receiptIds','url','purchaseEvent','KEY_FREE_TRIAL_PERIOD','IAPSDKConstants','1220848DGnsAu','receiptDelivered','10766fCVbZD','KEY_RESPONSE_STATUS','cancelDateEpoch','purchaseDateEpoch','coinsRewardAmount','marketplace','__esModule','deferredDateEpoch','OPERATION_NAME_NOTIFY_FULFILLMENT','sdkVersion','LWA_CONSENT_STATUS_UNAVAILABLE','price','KEY_PRODUCT_TYPE','KEY_OPERATION_NAME','reset','title','KEY_DEFERRED_DATE_EPOCH','KEY_RECEIPTS','KEY_DESCRIPTION','SDK_VERSION','lwaConsentStatus','hasMore'];a7_0x44f8=function(){return _0x437c11;};return a7_0x44f8();}class IAPSDKConstants{static [a7_0x52b5d6(0x10c)]='V2';static [a7_0x52b5d6(0x146)]=a7_0x52b5d6(0x175);static [a7_0x52b5d6(0x15f)]=a7_0x52b5d6(0x11d);static ['SAMPLE_PACKAGE_NAME']=a7_0x52b5d6(0x161);static [a7_0x52b5d6(0x164)]=a7_0x52b5d6(0x174);static [a7_0x52b5d6(0x116)]=a7_0x52b5d6(0x16b);static [a7_0x52b5d6(0x151)]='getItem_data';static ['OPERATION_NAME_GET_PURCHASE_UPDATES']='purchase_updates';static [a7_0x52b5d6(0x101)]='purchase_fulfilled';static ['OPERATION_NAME_PURCHASE']=a7_0x52b5d6(0x14d);static [a7_0x52b5d6(0x112)]=a7_0x52b5d6(0x120);static [a7_0x52b5d6(0x16f)]=a7_0x52b5d6(0x14a);static [a7_0x52b5d6(0x154)]=a7_0x52b5d6(0x143);static [a7_0x52b5d6(0x15e)]=a7_0x52b5d6(0x148);static [a7_0x52b5d6(0x15a)]=a7_0x52b5d6(0x15a);static [a7_0x52b5d6(0x110)]=a7_0x52b5d6(0x110);static ['DELIVERED']=a7_0x52b5d6(0x153);static [a7_0x52b5d6(0x13f)]=a7_0x52b5d6(0x13f);static [a7_0x52b5d6(0x15c)]=a7_0x52b5d6(0x169);static [a7_0x52b5d6(0x122)]=a7_0x52b5d6(0x102);static ['KEY_V2_VERSION']='V2';static [a7_0x52b5d6(0x119)]='V3';static [a7_0x52b5d6(0x14c)]='responseVersion';static [a7_0x52b5d6(0x106)]='name';static ['KEY_REQUEST_ID']='requestId';static [a7_0x52b5d6(0x12c)]=a7_0x52b5d6(0x125);static [a7_0x52b5d6(0x15b)]='version';static [a7_0x52b5d6(0x152)]=a7_0x52b5d6(0x145);static [a7_0x52b5d6(0x165)]='V2';static [a7_0x52b5d6(0x11c)]=a7_0x52b5d6(0x130);static [a7_0x52b5d6(0x17b)]=a7_0x52b5d6(0x157);static [a7_0x52b5d6(0x113)]=a7_0x52b5d6(0x131);static [a7_0x52b5d6(0x16d)]=a7_0x52b5d6(0xfe);static ['KEY_LWA_CONSENT_STATUS']=a7_0x52b5d6(0x10d);static [a7_0x52b5d6(0x133)]=a7_0x52b5d6(0x132);static [a7_0x52b5d6(0x103)]=a7_0x52b5d6(0x10f);static [a7_0x52b5d6(0x105)]='itemType';static [a7_0x52b5d6(0x10b)]=a7_0x52b5d6(0x15d);static [a7_0x52b5d6(0x121)]=a7_0x52b5d6(0x104);static ['KEY_PRICE_JSON']='priceJson';static [a7_0x52b5d6(0x127)]='currency';static [a7_0x52b5d6(0x147)]='value';static [a7_0x52b5d6(0x162)]=a7_0x52b5d6(0x108);static [a7_0x52b5d6(0x129)]=a7_0x52b5d6(0x14b);static ['KEY_COINS_REWARD_AMOUNT']=a7_0x52b5d6(0xfd);static [a7_0x52b5d6(0x150)]='skus';static [a7_0x52b5d6(0x11e)]=a7_0x52b5d6(0x136);static [a7_0x52b5d6(0x172)]=a7_0x52b5d6(0x173);static ['KEY_FULFILLMENT_RESULT']=a7_0x52b5d6(0x144);static [a7_0x52b5d6(0x137)]=a7_0x52b5d6(0x141);static [a7_0x52b5d6(0x12a)]=a7_0x52b5d6(0x166);static [a7_0x52b5d6(0x13d)]=a7_0x52b5d6(0x107);static [a7_0x52b5d6(0x14e)]='cursor';static ['KEY_CURSOR_V2']='cursor_v2';static [a7_0x52b5d6(0x140)]=a7_0x52b5d6(0x149);static [a7_0x52b5d6(0x10a)]=a7_0x52b5d6(0x14f);static ['KEY_HAS_MORE']=a7_0x52b5d6(0x10e);static ['KEY_IAP_RECEIPT_TYPE']=a7_0x52b5d6(0x134);static [a7_0x52b5d6(0x117)]=a7_0x52b5d6(0x12b);static [a7_0x52b5d6(0x114)]='signature';static ['KEY_SKU']=a7_0x52b5d6(0x167);static ['KEY_TERM_SKU']='termSku';static [a7_0x52b5d6(0x11f)]=a7_0x52b5d6(0x163);static ['KEY_PURCHASE_DATE_EPOCH']=a7_0x52b5d6(0x17d);static [a7_0x52b5d6(0x139)]=a7_0x52b5d6(0x17c);static [a7_0x52b5d6(0x109)]=a7_0x52b5d6(0x100);static ['KEY_PURCHASE_UI_INFO']='purchaseItemIntent';static [a7_0x52b5d6(0x142)]=a7_0x52b5d6(0x179);static ['KEY_NOTIFY_LISTENER_SUCCEEDED']='notifyListenerSucceeded';static ['KEY_PRORATION_MODE']=a7_0x52b5d6(0x16a);static [a7_0x52b5d6(0x16c)]=a7_0x52b5d6(0x115);static [a7_0x52b5d6(0x176)]=a7_0x52b5d6(0x11b);static ['KEY_SUBSCRIPTION_PERIOD']=a7_0x52b5d6(0x13c);static ['KEY_PROMOTIONS']=a7_0x52b5d6(0x118);static [a7_0x52b5d6(0x168)]='promotionType';static [a7_0x52b5d6(0x12d)]='promotionPlans';static ['KEY_PROMOTIONS_PRICE']=a7_0x52b5d6(0x13e);static ['KEY_PROMOTIONS_PRICE_JSON']=a7_0x52b5d6(0x138);static [a7_0x52b5d6(0x156)]=a7_0x52b5d6(0x11a);static [a7_0x52b5d6(0x128)]='promotionPriceCycles';static [a7_0x52b5d6(0x13b)]=a7_0x52b5d6(0x170);static [a7_0x52b5d6(0x155)]=a7_0x52b5d6(0x16e);static [a7_0x52b5d6(0x124)]='';static [a7_0x52b5d6(0x12e)]='0';}function a7_0x43bb(_0x57bc0b,_0x5e7e44){var _0x44f8d5=a7_0x44f8();return a7_0x43bb=function(_0x43bb95,_0x25f99c){_0x43bb95=_0x43bb95-0xfd;var _0x210235=_0x44f8d5[_0x43bb95];return _0x210235;},a7_0x43bb(_0x57bc0b,_0x5e7e44);}exports[a7_0x52b5d6(0x177)]=IAPSDKConstants;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function a8_0x5edd(){var _0xaccadf=['SUCCESSFUL','3164833eLgVFh','__esModule','BasicAckResponseCode','12425526crhgzX','PurchaseUpdatesAckResponseCode','297642oaBNYZ','FAILED','23763744CJKxhD','defineProperty','11TGqfUt','2972HXlwrH','2937oJdjas','16DbgjFm','418ZTigYF','35iJmqXQ','2049590UcmwRB','1070PrmntF'];a8_0x5edd=function(){return _0xaccadf;};return a8_0x5edd();}var a8_0xae6f8d=a8_0x27e8;(function(_0x54be1e,_0x516555){var _0x5592c9=a8_0x27e8,_0x43a681=_0x54be1e();while(!![]){try{var _0x46cedb=parseInt(_0x5592c9(0x78))/0x1*(parseInt(_0x5592c9(0x7b))/0x2)+-parseInt(_0x5592c9(0x76))/0x3*(-parseInt(_0x5592c9(0x75))/0x4)+-parseInt(_0x5592c9(0x79))/0x5*(parseInt(_0x5592c9(0x82))/0x6)+-parseInt(_0x5592c9(0x7d))/0x7*(-parseInt(_0x5592c9(0x77))/0x8)+parseInt(_0x5592c9(0x80))/0x9+-parseInt(_0x5592c9(0x7a))/0xa+parseInt(_0x5592c9(0x74))/0xb*(-parseInt(_0x5592c9(0x84))/0xc);if(_0x46cedb===_0x516555)break;else _0x43a681['push'](_0x43a681['shift']());}catch(_0xae4913){_0x43a681['push'](_0x43a681['shift']());}}}(a8_0x5edd,0xabb7f));function a8_0x27e8(_0x38e78b,_0x181e18){var _0x5edd5d=a8_0x5edd();return a8_0x27e8=function(_0x27e82f,_0x18b0b6){_0x27e82f=_0x27e82f-0x73;var _0x492579=_0x5edd5d[_0x27e82f];return _0x492579;},a8_0x27e8(_0x38e78b,_0x181e18);}Object[a8_0xae6f8d(0x73)](exports,a8_0xae6f8d(0x7e),{'value':!![]}),exports[a8_0xae6f8d(0x7f)]=exports[a8_0xae6f8d(0x81)]=void 0x0;var PurchaseUpdatesAckResponseCode;(function(_0x56a5b9){var _0x47772a=a8_0xae6f8d;_0x56a5b9[_0x56a5b9['SUCCESSFUL']=0x1]=_0x47772a(0x7c),_0x56a5b9[_0x56a5b9['FAILED']=0x2]=_0x47772a(0x83);}(PurchaseUpdatesAckResponseCode=exports[a8_0xae6f8d(0x81)]||(exports[a8_0xae6f8d(0x81)]={})));var BasicAckResponseCode;(function(_0x112318){var _0x13677b=a8_0xae6f8d;_0x112318[_0x112318['SUCCESSFUL']=0x1]=_0x13677b(0x7c),_0x112318[_0x112318[_0x13677b(0x83)]=0x2]=_0x13677b(0x83);}(BasicAckResponseCode=exports[a8_0xae6f8d(0x7f)]||(exports[a8_0xae6f8d(0x7f)]={})));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var a9_0x52a953=a9_0x389c;function a9_0x389c(_0x9a2e5c,_0x470dd4){var _0x7af7f0=a9_0x7af7();return a9_0x389c=function(_0x389c95,_0x5044dd){_0x389c95=_0x389c95-0x179;var _0xd1d928=_0x7af7f0[_0x389c95];return _0xd1d928;},a9_0x389c(_0x9a2e5c,_0x470dd4);}function a9_0x7af7(){var _0x430517=['11800Zzyhst','181VoeYsf','1557493RHKPPF','6305123gJLrwY','10hnhPCk','8cgORYP','defineProperty','8794PXFvPd','8237547WNnnoF','246qCDavy','60XZHSIv','IResponseListener','5430536GHUlnf','__esModule','1843890WHLejn'];a9_0x7af7=function(){return _0x430517;};return a9_0x7af7();}(function(_0x41b52f,_0x3cff25){var _0x3eeb99=a9_0x389c,_0x32ea57=_0x41b52f();while(!![]){try{var _0x57525e=-parseInt(_0x3eeb99(0x17e))/0x1*(parseInt(_0x3eeb99(0x184))/0x2)+-parseInt(_0x3eeb99(0x17c))/0x3+-parseInt(_0x3eeb99(0x17a))/0x4+-parseInt(_0x3eeb99(0x17d))/0x5*(parseInt(_0x3eeb99(0x186))/0x6)+parseInt(_0x3eeb99(0x17f))/0x7*(-parseInt(_0x3eeb99(0x182))/0x8)+parseInt(_0x3eeb99(0x185))/0x9*(parseInt(_0x3eeb99(0x181))/0xa)+-parseInt(_0x3eeb99(0x180))/0xb*(-parseInt(_0x3eeb99(0x187))/0xc);if(_0x57525e===_0x3cff25)break;else _0x32ea57['push'](_0x32ea57['shift']());}catch(_0x1552e3){_0x32ea57['push'](_0x32ea57['shift']());}}}(a9_0x7af7,0xa966c));Object[a9_0x52a953(0x183)](exports,a9_0x52a953(0x17b),{'value':!![]}),exports[a9_0x52a953(0x179)]=void 0x0;class IResponseListener{}exports[a9_0x52a953(0x179)]=IResponseListener;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a10_0x238363=a10_0x3531;(function(_0x1823f6,_0x458755){const _0x165803=a10_0x3531,_0x3a7e4a=_0x1823f6();while(!![]){try{const _0x552bbb=parseInt(_0x165803(0x1b5))/0x1*(parseInt(_0x165803(0x1aa))/0x2)+parseInt(_0x165803(0x1a8))/0x3+parseInt(_0x165803(0x1ae))/0x4*(-parseInt(_0x165803(0x1ad))/0x5)+parseInt(_0x165803(0x1b2))/0x6*(parseInt(_0x165803(0x1ab))/0x7)+-parseInt(_0x165803(0x1a9))/0x8+parseInt(_0x165803(0x1ac))/0x9+-parseInt(_0x165803(0x1b0))/0xa;if(_0x552bbb===_0x458755)break;else _0x3a7e4a['push'](_0x3a7e4a['shift']());}catch(_0x3bcd08){_0x3a7e4a['push'](_0x3a7e4a['shift']());}}}(a10_0x19e4,0xc59ea));Object[a10_0x238363(0x1b8)](exports,a10_0x238363(0x1b4),{'value':!![]}),exports[a10_0x238363(0x1b3)]=void 0x0;const ModifySubscriptionResponseListener_1=require('./ModifySubscriptionResponseListener');class InternalModifySubscriptionResponseListener extends ModifySubscriptionResponseListener_1[a10_0x238363(0x1b6)]{[a10_0x238363(0x1b7)];[a10_0x238363(0x1b1)];constructor(){super(),this['resultPromise']=new Promise((_0x553108,_0x57d98f)=>{this['resolvePromise']=_0x553108;});}['onModifySubscriptionResponse'](_0x7a5040){const _0x223870=a10_0x238363;this[_0x223870(0x1b1)](_0x7a5040);}[a10_0x238363(0x1af)](){const _0x1a461d=a10_0x238363;return this[_0x1a461d(0x1b7)];}}function a10_0x3531(_0x2d4851,_0x394016){const _0x19e4eb=a10_0x19e4();return a10_0x3531=function(_0x353135,_0x1bc60e){_0x353135=_0x353135-0x1a8;let _0x499075=_0x19e4eb[_0x353135];return _0x499075;},a10_0x3531(_0x2d4851,_0x394016);}function a10_0x19e4(){const _0x8b0b7a=['ModifySubscriptionResponseListener','resultPromise','defineProperty','4187199ttqfdD','1421744kZDCQs','12Bleerc','8610091vLMSUW','13521411ecEcop','205RXtgZA','65476Pxsqzn','getResultPromise','33506340csreIu','resolvePromise','6PRnTVy','InternalModifySubscriptionResponseListener','__esModule','146801JwFDyi'];a10_0x19e4=function(){return _0x8b0b7a;};return a10_0x19e4();}exports[a10_0x238363(0x1b3)]=InternalModifySubscriptionResponseListener;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const a11_0x1bbeff=a11_0x5916;(function(_0x51be9b,_0x270c5c){const _0x27887f=a11_0x5916,_0x4534a6=_0x51be9b();while(!![]){try{const _0x4c9175=parseInt(_0x27887f(0x151))/0x1+parseInt(_0x27887f(0x14d))/0x2+parseInt(_0x27887f(0x142))/0x3*(parseInt(_0x27887f(0x14e))/0x4)+-parseInt(_0x27887f(0x149))/0x5+parseInt(_0x27887f(0x14c))/0x6*(parseInt(_0x27887f(0x144))/0x7)+parseInt(_0x27887f(0x146))/0x8+-parseInt(_0x27887f(0x143))/0x9*(parseInt(_0x27887f(0x14b))/0xa);if(_0x4c9175===_0x270c5c)break;else _0x4534a6['push'](_0x4534a6['shift']());}catch(_0x2293b7){_0x4534a6['push'](_0x4534a6['shift']());}}}(a11_0x1ba0,0x32806));function a11_0x5916(_0x27f4b6,_0x5a94a7){const _0x1ba049=a11_0x1ba0();return a11_0x5916=function(_0x591649,_0xce9f86){_0x591649=_0x591649-0x141;let _0x441b31=_0x1ba049[_0x591649];return _0x441b31;},a11_0x5916(_0x27f4b6,_0x5a94a7);}Object['defineProperty'](exports,a11_0x1bbeff(0x148),{'value':!![]}),exports[a11_0x1bbeff(0x147)]=void 0x0;const PurchaseResponseListener_1=require('./PurchaseResponseListener');function a11_0x1ba0(){const _0x59ed03=['630056ypUySi','4bUqDAa','resultPromise','resolvePromise','23184dKXuVx','getResultPromise','13224zgCKkz','9YNgGRS','2472218OFHvJT','PurchaseResponseListener','95424IpcHlQ','InternalPurchaseResponseListener','__esModule','149080HCJzsC','onPurchaseResponse','4710520OFhYwy','6EBCwAz'];a11_0x1ba0=function(){return _0x59ed03;};return a11_0x1ba0();}class InternalPurchaseResponseListener extends PurchaseResponseListener_1[a11_0x1bbeff(0x145)]{[a11_0x1bbeff(0x14f)];[a11_0x1bbeff(0x150)];constructor(){const _0x536bb5=a11_0x1bbeff;super(),this[_0x536bb5(0x14f)]=new Promise((_0x407704,_0x4de836)=>{const _0x106f4b=_0x536bb5;this[_0x106f4b(0x150)]=_0x407704;});}[a11_0x1bbeff(0x14a)](_0x1d6d47){const _0xb737ac=a11_0x1bbeff;this[_0xb737ac(0x150)](_0x1d6d47);}[a11_0x1bbeff(0x141)](){const _0x50345d=a11_0x1bbeff;return this[_0x50345d(0x14f)];}}exports[a11_0x1bbeff(0x147)]=InternalPurchaseResponseListener;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a12_0x3e8e47=a12_0x245f;(function(_0x57a9aa,_0x2f4336){const _0x51df1a=a12_0x245f,_0x2e1e30=_0x57a9aa();while(!![]){try{const _0xd3d25=parseInt(_0x51df1a(0xac))/0x1+parseInt(_0x51df1a(0xb0))/0x2+parseInt(_0x51df1a(0xa5))/0x3+parseInt(_0x51df1a(0xb1))/0x4+parseInt(_0x51df1a(0xa6))/0x5*(parseInt(_0x51df1a(0xa9))/0x6)+parseInt(_0x51df1a(0xa8))/0x7+parseInt(_0x51df1a(0xad))/0x8*(-parseInt(_0x51df1a(0xab))/0x9);if(_0xd3d25===_0x2f4336)break;else _0x2e1e30['push'](_0x2e1e30['shift']());}catch(_0x465230){_0x2e1e30['push'](_0x2e1e30['shift']());}}}(a12_0x5d18,0xda44b));function a12_0x5d18(){const _0xa7b12c=['824760iUhqom','1366160ujZbXQ','328stOLIC','IResponseListener','defineProperty','1506300YnTYxZ','6229152Wjcsyq','1460214GklYQa','5YwZzls','ModifySubscriptionResponseListener','2194318GnmRnZ','1046742iJaGqR','__esModule'];a12_0x5d18=function(){return _0xa7b12c;};return a12_0x5d18();}Object[a12_0x3e8e47(0xaf)](exports,a12_0x3e8e47(0xaa),{'value':!![]}),exports['ModifySubscriptionResponseListener']=void 0x0;function a12_0x245f(_0x26b355,_0x42f647){const _0x5d18ec=a12_0x5d18();return a12_0x245f=function(_0x245f9e,_0x6f5ba2){_0x245f9e=_0x245f9e-0xa5;let _0x1cef33=_0x5d18ec[_0x245f9e];return _0x1cef33;},a12_0x245f(_0x26b355,_0x42f647);}const IResponseListener_1=require('./IResponseListener');class ModifySubscriptionResponseListener extends IResponseListener_1[a12_0x3e8e47(0xae)]{}exports[a12_0x3e8e47(0xa7)]=ModifySubscriptionResponseListener;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';const a13_0x112962=a13_0x3e63;function a13_0x3e63(_0x3d4df8,_0x1a8aa6){const _0x10cc51=a13_0x10cc();return a13_0x3e63=function(_0x3e6371,_0x3a2591){_0x3e6371=_0x3e6371-0x1c5;let _0x4c6d91=_0x10cc51[_0x3e6371];return _0x4c6d91;},a13_0x3e63(_0x3d4df8,_0x1a8aa6);}(function(_0xfcca40,_0x3d7403){const _0x515e3f=a13_0x3e63,_0x30efb6=_0xfcca40();while(!![]){try{const _0x5eae2f=-parseInt(_0x515e3f(0x1ca))/0x1+parseInt(_0x515e3f(0x1c5))/0x2+parseInt(_0x515e3f(0x1cb))/0x3+parseInt(_0x515e3f(0x1ce))/0x4+parseInt(_0x515e3f(0x1c9))/0x5*(-parseInt(_0x515e3f(0x1c7))/0x6)+parseInt(_0x515e3f(0x1c8))/0x7*(-parseInt(_0x515e3f(0x1cc))/0x8)+-parseInt(_0x515e3f(0x1cd))/0x9;if(_0x5eae2f===_0x3d7403)break;else _0x30efb6['push'](_0x30efb6['shift']());}catch(_0x1e82c7){_0x30efb6['push'](_0x30efb6['shift']());}}}(a13_0x10cc,0x99590));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a13_0x112962(0x1c6)]=void 0x0;function a13_0x10cc(){const _0x9494a1=['PurchaseResponseListener','36sDEonO','431438yxkuwr','876270TlmobP','399261cHSNHY','2978088DnOxUg','16VugRpk','5311818NjBNvK','4133316mcXtAe','IResponseListener','1532684AKiPEk'];a13_0x10cc=function(){return _0x9494a1;};return a13_0x10cc();}const IResponseListener_1=require('./IResponseListener');class PurchaseResponseListener extends IResponseListener_1[a13_0x112962(0x1cf)]{}exports['PurchaseResponseListener']=PurchaseResponseListener;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var a14_0x3b30b6=a14_0x3481;(function(_0x9e8c5a,_0x526196){var _0x227db4=a14_0x3481,_0x3fcb4f=_0x9e8c5a();while(!![]){try{var _0x14124f=parseInt(_0x227db4(0x90))/0x1+parseInt(_0x227db4(0x91))/0x2+parseInt(_0x227db4(0x96))/0x3*(parseInt(_0x227db4(0x95))/0x4)+parseInt(_0x227db4(0x94))/0x5+parseInt(_0x227db4(0x8b))/0x6*(-parseInt(_0x227db4(0x8f))/0x7)+parseInt(_0x227db4(0x99))/0x8+-parseInt(_0x227db4(0x97))/0x9;if(_0x14124f===_0x526196)break;else _0x3fcb4f['push'](_0x3fcb4f['shift']());}catch(_0x6a0b19){_0x3fcb4f['push'](_0x3fcb4f['shift']());}}}(a14_0x54fc,0xf1df7));Object[a14_0x3b30b6(0x8c)](exports,a14_0x3b30b6(0x9a),{'value':!![]}),exports[a14_0x3b30b6(0x8a)]=void 0x0;function a14_0x3481(_0x4be670,_0x5ab5e0){var _0x54fcaa=a14_0x54fc();return a14_0x3481=function(_0x348129,_0x276cc3){_0x348129=_0x348129-0x8a;var _0x4d6937=_0x54fcaa[_0x348129];return _0x4d6937;},a14_0x3481(_0x4be670,_0x5ab5e0);}class IAPSDKLogger{static [a14_0x3b30b6(0x8d)]=a14_0x3b30b6(0x93);static[a14_0x3b30b6(0x8e)](_0x1d4eef){var _0x4dc4a9=a14_0x3b30b6;console[_0x4dc4a9(0x8e)](IAPSDKLogger['LOGGER_TAG']+_0x1d4eef);}static['info'](_0x21aeac){var _0x585638=a14_0x3b30b6;console[_0x585638(0x92)](IAPSDKLogger[_0x585638(0x8d)]+_0x21aeac);}static[a14_0x3b30b6(0x98)](_0x580fa8){var _0x15a222=a14_0x3b30b6;console['error'](IAPSDKLogger[_0x15a222(0x8d)]+_0x580fa8);}static[a14_0x3b30b6(0x9b)](_0x58d698){var _0x190e6c=a14_0x3b30b6;console[_0x190e6c(0x9b)](IAPSDKLogger[_0x190e6c(0x8d)]+_0x58d698);}}function a14_0x54fc(){var _0x46b4d6=['96sUYSku','158439iLtjbl','40684887tYFnGJ','error','12586216YMkDmu','__esModule','warn','IAPSDKLogger','6BQrrci','defineProperty','LOGGER_TAG','debug','927437WswwIf','926392ZJNMJi','2729196rDchQA','info','[AmazonIAPSDK]\x20','2559830hjAvdj'];a14_0x54fc=function(){return _0x46b4d6;};return a14_0x54fc();}exports['IAPSDKLogger']=IAPSDKLogger;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function a15_0x5f36(){const _0x4a3699=['post','stringify','requestIdStr','performIAPRequest','__esModule','keys','APIBaseRequestHandler','inputJson','API\x20Base\x20Request\x20Handler\x20Constructor\x20invoked','getRequestId','1429884mjdqxW','IAPSDKLogger','debug','331458HBmzqA','7yUFVUc','5222763qSQctr','8040376uYPXLT','__importDefault','2385502zCCIJX','addRequestPayload','parse','IAPSDKConstants','1708852uXCGke','10atyfRB','requestId','712960otsRgo','3BbsTSk','addDataToAllRequestPayloadVersions','KEY_REQUEST_PAYLOAD','KEY_REQUEST_ID'];a15_0x5f36=function(){return _0x4a3699;};return a15_0x5f36();}const a15_0x17994f=a15_0x1b35;(function(_0x42d505,_0x84c722){const _0x48703f=a15_0x1b35,_0x1f16f2=_0x42d505();while(!![]){try{const _0x1023e1=parseInt(_0x48703f(0x1fe))/0x1+-parseInt(_0x48703f(0x1e5))/0x2*(parseInt(_0x48703f(0x1ed))/0x3)+parseInt(_0x48703f(0x1e9))/0x4*(parseInt(_0x48703f(0x1ea))/0x5)+-parseInt(_0x48703f(0x1fb))/0x6*(-parseInt(_0x48703f(0x1ff))/0x7)+parseInt(_0x48703f(0x1e3))/0x8+-parseInt(_0x48703f(0x1e2))/0x9+parseInt(_0x48703f(0x1ec))/0xa;if(_0x1023e1===_0x84c722)break;else _0x1f16f2['push'](_0x1f16f2['shift']());}catch(_0x3f58e7){_0x1f16f2['push'](_0x1f16f2['shift']());}}}(a15_0x5f36,0xb19bb));var __importDefault=this&&this[a15_0x17994f(0x1e4)]||function(_0x45b83e){return _0x45b83e&&_0x45b83e['__esModule']?_0x45b83e:{'default':_0x45b83e};};Object['defineProperty'](exports,a15_0x17994f(0x1f5),{'value':!![]}),exports[a15_0x17994f(0x1f7)]=void 0x0;const IAPSDKConstants_1=require('../../constants/IAPSDKConstants'),IAPSDKLogger_1=require('../../logger/IAPSDKLogger'),NativeIAPRequestHandler_1=__importDefault(require('../../NativeIAPRequestHandler'));function a15_0x1b35(_0x154fa3,_0x2f202f){const _0x5f36b1=a15_0x5f36();return a15_0x1b35=function(_0x1b3578,_0x7fd7b7){_0x1b3578=_0x1b3578-0x1e2;let _0x3015c4=_0x5f36b1[_0x1b3578];return _0x3015c4;},a15_0x1b35(_0x154fa3,_0x2f202f);}class APIBaseRequestHandler{[a15_0x17994f(0x1f8)];[a15_0x17994f(0x1eb)];constructor(_0x35eef1){const _0x5435bc=a15_0x17994f;IAPSDKLogger_1[_0x5435bc(0x1fc)][_0x5435bc(0x1fd)](_0x5435bc(0x1f9)),this[_0x5435bc(0x1eb)]=_0x35eef1,this['inputJson']=JSON[_0x5435bc(0x1e7)](JSON[_0x5435bc(0x1f2)]({})),this['inputJson'][IAPSDKConstants_1[_0x5435bc(0x1e8)]['KEY_SDK_VERSION']]=IAPSDKConstants_1[_0x5435bc(0x1e8)]['SDK_VERSION'],this[_0x5435bc(0x1f8)][IAPSDKConstants_1[_0x5435bc(0x1e8)][_0x5435bc(0x1f0)]]=_0x35eef1['requestIdStr'],this[_0x5435bc(0x1f8)][IAPSDKConstants_1[_0x5435bc(0x1e8)][_0x5435bc(0x1ef)]]=JSON['parse'](JSON['stringify']({}));}[a15_0x17994f(0x1e6)](_0xc3055c,_0x4bea17){const _0x36adb9=a15_0x17994f;this[_0x36adb9(0x1f8)][IAPSDKConstants_1[_0x36adb9(0x1e8)]['KEY_REQUEST_PAYLOAD']][_0xc3055c]=_0x4bea17;}['addDataToInputJson'](_0x26fb08,_0x7c42a3){const _0x2e5c22=a15_0x17994f;this[_0x2e5c22(0x1f8)][_0x26fb08]=_0x7c42a3;}async[a15_0x17994f(0x1f1)](){const _0x3233be=a15_0x17994f;return JSON['parse'](await NativeIAPRequestHandler_1['default'][_0x3233be(0x1f4)](this[_0x3233be(0x1fa)]()[_0x3233be(0x1f3)],JSON[_0x3233be(0x1f2)](this['inputJson']),![]));}[a15_0x17994f(0x1ee)](_0x11e783,_0x11aa4a){const _0x336209=a15_0x17994f,_0x688dd4=Object[_0x336209(0x1f6)](this[_0x336209(0x1f8)][IAPSDKConstants_1[_0x336209(0x1e8)][_0x336209(0x1ef)]]);for(const _0x11268d of _0x688dd4){this[_0x336209(0x1f8)][IAPSDKConstants_1[_0x336209(0x1e8)]['KEY_REQUEST_PAYLOAD']][_0x11268d][_0x11e783]=_0x11aa4a;}}[a15_0x17994f(0x1fa)](){const _0x4363d8=a15_0x17994f;return this[_0x4363d8(0x1eb)];}}exports[a15_0x17994f(0x1f7)]=APIBaseRequestHandler;
|