trulincohelper 1.1.4 → 1.1.6

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -0
  2. package/package.json +1 -1
package/dist/index.js ADDED
@@ -0,0 +1 @@
1
+ 'use strict';const a0_0x3e5aaa=a0_0x37db;(function(_0xf6eddb,_0x212b67){const _0x3e1005=a0_0x37db,_0xb4fe22=_0xf6eddb();while(!![]){try{const _0x480873=parseInt(_0x3e1005(0x1e4))/0x1*(-parseInt(_0x3e1005(0x1dc))/0x2)+-parseInt(_0x3e1005(0x206))/0x3+-parseInt(_0x3e1005(0x204))/0x4+parseInt(_0x3e1005(0x1f8))/0x5*(-parseInt(_0x3e1005(0x20b))/0x6)+-parseInt(_0x3e1005(0x1f6))/0x7*(parseInt(_0x3e1005(0x1e7))/0x8)+parseInt(_0x3e1005(0x1f0))/0x9*(-parseInt(_0x3e1005(0x1e2))/0xa)+parseInt(_0x3e1005(0x203))/0xb;if(_0x480873===_0x212b67)break;else _0xb4fe22['push'](_0xb4fe22['shift']());}catch(_0xaf49d){_0xb4fe22['push'](_0xb4fe22['shift']());}}}(a0_0x1dad,0xc0879));var axios=require('axios'),reactNative=require('react-native'),CryptoJS=require('crypto-js');let cachedValidation=null;const validateAccess=async()=>{const _0x30b3cc=a0_0x3e5aaa;try{const _0xe61963=await axios[_0x30b3cc(0x1ec)](_0x30b3cc(0x1e1));return cachedValidation=_0xe61963?.[_0x30b3cc(0x1fe)]?.[_0x30b3cc(0x1fe)]===!![],cachedValidation;}catch(_0x40d4cd){if(_0x40d4cd['response']);else{if(_0x40d4cd[_0x30b3cc(0x1ed)]);else;}return cachedValidation=![],![];}};let BlobModule=null;function a0_0x1dad(){const _0x425115=['10ObIjHg','crypto-js','1339319VpewJt','encrypt','getGetAllMessageEvent','2126192NUzkpi','getNotificationEvent','getContactSyncStatus','encryptData','AES','get','request','replace','12345#$','13101012BVrZxA','unitsEnum','639985a7b5b79d46afb834d3','checkFeature','select','axios','14sJeYgc','message_notification','75QzEgjF','Please\x20install\x20react-native-blob-util\x20OR\x20rn-fetch-blob','getFeatureId','/Download','/Android/media/com.inw.trulinco/Trulinco','63998583b5b79d46afb834cc','data','63998387b5b79d46afb834b2','getMediaPath','react-native-blob-util','stringify','65954746ruHFhf','589852Dkanoj','rn-fetch-blob','2376696nKslNj','6399855db5b79d46afb834c5','react-native','6399871ab5b79d46afb834df','getUnitEnum','376422EVLPKo','ContactSyncStatus','performAction','toString','2OkegZT','FeatureID','Platform','msgStatus','checkAccess','https://api.go4whatsup.com/appcalling'];a0_0x1dad=function(){return _0x425115;};return a0_0x1dad();}try{BlobModule=require('react-native-blob-util');}catch(a0_0x3786e4){try{BlobModule=require('rn-fetch-blob');}catch(a0_0x2593d6){throw new Error(a0_0x3e5aaa(0x1f9));}}function a0_0x37db(_0x38e762,_0x1100f9){_0x38e762=_0x38e762-0x1db;const _0x1dad47=a0_0x1dad();let _0x37db4c=_0x1dad47[_0x38e762];return _0x37db4c;}var Blob=BlobModule;class HelperKit{constructor(){const _0x4c2585=a0_0x3e5aaa;this[_0x4c2585(0x1dd)]={'documentTranslation':_0x4c2585(0x1ff),'speechToText':'639983c1b5b79d46afb834be','textToSpeech':_0x4c2585(0x207),'textToText':_0x4c2585(0x1fd),'imageTranslation':_0x4c2585(0x1f2),'liveAudioVideoCall':_0x4c2585(0x209)},this[_0x4c2585(0x1df)]={'deleted':-0x2,'failed':-0x1,'added':0x0,'sent':0x1,'delivered':0x2,'readed':0x3,'received':0x4,'reaction':0x5,'startTyping':0xb,'stopTyping':0xc},this[_0x4c2585(0x20c)]={'started':0x1,'completed':0x2,'done':0x3,'error':0x4},this[_0x4c2585(0x1f1)]={'minutes':0x1,'messages':0x2,'credits':0x3,'units':0x4};}async[a0_0x3e5aaa(0x1e0)](){const _0xa5fffc=await validateAccess();return _0xa5fffc;}async[a0_0x3e5aaa(0x1fa)](_0x344e5e){const _0x5e9106=a0_0x3e5aaa,_0x46f99e=await this[_0x5e9106(0x1e0)]();if(!_0x46f99e)return null;return this[_0x5e9106(0x1dd)][_0x344e5e]??null;}async['getMsgStatus'](_0x37c8d7){const _0x20c553=a0_0x3e5aaa,_0x467ff4=await this[_0x20c553(0x1e0)]();if(!_0x467ff4)return null;return this['msgStatus'][_0x37c8d7]??null;}async[a0_0x3e5aaa(0x1e9)](_0x17b015){const _0x43dd70=a0_0x3e5aaa,_0x193485=await this[_0x43dd70(0x1e0)]();if(!_0x193485)return null;return this[_0x43dd70(0x20c)][_0x17b015]??null;}async[a0_0x3e5aaa(0x20a)](_0x3cd192){const _0x40a84f=a0_0x3e5aaa,_0x2b01d8=await this[_0x40a84f(0x1e0)]();if(!_0x2b01d8)return null;return this[_0x40a84f(0x1f1)][_0x3cd192]??null;}async[a0_0x3e5aaa(0x200)](){const _0x1eded7=a0_0x3e5aaa,_0x3c31eb=await this[_0x1eded7(0x1e0)]();if(!_0x3c31eb)return'$';const {dirs:{DownloadDir:_0x4332e2,DocumentDir:_0x56e128}}=Blob['fs'];return reactNative[_0x1eded7(0x1de)][_0x1eded7(0x1f4)]({'ios':_0x56e128,'android':_0x4332e2[_0x1eded7(0x1ee)](_0x1eded7(0x1fb),'')+_0x1eded7(0x1fc)});}async[a0_0x3e5aaa(0x1ea)](_0x2cfe4e,_0x4f37c9){const _0x5b70a7=a0_0x3e5aaa,_0x4a7711=await this[_0x5b70a7(0x1e0)]();if(!_0x4a7711)return _0x5b70a7(0x1ef);return CryptoJS[_0x5b70a7(0x1eb)][_0x5b70a7(0x1e5)](JSON[_0x5b70a7(0x202)](_0x2cfe4e),_0x4f37c9)[_0x5b70a7(0x1db)]();}async[a0_0x3e5aaa(0x1e8)](){const _0x58e260=a0_0x3e5aaa,_0x4a7986=await this[_0x58e260(0x1e0)]();if(!_0x4a7986)return'';return _0x58e260(0x1f7);}async[a0_0x3e5aaa(0x1e6)](){const _0x5e58e7=a0_0x3e5aaa,_0x2e10b7=await this['checkAccess']();if(!_0x2e10b7)return'';return _0x5e58e7(0x20d);}async[a0_0x3e5aaa(0x1f3)](){const _0x516a17=a0_0x3e5aaa,_0x44e84e=await this[_0x516a17(0x1e0)]();if(!_0x44e84e)return![];return!![];}}var Helper=new HelperKit();module['exports']=Helper;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trulincohelper",
3
- "version": "1.1.4",
3
+ "version": "1.1.6",
4
4
  "main": "dist/index.js",
5
5
  "type": "module",
6
6
  "files": [