@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
package/dist/internal/operations/model/notifyFulfillment/NotifyFulfillmentReqRespBaseModel.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';function a38_0x46aa(_0x57c9e5,_0x26d7ea){var _0x1c3601=a38_0x1c36();return a38_0x46aa=function(_0x46aab3,_0x37ec87){_0x46aab3=_0x46aab3-0xf2;var _0x382172=_0x1c3601[_0x46aab3];return _0x382172;},a38_0x46aa(_0x57c9e5,_0x26d7ea);}var a38_0x40fb8b=a38_0x46aa;function a38_0x1c36(){var _0x2bb8b8=['getNotifyFulfillmentRequestParams','create','__setModuleDefault','3339434oWiaCQ','1060CzWZmI','11977TCywub','168148jqMkmt','39tCiHbp','__esModule','notifyFulfillmentRequestParams','130505HXcVUF','__createBinding','3DZsaLL','configurable','2402tFiQuf','NotifyFulfillmentReqRespBaseModel','1528atxvZh','48vgwBfS','233TcMCeK','default','IAPSDKLogger','__importStar','debug','createNullResponse','hasOwnProperty','1148510TPIwqm','APIReqRespBaseModel','60ionYKp','17991whQpml','Creating\x20a\x20null\x20response\x20for\x20NotifyFulfillment\x20with\x20response\x20status\x20:\x20'];a38_0x1c36=function(){return _0x2bb8b8;};return a38_0x1c36();}(function(_0x332f62,_0x58f786){var _0x3f59b2=a38_0x46aa,_0x597784=_0x332f62();while(!![]){try{var _0x432405=-parseInt(_0x3f59b2(0x107))/0x1*(parseInt(_0x3f59b2(0x103))/0x2)+parseInt(_0x3f59b2(0x101))/0x3*(-parseInt(_0x3f59b2(0xfb))/0x4)+parseInt(_0x3f59b2(0xff))/0x5*(-parseInt(_0x3f59b2(0xf2))/0x6)+parseInt(_0x3f59b2(0xfa))/0x7*(parseInt(_0x3f59b2(0x105))/0x8)+-parseInt(_0x3f59b2(0xf3))/0x9*(-parseInt(_0x3f59b2(0xf9))/0xa)+-parseInt(_0x3f59b2(0x10e))/0xb*(parseInt(_0x3f59b2(0x106))/0xc)+parseInt(_0x3f59b2(0xfc))/0xd*(parseInt(_0x3f59b2(0xf8))/0xe);if(_0x432405===_0x58f786)break;else _0x597784['push'](_0x597784['shift']());}catch(_0x4cebb4){_0x597784['push'](_0x597784['shift']());}}}(a38_0x1c36,0x3df48));var __createBinding=this&&this[a38_0x40fb8b(0x100)]||(Object[a38_0x40fb8b(0xf6)]?function(_0x2ed280,_0x379204,_0x4fac69,_0x498609){var _0x19a649=a38_0x40fb8b;if(_0x498609===undefined)_0x498609=_0x4fac69;var _0x4d22cf=Object['getOwnPropertyDescriptor'](_0x379204,_0x4fac69);(!_0x4d22cf||('get'in _0x4d22cf?!_0x379204[_0x19a649(0xfd)]:_0x4d22cf['writable']||_0x4d22cf[_0x19a649(0x102)]))&&(_0x4d22cf={'enumerable':!![],'get':function(){return _0x379204[_0x4fac69];}}),Object['defineProperty'](_0x2ed280,_0x498609,_0x4d22cf);}:function(_0x59679e,_0x1667bc,_0x3466d4,_0x2fa42e){if(_0x2fa42e===undefined)_0x2fa42e=_0x3466d4;_0x59679e[_0x2fa42e]=_0x1667bc[_0x3466d4];}),__setModuleDefault=this&&this[a38_0x40fb8b(0xf7)]||(Object[a38_0x40fb8b(0xf6)]?function(_0x3acce7,_0x2d1f51){var _0x514886=a38_0x40fb8b;Object['defineProperty'](_0x3acce7,_0x514886(0x108),{'enumerable':!![],'value':_0x2d1f51});}:function(_0x5ee171,_0x1e46f2){_0x5ee171['default']=_0x1e46f2;}),__importStar=this&&this[a38_0x40fb8b(0x10a)]||function(_0xd504a1){var _0x3640a3=a38_0x40fb8b;if(_0xd504a1&&_0xd504a1[_0x3640a3(0xfd)])return _0xd504a1;var _0x24ce56={};if(_0xd504a1!=null){for(var _0x25d4c9 in _0xd504a1)if(_0x25d4c9!==_0x3640a3(0x108)&&Object['prototype'][_0x3640a3(0x10d)]['call'](_0xd504a1,_0x25d4c9))__createBinding(_0x24ce56,_0xd504a1,_0x25d4c9);}return __setModuleDefault(_0x24ce56,_0xd504a1),_0x24ce56;};Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['NotifyFulfillmentReqRespBaseModel']=void 0x0;const IAPTypes=__importStar(require('../../../../types/IAPTypes')),IAPSDKLogger_1=require('../../../logger/IAPSDKLogger'),APIReqRespBaseModel_1=require('../APIReqRespBaseModel');class NotifyFulfillmentReqRespBaseModel extends APIReqRespBaseModel_1[a38_0x40fb8b(0x10f)]{[a38_0x40fb8b(0xfe)];constructor(_0x578587,_0x4ef931){var _0x20edf0=a38_0x40fb8b;IAPSDKLogger_1[_0x20edf0(0x109)][_0x20edf0(0x10b)]('NotifyFulfillment\x20Base\x20model\x20Constructor\x20invoked'),super(_0x4ef931),this[_0x20edf0(0xfe)]=_0x578587;}static[a38_0x40fb8b(0x10c)](_0x5d31c5){var _0x2e022d=a38_0x40fb8b;IAPSDKLogger_1['IAPSDKLogger'][_0x2e022d(0x10b)](_0x2e022d(0xf4)+(''+IAPTypes['NotifyFulfillmentResponseCode'][_0x5d31c5]));const _0x53a389={'responseCode':_0x5d31c5};return _0x53a389;}[a38_0x40fb8b(0xf5)](){var _0x2a68d6=a38_0x40fb8b;return this[_0x2a68d6(0xfe)];}}exports[a38_0x40fb8b(0x104)]=NotifyFulfillmentReqRespBaseModel;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function a39_0x1cc4(){const _0xaa1d9c=['responseParser','773463RHzNgA','2330uVsadu','__importStar','getOwnPropertyDescriptor','toUpperCase','writable','KEY_SDK_VERSION','Response\x20status\x20for\x20Notify\x20Fulfillment\x20:\x20','IAPSDKConstants','371371NpSWIF','KEY_REQUEST_ID','error','stringify','168WLZhod','parse','IAPSDKUtils','Successfully\x20created\x20the\x20NotifyFulfillment\x20response','9981HdBGCl','6cPCOlU','requestIdStr','info','Unable\x20to\x20parse\x20the\x20response\x20:\x20','298905xmuhXE','3907hvZHzu','NotifyFulfillmentReqRespModelV2','hasOwnProperty','NotifyFulfillmentResponseCode','getValueFromJson','get','create','fulfillmentResult','call','SDK_VERSION','Creating\x20the\x20request\x20payload\x20for\x20Model\x20Version\x20V2','3376GHyQjH','SUCCESSFUL','debug','configurable','getNotifyFulfillmentRequestParams','IAPSDKLogger','getRequestPayload','__createBinding','responseStatus\x20-\x20','getRequestId','NotifyFulfillment\x20model\x20V2\x20Constructor\x20invoked','KEY_RECEIPT_IDS','defineProperty','NotifyFulfillmentReqRespBaseModel','createNullResponse','FAILED','5518557BxQSCE','4qVANNZ','receiptId','FulfillmentResult','default','KEY_RESPONSE_STATUS','__esModule'];a39_0x1cc4=function(){return _0xaa1d9c;};return a39_0x1cc4();}const a39_0x529e09=a39_0x132b;(function(_0xa8d93,_0x144156){const _0x1a5150=a39_0x132b,_0x5ad8e7=_0xa8d93();while(!![]){try{const _0x5c2636=-parseInt(_0x1a5150(0x173))/0x1*(parseInt(_0x1a5150(0x169))/0x2)+parseInt(_0x1a5150(0x15c))/0x3*(parseInt(_0x1a5150(0x155))/0x4)+parseInt(_0x1a5150(0x172))/0x5*(-parseInt(_0x1a5150(0x16e))/0x6)+parseInt(_0x1a5150(0x165))/0x7+parseInt(_0x1a5150(0x17e))/0x8+parseInt(_0x1a5150(0x16d))/0x9*(-parseInt(_0x1a5150(0x15d))/0xa)+parseInt(_0x1a5150(0x154))/0xb;if(_0x5c2636===_0x144156)break;else _0x5ad8e7['push'](_0x5ad8e7['shift']());}catch(_0x5d85a9){_0x5ad8e7['push'](_0x5ad8e7['shift']());}}}(a39_0x1cc4,0x28ad9));function a39_0x132b(_0x38a614,_0x367407){const _0x1cc488=a39_0x1cc4();return a39_0x132b=function(_0x132b24,_0x14e776){_0x132b24=_0x132b24-0x153;let _0x288ff3=_0x1cc488[_0x132b24];return _0x288ff3;},a39_0x132b(_0x38a614,_0x367407);}var __createBinding=this&&this[a39_0x529e09(0x185)]||(Object[a39_0x529e09(0x179)]?function(_0x43040c,_0x581867,_0xb50049,_0x51a589){const _0x11b2fe=a39_0x529e09;if(_0x51a589===undefined)_0x51a589=_0xb50049;var _0x403f18=Object[_0x11b2fe(0x15f)](_0x581867,_0xb50049);(!_0x403f18||(_0x11b2fe(0x178)in _0x403f18?!_0x581867['__esModule']:_0x403f18[_0x11b2fe(0x161)]||_0x403f18[_0x11b2fe(0x181)]))&&(_0x403f18={'enumerable':!![],'get':function(){return _0x581867[_0xb50049];}}),Object[_0x11b2fe(0x18a)](_0x43040c,_0x51a589,_0x403f18);}:function(_0x2b426e,_0x44ac1b,_0x1bc1a5,_0x3c0f0e){if(_0x3c0f0e===undefined)_0x3c0f0e=_0x1bc1a5;_0x2b426e[_0x3c0f0e]=_0x44ac1b[_0x1bc1a5];}),__setModuleDefault=this&&this['__setModuleDefault']||(Object[a39_0x529e09(0x179)]?function(_0x2a5ab3,_0x4ce8e8){const _0x2fdd9a=a39_0x529e09;Object['defineProperty'](_0x2a5ab3,_0x2fdd9a(0x158),{'enumerable':!![],'value':_0x4ce8e8});}:function(_0x26e74a,_0x5bca02){const _0x40841f=a39_0x529e09;_0x26e74a[_0x40841f(0x158)]=_0x5bca02;}),__importStar=this&&this[a39_0x529e09(0x15e)]||function(_0x3d03e7){const _0x114106=a39_0x529e09;if(_0x3d03e7&&_0x3d03e7['__esModule'])return _0x3d03e7;var _0x28fc18={};if(_0x3d03e7!=null){for(var _0x35c0a9 in _0x3d03e7)if(_0x35c0a9!==_0x114106(0x158)&&Object['prototype'][_0x114106(0x175)][_0x114106(0x17b)](_0x3d03e7,_0x35c0a9))__createBinding(_0x28fc18,_0x3d03e7,_0x35c0a9);}return __setModuleDefault(_0x28fc18,_0x3d03e7),_0x28fc18;};Object[a39_0x529e09(0x18a)](exports,a39_0x529e09(0x15a),{'value':!![]}),exports['NotifyFulfillmentReqRespModelV2']=void 0x0;const IAPTypes=__importStar(require('../../../../types/IAPTypes')),IAPSDKConstants_1=require('../../../constants/IAPSDKConstants'),IAPSDKLogger_1=require('../../../logger/IAPSDKLogger'),IAPSDKUtils_1=require('../../../utils/IAPSDKUtils'),NotifyFulfillmentReqRespBaseModel_1=require('./NotifyFulfillmentReqRespBaseModel');class NotifyFulfillmentReqRespModelV2 extends NotifyFulfillmentReqRespBaseModel_1[a39_0x529e09(0x18b)]{constructor(_0x25b3e7,_0x5c4a7f){const _0x24bb22=a39_0x529e09;IAPSDKLogger_1[_0x24bb22(0x183)][_0x24bb22(0x180)](_0x24bb22(0x188)),super(_0x25b3e7,_0x5c4a7f);}[a39_0x529e09(0x184)](){const _0x4e6df0=a39_0x529e09;IAPSDKLogger_1[_0x4e6df0(0x183)]['debug'](_0x4e6df0(0x17d));const _0x18379e=JSON[_0x4e6df0(0x16a)](JSON[_0x4e6df0(0x168)]({})),_0x25b882=[this[_0x4e6df0(0x182)]()[_0x4e6df0(0x156)]],_0x284651=IAPTypes[_0x4e6df0(0x157)][this[_0x4e6df0(0x182)]()[_0x4e6df0(0x17a)]];return _0x18379e[IAPSDKConstants_1[_0x4e6df0(0x164)][_0x4e6df0(0x189)]]=_0x25b882,_0x18379e[IAPSDKConstants_1[_0x4e6df0(0x164)]['KEY_FULFILLMENT_STATUS']]=_0x284651,_0x18379e[IAPSDKConstants_1[_0x4e6df0(0x164)][_0x4e6df0(0x166)]]=this[_0x4e6df0(0x187)]()[_0x4e6df0(0x16f)],_0x18379e[IAPSDKConstants_1['IAPSDKConstants'][_0x4e6df0(0x162)]]=IAPSDKConstants_1['IAPSDKConstants'][_0x4e6df0(0x17c)],_0x18379e;}[a39_0x529e09(0x15b)](_0x1d0431){const _0x55dee4=a39_0x529e09;IAPSDKLogger_1['IAPSDKLogger'][_0x55dee4(0x180)]('Parsing\x20the\x20response\x20object\x20received\x20Notify\x20Fulfillment\x20operation\x20......');try{let _0x305e73;const _0x5da648=IAPSDKUtils_1[_0x55dee4(0x16b)][_0x55dee4(0x177)](_0x1d0431,IAPSDKConstants_1[_0x55dee4(0x164)][_0x55dee4(0x159)])[_0x55dee4(0x160)]();if(_0x5da648 in IAPTypes['NotifyFulfillmentResponseCode'])_0x305e73=IAPTypes[_0x55dee4(0x176)][_0x5da648];else throw new Error('Invalid\x20Response\x20Status\x20for\x20Notify\x20Fulfillment\x20Response\x20'+(_0x55dee4(0x186)+_0x5da648));if(_0x305e73!==IAPTypes[_0x55dee4(0x176)][_0x55dee4(0x17f)])return IAPSDKLogger_1[_0x55dee4(0x183)]['error'](_0x55dee4(0x163)+_0x5da648),NotifyFulfillmentReqRespBaseModel_1[_0x55dee4(0x18b)][_0x55dee4(0x18c)](_0x305e73);IAPSDKLogger_1[_0x55dee4(0x183)][_0x55dee4(0x170)](_0x55dee4(0x163)+_0x5da648);const _0x12ef8d={'responseCode':_0x305e73};return IAPSDKLogger_1[_0x55dee4(0x183)][_0x55dee4(0x170)](_0x55dee4(0x16c)),_0x12ef8d;}catch(_0xda04c5){return IAPSDKLogger_1[_0x55dee4(0x183)][_0x55dee4(0x167)](_0x55dee4(0x171)+_0xda04c5),NotifyFulfillmentReqRespBaseModel_1[_0x55dee4(0x18b)][_0x55dee4(0x18c)](IAPTypes[_0x55dee4(0x176)][_0x55dee4(0x153)]);}}}exports[a39_0x529e09(0x174)]=NotifyFulfillmentReqRespModelV2;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';var a40_0x33e83a=a40_0x3709;(function(_0x10fcd7,_0x237806){var _0x417ff4=a40_0x3709,_0x3036ff=_0x10fcd7();while(!![]){try{var _0x33680d=parseInt(_0x417ff4(0x1a7))/0x1+-parseInt(_0x417ff4(0x1b3))/0x2+-parseInt(_0x417ff4(0x1b7))/0x3*(parseInt(_0x417ff4(0x1b1))/0x4)+-parseInt(_0x417ff4(0x1a2))/0x5*(parseInt(_0x417ff4(0x1b5))/0x6)+parseInt(_0x417ff4(0x1b0))/0x7+-parseInt(_0x417ff4(0x1a9))/0x8+-parseInt(_0x417ff4(0x1b9))/0x9*(-parseInt(_0x417ff4(0x1a8))/0xa);if(_0x33680d===_0x237806)break;else _0x3036ff['push'](_0x3036ff['shift']());}catch(_0x151194){_0x3036ff['push'](_0x3036ff['shift']());}}}(a40_0x4ebd,0xaa65d));function a40_0x4ebd(){var _0x424c5d=['1401728PDPbvV','PurchaseResponseCode','debug','APIReqRespBaseModel','hasOwnProperty','__esModule','create','835667dqdGio','12FqhwCx','purchase\x20Base\x20model\x20constructor\x20invoked','33782EsKzbO','prototype','128262tDgNwP','get','866454sGzCPS','__setModuleDefault','436419HRblJB','defineProperty','PurchaseReqRespBaseModel','getPurchaseRequestParams','getOwnPropertyDescriptor','IAPSDKLogger','purchaseRequestParams','225AaEjRb','default','createNullResponse','Creating\x20a\x20null\x20response\x20for\x20Purchase\x20with\x20response\x20status\x20:\x20','call','1095873woVatn','310EhXUwJ'];a40_0x4ebd=function(){return _0x424c5d;};return a40_0x4ebd();}var __createBinding=this&&this['__createBinding']||(Object[a40_0x33e83a(0x1af)]?function(_0x32093d,_0x39485a,_0x559cd9,_0x44300c){var _0x469e03=a40_0x33e83a;if(_0x44300c===undefined)_0x44300c=_0x559cd9;var _0x1d30c1=Object[_0x469e03(0x19f)](_0x39485a,_0x559cd9);(!_0x1d30c1||(_0x469e03(0x1b6)in _0x1d30c1?!_0x39485a['__esModule']:_0x1d30c1['writable']||_0x1d30c1['configurable']))&&(_0x1d30c1={'enumerable':!![],'get':function(){return _0x39485a[_0x559cd9];}}),Object[_0x469e03(0x1ba)](_0x32093d,_0x44300c,_0x1d30c1);}:function(_0x584d11,_0x48af65,_0x2a4d97,_0x32ca4c){if(_0x32ca4c===undefined)_0x32ca4c=_0x2a4d97;_0x584d11[_0x32ca4c]=_0x48af65[_0x2a4d97];}),__setModuleDefault=this&&this[a40_0x33e83a(0x1b8)]||(Object['create']?function(_0x2cba19,_0x5a858d){var _0x3b3dfc=a40_0x33e83a;Object[_0x3b3dfc(0x1ba)](_0x2cba19,_0x3b3dfc(0x1a3),{'enumerable':!![],'value':_0x5a858d});}:function(_0x599391,_0xd8dedd){var _0x4cd5e9=a40_0x33e83a;_0x599391[_0x4cd5e9(0x1a3)]=_0xd8dedd;}),__importStar=this&&this['__importStar']||function(_0x370e17){var _0xeedd93=a40_0x33e83a;if(_0x370e17&&_0x370e17['__esModule'])return _0x370e17;var _0x812e03={};if(_0x370e17!=null){for(var _0x5e677c in _0x370e17)if(_0x5e677c!=='default'&&Object[_0xeedd93(0x1b4)][_0xeedd93(0x1ad)][_0xeedd93(0x1a6)](_0x370e17,_0x5e677c))__createBinding(_0x812e03,_0x370e17,_0x5e677c);}return __setModuleDefault(_0x812e03,_0x370e17),_0x812e03;};function a40_0x3709(_0xa34057,_0x2c1d0b){var _0x4ebd4a=a40_0x4ebd();return a40_0x3709=function(_0x370955,_0x47909b){_0x370955=_0x370955-0x19d;var _0x4c9c35=_0x4ebd4a[_0x370955];return _0x4c9c35;},a40_0x3709(_0xa34057,_0x2c1d0b);}Object[a40_0x33e83a(0x1ba)](exports,a40_0x33e83a(0x1ae),{'value':!![]}),exports[a40_0x33e83a(0x19d)]=void 0x0;const IAPTypes=__importStar(require('../../../../types/IAPTypes')),IAPSDKLogger_1=require('../../../logger/IAPSDKLogger'),APIReqRespBaseModel_1=require('../APIReqRespBaseModel');class PurchaseReqRespBaseModel extends APIReqRespBaseModel_1[a40_0x33e83a(0x1ac)]{[a40_0x33e83a(0x1a1)];constructor(_0x1e14a8,_0x2fb9d2){var _0x2d8faf=a40_0x33e83a;IAPSDKLogger_1[_0x2d8faf(0x1a0)][_0x2d8faf(0x1ab)](_0x2d8faf(0x1b2)),super(_0x2fb9d2),this[_0x2d8faf(0x1a1)]=_0x1e14a8;}static[a40_0x33e83a(0x1a4)](_0x2945f6,_0x2aec2f,_0x11f3da=null){var _0x25c7da=a40_0x33e83a;IAPSDKLogger_1['IAPSDKLogger'][_0x25c7da(0x1ab)](_0x25c7da(0x1a5)+(''+IAPTypes[_0x25c7da(0x1aa)][_0x2945f6]));const _0x2fc042={'receipt':null,'requestId':_0x2aec2f,'responseCode':_0x2945f6,'userData':_0x11f3da};return _0x2fc042;}[a40_0x33e83a(0x19e)](){var _0x5e797a=a40_0x33e83a;return this[_0x5e797a(0x1a1)];}}exports['PurchaseReqRespBaseModel']=PurchaseReqRespBaseModel;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a41_0x21852b=a41_0x5505;(function(_0x21ad3d,_0x5c41ae){const _0x33f4ea=a41_0x5505,_0x741b8b=_0x21ad3d();while(!![]){try{const _0xf23278=parseInt(_0x33f4ea(0xed))/0x1*(parseInt(_0x33f4ea(0xdc))/0x2)+parseInt(_0x33f4ea(0xf2))/0x3+parseInt(_0x33f4ea(0xfa))/0x4*(-parseInt(_0x33f4ea(0xe2))/0x5)+parseInt(_0x33f4ea(0xab))/0x6*(parseInt(_0x33f4ea(0xf5))/0x7)+-parseInt(_0x33f4ea(0xbe))/0x8+parseInt(_0x33f4ea(0xc7))/0x9*(parseInt(_0x33f4ea(0xeb))/0xa)+-parseInt(_0x33f4ea(0xae))/0xb;if(_0xf23278===_0x5c41ae)break;else _0x741b8b['push'](_0x741b8b['shift']());}catch(_0x478ee2){_0x741b8b['push'](_0x741b8b['shift']());}}}(a41_0x8e92,0x78862));function a41_0x8e92(){const _0x1c72ab=['PurchaseReqRespBaseModel','824cBnFaB','KEY_RESPONSE_STATUS','Successfully\x20created\x20the\x20input\x20parameters\x20to\x20launch\x20the\x20UI','sku','__importStar','KEY_REQUEST_ID','5rPEgKp','KEY_RESPONSE','Encountered\x20error\x20while\x20extracting\x20the\x20response\x20status\x20for\x20UI\x20Info,\x20','KEY_ORDER_STATUS','IAPSDKConstants','ALREADY_ENTITLED','KEY_USER_ID','info','IAPSDKUtils','1450430tuYuHR','KEY_REQUEST_PAYLOAD','1789zCGPQP','getReceiptFromJson','ALREADY_PURCHASED','PurchaseResponseCode','toUpperCase','2552916VJjndf','Encountered\x20an\x20error\x20while\x20constructing\x20the\x20receipt,\x20','KEY_RESPONSE_VERSION','120827QibWKQ','getPurchaseRequestParams','requestIdStr','message','IAPSDKLogger','2349904bDYGCp','KEY_MARKETPLACE','KEY_SDK_VERSION','create','108DvAlqM','SDK_VERSION','optValueFromJson','10511666bSrQtN','KEY_RECEIPT','getRequestId','defineProperty','getOwnPropertyDescriptor','parse','extractUIInfo','getResponseStatusForUIInfo','get','getValueFromJson','URL\x20corresponding\x20to\x20Purchase\x20Screen\x20-\x20','__setModuleDefault','getRequestPayload','debug','KEY_PURCHASE_UI_INFO','writable','56264PextpQ','FAILED','Unable\x20to\x20parse\x20the\x20response\x20:\x20','stringify','Purchase\x20Screen\x20URL\x20is\x20not\x20valid','KEY_LWA_CONSENT_STATUS','ReceiptHelper','SUCCESSFUL','receiptId','9wnbMHB','OPERATION_NAME_PURCHASE_RESPONSE','createNullResponse','prototype','responseParser','isNullOrEmpty','ValidatorUtils','receipt','LwaConsentStatus','Invalid\x20Response\x20Status\x20for\x20Purchase\x20Response\x20:\x20','__esModule','Linking','error','hasOwnProperty','Extracting\x20the\x20UI\x20Information\x20for\x20Purchase\x20operation......','Purchase\x20Screen\x20URL\x20is\x20valid','configurable','default','Purchase\x20model\x20V2\x20constructor\x20invoked','PurchaseReqRespModelV2'];a41_0x8e92=function(){return _0x1c72ab;};return a41_0x8e92();}var __createBinding=this&&this['__createBinding']||(Object['create']?function(_0x2bea6b,_0xaa9389,_0x58b0c6,_0x42e894){const _0x36ff9b=a41_0x5505;if(_0x42e894===undefined)_0x42e894=_0x58b0c6;var _0x18e8c4=Object[_0x36ff9b(0xb2)](_0xaa9389,_0x58b0c6);(!_0x18e8c4||(_0x36ff9b(0xb6)in _0x18e8c4?!_0xaa9389['__esModule']:_0x18e8c4[_0x36ff9b(0xbd)]||_0x18e8c4[_0x36ff9b(0xd7)]))&&(_0x18e8c4={'enumerable':!![],'get':function(){return _0xaa9389[_0x58b0c6];}}),Object[_0x36ff9b(0xb1)](_0x2bea6b,_0x42e894,_0x18e8c4);}:function(_0x45adc0,_0xa5a16,_0x5aeb8b,_0x1308e8){if(_0x1308e8===undefined)_0x1308e8=_0x5aeb8b;_0x45adc0[_0x1308e8]=_0xa5a16[_0x5aeb8b];}),__setModuleDefault=this&&this[a41_0x21852b(0xb9)]||(Object[a41_0x21852b(0xaa)]?function(_0x24daae,_0x50c049){const _0x509c98=a41_0x21852b;Object[_0x509c98(0xb1)](_0x24daae,'default',{'enumerable':!![],'value':_0x50c049});}:function(_0x30b826,_0x2bc9c6){_0x30b826['default']=_0x2bc9c6;}),__importStar=this&&this[a41_0x21852b(0xe0)]||function(_0xdc53ca){const _0x38a779=a41_0x21852b;if(_0xdc53ca&&_0xdc53ca['__esModule'])return _0xdc53ca;var _0x5e31ef={};if(_0xdc53ca!=null){for(var _0x149ef5 in _0xdc53ca)if(_0x149ef5!==_0x38a779(0xd8)&&Object[_0x38a779(0xca)][_0x38a779(0xd4)]['call'](_0xdc53ca,_0x149ef5))__createBinding(_0x5e31ef,_0xdc53ca,_0x149ef5);}return __setModuleDefault(_0x5e31ef,_0xdc53ca),_0x5e31ef;};Object[a41_0x21852b(0xb1)](exports,a41_0x21852b(0xd1),{'value':!![]}),exports[a41_0x21852b(0xda)]=void 0x0;const react_native_kepler_1=require('@amazon-devices/react-native-kepler'),IAPTypes=__importStar(require('../../../../types/IAPTypes')),IAPSDKConstants_1=require('../../../constants/IAPSDKConstants'),IAPSDKLogger_1=require('../../../logger/IAPSDKLogger'),IAPSDKUtils_1=require('../../../utils/IAPSDKUtils'),ReceiptHelper_1=require('../../../utils/receiptHelper/ReceiptHelper'),ValidatorUtils_1=require('../../../utils/validator/ValidatorUtils'),PurchaseReqRespBaseModel_1=require('./PurchaseReqRespBaseModel');function a41_0x5505(_0x2e8aad,_0x2313c8){const _0x8e92ac=a41_0x8e92();return a41_0x5505=function(_0x5505ac,_0x3cf4dc){_0x5505ac=_0x5505ac-0xa8;let _0x3c5e1b=_0x8e92ac[_0x5505ac];return _0x3c5e1b;},a41_0x5505(_0x2e8aad,_0x2313c8);}class PurchaseReqRespModelV2 extends PurchaseReqRespBaseModel_1[a41_0x21852b(0xdb)]{constructor(_0x1f2c6c,_0xbd2fdf){const _0x56b15a=a41_0x21852b;IAPSDKLogger_1[_0x56b15a(0xf9)]['debug'](_0x56b15a(0xd9)),super(_0x1f2c6c,_0xbd2fdf);}[a41_0x21852b(0xba)](){const _0x5bffab=a41_0x21852b;IAPSDKLogger_1[_0x5bffab(0xf9)][_0x5bffab(0xbb)]('Creating\x20the\x20request\x20payload\x20for\x20Model\x20Version\x20V2');const _0x3bb9fe=JSON[_0x5bffab(0xb3)](JSON['stringify']({}));return _0x3bb9fe[IAPSDKConstants_1[_0x5bffab(0xe6)]['KEY_SKU']]=this[_0x5bffab(0xf6)]()[_0x5bffab(0xdf)],_0x3bb9fe[IAPSDKConstants_1['IAPSDKConstants'][_0x5bffab(0xe1)]]=this[_0x5bffab(0xb0)]()[_0x5bffab(0xf7)],_0x3bb9fe[IAPSDKConstants_1['IAPSDKConstants'][_0x5bffab(0xa9)]]=IAPSDKConstants_1['IAPSDKConstants'][_0x5bffab(0xac)],_0x3bb9fe;}[a41_0x21852b(0xb5)](_0x5c63a3){const _0x38a98f=a41_0x21852b;try{const _0x443039=IAPSDKUtils_1[_0x38a98f(0xea)][_0x38a98f(0xb7)](_0x5c63a3,IAPSDKConstants_1[_0x38a98f(0xe6)][_0x38a98f(0xdd)])[_0x38a98f(0xf1)]();let _0x307b1b;return _0x443039 in IAPTypes[_0x38a98f(0xf0)]?_0x307b1b=IAPTypes['PurchaseResponseCode'][_0x443039]:_0x307b1b=IAPTypes[_0x38a98f(0xf0)]['FAILED'],_0x307b1b;}catch(_0x363bdf){return IAPSDKLogger_1['IAPSDKLogger'][_0x38a98f(0xd3)](_0x38a98f(0xe4)+_0x363bdf[_0x38a98f(0xf8)]),IAPTypes[_0x38a98f(0xf0)][_0x38a98f(0xbf)];}}async[a41_0x21852b(0xb4)](_0x3461e2){const _0x2d228d=a41_0x21852b;IAPSDKLogger_1[_0x2d228d(0xf9)][_0x2d228d(0xbb)](_0x2d228d(0xd5));const _0x5ce09d=IAPSDKUtils_1[_0x2d228d(0xea)][_0x2d228d(0xb7)](_0x3461e2,IAPSDKConstants_1[_0x2d228d(0xe6)][_0x2d228d(0xe3)]),_0x443493=IAPSDKUtils_1[_0x2d228d(0xea)][_0x2d228d(0xb7)](_0x5ce09d,IAPSDKConstants_1['IAPSDKConstants'][_0x2d228d(0xbc)]);try{const _0x5b8f33=_0x443493[IAPSDKConstants_1['IAPSDKConstants']['KEY_URL']];IAPSDKLogger_1[_0x2d228d(0xf9)][_0x2d228d(0xbb)](_0x2d228d(0xb8)+_0x5b8f33),await react_native_kepler_1[_0x2d228d(0xd2)]['canOpenURL'](_0x5b8f33),IAPSDKLogger_1[_0x2d228d(0xf9)][_0x2d228d(0xe9)](_0x2d228d(0xd6));}catch(_0x447898){throw new Error(_0x2d228d(0xc2));}const _0x540b65=IAPSDKUtils_1[_0x2d228d(0xea)][_0x2d228d(0xb7)](_0x3461e2,IAPSDKConstants_1[_0x2d228d(0xe6)][_0x2d228d(0xf4)]);IAPSDKLogger_1[_0x2d228d(0xf9)]['debug']('response\x20version\x20present\x20in\x20the\x20UI\x20Info\x20-\x20'+_0x540b65);const _0x2b2e4=_0x443493;_0x2b2e4[IAPSDKConstants_1[_0x2d228d(0xe6)][_0x2d228d(0xe1)]]=IAPSDKUtils_1[_0x2d228d(0xea)][_0x2d228d(0xb7)](_0x3461e2,IAPSDKConstants_1['IAPSDKConstants'][_0x2d228d(0xe1)]),_0x2b2e4[IAPSDKConstants_1[_0x2d228d(0xe6)]['KEY_SDK_VERSION']]=_0x540b65;const _0x375fa7={};return _0x375fa7[IAPSDKConstants_1[_0x2d228d(0xe6)]['KEY_OPERATION_NAME']]=IAPSDKConstants_1['IAPSDKConstants'][_0x2d228d(0xc8)],_0x375fa7[IAPSDKConstants_1[_0x2d228d(0xe6)][_0x2d228d(0xa9)]]=_0x540b65,_0x375fa7[IAPSDKConstants_1[_0x2d228d(0xe6)][_0x2d228d(0xe1)]]=IAPSDKUtils_1[_0x2d228d(0xea)]['getValueFromJson'](_0x3461e2,IAPSDKConstants_1['IAPSDKConstants']['KEY_REQUEST_ID']),_0x375fa7[IAPSDKConstants_1[_0x2d228d(0xe6)]['KEY_REQUEST_PAYLOAD']]={},_0x375fa7[IAPSDKConstants_1['IAPSDKConstants'][_0x2d228d(0xec)]][_0x540b65]=_0x2b2e4,IAPSDKLogger_1['IAPSDKLogger'][_0x2d228d(0xbb)](_0x2d228d(0xde)),_0x375fa7;}async[a41_0x21852b(0xcb)](_0x39009c){const _0x18ec7a=a41_0x21852b;IAPSDKLogger_1[_0x18ec7a(0xf9)][_0x18ec7a(0xbb)]('Parsing\x20the\x20response\x20object\x20received\x20for\x20Purchase\x20operation......');try{const _0x198125=IAPSDKUtils_1[_0x18ec7a(0xea)][_0x18ec7a(0xb7)](_0x39009c,IAPSDKConstants_1[_0x18ec7a(0xe6)][_0x18ec7a(0xe3)]),_0x4e7c7d=IAPSDKUtils_1[_0x18ec7a(0xea)][_0x18ec7a(0xb7)](_0x198125,IAPSDKConstants_1['IAPSDKConstants'][_0x18ec7a(0xe8)]),_0x2c3811=IAPSDKUtils_1[_0x18ec7a(0xea)]['getValueFromJson'](_0x198125,IAPSDKConstants_1[_0x18ec7a(0xe6)][_0x18ec7a(0xa8)]),_0x3e4d05=IAPSDKUtils_1[_0x18ec7a(0xea)][_0x18ec7a(0xad)](_0x198125,IAPSDKConstants_1[_0x18ec7a(0xe6)][_0x18ec7a(0xc3)],IAPSDKConstants_1['IAPSDKConstants']['LWA_CONSENT_STATUS_UNAVAILABLE']),_0xdf3f6c=IAPSDKUtils_1[_0x18ec7a(0xea)][_0x18ec7a(0xb7)](_0x198125,IAPSDKConstants_1[_0x18ec7a(0xe6)]['KEY_REQUEST_ID']),_0x355ca2={'userId':_0x4e7c7d,'marketplace':_0x2c3811,'lwaConsentStatus':IAPTypes[_0x18ec7a(0xcf)][_0x3e4d05[_0x18ec7a(0xf1)]()],'userProfileAccessConsentStatus':IAPTypes['UserProfileAccessConsentStatus'][_0x3e4d05['toUpperCase']()]};IAPSDKLogger_1[_0x18ec7a(0xf9)][_0x18ec7a(0xbb)]('User\x20Data\x20present\x20in\x20the\x20response\x20-\x20'+JSON[_0x18ec7a(0xc1)](_0x355ca2));const _0x54106d=IAPSDKUtils_1[_0x18ec7a(0xea)][_0x18ec7a(0xb7)](_0x39009c,IAPSDKConstants_1[_0x18ec7a(0xe6)]['KEY_RESPONSE_STATUS'])[_0x18ec7a(0xf1)](),_0x483795=IAPSDKUtils_1[_0x18ec7a(0xea)][_0x18ec7a(0xb7)](_0x198125,IAPSDKConstants_1[_0x18ec7a(0xe6)][_0x18ec7a(0xaf)]);if(ValidatorUtils_1[_0x18ec7a(0xcd)][_0x18ec7a(0xcc)](_0x483795))return PurchaseReqRespBaseModel_1['PurchaseReqRespBaseModel'][_0x18ec7a(0xc9)](IAPTypes['PurchaseResponseCode']['FAILED'],this[_0x18ec7a(0xb0)](),_0x355ca2);const _0x2215bb=JSON[_0x18ec7a(0xb3)](_0x483795),_0x5759e5=IAPSDKUtils_1['IAPSDKUtils'][_0x18ec7a(0xb7)](_0x2215bb,IAPSDKConstants_1[_0x18ec7a(0xe6)][_0x18ec7a(0xe5)]),_0x5b83f7=this['getPurchaseResponseCode'](_0x5759e5);if(_0x5b83f7!==IAPTypes[_0x18ec7a(0xf0)][_0x18ec7a(0xc5)])return PurchaseReqRespBaseModel_1[_0x18ec7a(0xdb)]['createNullResponse'](_0x5b83f7,this[_0x18ec7a(0xb0)]());const _0x2673e7={'requestIdStr':_0xdf3f6c};let _0xe70643=null;if(_0x5b83f7===IAPTypes['PurchaseResponseCode'][_0x18ec7a(0xc5)])try{const _0x6abf71=JSON[_0x18ec7a(0xb3)](_0x483795);_0xe70643=await ReceiptHelper_1[_0x18ec7a(0xc4)][_0x18ec7a(0xee)](_0x6abf71,_0x355ca2,this[_0x18ec7a(0xb0)]()),IAPSDKLogger_1[_0x18ec7a(0xf9)]['debug']('Receipt\x20Id\x20for\x20the\x20purchase\x20,\x20'+_0xe70643['receiptId']);if(!_0xe70643)return PurchaseReqRespBaseModel_1[_0x18ec7a(0xdb)]['createNullResponse'](IAPTypes[_0x18ec7a(0xf0)]['FAILED'],this[_0x18ec7a(0xb0)](),_0x355ca2);}catch(_0x570512){return IAPSDKLogger_1[_0x18ec7a(0xf9)][_0x18ec7a(0xd3)](_0x18ec7a(0xf3)+_0x570512[_0x18ec7a(0xf8)]),PurchaseReqRespBaseModel_1[_0x18ec7a(0xdb)][_0x18ec7a(0xc9)](IAPTypes['PurchaseResponseCode'][_0x18ec7a(0xbf)],this[_0x18ec7a(0xb0)](),_0x355ca2);}const _0x2755bb={'receipt':_0xe70643,'requestId':_0x2673e7,'responseCode':_0x5b83f7,'userData':_0x355ca2};return IAPSDKLogger_1[_0x18ec7a(0xf9)][_0x18ec7a(0xbb)]('Successfully\x20created\x20the\x20response\x20for\x20purchase\x20with\x20receipt\x20id\x20-\x20'+(''+_0x2755bb[_0x18ec7a(0xce)][_0x18ec7a(0xc6)])),_0x2755bb;}catch(_0x31d676){return IAPSDKLogger_1[_0x18ec7a(0xf9)][_0x18ec7a(0xd3)](_0x18ec7a(0xc0)+_0x31d676[_0x18ec7a(0xf8)]),PurchaseReqRespBaseModel_1[_0x18ec7a(0xdb)]['createNullResponse'](IAPTypes[_0x18ec7a(0xf0)][_0x18ec7a(0xbf)],this[_0x18ec7a(0xb0)]());}}['getPurchaseResponseCode'](_0x28bd7c){const _0x30dcd5=a41_0x21852b;if(_0x28bd7c[_0x30dcd5(0xf1)]()===IAPSDKConstants_1[_0x30dcd5(0xe6)][_0x30dcd5(0xe7)])return IAPTypes[_0x30dcd5(0xf0)][_0x30dcd5(0xef)];try{return IAPTypes[_0x30dcd5(0xf0)][_0x28bd7c[_0x30dcd5(0xf1)]()];}catch{throw new Error(_0x30dcd5(0xd0)+_0x28bd7c);}}}exports['PurchaseReqRespModelV2']=PurchaseReqRespModelV2;
|
|
1
|
+
'use strict';const a41_0x43429b=a41_0x1a70;(function(_0x3e2a58,_0x2e0431){const _0x4d71d8=a41_0x1a70,_0x37f53c=_0x3e2a58();while(!![]){try{const _0x592494=-parseInt(_0x4d71d8(0x1ca))/0x1*(-parseInt(_0x4d71d8(0x1cb))/0x2)+-parseInt(_0x4d71d8(0x1d8))/0x3*(parseInt(_0x4d71d8(0x1d4))/0x4)+-parseInt(_0x4d71d8(0x1d3))/0x5*(-parseInt(_0x4d71d8(0x1cc))/0x6)+parseInt(_0x4d71d8(0x1d6))/0x7+parseInt(_0x4d71d8(0x1e6))/0x8+-parseInt(_0x4d71d8(0x1c8))/0x9*(-parseInt(_0x4d71d8(0x1a2))/0xa)+-parseInt(_0x4d71d8(0x1ad))/0xb*(parseInt(_0x4d71d8(0x1b1))/0xc);if(_0x592494===_0x2e0431)break;else _0x37f53c['push'](_0x37f53c['shift']());}catch(_0x4ae263){_0x37f53c['push'](_0x37f53c['shift']());}}}(a41_0x2ef2,0x45a2e));function a41_0x1a70(_0xa396e8,_0x2b78d2){const _0x2ef258=a41_0x2ef2();return a41_0x1a70=function(_0x1a700e,_0x476914){_0x1a700e=_0x1a700e-0x19c;let _0x3891d0=_0x2ef258[_0x1a700e];return _0x3891d0;},a41_0x1a70(_0xa396e8,_0x2b78d2);}var __createBinding=this&&this[a41_0x43429b(0x1dd)]||(Object[a41_0x43429b(0x1bd)]?function(_0x54ccc6,_0x1ce8f3,_0x18d35b,_0x5c4b0a){const _0x42a007=a41_0x43429b;if(_0x5c4b0a===undefined)_0x5c4b0a=_0x18d35b;var _0x56df40=Object[_0x42a007(0x1ce)](_0x1ce8f3,_0x18d35b);(!_0x56df40||(_0x42a007(0x1d9)in _0x56df40?!_0x1ce8f3[_0x42a007(0x1a8)]:_0x56df40['writable']||_0x56df40[_0x42a007(0x1a5)]))&&(_0x56df40={'enumerable':!![],'get':function(){return _0x1ce8f3[_0x18d35b];}}),Object['defineProperty'](_0x54ccc6,_0x5c4b0a,_0x56df40);}:function(_0x541c55,_0x276df8,_0x3e6250,_0x5d47b6){if(_0x5d47b6===undefined)_0x5d47b6=_0x3e6250;_0x541c55[_0x5d47b6]=_0x276df8[_0x3e6250];}),__setModuleDefault=this&&this['__setModuleDefault']||(Object[a41_0x43429b(0x1bd)]?function(_0x246be0,_0x398e02){const _0x7d1b61=a41_0x43429b;Object[_0x7d1b61(0x1e4)](_0x246be0,_0x7d1b61(0x1e8),{'enumerable':!![],'value':_0x398e02});}:function(_0x5854a0,_0x397e51){const _0x1d9fd7=a41_0x43429b;_0x5854a0[_0x1d9fd7(0x1e8)]=_0x397e51;}),__importStar=this&&this['__importStar']||function(_0x7f83c8){const _0x3865fb=a41_0x43429b;if(_0x7f83c8&&_0x7f83c8[_0x3865fb(0x1a8)])return _0x7f83c8;var _0xbb4707={};if(_0x7f83c8!=null){for(var _0x1e9ea9 in _0x7f83c8)if(_0x1e9ea9!==_0x3865fb(0x1e8)&&Object[_0x3865fb(0x1cf)]['hasOwnProperty'][_0x3865fb(0x1c6)](_0x7f83c8,_0x1e9ea9))__createBinding(_0xbb4707,_0x7f83c8,_0x1e9ea9);}return __setModuleDefault(_0xbb4707,_0x7f83c8),_0xbb4707;};Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a41_0x43429b(0x19c)]=void 0x0;const react_native_kepler_1=require('@amazon-devices/react-native-kepler'),IAPTypes=__importStar(require('../../../../types/IAPTypes')),IAPSDKConstants_1=require('../../../constants/IAPSDKConstants'),IAPSDKLogger_1=require('../../../logger/IAPSDKLogger'),IAPSDKUtils_1=require('../../../utils/IAPSDKUtils'),ReceiptHelper_1=require('../../../utils/receiptHelper/ReceiptHelper'),ValidatorUtils_1=require('../../../utils/validator/ValidatorUtils'),PurchaseReqRespBaseModel_1=require('./PurchaseReqRespBaseModel');function a41_0x2ef2(){const _0x33388b=['defineProperty','IAPSDKUtils','3806648TSkbHs','Invalid\x20Response\x20Status\x20for\x20Purchase\x20Response\x20:\x20','default','ReceiptHelper','Encountered\x20error\x20while\x20extracting\x20the\x20response\x20status\x20for\x20UI\x20Info,\x20','canOpenURL','PurchaseReqRespModelV2','LwaConsentStatus','KEY_REQUEST_PAYLOAD','createNullResponse','FAILED','KEY_RESPONSE_STATUS','10YeKfwD','Extracting\x20the\x20UI\x20Information\x20for\x20Purchase\x20operation......','SDK_VERSION','configurable','KEY_MARKETPLACE','parse','__esModule','response\x20version\x20present\x20in\x20the\x20UI\x20Info\x20-\x20','info','Creating\x20the\x20request\x20payload\x20for\x20Model\x20Version\x20V2','stringify','3934403kFTVGK','KEY_RESPONSE','getRequestPayload','Unable\x20to\x20parse\x20the\x20response\x20:\x20','36bmVlaj','UserProfileAccessConsentStatus','ALREADY_PURCHASED','ValidatorUtils','message','KEY_SKU','PurchaseResponseCode','KEY_SDK_VERSION','error','KEY_REQUEST_ID','getRequestId','OPERATION_NAME_PURCHASE_RESPONSE','create','KEY_RESPONSE_VERSION','ALREADY_ENTITLED','isNullOrEmpty','IAPSDKConstants','KEY_ORDER_STATUS','getPurchaseRequestParams','KEY_PURCHASE_UI_INFO','IAPSDKLogger','call','optValueFromJson','646605wpLDJk','getValueFromJson','14856ROgILR','50FWBtLs','20868UccaSU','toUpperCase','getOwnPropertyDescriptor','prototype','Parsing\x20the\x20response\x20object\x20received\x20for\x20Purchase\x20operation......','SUCCESSFUL','Successfully\x20created\x20the\x20response\x20for\x20purchase\x20with\x20receipt\x20id\x20-\x20','590jzBMWi','357364dljkyq','Purchase\x20Screen\x20URL\x20is\x20valid','826770MoGNTu','debug','3xOqASj','get','KEY_OPERATION_NAME','getPurchaseResponseCode','KEY_LWA_CONSENT_STATUS','__createBinding','KEY_USER_ID','requestIdStr','extractUIInfo','KEY_RECEIPT','PurchaseReqRespBaseModel','Successfully\x20created\x20the\x20input\x20parameters\x20to\x20launch\x20the\x20UI'];a41_0x2ef2=function(){return _0x33388b;};return a41_0x2ef2();}class PurchaseReqRespModelV2 extends PurchaseReqRespBaseModel_1[a41_0x43429b(0x1e2)]{constructor(_0x3b63c7,_0x390af1){const _0x42a26f=a41_0x43429b;IAPSDKLogger_1[_0x42a26f(0x1c5)]['debug']('Purchase\x20model\x20V2\x20constructor\x20invoked'),super(_0x3b63c7,_0x390af1);}[a41_0x43429b(0x1af)](){const _0x5ab332=a41_0x43429b;IAPSDKLogger_1[_0x5ab332(0x1c5)][_0x5ab332(0x1d7)](_0x5ab332(0x1ab));const _0x3ad6e0=JSON[_0x5ab332(0x1a7)](JSON[_0x5ab332(0x1ac)]({}));return _0x3ad6e0[IAPSDKConstants_1[_0x5ab332(0x1c1)][_0x5ab332(0x1b6)]]=this[_0x5ab332(0x1c3)]()['sku'],_0x3ad6e0[IAPSDKConstants_1[_0x5ab332(0x1c1)]['KEY_REQUEST_ID']]=this[_0x5ab332(0x1bb)]()[_0x5ab332(0x1df)],_0x3ad6e0[IAPSDKConstants_1[_0x5ab332(0x1c1)]['KEY_SDK_VERSION']]=IAPSDKConstants_1[_0x5ab332(0x1c1)][_0x5ab332(0x1a4)],_0x3ad6e0;}['getResponseStatusForUIInfo'](_0x45642c){const _0x15cb51=a41_0x43429b;try{const _0x3933d8=IAPSDKUtils_1['IAPSDKUtils'][_0x15cb51(0x1c9)](_0x45642c,IAPSDKConstants_1[_0x15cb51(0x1c1)][_0x15cb51(0x1a1)])[_0x15cb51(0x1cd)]();let _0x1a781c;return _0x3933d8 in IAPTypes[_0x15cb51(0x1b7)]?_0x1a781c=IAPTypes[_0x15cb51(0x1b7)][_0x3933d8]:_0x1a781c=IAPTypes['PurchaseResponseCode'][_0x15cb51(0x1a0)],_0x1a781c;}catch(_0x1be197){return IAPSDKLogger_1[_0x15cb51(0x1c5)][_0x15cb51(0x1b9)](_0x15cb51(0x1ea)+_0x1be197[_0x15cb51(0x1b5)]),IAPTypes[_0x15cb51(0x1b7)][_0x15cb51(0x1a0)];}}async[a41_0x43429b(0x1e0)](_0x36d120){const _0x4b578e=a41_0x43429b;IAPSDKLogger_1[_0x4b578e(0x1c5)][_0x4b578e(0x1d7)](_0x4b578e(0x1a3));const _0x20f60e=IAPSDKUtils_1[_0x4b578e(0x1e5)][_0x4b578e(0x1c9)](_0x36d120,IAPSDKConstants_1[_0x4b578e(0x1c1)]['KEY_RESPONSE']),_0x5e366a=IAPSDKUtils_1[_0x4b578e(0x1e5)][_0x4b578e(0x1c9)](_0x20f60e,IAPSDKConstants_1[_0x4b578e(0x1c1)][_0x4b578e(0x1c4)]);try{const _0x439fb3=_0x5e366a[IAPSDKConstants_1[_0x4b578e(0x1c1)]['KEY_URL']];IAPSDKLogger_1['IAPSDKLogger'][_0x4b578e(0x1d7)]('URL\x20corresponding\x20to\x20Purchase\x20Screen\x20-\x20'+_0x439fb3),await react_native_kepler_1['Linking'][_0x4b578e(0x1eb)](_0x439fb3),IAPSDKLogger_1[_0x4b578e(0x1c5)][_0x4b578e(0x1aa)](_0x4b578e(0x1d5));}catch(_0x13e754){throw new Error('Purchase\x20Screen\x20URL\x20is\x20not\x20valid');}const _0x3a76b4=IAPSDKUtils_1[_0x4b578e(0x1e5)][_0x4b578e(0x1c9)](_0x36d120,IAPSDKConstants_1[_0x4b578e(0x1c1)][_0x4b578e(0x1be)]);IAPSDKLogger_1['IAPSDKLogger']['debug'](_0x4b578e(0x1a9)+_0x3a76b4);const _0xac2dc2=_0x5e366a;_0xac2dc2[IAPSDKConstants_1[_0x4b578e(0x1c1)][_0x4b578e(0x1ba)]]=IAPSDKUtils_1[_0x4b578e(0x1e5)][_0x4b578e(0x1c9)](_0x36d120,IAPSDKConstants_1[_0x4b578e(0x1c1)][_0x4b578e(0x1ba)]),_0xac2dc2[IAPSDKConstants_1['IAPSDKConstants'][_0x4b578e(0x1b8)]]=_0x3a76b4;const _0xa48c44={};return _0xa48c44[IAPSDKConstants_1['IAPSDKConstants'][_0x4b578e(0x1da)]]=IAPSDKConstants_1['IAPSDKConstants'][_0x4b578e(0x1bc)],_0xa48c44[IAPSDKConstants_1[_0x4b578e(0x1c1)][_0x4b578e(0x1b8)]]=_0x3a76b4,_0xa48c44[IAPSDKConstants_1['IAPSDKConstants'][_0x4b578e(0x1ba)]]=IAPSDKUtils_1['IAPSDKUtils']['getValueFromJson'](_0x36d120,IAPSDKConstants_1[_0x4b578e(0x1c1)][_0x4b578e(0x1ba)]),_0xa48c44[IAPSDKConstants_1[_0x4b578e(0x1c1)][_0x4b578e(0x19e)]]={},_0xa48c44[IAPSDKConstants_1[_0x4b578e(0x1c1)][_0x4b578e(0x19e)]][_0x3a76b4]=_0xac2dc2,IAPSDKLogger_1[_0x4b578e(0x1c5)][_0x4b578e(0x1d7)](_0x4b578e(0x1e3)),_0xa48c44;}async['responseParser'](_0x2be0b1){const _0x5a0787=a41_0x43429b;IAPSDKLogger_1[_0x5a0787(0x1c5)][_0x5a0787(0x1d7)](_0x5a0787(0x1d0));try{const _0x2d2efe=IAPSDKUtils_1['IAPSDKUtils'][_0x5a0787(0x1c9)](_0x2be0b1,IAPSDKConstants_1['IAPSDKConstants'][_0x5a0787(0x1ae)]),_0x1c74af=IAPSDKUtils_1[_0x5a0787(0x1e5)][_0x5a0787(0x1c9)](_0x2d2efe,IAPSDKConstants_1[_0x5a0787(0x1c1)][_0x5a0787(0x1de)]),_0x6f5a8=IAPSDKUtils_1[_0x5a0787(0x1e5)]['getValueFromJson'](_0x2d2efe,IAPSDKConstants_1[_0x5a0787(0x1c1)][_0x5a0787(0x1a6)]),_0x3382a0=IAPSDKUtils_1['IAPSDKUtils'][_0x5a0787(0x1c7)](_0x2d2efe,IAPSDKConstants_1['IAPSDKConstants'][_0x5a0787(0x1dc)],IAPSDKConstants_1[_0x5a0787(0x1c1)]['LWA_CONSENT_STATUS_UNAVAILABLE']),_0x48644a=IAPSDKUtils_1[_0x5a0787(0x1e5)]['getValueFromJson'](_0x2d2efe,IAPSDKConstants_1['IAPSDKConstants']['KEY_COUNTRY_CODE']),_0x51bbf4=IAPSDKUtils_1[_0x5a0787(0x1e5)]['getValueFromJson'](_0x2d2efe,IAPSDKConstants_1[_0x5a0787(0x1c1)][_0x5a0787(0x1ba)]),_0x2fa8c4={'userId':_0x1c74af,'marketplace':_0x6f5a8,'lwaConsentStatus':IAPTypes[_0x5a0787(0x19d)][_0x3382a0[_0x5a0787(0x1cd)]()],'userProfileAccessConsentStatus':IAPTypes[_0x5a0787(0x1b2)][_0x3382a0[_0x5a0787(0x1cd)]()],'countryCode':_0x48644a};IAPSDKLogger_1[_0x5a0787(0x1c5)]['debug']('User\x20Data\x20present\x20in\x20the\x20response\x20-\x20'+JSON[_0x5a0787(0x1ac)](_0x2fa8c4));const _0x1fccef=IAPSDKUtils_1[_0x5a0787(0x1e5)][_0x5a0787(0x1c9)](_0x2be0b1,IAPSDKConstants_1[_0x5a0787(0x1c1)][_0x5a0787(0x1a1)])[_0x5a0787(0x1cd)](),_0x4b7515=IAPSDKUtils_1[_0x5a0787(0x1e5)][_0x5a0787(0x1c9)](_0x2d2efe,IAPSDKConstants_1['IAPSDKConstants'][_0x5a0787(0x1e1)]);if(ValidatorUtils_1[_0x5a0787(0x1b4)][_0x5a0787(0x1c0)](_0x4b7515))return PurchaseReqRespBaseModel_1[_0x5a0787(0x1e2)][_0x5a0787(0x19f)](IAPTypes[_0x5a0787(0x1b7)][_0x5a0787(0x1a0)],this[_0x5a0787(0x1bb)](),_0x2fa8c4);const _0x244659=JSON[_0x5a0787(0x1a7)](_0x4b7515),_0x2d2d67=IAPSDKUtils_1[_0x5a0787(0x1e5)][_0x5a0787(0x1c9)](_0x244659,IAPSDKConstants_1['IAPSDKConstants'][_0x5a0787(0x1c2)]),_0x4d277e=this[_0x5a0787(0x1db)](_0x2d2d67);if(_0x4d277e!==IAPTypes[_0x5a0787(0x1b7)][_0x5a0787(0x1d1)])return PurchaseReqRespBaseModel_1['PurchaseReqRespBaseModel'][_0x5a0787(0x19f)](_0x4d277e,this['getRequestId']());const _0x49e2e7={'requestIdStr':_0x51bbf4};let _0x4a4f61=null;if(_0x4d277e===IAPTypes[_0x5a0787(0x1b7)][_0x5a0787(0x1d1)])try{const _0x5d329e=JSON['parse'](_0x4b7515);_0x4a4f61=await ReceiptHelper_1[_0x5a0787(0x1e9)]['getReceiptFromJson'](_0x5d329e,_0x2fa8c4,this['getRequestId']()),IAPSDKLogger_1[_0x5a0787(0x1c5)]['debug']('Receipt\x20Id\x20for\x20the\x20purchase\x20,\x20'+_0x4a4f61['receiptId']);if(!_0x4a4f61)return PurchaseReqRespBaseModel_1[_0x5a0787(0x1e2)][_0x5a0787(0x19f)](IAPTypes[_0x5a0787(0x1b7)]['FAILED'],this[_0x5a0787(0x1bb)](),_0x2fa8c4);}catch(_0x32eb6f){return IAPSDKLogger_1[_0x5a0787(0x1c5)][_0x5a0787(0x1b9)]('Encountered\x20an\x20error\x20while\x20constructing\x20the\x20receipt,\x20'+_0x32eb6f[_0x5a0787(0x1b5)]),PurchaseReqRespBaseModel_1['PurchaseReqRespBaseModel'][_0x5a0787(0x19f)](IAPTypes[_0x5a0787(0x1b7)]['FAILED'],this[_0x5a0787(0x1bb)](),_0x2fa8c4);}const _0x32141f={'receipt':_0x4a4f61,'requestId':_0x49e2e7,'responseCode':_0x4d277e,'userData':_0x2fa8c4};return IAPSDKLogger_1[_0x5a0787(0x1c5)][_0x5a0787(0x1d7)](_0x5a0787(0x1d2)+(''+_0x32141f['receipt']['receiptId'])),_0x32141f;}catch(_0x3c6fc9){return IAPSDKLogger_1['IAPSDKLogger'][_0x5a0787(0x1b9)](_0x5a0787(0x1b0)+_0x3c6fc9[_0x5a0787(0x1b5)]),PurchaseReqRespBaseModel_1[_0x5a0787(0x1e2)][_0x5a0787(0x19f)](IAPTypes[_0x5a0787(0x1b7)][_0x5a0787(0x1a0)],this[_0x5a0787(0x1bb)]());}}['getPurchaseResponseCode'](_0x567f0b){const _0x357a91=a41_0x43429b;if(_0x567f0b['toUpperCase']()===IAPSDKConstants_1['IAPSDKConstants'][_0x357a91(0x1bf)])return IAPTypes['PurchaseResponseCode'][_0x357a91(0x1b3)];try{return IAPTypes[_0x357a91(0x1b7)][_0x567f0b[_0x357a91(0x1cd)]()];}catch{throw new Error(_0x357a91(0x1e7)+_0x567f0b);}}}exports[a41_0x43429b(0x19c)]=PurchaseReqRespModelV2;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function a42_0x48bb(){const _0x226cf9=['isNullOrEmpty','UserProfileAccessReqRespModel','__esModule','Parsing\x20the\x20response\x20object\x20received\x20for\x20requestUserProfileAccess\x20operation......','Invalid\x20Response\x20Status\x20for\x20userProfileAccess\x20response','ValidatorUtils','prototype','2351370uPeNwy','SUCCESSFUL','SDK_VERSION','1183653PJgDzq','Response\x20status\x20for\x20UserProfileAccess\x20:\x20','Unable\x20to\x20parse\x20the\x20response\x20:\x20','16810524lHLGGz','FAILED','error','350067vmecTM','810972qVOCsc','UserProfileAccessResponseCode','toUpperCase','debug','IAPSDKConstants','configurable','315aYlnKF','4lCbLuk','parse','writable','requestIdStr','EMPTY_STRING','getOwnPropertyDescriptor','createNullResponse','defineProperty','Creating\x20a\x20null\x20response\x20for\x20UserProfileAccess\x20with\x20response\x20status\x20:\x20','stringify','get','KEY_SDK_VERSION','info','KEY_REQUEST_ID','responseParser','KEY_AUTH_CODE_FOR_USER_PROFILE_ACCESS','default','hasOwnProperty','11912OgqZDb','144150btjinU','create','IAPSDKLogger','getRequestPayload','APIReqRespBaseModel','__setModuleDefault','__importStar','call','getValueFromJson','IAPSDKUtils'];a42_0x48bb=function(){return _0x226cf9;};return a42_0x48bb();}const a42_0x41c7ec=a42_0x5bd4;(function(_0x3604c0,_0x173f3b){const _0x1d7672=a42_0x5bd4,_0x3d033a=_0x3604c0();while(!![]){try{const _0x4412c7=-parseInt(_0x1d7672(0x81))/0x1+-parseInt(_0x1d7672(0x82))/0x2+-parseInt(_0x1d7672(0x7b))/0x3+-parseInt(_0x1d7672(0x89))/0x4*(parseInt(_0x1d7672(0x9c))/0x5)+-parseInt(_0x1d7672(0x78))/0x6+-parseInt(_0x1d7672(0x88))/0x7*(parseInt(_0x1d7672(0x9b))/0x8)+parseInt(_0x1d7672(0x7e))/0x9;if(_0x4412c7===_0x173f3b)break;else _0x3d033a['push'](_0x3d033a['shift']());}catch(_0x52b8ff){_0x3d033a['push'](_0x3d033a['shift']());}}}(a42_0x48bb,0x38272));function a42_0x5bd4(_0x391699,_0x24a421){const _0x48bbcc=a42_0x48bb();return a42_0x5bd4=function(_0x5bd433,_0x8e0c3e){_0x5bd433=_0x5bd433-0x68;let _0x1e99ed=_0x48bbcc[_0x5bd433];return _0x1e99ed;},a42_0x5bd4(_0x391699,_0x24a421);}var __createBinding=this&&this['__createBinding']||(Object[a42_0x41c7ec(0x68)]?function(_0x579057,_0x6b90ef,_0x486498,_0x49bd40){const _0x10b1b2=a42_0x41c7ec;if(_0x49bd40===undefined)_0x49bd40=_0x486498;var _0x1b6490=Object[_0x10b1b2(0x8e)](_0x6b90ef,_0x486498);(!_0x1b6490||(_0x10b1b2(0x93)in _0x1b6490?!_0x6b90ef[_0x10b1b2(0x73)]:_0x1b6490[_0x10b1b2(0x8b)]||_0x1b6490[_0x10b1b2(0x87)]))&&(_0x1b6490={'enumerable':!![],'get':function(){return _0x6b90ef[_0x486498];}}),Object['defineProperty'](_0x579057,_0x49bd40,_0x1b6490);}:function(_0x9dd44c,_0x5d0756,_0x16a352,_0x42a4a3){if(_0x42a4a3===undefined)_0x42a4a3=_0x16a352;_0x9dd44c[_0x42a4a3]=_0x5d0756[_0x16a352];}),__setModuleDefault=this&&this[a42_0x41c7ec(0x6c)]||(Object[a42_0x41c7ec(0x68)]?function(_0x419687,_0x178e4c){const _0x36fed3=a42_0x41c7ec;Object['defineProperty'](_0x419687,_0x36fed3(0x99),{'enumerable':!![],'value':_0x178e4c});}:function(_0xcff449,_0x28df05){const _0x4f967e=a42_0x41c7ec;_0xcff449[_0x4f967e(0x99)]=_0x28df05;}),__importStar=this&&this[a42_0x41c7ec(0x6d)]||function(_0x48b692){const _0x1d17d8=a42_0x41c7ec;if(_0x48b692&&_0x48b692[_0x1d17d8(0x73)])return _0x48b692;var _0xc2044={};if(_0x48b692!=null){for(var _0x40f3d8 in _0x48b692)if(_0x40f3d8!==_0x1d17d8(0x99)&&Object[_0x1d17d8(0x77)][_0x1d17d8(0x9a)][_0x1d17d8(0x6e)](_0x48b692,_0x40f3d8))__createBinding(_0xc2044,_0x48b692,_0x40f3d8);}return __setModuleDefault(_0xc2044,_0x48b692),_0xc2044;};Object[a42_0x41c7ec(0x90)](exports,'__esModule',{'value':!![]}),exports['UserProfileAccessReqRespModel']=void 0x0;const IAPTypes=__importStar(require('../../../../types/IAPTypes')),IAPSDKConstants_1=require('../../../constants/IAPSDKConstants'),IAPSDKLogger_1=require('../../../logger/IAPSDKLogger'),IAPSDKUtils_1=require('../../../utils/IAPSDKUtils'),ValidatorUtils_1=require('../../../utils/validator/ValidatorUtils'),APIReqRespBaseModel_1=require('../APIReqRespBaseModel');class UserProfileAccessReqRespModel extends APIReqRespBaseModel_1[a42_0x41c7ec(0x6b)]{constructor(_0x18b8f6){const _0x1c15a6=a42_0x41c7ec;IAPSDKLogger_1[_0x1c15a6(0x69)][_0x1c15a6(0x85)]('UserProfileAccess\x20model\x20constructor\x20invoked'),super(_0x18b8f6);}[a42_0x41c7ec(0x6a)](){const _0x347c4e=a42_0x41c7ec;IAPSDKLogger_1[_0x347c4e(0x69)][_0x347c4e(0x85)]('Creating\x20the\x20request\x20payload\x20for\x20UserProfileAccess\x20Model');const _0x2b2f9f=JSON[_0x347c4e(0x8a)](JSON[_0x347c4e(0x92)]({}));return _0x2b2f9f[IAPSDKConstants_1['IAPSDKConstants'][_0x347c4e(0x96)]]=this['getRequestId']()[_0x347c4e(0x8c)],_0x2b2f9f[IAPSDKConstants_1[_0x347c4e(0x86)][_0x347c4e(0x94)]]=IAPSDKConstants_1[_0x347c4e(0x86)][_0x347c4e(0x7a)],_0x2b2f9f;}[a42_0x41c7ec(0x97)](_0x28a978){const _0x1c1c86=a42_0x41c7ec;IAPSDKLogger_1[_0x1c1c86(0x69)][_0x1c1c86(0x85)](_0x1c1c86(0x74));try{const _0x3c2152=IAPSDKUtils_1[_0x1c1c86(0x70)][_0x1c1c86(0x6f)](_0x28a978,IAPSDKConstants_1[_0x1c1c86(0x86)]['KEY_RESPONSE']),_0x390717=IAPSDKUtils_1[_0x1c1c86(0x70)]['getValueFromJson'](_0x28a978,IAPSDKConstants_1['IAPSDKConstants']['KEY_RESPONSE_STATUS'])[_0x1c1c86(0x84)]();let _0x5ada91;if(_0x390717 in IAPTypes['UserProfileAccessResponseCode'])_0x5ada91=IAPTypes[_0x1c1c86(0x83)][_0x390717];else return IAPSDKLogger_1[_0x1c1c86(0x69)][_0x1c1c86(0x80)](_0x1c1c86(0x75)),this['createNullResponse'](IAPTypes['UserProfileAccessResponseCode']['NOT_SUPPORTED']);if(_0x5ada91!==IAPTypes[_0x1c1c86(0x83)][_0x1c1c86(0x79)])return IAPSDKLogger_1[_0x1c1c86(0x69)]['error'](_0x1c1c86(0x7c)+_0x390717),this[_0x1c1c86(0x8f)](_0x5ada91);const _0x1716d1=IAPSDKUtils_1[_0x1c1c86(0x70)][_0x1c1c86(0x6f)](_0x3c2152,IAPSDKConstants_1[_0x1c1c86(0x86)][_0x1c1c86(0x98)]);if(ValidatorUtils_1[_0x1c1c86(0x76)][_0x1c1c86(0x71)](_0x1716d1))return IAPSDKLogger_1['IAPSDKLogger']['error'](_0x1c1c86(0x7c)+IAPTypes[_0x1c1c86(0x83)]['FAILED']+',\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Response\x20parameters\x20is\x20null\x20or\x20empty.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Response\x20Parameters\x20-\x20userProfileAccessAuthCode\x20:\x20'+_0x1716d1),this[_0x1c1c86(0x8f)](IAPTypes[_0x1c1c86(0x83)][_0x1c1c86(0x7f)]);IAPSDKLogger_1[_0x1c1c86(0x69)][_0x1c1c86(0x95)](_0x1c1c86(0x7c)+_0x390717);const _0x16d1e1={'userProfileAccessAuthCode':_0x1716d1,'responseCode':_0x5ada91};return IAPSDKLogger_1['IAPSDKLogger'][_0x1c1c86(0x85)]('Successfully\x20created\x20the\x20response\x20for\x20requestUserProfileAccess\x20operation'),_0x16d1e1;}catch(_0x183371){return IAPSDKLogger_1[_0x1c1c86(0x69)][_0x1c1c86(0x80)](_0x1c1c86(0x7d)+_0x183371),this[_0x1c1c86(0x8f)](IAPTypes[_0x1c1c86(0x83)][_0x1c1c86(0x7f)]);}}['createNullResponse'](_0x392580){const _0x47055f=a42_0x41c7ec;IAPSDKLogger_1[_0x47055f(0x69)][_0x47055f(0x85)](_0x47055f(0x91)+(''+IAPTypes['UserProfileAccessResponseCode'][_0x392580]));const _0x47fd8f={'userProfileAccessAuthCode':IAPSDKConstants_1[_0x47055f(0x86)][_0x47055f(0x8d)],'responseCode':_0x392580};return _0x47fd8f;}}exports[a42_0x41c7ec(0x72)]=UserProfileAccessReqRespModel;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const a43_0x2f7c88=a43_0x41b1;(function(_0x444449,_0x3bf1f3){const _0x4dc571=a43_0x41b1,_0x23e5e1=_0x444449();while(!![]){try{const _0x3f84f6=-parseInt(_0x4dc571(0x1eb))/0x1*(parseInt(_0x4dc571(0x1f0))/0x2)+-parseInt(_0x4dc571(0x1f2))/0x3+-parseInt(_0x4dc571(0x1ee))/0x4*(-parseInt(_0x4dc571(0x1e7))/0x5)+parseInt(_0x4dc571(0x209))/0x6+-parseInt(_0x4dc571(0x1f5))/0x7*(-parseInt(_0x4dc571(0x200))/0x8)+-parseInt(_0x4dc571(0x208))/0x9*(-parseInt(_0x4dc571(0x1f4))/0xa)+-parseInt(_0x4dc571(0x1f8))/0xb;if(_0x3f84f6===_0x3bf1f3)break;else _0x23e5e1['push'](_0x23e5e1['shift']());}catch(_0xe4d1c9){_0x23e5e1['push'](_0x23e5e1['shift']());}}}(a43_0x227f,0x876a1));function a43_0x41b1(_0x36a802,_0x3c3143){const _0x227fa5=a43_0x227f();return a43_0x41b1=function(_0x41b1fb,_0x6579f0){_0x41b1fb=_0x41b1fb-0x1e7;let _0x2be4c7=_0x227fa5[_0x41b1fb];return _0x2be4c7;},a43_0x41b1(_0x36a802,_0x3c3143);}var __importDefault=this&&this['__importDefault']||function(_0x39cd2d){return _0x39cd2d&&_0x39cd2d['__esModule']?_0x39cd2d:{'default':_0x39cd2d};};function a43_0x227f(){const _0x44c26d=['Encountered\x20error\x20while\x20converting\x20string\x20to\x20Date,\x20input\x20string\x20-\x20','getNewRequestId','IAPSDKLogger','getValueFromJson','FALSE','IAPSDKUtils','7880DqIdeE','convertStringToBigInt','IAPSDKConstants','isNullOrEmpty','key\x20not\x20present:\x20','hasOwnProperty','__esModule','Invalid\x20string\x20given\x20for\x20converting\x20to\x20micros:\x20','36IffpSt','1747800MBpqTW','toUpperCase','5XOMaUo','default','\x20is\x20not\x20found\x20while\x20parsing\x20Json','isNullOrUndefined','1OMZzLx','ZERO_STRING','getDateFromString','3760036taPBob','defineProperty','523244PVdurg','debug','411483kgTcvN','\x20so\x20returning\x20the\x20default\x20value\x20-\x20','640040klPRCA','1407Tkxwwg','Encountered\x20error\x20while\x20converting\x20string\x20to\x20boolean,\x20input\x20string\x20-\x20','Key\x20not\x20present\x20:\x20','8050570aZTfVQ','optValueFromJson'];a43_0x227f=function(){return _0x44c26d;};return a43_0x227f();}Object[a43_0x2f7c88(0x1ef)](exports,a43_0x2f7c88(0x206),{'value':!![]}),exports[a43_0x2f7c88(0x1ff)]=void 0x0;const react_native_uuid_1=__importDefault(require('react-native-uuid')),IAPSDKConstants_1=require('../constants/IAPSDKConstants'),IAPSDKLogger_1=require('../logger/IAPSDKLogger'),ValidatorUtils_1=require('./validator/ValidatorUtils');class IAPSDKUtils{static[a43_0x2f7c88(0x1fb)](){const _0x481f66=a43_0x2f7c88,_0x51d2ea=react_native_uuid_1[_0x481f66(0x1e8)]['v4']()['toString'](),_0x3922a4={'requestIdStr':_0x51d2ea};return _0x3922a4;}static[a43_0x2f7c88(0x1fd)](_0x45356f,_0x30f199){const _0x271fa7=a43_0x2f7c88;if(!_0x45356f['hasOwnProperty'](_0x30f199)){IAPSDKLogger_1['IAPSDKLogger'][_0x271fa7(0x1f1)](_0x271fa7(0x1f7)+_0x30f199);throw new Error(_0x30f199+_0x271fa7(0x1e9));}return _0x45356f[_0x30f199];}static[a43_0x2f7c88(0x1f9)](_0x25413,_0x189d70,_0x26942c){const _0x13a03a=a43_0x2f7c88;if(!_0x25413[_0x13a03a(0x205)](_0x189d70))return IAPSDKLogger_1[_0x13a03a(0x1fc)][_0x13a03a(0x1f1)](_0x13a03a(0x204)+_0x189d70+_0x13a03a(0x1f3)+_0x26942c),_0x26942c;return _0x25413[_0x189d70];}static['convertStringToBoolean'](_0x1cede0){const _0x5ee9a2=a43_0x2f7c88,_0x5ac06d=_0x1cede0[_0x5ee9a2(0x20a)]();if(_0x5ac06d==='TRUE')return!![];else{if(_0x5ac06d===_0x5ee9a2(0x1fe))return![];}throw new Error(_0x5ee9a2(0x1f6)+_0x1cede0);}static[a43_0x2f7c88(0x201)](_0x40b060){const _0x5cb150=a43_0x2f7c88;try{return BigInt(_0x40b060);}catch(_0x4e5055){return IAPSDKLogger_1[_0x5cb150(0x1fc)][_0x5cb150(0x1f1)]('Invalid\x20big\x20integer:\x20'+_0x40b060),null;}}static['convertStringToMicros'](_0x1c73b0){const _0x2c00a2=a43_0x2f7c88;try{const _0x4ecdb3=Number(_0x1c73b0);return BigInt(_0x4ecdb3*0xf4240);}catch(_0x2545b7){return IAPSDKLogger_1[_0x2c00a2(0x1fc)]['debug'](_0x2c00a2(0x207)+_0x1c73b0),null;}}static[a43_0x2f7c88(0x1ed)](_0x4e5533){const _0x3d6639=a43_0x2f7c88;if(ValidatorUtils_1['ValidatorUtils'][_0x3d6639(0x203)](_0x4e5533))return null;if(_0x4e5533===IAPSDKConstants_1[_0x3d6639(0x202)][_0x3d6639(0x1ec)])return null;const _0x35e235=new Date(Number(_0x4e5533));if(ValidatorUtils_1['ValidatorUtils'][_0x3d6639(0x1ea)](_0x35e235))throw new Error(_0x3d6639(0x1fa)+_0x4e5533);return _0x35e235;}}exports[a43_0x2f7c88(0x1ff)]=IAPSDKUtils;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';function a44_0x3253(_0x5d9665,_0x3c06e3){var _0x47f936=a44_0x47f9();return a44_0x3253=function(_0x3253e5,_0xf8a14b){_0x3253e5=_0x3253e5-0xc8;var _0x697d7a=_0x47f936[_0x3253e5];return _0x697d7a;},a44_0x3253(_0x5d9665,_0x3c06e3);}var a44_0x3f9daa=a44_0x3253;function a44_0x47f9(){var _0x3598f3=['__esModule','701560MtreSG','defineProperty','117YrOvlm','313478JbeThy','962982mIuhns','4223358kJOCIU','22psLpeX','266260pbdQUQ','69562hGmwlZ','155xNOnNZ','88716wuunFu','14BPFXmB'];a44_0x47f9=function(){return _0x3598f3;};return a44_0x47f9();}(function(_0x5b4d00,_0x5e9d27){var _0x48be7b=a44_0x3253,_0x18b41e=_0x5b4d00();while(!![]){try{var _0x52ed83=parseInt(_0x48be7b(0xd4))/0x1*(-parseInt(_0x48be7b(0xd2))/0x2)+-parseInt(_0x48be7b(0xd0))/0x3+-parseInt(_0x48be7b(0xc9))/0x4*(-parseInt(_0x48be7b(0xc8))/0x5)+parseInt(_0x48be7b(0xd1))/0x6+-parseInt(_0x48be7b(0xca))/0x7*(parseInt(_0x48be7b(0xcc))/0x8)+parseInt(_0x48be7b(0xce))/0x9*(parseInt(_0x48be7b(0xd3))/0xa)+-parseInt(_0x48be7b(0xcf))/0xb;if(_0x52ed83===_0x5e9d27)break;else _0x18b41e['push'](_0x18b41e['shift']());}catch(_0x45f159){_0x18b41e['push'](_0x18b41e['shift']());}}}(a44_0x47f9,0x6d41c));Object[a44_0x3f9daa(0xcd)](exports,a44_0x3f9daa(0xcb),{'value':!![]});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a45_0x37e264=a45_0x4423;(function(_0xfc918b,_0x1f9ec8){const _0x4272a6=a45_0x4423,_0x59742d=_0xfc918b();while(!![]){try{const _0x45dc38=parseInt(_0x4272a6(0x169))/0x1*(parseInt(_0x4272a6(0x162))/0x2)+parseInt(_0x4272a6(0x175))/0x3*(-parseInt(_0x4272a6(0x17c))/0x4)+parseInt(_0x4272a6(0x174))/0x5*(parseInt(_0x4272a6(0x172))/0x6)+-parseInt(_0x4272a6(0x16d))/0x7*(parseInt(_0x4272a6(0x16a))/0x8)+-parseInt(_0x4272a6(0x17b))/0x9*(-parseInt(_0x4272a6(0x16b))/0xa)+-parseInt(_0x4272a6(0x163))/0xb*(-parseInt(_0x4272a6(0x177))/0xc)+-parseInt(_0x4272a6(0x171))/0xd*(parseInt(_0x4272a6(0x160))/0xe);if(_0x45dc38===_0x1f9ec8)break;else _0x59742d['push'](_0x59742d['shift']());}catch(_0x3d8c7a){_0x59742d['push'](_0x59742d['shift']());}}}(a45_0x5090,0x8a80d));Object['defineProperty'](exports,a45_0x37e264(0x167),{'value':!![]}),exports[a45_0x37e264(0x178)]=void 0x0;const react_native_kepler_1=require('@amazon-devices/react-native-kepler'),IAPSDKConstants_1=require('../../constants/IAPSDKConstants'),IAPSDKLogger_1=require('../../logger/IAPSDKLogger');function a45_0x5090(){const _0x30abf9=['169vofctB','6MNTgXL','KEY_CURSOR_V2','3107795jBUhUZ','3389430xsRrYw','getCursorData','1776DeIxXt','CursorUtils','key_cursor_v2','cursorV2','9BurSNJ','4NAecFm','KEY_CURSOR_V1','getItem','cursor','577794Bshqwb','EMPTY_STRING','16790MSMkwq','71104GESpvp','error','setCursorData','debug','__esModule','setItem','100eahrSS','74384KPHpxp','7178170bcidQl','AsyncStorage','679wrvoyr','IAPSDKLogger','Failed\x20to\x20set\x20the\x20cursor,\x20error\x20:\x20','IAPSDKConstants'];a45_0x5090=function(){return _0x30abf9;};return a45_0x5090();}class CursorUtils{static [a45_0x37e264(0x17d)]='key_cursor_v1';static ['KEY_CURSOR_V2']=a45_0x37e264(0x179);static async[a45_0x37e264(0x176)](){const _0x376f65=a45_0x37e264;let _0x3aa56d,_0x3252fe;try{_0x3aa56d=await react_native_kepler_1[_0x376f65(0x16c)][_0x376f65(0x17e)](this[_0x376f65(0x17d)]),_0x3252fe=await react_native_kepler_1[_0x376f65(0x16c)]['getItem'](this[_0x376f65(0x173)]);}catch(_0x41c111){IAPSDKLogger_1['IAPSDKLogger'][_0x376f65(0x164)]('Failed\x20to\x20fetch\x20the\x20cursor,\x20error\x20:\x20'+_0x41c111);}return _0x3aa56d=_0x3aa56d??IAPSDKConstants_1[_0x376f65(0x170)][_0x376f65(0x161)],_0x3252fe=_0x3252fe??IAPSDKConstants_1[_0x376f65(0x170)][_0x376f65(0x161)],{'cursor':_0x3aa56d,'cursorV2':_0x3252fe};}static async[a45_0x37e264(0x165)](_0x2a7719){const _0x238304=a45_0x37e264;try{IAPSDKLogger_1[_0x238304(0x16e)][_0x238304(0x166)]('Setting\x20the\x20cursor'),await react_native_kepler_1[_0x238304(0x16c)][_0x238304(0x168)](this[_0x238304(0x17d)],_0x2a7719[_0x238304(0x17f)]),await react_native_kepler_1['AsyncStorage'][_0x238304(0x168)](this[_0x238304(0x173)],_0x2a7719[_0x238304(0x17a)]);}catch(_0x114b17){IAPSDKLogger_1[_0x238304(0x16e)]['error'](_0x238304(0x16f)+_0x114b17);}}}function a45_0x4423(_0x322fb3,_0x51323a){const _0x5090e9=a45_0x5090();return a45_0x4423=function(_0x442314,_0x539460){_0x442314=_0x442314-0x160;let _0x3460b4=_0x5090e9[_0x442314];return _0x3460b4;},a45_0x4423(_0x322fb3,_0x51323a);}exports[a45_0x37e264(0x178)]=CursorUtils;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const a46_0x49f31e=a46_0x3b70;(function(_0x2ef613,_0x41c227){const _0x3602f6=a46_0x3b70,_0x486f96=_0x2ef613();while(!![]){try{const _0x1c7224=-parseInt(_0x3602f6(0x9f))/0x1*(-parseInt(_0x3602f6(0xb3))/0x2)+parseInt(_0x3602f6(0xce))/0x3+parseInt(_0x3602f6(0xba))/0x4+-parseInt(_0x3602f6(0xb7))/0x5+-parseInt(_0x3602f6(0xb9))/0x6*(-parseInt(_0x3602f6(0xa1))/0x7)+parseInt(_0x3602f6(0x9d))/0x8+-parseInt(_0x3602f6(0xd0))/0x9;if(_0x1c7224===_0x41c227)break;else _0x486f96['push'](_0x486f96['shift']());}catch(_0x4ac899){_0x486f96['push'](_0x486f96['shift']());}}}(a46_0x5465,0x9359d));var __createBinding=this&&this[a46_0x49f31e(0xb8)]||(Object[a46_0x49f31e(0xc3)]?function(_0x322e4f,_0x2ad3e8,_0x2e4fd7,_0x5724d8){const _0x413e23=a46_0x49f31e;if(_0x5724d8===undefined)_0x5724d8=_0x2e4fd7;var _0x318528=Object[_0x413e23(0xb4)](_0x2ad3e8,_0x2e4fd7);(!_0x318528||(_0x413e23(0xa9)in _0x318528?!_0x2ad3e8[_0x413e23(0xb5)]:_0x318528[_0x413e23(0xbd)]||_0x318528[_0x413e23(0xcd)]))&&(_0x318528={'enumerable':!![],'get':function(){return _0x2ad3e8[_0x2e4fd7];}}),Object[_0x413e23(0xcf)](_0x322e4f,_0x5724d8,_0x318528);}:function(_0xc44f00,_0x1ba413,_0x2570e1,_0x378ee9){if(_0x378ee9===undefined)_0x378ee9=_0x2570e1;_0xc44f00[_0x378ee9]=_0x1ba413[_0x2570e1];}),__setModuleDefault=this&&this[a46_0x49f31e(0xa2)]||(Object[a46_0x49f31e(0xc3)]?function(_0x3dc967,_0x2d5439){const _0x3bd382=a46_0x49f31e;Object['defineProperty'](_0x3dc967,_0x3bd382(0xc6),{'enumerable':!![],'value':_0x2d5439});}:function(_0x45e7bb,_0x15e6fb){const _0x4ef124=a46_0x49f31e;_0x45e7bb[_0x4ef124(0xc6)]=_0x15e6fb;}),__importStar=this&&this[a46_0x49f31e(0xc9)]||function(_0x53878a){const _0x903219=a46_0x49f31e;if(_0x53878a&&_0x53878a[_0x903219(0xb5)])return _0x53878a;var _0x200f34={};if(_0x53878a!=null){for(var _0x4aee50 in _0x53878a)if(_0x4aee50!==_0x903219(0xc6)&&Object[_0x903219(0xbf)]['hasOwnProperty'][_0x903219(0x9c)](_0x53878a,_0x4aee50))__createBinding(_0x200f34,_0x53878a,_0x4aee50);}return __setModuleDefault(_0x200f34,_0x53878a),_0x200f34;},__importDefault=this&&this[a46_0x49f31e(0xb0)]||function(_0x466954){const _0x21ccbe=a46_0x49f31e;return _0x466954&&_0x466954[_0x21ccbe(0xb5)]?_0x466954:{'default':_0x466954};};function a46_0x5465(){const _0x3a5fde=['21kJemkV','__setModuleDefault','ProductType','KEY_TERM_SKU','parsing\x20the\x20receipt\x20for\x20request\x20Id\x20-\x20','KEY_VALIDATION_STATUS','Validation\x20Result\x20:\x20','ReceiptHelper','get','IAPSDKLogger','optValueFromJson','IAPSDKUtils','Error\x20occurred\x20while\x20verifying\x20the\x20receipt\x20for\x20request\x20Id\x20-\x20','isNullOrEmpty','requestIdStr','__importDefault','Validation\x20status\x20is\x20failed\x20for\x20the\x20receiptId','parseReceiptJsonV3','450154gKSfMg','getOwnPropertyDescriptor','__esModule','KEY_DEFERRED_DATE_EPOCH','5627740jkuUjw','__createBinding','2155206ItdWoZ','4337672pMAPXL','IAPSDKConstants','validateReceiptSignature','writable','Invalid\x20product\x20Type\x20in\x20the\x20receipt.','prototype','ValidatorUtils','Error\x20occured\x20while\x20parsing\x20the\x20receipt\x20for\x20requestId\x20-\x20','message','create','stringify','toUpperCase','default','KEY_CANCEL_DATE_EPOCH','getDateFromString','__importStar','getValueFromJson','KEY_PURCHASE_DATE_EPOCH','userId','configurable','849072wvgSek','defineProperty','10870425eEirDs','RECEIPT_VERSION_V3','debug','getReceiptFromJson','call','2134400gXVdQl','warn','1omxfsV','parse'];a46_0x5465=function(){return _0x3a5fde;};return a46_0x5465();}Object[a46_0x49f31e(0xcf)](exports,'__esModule',{'value':!![]}),exports[a46_0x49f31e(0xa8)]=void 0x0;const IAPTypes=__importStar(require('../../../types/IAPTypes')),IAPSDKConstants_1=require('../../constants/IAPSDKConstants'),IAPSDKLogger_1=require('../../logger/IAPSDKLogger'),NativeIAPRequestHandler_1=__importDefault(require('../../NativeIAPRequestHandler')),IAPSDKUtils_1=require('../IAPSDKUtils'),ValidatorUtils_1=require('../validator/ValidatorUtils');class ReceiptHelper{static [a46_0x49f31e(0xd1)]='V3';static[a46_0x49f31e(0x9b)](_0xe113d9,_0x4bd46a,_0x14b5f4){const _0x40949f=a46_0x49f31e,_0x1e19d7=IAPSDKUtils_1['IAPSDKUtils']['optValueFromJson'](_0xe113d9,IAPSDKConstants_1['IAPSDKConstants']['KEY_IAP_RECEIPT_TYPE'],ReceiptHelper[_0x40949f(0xd1)]);if(_0x1e19d7===ReceiptHelper[_0x40949f(0xd1)])return this[_0x40949f(0xb2)](_0xe113d9,_0x4bd46a,_0x14b5f4);else throw new Error('Error\x20encountered,\x20Unsupported\x20receipt\x20version\x20-\x20'+_0x1e19d7+'\x20of\x20request\x20id\x20-\x20'+(''+_0x14b5f4[_0x40949f(0xaf)]));}static async['parseReceiptJsonV3'](_0x3bb500,_0x5854bf,_0x47b8af){const _0x283953=a46_0x49f31e;let _0x545753,_0xb20811;try{_0xb20811=await NativeIAPRequestHandler_1['default'][_0x283953(0xbc)](_0x47b8af[_0x283953(0xaf)],JSON[_0x283953(0xc4)](_0x47b8af),_0x5854bf[_0x283953(0xcc)],JSON[_0x283953(0xc4)](_0x3bb500)),_0x545753=JSON[_0x283953(0xa0)](_0xb20811);}catch(_0x5e8114){throw new Error(_0x283953(0xad)+_0x47b8af[_0x283953(0xaf)]+',\x20'+_0x5e8114[_0x283953(0xc2)]);}IAPSDKLogger_1['IAPSDKLogger'][_0x283953(0x9a)](_0x283953(0xa7)+_0xb20811);const _0x36ec03=IAPSDKUtils_1['IAPSDKUtils'][_0x283953(0xca)](_0x545753,IAPSDKConstants_1[_0x283953(0xbb)][_0x283953(0xa6)]);IAPSDKLogger_1[_0x283953(0xaa)][_0x283953(0x9a)]('Validation\x20Status\x20of\x20the\x20receipt\x20:\x20'+_0x36ec03);if(!_0x36ec03)return IAPSDKLogger_1[_0x283953(0xaa)][_0x283953(0x9e)](_0x283953(0xb1)),null;let _0x282686;try{IAPSDKLogger_1[_0x283953(0xaa)][_0x283953(0x9a)](_0x283953(0xa5)+_0x47b8af['requestIdStr']);const _0x55fea1=IAPSDKUtils_1['IAPSDKUtils']['getValueFromJson'](_0x3bb500,IAPSDKConstants_1[_0x283953(0xbb)]['KEY_RECEIPT_ID']),_0x13a970=IAPSDKUtils_1[_0x283953(0xac)][_0x283953(0xca)](_0x3bb500,IAPSDKConstants_1['IAPSDKConstants']['KEY_SKU']),_0x3bfb2c=IAPSDKUtils_1[_0x283953(0xac)]['optValueFromJson'](_0x3bb500,IAPSDKConstants_1[_0x283953(0xbb)][_0x283953(0xa4)],null);let _0xcf9652=IAPSDKUtils_1[_0x283953(0xac)][_0x283953(0xab)](_0x3bb500,IAPSDKConstants_1[_0x283953(0xbb)]['KEY_DEFERRED_SKU'],null);_0xcf9652=_0xcf9652?_0xcf9652:null;const _0x13c51c=IAPSDKUtils_1[_0x283953(0xac)][_0x283953(0xca)](_0x3bb500,IAPSDKConstants_1['IAPSDKConstants']['KEY_PRODUCT_TYPE'])[_0x283953(0xc5)]();let _0x5e6d2c;if(_0x13c51c in IAPTypes[_0x283953(0xa3)])_0x5e6d2c=IAPTypes['ProductType'][_0x13c51c];else throw new Error(_0x283953(0xbe));const _0x16393a=IAPSDKUtils_1[_0x283953(0xac)][_0x283953(0xab)](_0x3bb500,IAPSDKConstants_1['IAPSDKConstants'][_0x283953(0xcb)],''),_0x30ba0d=ValidatorUtils_1[_0x283953(0xc0)][_0x283953(0xae)](_0x16393a)?null:IAPSDKUtils_1['IAPSDKUtils'][_0x283953(0xc8)](_0x16393a),_0x108d3d=IAPSDKUtils_1[_0x283953(0xac)][_0x283953(0xab)](_0x3bb500,IAPSDKConstants_1['IAPSDKConstants'][_0x283953(0xc7)],''),_0x35861f=ValidatorUtils_1[_0x283953(0xc0)][_0x283953(0xae)](_0x108d3d)?null:IAPSDKUtils_1[_0x283953(0xac)][_0x283953(0xc8)](_0x108d3d),_0x3576e9=IAPSDKUtils_1[_0x283953(0xac)]['optValueFromJson'](_0x3bb500,IAPSDKConstants_1[_0x283953(0xbb)][_0x283953(0xb6)],''),_0x4bdee2=ValidatorUtils_1[_0x283953(0xc0)][_0x283953(0xae)](_0x3576e9)?null:IAPSDKUtils_1['IAPSDKUtils'][_0x283953(0xc8)](_0x3576e9),_0x17c3c2=_0x35861f?!![]:null,_0x66a680=_0x4bdee2?!![]:null;_0x282686={'receiptId':_0x55fea1,'sku':_0x13a970,'termSku':_0x3bfb2c,'deferredSku':_0xcf9652,'productType':_0x5e6d2c,'purchaseDate':_0x30ba0d,'cancelDate':_0x35861f,'deferredDate':_0x4bdee2,'isCancelled':_0x17c3c2,'isDeferred':_0x66a680},IAPSDKLogger_1[_0x283953(0xaa)][_0x283953(0x9a)]('Succesfully\x20parsed\x20and\x20constructed\x20the\x20receipt\x20for\x20requestId\x20-\x20'+_0x47b8af[_0x283953(0xaf)]);}catch(_0x12abca){throw new Error(_0x283953(0xc1)+_0x47b8af[_0x283953(0xaf)]+',\x20'+(''+_0x12abca[_0x283953(0xc2)]));}return _0x282686;}}function a46_0x3b70(_0x300c2f,_0x513a4d){const _0x546533=a46_0x5465();return a46_0x3b70=function(_0x3b70b5,_0x4945af){_0x3b70b5=_0x3b70b5-0x9a;let _0x31fc25=_0x546533[_0x3b70b5];return _0x31fc25;},a46_0x3b70(_0x300c2f,_0x513a4d);}exports[a46_0x49f31e(0xa8)]=ReceiptHelper;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var a47_0x47d918=a47_0x3748;(function(_0x3a4ee8,_0x2c087b){var _0x47a744=a47_0x3748,_0x26e75c=_0x3a4ee8();while(!![]){try{var _0x226c81=-parseInt(_0x47a744(0xee))/0x1*(parseInt(_0x47a744(0xef))/0x2)+-parseInt(_0x47a744(0xe6))/0x3+-parseInt(_0x47a744(0xea))/0x4+parseInt(_0x47a744(0xe5))/0x5+-parseInt(_0x47a744(0xe8))/0x6+parseInt(_0x47a744(0xed))/0x7*(parseInt(_0x47a744(0xe3))/0x8)+parseInt(_0x47a744(0xeb))/0x9;if(_0x226c81===_0x2c087b)break;else _0x26e75c['push'](_0x26e75c['shift']());}catch(_0x289e86){_0x26e75c['push'](_0x26e75c['shift']());}}}(a47_0x50ef,0x71433));function a47_0x50ef(){var _0x350a13=['13463NhhSnR','128PkSenC','__esModule','24PsSWOq','length','4472420CPHtTU','1836042fzqFRq','ValidatorUtils','3386328yWcGUc','defineProperty','3709484UEvLRf','18718425jfQzuj','isNullOrUndefined','1061711Uoltca'];a47_0x50ef=function(){return _0x350a13;};return a47_0x50ef();}Object[a47_0x47d918(0xe9)](exports,a47_0x47d918(0xe2),{'value':!![]}),exports[a47_0x47d918(0xe7)]=void 0x0;class ValidatorUtils{static['isNullOrEmpty'](_0x389949){var _0x253782=a47_0x47d918;return _0x389949===undefined||_0x389949==null||_0x389949[_0x253782(0xe4)]===0x0;}static[a47_0x47d918(0xec)](_0x471e29){return _0x471e29===undefined||_0x471e29==null;}}function a47_0x3748(_0x1464d0,_0x2157dc){var _0x50ef44=a47_0x50ef();return a47_0x3748=function(_0x37485f,_0x1f75d5){_0x37485f=_0x37485f-0xe2;var _0x4a13d4=_0x50ef44[_0x37485f];return _0x4a13d4;},a47_0x3748(_0x1464d0,_0x2157dc);}exports[a47_0x47d918(0xe7)]=ValidatorUtils;
|
package/dist/types/IAPTypes.d.ts
CHANGED
|
@@ -232,6 +232,10 @@ export interface UserData {
|
|
|
232
232
|
* The profile share consent status of the user.
|
|
233
233
|
*/
|
|
234
234
|
userProfileAccessConsentStatus: UserProfileAccessConsentStatus;
|
|
235
|
+
/**
|
|
236
|
+
* Two character Alpha-2 code of ISO_3166-1 denoting the country code of the user.
|
|
237
|
+
*/
|
|
238
|
+
countryCode: string;
|
|
235
239
|
}
|
|
236
240
|
/**
|
|
237
241
|
* Represents the id of any in-app purchasing request.
|
package/dist/types/IAPTypes.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var a48_0x5d758e=a48_0x3a02;(function(_0x1b6df4,_0x131e90){var _0x4ba7ad=a48_0x3a02,_0x78eeea=_0x1b6df4();while(!![]){try{var _0x591324=parseInt(_0x4ba7ad(0xaa))/0x1+parseInt(_0x4ba7ad(0xa4))/0x2*(parseInt(_0x4ba7ad(0xb0))/0x3)+-parseInt(_0x4ba7ad(0x9a))/0x4+-parseInt(_0x4ba7ad(0xa5))/0x5+parseInt(_0x4ba7ad(0xa9))/0x6+-parseInt(_0x4ba7ad(0xb3))/0x7*(parseInt(_0x4ba7ad(0xa7))/0x8)+-parseInt(_0x4ba7ad(0x9b))/0x9;if(_0x591324===_0x131e90)break;else _0x78eeea['push'](_0x78eeea['shift']());}catch(_0x4c4686){_0x78eeea['push'](_0x78eeea['shift']());}}}(a48_0x3bc5,0x39714));Object['defineProperty'](exports,a48_0x5d758e(0xb1),{'value':!![]}),exports[a48_0x5d758e(0xb4)]=exports['ModifySubscriptionResponseCode']=exports['ProrationMode']=exports[a48_0x5d758e(0xb2)]=exports[a48_0x5d758e(0x95)]=exports['ProductDataResponseCode']=exports[a48_0x5d758e(0x94)]=exports['PurchaseResponseCode']=exports[a48_0x5d758e(0xaf)]=exports[a48_0x5d758e(0x97)]=exports[a48_0x5d758e(0x9c)]=exports[a48_0x5d758e(0xa8)]=void 0x0;var ProductType;(function(_0x578b64){var _0x276be0=a48_0x5d758e;_0x578b64[_0x578b64[_0x276be0(0x9f)]=0x1]=_0x276be0(0x9f),_0x578b64[_0x578b64[_0x276be0(0xad)]=0x2]='ENTITLED',_0x578b64[_0x578b64[_0x276be0(0xae)]=0x3]=_0x276be0(0xae);}(ProductType=exports[a48_0x5d758e(0xa8)]||(exports[a48_0x5d758e(0xa8)]={})));var LwaConsentStatus;(function(_0x30a34c){var _0x32b8bc=a48_0x5d758e;_0x30a34c[_0x30a34c['UNAVAILABLE']=0x1]=_0x32b8bc(0xac),_0x30a34c[_0x30a34c['CONSENTED']=0x2]='CONSENTED';}(LwaConsentStatus=exports[a48_0x5d758e(0x9c)]||(exports[a48_0x5d758e(0x9c)]={})));var UserProfileAccessConsentStatus;(function(_0x26f744){var _0x3564e5=a48_0x5d758e;_0x26f744[_0x26f744[_0x3564e5(0xac)]=0x1]='UNAVAILABLE',_0x26f744[_0x26f744[_0x3564e5(0x9e)]=0x2]=_0x3564e5(0x9e);}(UserProfileAccessConsentStatus=exports[a48_0x5d758e(0x97)]||(exports[a48_0x5d758e(0x97)]={})));var FulfillmentResult;(function(_0x5e0e9c){var _0x546681=a48_0x5d758e;_0x5e0e9c[_0x5e0e9c[_0x546681(0xa0)]=0x1]=_0x546681(0xa0),_0x5e0e9c[_0x5e0e9c[_0x546681(0xac)]=0x2]=_0x546681(0xac);}(FulfillmentResult=exports[a48_0x5d758e(0xaf)]||(exports[a48_0x5d758e(0xaf)]={})));var PurchaseResponseCode;(function(_0x23a695){var _0x3d0de5=a48_0x5d758e;_0x23a695[_0x23a695[_0x3d0de5(0xa3)]=0x0]=_0x3d0de5(0xa3),_0x23a695[_0x23a695[_0x3d0de5(0x9d)]=0x1]=_0x3d0de5(0x9d),_0x23a695[_0x23a695[_0x3d0de5(0x98)]=0x2]=_0x3d0de5(0x98),_0x23a695[_0x23a695[_0x3d0de5(0x99)]=0x3]=_0x3d0de5(0x99),_0x23a695[_0x23a695[_0x3d0de5(0x96)]=0x4]=_0x3d0de5(0x96);}(PurchaseResponseCode=exports[a48_0x5d758e(0xa2)]||(exports[a48_0x5d758e(0xa2)]={})));var PurchaseUpdatesResponseCode;function a48_0x3a02(_0x1b5aa3,_0x2e8264){var _0x3bc545=a48_0x3bc5();return a48_0x3a02=function(_0x3a0282,_0x4f9b55){_0x3a0282=_0x3a0282-0x92;var _0x3a91f0=_0x3bc545[_0x3a0282];return _0x3a91f0;},a48_0x3a02(_0x1b5aa3,_0x2e8264);}(function(_0x35cc10){var _0x3a2524=a48_0x5d758e;_0x35cc10[_0x35cc10[_0x3a2524(0xa3)]=0x1]=_0x3a2524(0xa3),_0x35cc10[_0x35cc10['NOT_SUPPORTED']=0x2]=_0x3a2524(0x99),_0x35cc10[_0x35cc10['FAILED']=0x3]=_0x3a2524(0x96);}(PurchaseUpdatesResponseCode=exports['PurchaseUpdatesResponseCode']||(exports[a48_0x5d758e(0x94)]={})));var ProductDataResponseCode;(function(_0x237523){var _0x570b78=a48_0x5d758e;_0x237523[_0x237523[_0x570b78(0xa3)]=0x1]=_0x570b78(0xa3),_0x237523[_0x237523[_0x570b78(0x99)]=0x2]=_0x570b78(0x99),_0x237523[_0x237523['FAILED']=0x3]=_0x570b78(0x96);}(ProductDataResponseCode=exports[a48_0x5d758e(0x93)]||(exports[a48_0x5d758e(0x93)]={})));var NotifyFulfillmentResponseCode;(function(_0x502739){var _0x1badae=a48_0x5d758e;_0x502739[_0x502739['SUCCESSFUL']=0x1]=_0x1badae(0xa3),_0x502739[_0x502739[_0x1badae(0x99)]=0x2]='NOT_SUPPORTED',_0x502739[_0x502739['FAILED']=0x3]=_0x1badae(0x96);}(NotifyFulfillmentResponseCode=exports[a48_0x5d758e(0x95)]||(exports['NotifyFulfillmentResponseCode']={})));var UserDataResponseCode;(function(_0x3801a6){var _0x425611=a48_0x5d758e;_0x3801a6[_0x3801a6['SUCCESSFUL']=0x1]=_0x425611(0xa3),_0x3801a6[_0x3801a6[_0x425611(0x99)]=0x2]='NOT_SUPPORTED',_0x3801a6[_0x3801a6[_0x425611(0x96)]=0x3]=_0x425611(0x96);}(UserDataResponseCode=exports['UserDataResponseCode']||(exports['UserDataResponseCode']={})));var ProrationMode;function a48_0x3bc5(){var _0x5dba3f=['694036IJQmWR','4019481oZzZhb','LwaConsentStatus','ALREADY_PURCHASED','CONSENTED','CONSUMABLE','FULFILLED','IMMEDIATE','PurchaseResponseCode','SUCCESSFUL','2RVoTaQ','429410UnvtPI','INVALID_REQUEST','24xUgZao','ProductType','2595612ekonlb','362199QzWvOk','ProrationMode','UNAVAILABLE','ENTITLED','SUBSCRIPTION','FulfillmentResult','707370nkJDsQ','__esModule','UserDataResponseCode','208383SALVsQ','UserProfileAccessResponseCode','DEFERRED','ProductDataResponseCode','PurchaseUpdatesResponseCode','NotifyFulfillmentResponseCode','FAILED','UserProfileAccessConsentStatus','INVALID_SKU','NOT_SUPPORTED'];a48_0x3bc5=function(){return _0x5dba3f;};return a48_0x3bc5();}(function(_0x4c1528){var _0x2c3560=a48_0x5d758e;_0x4c1528[_0x4c1528[_0x2c3560(0xa1)]=0x0]=_0x2c3560(0xa1),_0x4c1528[_0x4c1528[_0x2c3560(0x92)]=0x1]=_0x2c3560(0x92);}(ProrationMode=exports[a48_0x5d758e(0xab)]||(exports[a48_0x5d758e(0xab)]={})));var ModifySubscriptionResponseCode;(function(_0x53d8a5){var _0x2e0b83=a48_0x5d758e;_0x53d8a5[_0x53d8a5[_0x2e0b83(0xa3)]=0x0]=_0x2e0b83(0xa3),_0x53d8a5[_0x53d8a5['FAILED']=0x1]=_0x2e0b83(0x96),_0x53d8a5[_0x53d8a5['INVALID_SKU']=0x2]='INVALID_SKU',_0x53d8a5[_0x53d8a5['INVALID_REQUEST']=0x3]=_0x2e0b83(0xa6),_0x53d8a5[_0x53d8a5[_0x2e0b83(0x99)]=0x4]=_0x2e0b83(0x99);}(ModifySubscriptionResponseCode=exports['ModifySubscriptionResponseCode']||(exports['ModifySubscriptionResponseCode']={})));var UserProfileAccessResponseCode;(function(_0x1008e9){var _0x21f75e=a48_0x5d758e;_0x1008e9[_0x1008e9[_0x21f75e(0xa3)]=0x1]=_0x21f75e(0xa3),_0x1008e9[_0x1008e9[_0x21f75e(0x99)]=0x2]=_0x21f75e(0x99),_0x1008e9[_0x1008e9[_0x21f75e(0x96)]=0x3]=_0x21f75e(0x96),_0x1008e9[_0x1008e9['SERVICE_UNAVAILABLE']=0x4]='SERVICE_UNAVAILABLE';}(UserProfileAccessResponseCode=exports['UserProfileAccessResponseCode']||(exports[a48_0x5d758e(0xb4)]={})));
|
|
@@ -4,6 +4,12 @@
|
|
|
4
4
|
"2.12.10": "/com.amazon.kepler.appstore_iap_lib_2@IAppstoreIapLib_12",
|
|
5
5
|
"2.12.11": "/com.amazon.kepler.appstore_iap_lib_2@IAppstoreIapLib_12",
|
|
6
6
|
"2.12.12": "/com.amazon.kepler.appstore_iap_lib_2@IAppstoreIapLib_12",
|
|
7
|
-
"2.12.13": "/com.amazon.kepler.appstore_iap_lib_2@IAppstoreIapLib_12"
|
|
7
|
+
"2.12.13": "/com.amazon.kepler.appstore_iap_lib_2@IAppstoreIapLib_12",
|
|
8
|
+
"2.12.14": "/com.amazon.kepler.appstore_iap_lib_2@IAppstoreIapLib_12",
|
|
9
|
+
"2.12.15": "/com.amazon.kepler.appstore_iap_lib_2@IAppstoreIapLib_12",
|
|
10
|
+
"2.12.16": "/com.amazon.kepler.appstore_iap_lib_2@IAppstoreIapLib_12",
|
|
11
|
+
"2.12.17": "/com.amazon.kepler.appstore_iap_lib_2@IAppstoreIapLib_12",
|
|
12
|
+
"2.12.18": "/com.amazon.kepler.appstore_iap_lib_2@IAppstoreIapLib_12",
|
|
13
|
+
"2.13.0": "/com.amazon.kepler.appstore_iap_lib_2@IAppstoreIapLib_12"
|
|
8
14
|
}
|
|
9
15
|
}
|
package/package.json
CHANGED
|
@@ -1 +1,93 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"name": "@amazon-devices/keplerscript-appstore-iap-lib",
|
|
3
|
+
"version": "2.13.0-rn-83",
|
|
4
|
+
"main": "dist/index.js",
|
|
5
|
+
"types": "dist/index.d.ts",
|
|
6
|
+
"files": [
|
|
7
|
+
"dist",
|
|
8
|
+
"react-native.config.js",
|
|
9
|
+
"kepler-compatibility.json",
|
|
10
|
+
"SystemModules",
|
|
11
|
+
"SystemBundles",
|
|
12
|
+
"kepler-transformed-package-info.json"
|
|
13
|
+
],
|
|
14
|
+
"scripts": {
|
|
15
|
+
"compile": "tsc",
|
|
16
|
+
"start": "ENABLE_METRO_BB_WS=1 node node_modules/react-native/local-cli/cli.js start",
|
|
17
|
+
"obfuscate": "javascript-obfuscator dist -o dist --ignore-imports true",
|
|
18
|
+
"clean": "rm -rf build bundle kepler-build dist node_modules",
|
|
19
|
+
"build": "npm-run-all lint test compile obfuscate docs",
|
|
20
|
+
"test": "jest --colors --config jestconfig.json",
|
|
21
|
+
"codegen": "react-native-tscodegen ./react-native-tscodegen.json",
|
|
22
|
+
"lint": "eslint --fix src --ext .js,.ts,.tsx",
|
|
23
|
+
"autofix": "eslint --fix src --ext .ts,.tsx",
|
|
24
|
+
"format": "prettier --write 'src/*.{md,json}' 'src/*.{js,jsx,ts,tsx}' '!.tmp/**'",
|
|
25
|
+
"prepublishOnly": "KEPLER_NPM_COMMAND=npm-pretty-much react-native build-system-bundle-kepler",
|
|
26
|
+
"docs": "typedocked"
|
|
27
|
+
},
|
|
28
|
+
"dependencies": {
|
|
29
|
+
"@amazon-devices/keplerscript-turbomodule-api": "^1.0.0",
|
|
30
|
+
"react": "*",
|
|
31
|
+
"react-native": "*",
|
|
32
|
+
"react-native-uuid": "^2.0.1",
|
|
33
|
+
"@amazon-devices/react-native-kepler": "*",
|
|
34
|
+
"@react-native-async-storage/async-storage": "1.23.1"
|
|
35
|
+
},
|
|
36
|
+
"devDependencies": {
|
|
37
|
+
"@amazon-devices/typedocked": "*",
|
|
38
|
+
"@babel/core": "^7.20.0",
|
|
39
|
+
"@babel/runtime": "^7.20.0",
|
|
40
|
+
"@babel/preset-react": "^7.20.0",
|
|
41
|
+
"@react-native-community/eslint-config": "^3.0.1",
|
|
42
|
+
"@types/jest": "^28.0.0",
|
|
43
|
+
"eslint": "^8.12.0",
|
|
44
|
+
"eslint-config-prettier": "^6.11.0",
|
|
45
|
+
"eslint-plugin-simple-import-sort": "^5.0.3",
|
|
46
|
+
"jest": "^28.0.0",
|
|
47
|
+
"npm-run-all": "^4.1.5",
|
|
48
|
+
"prettier": "^3.7.4",
|
|
49
|
+
"ts-jest": "^28.0.0",
|
|
50
|
+
"typescript": "4.8.4",
|
|
51
|
+
"javascript-obfuscator": "^4.0.2",
|
|
52
|
+
"react-native-tscodegen-types": "0.66.0",
|
|
53
|
+
"react-native-tscodegen": "^0.67.0",
|
|
54
|
+
"react": "18.2.0",
|
|
55
|
+
"react-native": "0.72.0",
|
|
56
|
+
"@amazon-devices/react-native-kepler": "^2.0.0 || ^4.0.0",
|
|
57
|
+
"react-native-uuid": "^2.0.1",
|
|
58
|
+
"@amazon-devices/kepler-cli-platform": "^0",
|
|
59
|
+
"@react-native-community/cli": "^11.2.0"
|
|
60
|
+
},
|
|
61
|
+
"peerDependencies": {
|
|
62
|
+
"react": "*",
|
|
63
|
+
"react-native": "*",
|
|
64
|
+
"@amazon-devices/react-native-kepler": "*"
|
|
65
|
+
},
|
|
66
|
+
"resolutions": {
|
|
67
|
+
"@types/react": "^18"
|
|
68
|
+
},
|
|
69
|
+
"jest": {
|
|
70
|
+
"preset": "react-native",
|
|
71
|
+
"moduleFileExtensions": [
|
|
72
|
+
"ts",
|
|
73
|
+
"tsx",
|
|
74
|
+
"js",
|
|
75
|
+
"jsx",
|
|
76
|
+
"json",
|
|
77
|
+
"node"
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
"kepler": {
|
|
81
|
+
"projectType": "turbomodule",
|
|
82
|
+
"targets": [
|
|
83
|
+
"tv",
|
|
84
|
+
"auto"
|
|
85
|
+
],
|
|
86
|
+
"api": 0.1,
|
|
87
|
+
"features": [
|
|
88
|
+
"vega"
|
|
89
|
+
],
|
|
90
|
+
"keplerInitializationSharedLibrary": "keplerscript-appstore-iap-lib"
|
|
91
|
+
},
|
|
92
|
+
"license": "See license in LICENSE"
|
|
93
|
+
}
|