@flosum/storages 1.3.3-beta.2 → 1.3.3-beta.3

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 (54) hide show
  1. package/README.md +25 -0
  2. package/dist/copy/aws-s3-copy.d.ts +7 -0
  3. package/dist/copy/aws-s3-copy.js +1 -0
  4. package/dist/copy/base-copy.d.ts +6 -0
  5. package/dist/copy/base-copy.js +1 -0
  6. package/dist/copy/index.d.ts +3 -0
  7. package/dist/copy/index.js +1 -0
  8. package/dist/copy/local-copy.d.ts +5 -0
  9. package/dist/copy/local-copy.js +1 -0
  10. package/dist/credentials/aws-s3-credentials.js +1 -1
  11. package/dist/credentials/azure-credentials.js +1 -1
  12. package/dist/credentials/base-credentials.js +1 -1
  13. package/dist/credentials/index.js +1 -1
  14. package/dist/credentials/local-credentials.js +1 -1
  15. package/dist/delete/aws-s3-delete.js +1 -1
  16. package/dist/delete/azure-delete.js +1 -1
  17. package/dist/delete/base-delete.js +1 -1
  18. package/dist/delete/index.js +1 -1
  19. package/dist/delete/local-delete.js +1 -1
  20. package/dist/deploy/aws-s3-deploy.js +1 -1
  21. package/dist/deploy/azure-deploy.js +1 -1
  22. package/dist/deploy/base-deploy.js +1 -1
  23. package/dist/deploy/index.js +1 -1
  24. package/dist/deploy/local-deploy.js +1 -1
  25. package/dist/factory.d.ts +2 -0
  26. package/dist/factory.js +1 -1
  27. package/dist/file-size-retriever/aws-s3-file-size-retriever.js +1 -1
  28. package/dist/file-size-retriever/azure-file-size-retriever.js +1 -1
  29. package/dist/file-size-retriever/base-file-size-retriever.js +1 -1
  30. package/dist/file-size-retriever/index.js +1 -1
  31. package/dist/file-size-retriever/local-size-retriever.js +1 -1
  32. package/dist/index.d.ts +1 -0
  33. package/dist/index.js +1 -1
  34. package/dist/init.js +1 -1
  35. package/dist/retrieve/aws-s3-import-helper.js +1 -1
  36. package/dist/retrieve/aws-s3-retrieve.js +1 -1
  37. package/dist/retrieve/azure-retrieve.js +1 -1
  38. package/dist/retrieve/base-retrieve.js +1 -1
  39. package/dist/retrieve/helpers/aws-s3-helper.js +1 -1
  40. package/dist/retrieve/helpers/azure-helper.js +1 -1
  41. package/dist/retrieve/helpers/base-helper.js +1 -1
  42. package/dist/retrieve/helpers/local-helper.js +1 -1
  43. package/dist/retrieve/index.js +1 -1
  44. package/dist/retrieve/local-retrieve.js +1 -1
  45. package/dist/types/aws.types.js +1 -1
  46. package/dist/types/azure.types.js +1 -1
  47. package/dist/types/index.js +1 -1
  48. package/dist/types/internal.types.js +1 -1
  49. package/dist/types/retrieve-status.enum.js +1 -1
  50. package/dist/types/storage-type.enum.js +1 -1
  51. package/dist/utils/aws-s3.utils.js +1 -1
  52. package/dist/utils/azure.utils.js +1 -1
  53. package/dist/utils/cache.utils.js +1 -1
  54. package/package.json +1 -1
@@ -1 +1 @@
1
- 'use strict';var _0x9b7c3c=_0x2492;function _0x56e2(){var _0x1a1129=['RetrieveStatus','169386DomVlA','In\x20Progress','Exception','Completed','45283YdeFhP','5FOAdyv','Uninitialized','3213880WjoQFl','10opbOGq','510ovGxoO','27vpapCk','5036845LpvvkV','defineProperty','1385343TCJXew','1009114GhPuaj','InProgress','605320zgAsDn'];_0x56e2=function(){return _0x1a1129;};return _0x56e2();}(function(_0x5526ed,_0x459404){var _0x5278a5=_0x2492,_0x2a7d9a=_0x5526ed();while(!![]){try{var _0x281155=parseInt(_0x5278a5(0xb5))/0x1+-parseInt(_0x5278a5(0xb1))/0x2+parseInt(_0x5278a5(0xb0))/0x3+-parseInt(_0x5278a5(0xaa))/0x4*(-parseInt(_0x5278a5(0xba))/0x5)+-parseInt(_0x5278a5(0xac))/0x6*(parseInt(_0x5278a5(0xb9))/0x7)+parseInt(_0x5278a5(0xb3))/0x8*(-parseInt(_0x5278a5(0xad))/0x9)+-parseInt(_0x5278a5(0xab))/0xa*(-parseInt(_0x5278a5(0xae))/0xb);if(_0x281155===_0x459404)break;else _0x2a7d9a['push'](_0x2a7d9a['shift']());}catch(_0x3dfc61){_0x2a7d9a['push'](_0x2a7d9a['shift']());}}}(_0x56e2,0x9532b));function _0x2492(_0x47a7e4,_0x4773af){var _0x56e26d=_0x56e2();return _0x2492=function(_0x24922d,_0x24f1be){_0x24922d=_0x24922d-0xa9;var _0x36b624=_0x56e26d[_0x24922d];return _0x36b624;},_0x2492(_0x47a7e4,_0x4773af);}Object[_0x9b7c3c(0xaf)](exports,'__esModule',{'value':!![]}),exports[_0x9b7c3c(0xb4)]=void 0x0;var RetrieveStatus;(function(_0x4910af){var _0x3163b7=_0x9b7c3c;_0x4910af[_0x3163b7(0xa9)]=_0x3163b7(0xa9),_0x4910af[_0x3163b7(0xb2)]=_0x3163b7(0xb6),_0x4910af['Completed']=_0x3163b7(0xb8),_0x4910af[_0x3163b7(0xb7)]=_0x3163b7(0xb7);}(RetrieveStatus=exports[_0x9b7c3c(0xb4)]||(exports['RetrieveStatus']={})));
1
+ 'use strict';var _0x3f7ba8=_0x2253;(function(_0x1286a4,_0x1b44ea){var _0xa6c858=_0x2253,_0x125865=_0x1286a4();while(!![]){try{var _0x1c893f=parseInt(_0xa6c858(0xb6))/0x1*(parseInt(_0xa6c858(0xaf))/0x2)+-parseInt(_0xa6c858(0xb5))/0x3+-parseInt(_0xa6c858(0xb3))/0x4+-parseInt(_0xa6c858(0xbb))/0x5*(parseInt(_0xa6c858(0xb4))/0x6)+-parseInt(_0xa6c858(0xb0))/0x7+parseInt(_0xa6c858(0xba))/0x8+parseInt(_0xa6c858(0xb9))/0x9*(parseInt(_0xa6c858(0xab))/0xa);if(_0x1c893f===_0x1b44ea)break;else _0x125865['push'](_0x125865['shift']());}catch(_0x578775){_0x125865['push'](_0x125865['shift']());}}}(_0x3838,0x785b3));function _0x3838(){var _0x480d5c=['In\x20Progress','RetrieveStatus','3687492HYQDYu','204mgCpkV','1015272gPmOpz','117887QPfnyz','Completed','__esModule','9NLZhHD','5360592LvWpOt','121165eOAgvA','17994590qFFNKu','InProgress','Exception','Uninitialized','12HEKRly','4197599MEUbmc'];_0x3838=function(){return _0x480d5c;};return _0x3838();}Object['defineProperty'](exports,_0x3f7ba8(0xb8),{'value':!![]}),exports[_0x3f7ba8(0xb2)]=void 0x0;var RetrieveStatus;function _0x2253(_0x20a871,_0x43ee46){var _0x3838a5=_0x3838();return _0x2253=function(_0x225362,_0x426326){_0x225362=_0x225362-0xab;var _0xaf1708=_0x3838a5[_0x225362];return _0xaf1708;},_0x2253(_0x20a871,_0x43ee46);}(function(_0x43689f){var _0x4ebec9=_0x3f7ba8;_0x43689f[_0x4ebec9(0xae)]=_0x4ebec9(0xae),_0x43689f[_0x4ebec9(0xac)]=_0x4ebec9(0xb1),_0x43689f[_0x4ebec9(0xb7)]=_0x4ebec9(0xb7),_0x43689f[_0x4ebec9(0xad)]=_0x4ebec9(0xad);}(RetrieveStatus=exports[_0x3f7ba8(0xb2)]||(exports[_0x3f7ba8(0xb2)]={})));
@@ -1 +1 @@
1
- 'use strict';var _0x3b0cb3=_0x5f01;(function(_0x2194b3,_0x2d24fb){var _0xbe3e15=_0x5f01,_0x34c7bc=_0x2194b3();while(!![]){try{var _0xf78b2=parseInt(_0xbe3e15(0x1ea))/0x1+parseInt(_0xbe3e15(0x1e7))/0x2*(-parseInt(_0xbe3e15(0x1e9))/0x3)+parseInt(_0xbe3e15(0x1eb))/0x4+-parseInt(_0xbe3e15(0x1ef))/0x5+parseInt(_0xbe3e15(0x1e5))/0x6+parseInt(_0xbe3e15(0x1e4))/0x7+-parseInt(_0xbe3e15(0x1f1))/0x8*(parseInt(_0xbe3e15(0x1e6))/0x9);if(_0xf78b2===_0x2d24fb)break;else _0x34c7bc['push'](_0x34c7bc['shift']());}catch(_0x574cd5){_0x34c7bc['push'](_0x34c7bc['shift']());}}}(_0x29e2,0x2a289));Object[_0x3b0cb3(0x1ee)](exports,_0x3b0cb3(0x1f0),{'value':!![]}),exports[_0x3b0cb3(0x1e8)]=void 0x0;function _0x5f01(_0x255e80,_0x38bc2f){var _0x29e2d7=_0x29e2();return _0x5f01=function(_0x5f0137,_0x5d698d){_0x5f0137=_0x5f0137-0x1e4;var _0x42ce46=_0x29e2d7[_0x5f0137];return _0x42ce46;},_0x5f01(_0x255e80,_0x38bc2f);}function _0x29e2(){var _0x47394c=['1692565RSXXyN','__esModule','8296ngouFe','AZURE_BLOB','1466122MwSNDP','1882680EngBGJ','1935fVmuOf','20534GneOOb','StorageType','24pnJvCG','28298npzlyX','1059044FdKGTX','Local','AWS_S3','defineProperty'];_0x29e2=function(){return _0x47394c;};return _0x29e2();}var StorageType;(function(_0xb6cf53){var _0x31313d=_0x3b0cb3;_0xb6cf53[_0x31313d(0x1ec)]=_0x31313d(0x1ec),_0xb6cf53[_0x31313d(0x1ed)]='AWS_S3',_0xb6cf53[_0x31313d(0x1f2)]=_0x31313d(0x1f2);}(StorageType=exports[_0x3b0cb3(0x1e8)]||(exports['StorageType']={})));
1
+ 'use strict';function _0x57f5(_0x120254,_0x134e5e){var _0xc6b7fa=_0xc6b7();return _0x57f5=function(_0x57f521,_0xa7b138){_0x57f521=_0x57f521-0xeb;var _0x59ae42=_0xc6b7fa[_0x57f521];return _0x59ae42;},_0x57f5(_0x120254,_0x134e5e);}var _0x219601=_0x57f5;(function(_0x4a185d,_0x1090d9){var _0x555d85=_0x57f5,_0x3a4c40=_0x4a185d();while(!![]){try{var _0x16b592=-parseInt(_0x555d85(0xfa))/0x1*(parseInt(_0x555d85(0xf5))/0x2)+parseInt(_0x555d85(0xf6))/0x3*(parseInt(_0x555d85(0xf2))/0x4)+parseInt(_0x555d85(0xee))/0x5*(parseInt(_0x555d85(0xf8))/0x6)+parseInt(_0x555d85(0xeb))/0x7*(-parseInt(_0x555d85(0xf0))/0x8)+-parseInt(_0x555d85(0xfc))/0x9+-parseInt(_0x555d85(0xf1))/0xa+-parseInt(_0x555d85(0xfb))/0xb*(-parseInt(_0x555d85(0xf9))/0xc);if(_0x16b592===_0x1090d9)break;else _0x3a4c40['push'](_0x3a4c40['shift']());}catch(_0x22af46){_0x3a4c40['push'](_0x3a4c40['shift']());}}}(_0xc6b7,0xe18c3));Object[_0x219601(0xf4)](exports,_0x219601(0xed),{'value':!![]}),exports[_0x219601(0xf7)]=void 0x0;var StorageType;function _0xc6b7(){var _0x58e1f0=['9189819qcLpsh','77ehzgPG','AWS_S3','__esModule','7316940vWRjDr','Local','299696BGnwFh','2579720momOMr','380CUTWHJ','AZURE_BLOB','defineProperty','6KbEOHQ','56946qucwfa','StorageType','6RFCNZm','36tVqWlU','443143vVkJyO','2485043NUCpDl'];_0xc6b7=function(){return _0x58e1f0;};return _0xc6b7();}(function(_0x9041ea){var _0x31f35c=_0x219601;_0x9041ea[_0x31f35c(0xef)]=_0x31f35c(0xef),_0x9041ea['AWS_S3']=_0x31f35c(0xec),_0x9041ea[_0x31f35c(0xf3)]=_0x31f35c(0xf3);}(StorageType=exports[_0x219601(0xf7)]||(exports[_0x219601(0xf7)]={})));
@@ -1 +1 @@
1
- 'use strict';const _0x1ad89f=_0x556f;(function(_0x3ae5b9,_0x52d302){const _0x25e581=_0x556f,_0x3fc1b8=_0x3ae5b9();while(!![]){try{const _0xb6aa3=parseInt(_0x25e581(0x83))/0x1*(-parseInt(_0x25e581(0x78))/0x2)+-parseInt(_0x25e581(0x8e))/0x3*(-parseInt(_0x25e581(0x88))/0x4)+parseInt(_0x25e581(0x80))/0x5*(parseInt(_0x25e581(0x81))/0x6)+-parseInt(_0x25e581(0x8b))/0x7+-parseInt(_0x25e581(0x72))/0x8+-parseInt(_0x25e581(0x98))/0x9*(parseInt(_0x25e581(0x89))/0xa)+parseInt(_0x25e581(0x8c))/0xb;if(_0xb6aa3===_0x52d302)break;else _0x3fc1b8['push'](_0x3fc1b8['shift']());}catch(_0x30b060){_0x3fc1b8['push'](_0x3fc1b8['shift']());}}}(_0x4d4d,0x32cd7));function _0x556f(_0x579e03,_0x289794){const _0x4d4d04=_0x4d4d();return _0x556f=function(_0x556fbb,_0x2f392d){_0x556fbb=_0x556fbb-0x71;let _0x1788ba=_0x4d4d04[_0x556fbb];return _0x1788ba;},_0x556f(_0x579e03,_0x289794);}var __awaiter=this&&this['__awaiter']||function(_0x2ea516,_0x4d9b4d,_0xfc0b77,_0xcedb1f){function _0xcde5ca(_0x2e06d8){return _0x2e06d8 instanceof _0xfc0b77?_0x2e06d8:new _0xfc0b77(function(_0x1cb167){_0x1cb167(_0x2e06d8);});}return new(_0xfc0b77||(_0xfc0b77=Promise))(function(_0x3513a9,_0x5581cd){const _0x4501fb=_0x556f;function _0x47ad11(_0x49d1d1){const _0x155eb6=_0x556f;try{_0x1f9308(_0xcedb1f[_0x155eb6(0x74)](_0x49d1d1));}catch(_0x4fb955){_0x5581cd(_0x4fb955);}}function _0x3ef43f(_0x4cbde1){const _0x21186b=_0x556f;try{_0x1f9308(_0xcedb1f[_0x21186b(0x84)](_0x4cbde1));}catch(_0x1b895f){_0x5581cd(_0x1b895f);}}function _0x1f9308(_0x87ed5e){_0x87ed5e['done']?_0x3513a9(_0x87ed5e['value']):_0xcde5ca(_0x87ed5e['value'])['then'](_0x47ad11,_0x3ef43f);}_0x1f9308((_0xcedb1f=_0xcedb1f[_0x4501fb(0x82)](_0x2ea516,_0x4d9b4d||[]))[_0x4501fb(0x74)]());});};Object[_0x1ad89f(0x93)](exports,_0x1ad89f(0x7a),{'value':!![]}),exports[_0x1ad89f(0x7e)]=void 0x0;const init_1=require(_0x1ad89f(0x75)),aws_types_1=require(_0x1ad89f(0x9c)),client_s3_1=require(_0x1ad89f(0x7f)),ARCHIVE_TYPES=[_0x1ad89f(0x71),_0x1ad89f(0x7b),_0x1ad89f(0x96)];class AwsS3Utils{static['extractFileRetrieveStatusFromFileInfo'](_0x579fa2){const _0x4bdc32=_0x1ad89f;if(ARCHIVE_TYPES['includes'](_0x579fa2[_0x4bdc32(0x8f)])){if(_0x579fa2[_0x4bdc32(0x97)])return AwsS3Utils[_0x4bdc32(0x91)](_0x579fa2['Restore']);return aws_types_1[_0x4bdc32(0x87)][_0x4bdc32(0x77)];}return aws_types_1['AwsFileRetrieveStatus'][_0x4bdc32(0x8a)];}static[_0x1ad89f(0x91)](_0x5070e3){const _0x37af71=_0x1ad89f,_0x378acd=/ongoing-request="([^"]+)"/,_0x4115d2=_0x5070e3[_0x37af71(0x9a)](_0x378acd);return _0x4115d2[0x1]===_0x37af71(0x94)?aws_types_1['AwsFileRetrieveStatus'][_0x37af71(0x8a)]:aws_types_1[_0x37af71(0x87)]['Restoring'];}static[_0x1ad89f(0x85)](_0x57c6d9,_0x62049d,_0x336065){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x3facbb=_0x556f,_0x42a5f4=[];let _0x3f2b52,_0x5a28ce=null;do{const _0x139830=new client_s3_1[(_0x3facbb(0x90))]({'Bucket':_0x62049d,'Prefix':_0x57c6d9,'Marker':_0x5a28ce}),{Contents:_0x2df5c1,IsTruncated:_0x9602d7}=yield _0x336065[_0x3facbb(0x7d)](_0x139830);if(!_0x2df5c1)return _0x42a5f4;for(const _0x233843 of _0x2df5c1){_0x42a5f4[_0x3facbb(0x92)](_0x233843[_0x3facbb(0x9b)]);}_0x3f2b52=_0x9602d7,_0x3f2b52&&(_0x5a28ce=_0x2df5c1['at'](-0x1)['Key']);}while(_0x3f2b52);return _0x42a5f4;});}static[_0x1ad89f(0x86)]({region:_0x493c2e,accessKeyId:_0x13944f,secretAccessKey:_0x352446},_0xf83b85){const _0x16b0df=_0x1ad89f,_0x1fc119={'region':_0x493c2e,'requestHandler':new init_1[(_0x16b0df(0x73))]()};_0x13944f&&_0x352446&&(_0x1fc119[_0x16b0df(0x7c)]={'accessKeyId':_0x13944f,'secretAccessKey':_0x352446});const _0x3c74ac=new client_s3_1[(_0x16b0df(0x79))](_0x1fc119);if(!(_0xf83b85===null||_0xf83b85===void 0x0?void 0x0:_0xf83b85[_0x16b0df(0x99)]))return _0x3c74ac;return this[_0x16b0df(0x95)](_0x3c74ac,_0xf83b85);}static[_0x1ad89f(0x95)](_0x5d2451,_0x59eb63){const _0x4d020e=_0x1ad89f;for(const {handler:_0x585d6e,options:_0x1f91f2}of _0x59eb63){_0x5d2451[_0x4d020e(0x76)][_0x4d020e(0x8d)](_0x585d6e,_0x1f91f2);}return _0x5d2451;}}function _0x4d4d(){const _0x4fbee=['applyMiddlewaresToS3Client','DEEP_ARCHIVE','Restore','171xzACAB','length','match','Key','../types/aws.types','GLACIER','2542776tBngFd','HttpHandler','next','../init','middlewareStack','NeedRestore','7694AbuGvn','S3Client','__esModule','GLACIER_IR','credentials','send','AwsS3Utils','@aws-sdk/client-s3','403095CACcyM','30taVmSD','apply','73FVjLNw','throw','getFilesPaths','createS3Client','AwsFileRetrieveStatus','108jsDOuV','40010joLhoW','Available','2597833DnVnFn','7341961naORhD','add','20373weAkJH','StorageClass','ListObjectsCommand','extractFileRetrieveStatusFromRestoreField','push','defineProperty','false'];_0x4d4d=function(){return _0x4fbee;};return _0x4d4d();}exports[_0x1ad89f(0x7e)]=AwsS3Utils;
1
+ 'use strict';const _0x1ddc99=_0x5093;(function(_0x205613,_0xb6f40f){const _0x5e238d=_0x5093,_0x41c649=_0x205613();while(!![]){try{const _0x81ab03=-parseInt(_0x5e238d(0x1ed))/0x1+parseInt(_0x5e238d(0x1e2))/0x2+parseInt(_0x5e238d(0x1f8))/0x3+-parseInt(_0x5e238d(0x1e3))/0x4+-parseInt(_0x5e238d(0x1f0))/0x5+parseInt(_0x5e238d(0x1f3))/0x6*(-parseInt(_0x5e238d(0x1ee))/0x7)+parseInt(_0x5e238d(0x1ff))/0x8;if(_0x81ab03===_0xb6f40f)break;else _0x41c649['push'](_0x41c649['shift']());}catch(_0x48f3b2){_0x41c649['push'](_0x41c649['shift']());}}}(_0x2566,0xae9d5));var __awaiter=this&&this[_0x1ddc99(0x1e9)]||function(_0x5bacee,_0x56b796,_0x31c765,_0x5d15c7){function _0x4e44f7(_0x131b74){return _0x131b74 instanceof _0x31c765?_0x131b74:new _0x31c765(function(_0xf9e6e9){_0xf9e6e9(_0x131b74);});}return new(_0x31c765||(_0x31c765=Promise))(function(_0x4e3f18,_0x2cabfa){const _0x3f6172=_0x5093;function _0x333f9f(_0x4e9dbf){try{_0x43f9c5(_0x5d15c7['next'](_0x4e9dbf));}catch(_0x11bd7c){_0x2cabfa(_0x11bd7c);}}function _0x16ff07(_0x31ec78){const _0x28a7eb=_0x5093;try{_0x43f9c5(_0x5d15c7[_0x28a7eb(0x1e7)](_0x31ec78));}catch(_0xaaf233){_0x2cabfa(_0xaaf233);}}function _0x43f9c5(_0x5ec177){const _0x4c8023=_0x5093;_0x5ec177[_0x4c8023(0x1e4)]?_0x4e3f18(_0x5ec177[_0x4c8023(0x205)]):_0x4e44f7(_0x5ec177[_0x4c8023(0x205)])['then'](_0x333f9f,_0x16ff07);}_0x43f9c5((_0x5d15c7=_0x5d15c7['apply'](_0x5bacee,_0x56b796||[]))[_0x3f6172(0x1e5)]());});};Object['defineProperty'](exports,_0x1ddc99(0x202),{'value':!![]}),exports[_0x1ddc99(0x1f4)]=void 0x0;function _0x5093(_0x23d7ae,_0x1980a1){const _0x256611=_0x2566();return _0x5093=function(_0x50931c,_0x5a014c){_0x50931c=_0x50931c-0x1df;let _0x3a1ab1=_0x256611[_0x50931c];return _0x3a1ab1;},_0x5093(_0x23d7ae,_0x1980a1);}function _0x2566(){const _0x2e5e55=['../types/aws.types','match','ListObjectsCommand','push','GLACIER','16901888AdaHGI','Key','AwsFileRetrieveStatus','__esModule','false','includes','value','applyMiddlewaresToS3Client','S3Client','middlewareStack','extractFileRetrieveStatusFromFileInfo','587548OXZxKK','2203220TTZGTG','done','next','StorageClass','throw','Restoring','__awaiter','HttpHandler','../init','createS3Client','1086976kEmpRK','361739CquZOH','credentials','1196595GFRNtR','Restore','Available','18KuEKYX','AwsS3Utils','getFilesPaths','DEEP_ARCHIVE','@aws-sdk/client-s3','1022526fkhKXy','extractFileRetrieveStatusFromRestoreField'];_0x2566=function(){return _0x2e5e55;};return _0x2566();}const init_1=require(_0x1ddc99(0x1eb)),aws_types_1=require(_0x1ddc99(0x1fa)),client_s3_1=require(_0x1ddc99(0x1f7)),ARCHIVE_TYPES=[_0x1ddc99(0x1fe),'GLACIER_IR',_0x1ddc99(0x1f6)];class AwsS3Utils{static[_0x1ddc99(0x1e1)](_0x72d003){const _0xc968f=_0x1ddc99;if(ARCHIVE_TYPES[_0xc968f(0x204)](_0x72d003[_0xc968f(0x1e6)])){if(_0x72d003[_0xc968f(0x1f1)])return AwsS3Utils['extractFileRetrieveStatusFromRestoreField'](_0x72d003[_0xc968f(0x1f1)]);return aws_types_1['AwsFileRetrieveStatus']['NeedRestore'];}return aws_types_1[_0xc968f(0x201)]['Available'];}static[_0x1ddc99(0x1f9)](_0xf19dc){const _0x2f74d6=_0x1ddc99,_0x1388b4=/ongoing-request="([^"]+)"/,_0x169316=_0xf19dc[_0x2f74d6(0x1fb)](_0x1388b4);return _0x169316[0x1]===_0x2f74d6(0x203)?aws_types_1[_0x2f74d6(0x201)][_0x2f74d6(0x1f2)]:aws_types_1['AwsFileRetrieveStatus'][_0x2f74d6(0x1e8)];}static[_0x1ddc99(0x1f5)](_0x111444,_0x5d1af6,_0x6da885){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x3b4f0c=_0x5093,_0x105119=[];let _0x4de19b,_0x339284=null;do{const _0x555232=new client_s3_1[(_0x3b4f0c(0x1fc))]({'Bucket':_0x5d1af6,'Prefix':_0x111444,'Marker':_0x339284}),{Contents:_0x28a177,IsTruncated:_0x2c7bb6}=yield _0x6da885['send'](_0x555232);if(!_0x28a177)return _0x105119;for(const _0x9735d5 of _0x28a177){_0x105119[_0x3b4f0c(0x1fd)](_0x9735d5[_0x3b4f0c(0x200)]);}_0x4de19b=_0x2c7bb6,_0x4de19b&&(_0x339284=_0x28a177['at'](-0x1)['Key']);}while(_0x4de19b);return _0x105119;});}static[_0x1ddc99(0x1ec)]({region:_0x227238,accessKeyId:_0x52ba60,secretAccessKey:_0x579615},_0x47caba){const _0x234612=_0x1ddc99,_0x162576={'region':_0x227238,'requestHandler':new init_1[(_0x234612(0x1ea))]()};_0x52ba60&&_0x579615&&(_0x162576[_0x234612(0x1ef)]={'accessKeyId':_0x52ba60,'secretAccessKey':_0x579615});const _0x298654=new client_s3_1[(_0x234612(0x1df))](_0x162576);if(!(_0x47caba===null||_0x47caba===void 0x0?void 0x0:_0x47caba['length']))return _0x298654;return this[_0x234612(0x206)](_0x298654,_0x47caba);}static['applyMiddlewaresToS3Client'](_0x2b0c99,_0x7b6def){const _0x5f1977=_0x1ddc99;for(const {handler:_0x54fd2e,options:_0x47a3ee}of _0x7b6def){_0x2b0c99[_0x5f1977(0x1e0)]['add'](_0x54fd2e,_0x47a3ee);}return _0x2b0c99;}}exports[_0x1ddc99(0x1f4)]=AwsS3Utils;
@@ -1 +1 @@
1
- 'use strict';var _0x5ce9d9=_0x44d7;(function(_0x2c4ed0,_0x488c34){var _0x36b3c2=_0x44d7,_0x123e35=_0x2c4ed0();while(!![]){try{var _0x3418e0=parseInt(_0x36b3c2(0x18b))/0x1+-parseInt(_0x36b3c2(0x18f))/0x2+-parseInt(_0x36b3c2(0x192))/0x3+parseInt(_0x36b3c2(0x191))/0x4*(-parseInt(_0x36b3c2(0x187))/0x5)+-parseInt(_0x36b3c2(0x190))/0x6+-parseInt(_0x36b3c2(0x194))/0x7+parseInt(_0x36b3c2(0x17e))/0x8*(parseInt(_0x36b3c2(0x196))/0x9);if(_0x3418e0===_0x488c34)break;else _0x123e35['push'](_0x123e35['shift']());}catch(_0x21193e){_0x123e35['push'](_0x123e35['shift']());}}}(_0x4dec,0xe099e));function _0x4dec(){var _0x18f44a=['then','createAzureBlobServiceClient','30EFKTqu','call','deleted','error','250607NXNyul','containerName','AzureUtils','name','2818112BhMBNO','1070496vYSQjL','996232SLeGjw','592938PkYUBQ','throw','12507530FEVvJk','function','7515iBxltZ','@azure/storage-blob','listBlobsFlat','defineProperty','__esModule','asyncIterator','getContainerClient','return','next','54952dpkfwX','apply','done','value','__awaiter','StorageSharedKeyCredential','.blob.core.windows.net'];_0x4dec=function(){return _0x18f44a;};return _0x4dec();}var __awaiter=this&&this[_0x5ce9d9(0x182)]||function(_0x45e6b5,_0x490d6e,_0x3f8e6e,_0x2b21b1){function _0x3c2811(_0x5d107c){return _0x5d107c instanceof _0x3f8e6e?_0x5d107c:new _0x3f8e6e(function(_0x3b9e04){_0x3b9e04(_0x5d107c);});}return new(_0x3f8e6e||(_0x3f8e6e=Promise))(function(_0x5be11,_0x34a1c9){var _0x5a5896=_0x44d7;function _0x592450(_0x17ea93){var _0xf5ca87=_0x44d7;try{_0x380a3c(_0x2b21b1[_0xf5ca87(0x17d)](_0x17ea93));}catch(_0x19f7a3){_0x34a1c9(_0x19f7a3);}}function _0x19dcaf(_0x1579a2){try{_0x380a3c(_0x2b21b1['throw'](_0x1579a2));}catch(_0x2eac35){_0x34a1c9(_0x2eac35);}}function _0x380a3c(_0x27515a){var _0x311014=_0x44d7;_0x27515a[_0x311014(0x180)]?_0x5be11(_0x27515a['value']):_0x3c2811(_0x27515a['value'])[_0x311014(0x185)](_0x592450,_0x19dcaf);}_0x380a3c((_0x2b21b1=_0x2b21b1[_0x5a5896(0x17f)](_0x45e6b5,_0x490d6e||[]))[_0x5a5896(0x17d)]());});},__asyncValues=this&&this['__asyncValues']||function(_0x4824a3){var _0x448e7b=_0x5ce9d9;if(!Symbol[_0x448e7b(0x17a)])throw new TypeError('Symbol.asyncIterator\x20is\x20not\x20defined.');var _0x1753a1=_0x4824a3[Symbol[_0x448e7b(0x17a)]],_0x1528d6;return _0x1753a1?_0x1753a1[_0x448e7b(0x188)](_0x4824a3):(_0x4824a3=typeof __values===_0x448e7b(0x195)?__values(_0x4824a3):_0x4824a3[Symbol['iterator']](),_0x1528d6={},_0x4f6498(_0x448e7b(0x17d)),_0x4f6498(_0x448e7b(0x193)),_0x4f6498(_0x448e7b(0x17c)),_0x1528d6[Symbol['asyncIterator']]=function(){return this;},_0x1528d6);function _0x4f6498(_0x2a8e4f){_0x1528d6[_0x2a8e4f]=_0x4824a3[_0x2a8e4f]&&function(_0x366906){return new Promise(function(_0x8c927a,_0x4667d2){var _0x13094c=_0x44d7;_0x366906=_0x4824a3[_0x2a8e4f](_0x366906),_0x408039(_0x8c927a,_0x4667d2,_0x366906[_0x13094c(0x180)],_0x366906[_0x13094c(0x181)]);});};}function _0x408039(_0x2242aa,_0x43bc6f,_0x44a142,_0x36a92d){var _0x421a56=_0x448e7b;Promise['resolve'](_0x36a92d)[_0x421a56(0x185)](function(_0x54255b){_0x2242aa({'value':_0x54255b,'done':_0x44a142});},_0x43bc6f);}};Object[_0x5ce9d9(0x199)](exports,_0x5ce9d9(0x179),{'value':!![]}),exports[_0x5ce9d9(0x18d)]=void 0x0;function _0x44d7(_0x247156,_0x1b556f){var _0x4decd4=_0x4dec();return _0x44d7=function(_0x44d724,_0x1b95a6){_0x44d724=_0x44d724-0x179;var _0x194a3c=_0x4decd4[_0x44d724];return _0x194a3c;},_0x44d7(_0x247156,_0x1b556f);}const storage_blob_1=require(_0x5ce9d9(0x197));class AzureUtils{static['createAzureBlobServiceClient']({accountName:_0x3f29a7,accountKey:_0x52ca5c}){var _0x2d1457=_0x5ce9d9;const _0xbe7299=new storage_blob_1[(_0x2d1457(0x183))](_0x3f29a7,_0x52ca5c);return new storage_blob_1['BlobServiceClient']('https://'+_0x3f29a7+_0x2d1457(0x184),_0xbe7299);}static['createAzureBlobContainerClient'](_0x297887){var _0x1b7171=_0x5ce9d9;const _0x4a2e7a=this[_0x1b7171(0x186)](_0x297887);return _0x4a2e7a[_0x1b7171(0x17b)](_0x297887[_0x1b7171(0x18c)]);}static['getAzureBlobsPaths'](_0x14ceff,_0x402b20){var _0x1181d0,_0x35df06;return __awaiter(this,void 0x0,void 0x0,function*(){var _0x394471=_0x44d7;const _0x4c9044=[];try{for(var _0x40065d=__asyncValues(_0x402b20[_0x394471(0x198)]({'prefix':_0x14ceff})),_0x2d90d6;_0x2d90d6=yield _0x40065d['next'](),!_0x2d90d6['done'];){const _0x5e1d5a=_0x2d90d6[_0x394471(0x181)];!_0x5e1d5a[_0x394471(0x189)]&&_0x4c9044['push'](_0x5e1d5a[_0x394471(0x18e)]);}}catch(_0x27022b){_0x1181d0={'error':_0x27022b};}finally{try{if(_0x2d90d6&&!_0x2d90d6[_0x394471(0x180)]&&(_0x35df06=_0x40065d['return']))yield _0x35df06[_0x394471(0x188)](_0x40065d);}finally{if(_0x1181d0)throw _0x1181d0[_0x394471(0x18a)];}}return _0x4c9044;});}}exports[_0x5ce9d9(0x18d)]=AzureUtils;
1
+ 'use strict';var _0x2bd7d4=_0x1064;(function(_0x156bb9,_0x58ef10){var _0x134a1a=_0x1064,_0x469320=_0x156bb9();while(!![]){try{var _0xec116d=-parseInt(_0x134a1a(0x1c6))/0x1+-parseInt(_0x134a1a(0x1c1))/0x2+-parseInt(_0x134a1a(0x1bd))/0x3+parseInt(_0x134a1a(0x1ae))/0x4*(parseInt(_0x134a1a(0x1ce))/0x5)+-parseInt(_0x134a1a(0x1b7))/0x6+-parseInt(_0x134a1a(0x1c7))/0x7+parseInt(_0x134a1a(0x1bc))/0x8;if(_0xec116d===_0x58ef10)break;else _0x469320['push'](_0x469320['shift']());}catch(_0x4f2ae9){_0x469320['push'](_0x469320['shift']());}}}(_0x4330,0x435cc));var __awaiter=this&&this[_0x2bd7d4(0x1b6)]||function(_0x3f3637,_0x557101,_0x237283,_0x1a2c32){function _0x109622(_0x4ea7a8){return _0x4ea7a8 instanceof _0x237283?_0x4ea7a8:new _0x237283(function(_0x3e683a){_0x3e683a(_0x4ea7a8);});}return new(_0x237283||(_0x237283=Promise))(function(_0x1da674,_0x489d4a){function _0x2035da(_0x5edbba){var _0x3467ab=_0x1064;try{_0x26c6ee(_0x1a2c32[_0x3467ab(0x1c8)](_0x5edbba));}catch(_0x204c7d){_0x489d4a(_0x204c7d);}}function _0x3a9c21(_0x3d081e){var _0x66634a=_0x1064;try{_0x26c6ee(_0x1a2c32[_0x66634a(0x1c4)](_0x3d081e));}catch(_0x7c2271){_0x489d4a(_0x7c2271);}}function _0x26c6ee(_0x4d69d6){var _0x515de0=_0x1064;_0x4d69d6[_0x515de0(0x1ad)]?_0x1da674(_0x4d69d6[_0x515de0(0x1ca)]):_0x109622(_0x4d69d6[_0x515de0(0x1ca)])[_0x515de0(0x1c5)](_0x2035da,_0x3a9c21);}_0x26c6ee((_0x1a2c32=_0x1a2c32['apply'](_0x3f3637,_0x557101||[]))['next']());});},__asyncValues=this&&this['__asyncValues']||function(_0x1618bd){var _0x1a9869=_0x2bd7d4;if(!Symbol[_0x1a9869(0x1cb)])throw new TypeError(_0x1a9869(0x1cf));var _0xb73f74=_0x1618bd[Symbol['asyncIterator']],_0xd27437;return _0xb73f74?_0xb73f74[_0x1a9869(0x1b2)](_0x1618bd):(_0x1618bd=typeof __values===_0x1a9869(0x1be)?__values(_0x1618bd):_0x1618bd[Symbol[_0x1a9869(0x1cd)]](),_0xd27437={},_0x2928ac(_0x1a9869(0x1c8)),_0x2928ac(_0x1a9869(0x1c4)),_0x2928ac(_0x1a9869(0x1bb)),_0xd27437[Symbol[_0x1a9869(0x1cb)]]=function(){return this;},_0xd27437);function _0x2928ac(_0xcc9f09){_0xd27437[_0xcc9f09]=_0x1618bd[_0xcc9f09]&&function(_0x59333a){return new Promise(function(_0x4726b8,_0x1bf65c){var _0x2df257=_0x1064;_0x59333a=_0x1618bd[_0xcc9f09](_0x59333a),_0x33725a(_0x4726b8,_0x1bf65c,_0x59333a[_0x2df257(0x1ad)],_0x59333a[_0x2df257(0x1ca)]);});};}function _0x33725a(_0x27b880,_0x2336cf,_0x3c6bb6,_0x1a1411){Promise['resolve'](_0x1a1411)['then'](function(_0x22d0d4){_0x27b880({'value':_0x22d0d4,'done':_0x3c6bb6});},_0x2336cf);}};function _0x1064(_0x5b82db,_0xd5dbc9){var _0x433027=_0x4330();return _0x1064=function(_0x10641c,_0x32cde4){_0x10641c=_0x10641c-0x1ad;var _0x2dd068=_0x433027[_0x10641c];return _0x2dd068;},_0x1064(_0x5b82db,_0xd5dbc9);}Object[_0x2bd7d4(0x1b0)](exports,'__esModule',{'value':!![]}),exports[_0x2bd7d4(0x1b9)]=void 0x0;function _0x4330(){var _0x374f68=['name','.blob.core.windows.net','997556tCjyFN','push','listBlobsFlat','throw','then','173809XoUseQ','200746spciYi','next','deleted','value','asyncIterator','createAzureBlobServiceClient','iterator','792100gRTniC','Symbol.asyncIterator\x20is\x20not\x20defined.','done','4OWxmVk','StorageSharedKeyCredential','defineProperty','containerName','call','createAzureBlobContainerClient','@azure/storage-blob','BlobServiceClient','__awaiter','1594284vSRpVT','getContainerClient','AzureUtils','https://','return','12053696FAvbOY','1266711JCDDUb','function'];_0x4330=function(){return _0x374f68;};return _0x4330();}const storage_blob_1=require(_0x2bd7d4(0x1b4));class AzureUtils{static['createAzureBlobServiceClient']({accountName:_0x3be5a1,accountKey:_0xc9bce5}){var _0x5cde81=_0x2bd7d4;const _0x228660=new storage_blob_1[(_0x5cde81(0x1af))](_0x3be5a1,_0xc9bce5);return new storage_blob_1[(_0x5cde81(0x1b5))](_0x5cde81(0x1ba)+_0x3be5a1+_0x5cde81(0x1c0),_0x228660);}static[_0x2bd7d4(0x1b3)](_0x51906b){var _0x14782e=_0x2bd7d4;const _0x59cec3=this[_0x14782e(0x1cc)](_0x51906b);return _0x59cec3[_0x14782e(0x1b8)](_0x51906b[_0x14782e(0x1b1)]);}static['getAzureBlobsPaths'](_0xb9cac0,_0x3285d2){var _0x2ee1f3,_0x292c7d;return __awaiter(this,void 0x0,void 0x0,function*(){var _0x5542d2=_0x1064;const _0x55a37b=[];try{for(var _0x3e6979=__asyncValues(_0x3285d2[_0x5542d2(0x1c3)]({'prefix':_0xb9cac0})),_0x74b5d2;_0x74b5d2=yield _0x3e6979[_0x5542d2(0x1c8)](),!_0x74b5d2[_0x5542d2(0x1ad)];){const _0x55f01f=_0x74b5d2[_0x5542d2(0x1ca)];!_0x55f01f[_0x5542d2(0x1c9)]&&_0x55a37b[_0x5542d2(0x1c2)](_0x55f01f[_0x5542d2(0x1bf)]);}}catch(_0x29166c){_0x2ee1f3={'error':_0x29166c};}finally{try{if(_0x74b5d2&&!_0x74b5d2[_0x5542d2(0x1ad)]&&(_0x292c7d=_0x3e6979[_0x5542d2(0x1bb)]))yield _0x292c7d[_0x5542d2(0x1b2)](_0x3e6979);}finally{if(_0x2ee1f3)throw _0x2ee1f3['error'];}}return _0x55a37b;});}}exports[_0x2bd7d4(0x1b9)]=AzureUtils;
@@ -1 +1 @@
1
- 'use strict';const _0x9c24e3=_0x4ded;function _0x4ded(_0x12b2f9,_0x418951){const _0x51c3a6=_0x51c3();return _0x4ded=function(_0x4ded1c,_0x473230){_0x4ded1c=_0x4ded1c-0xee;let _0x495fe4=_0x51c3a6[_0x4ded1c];return _0x495fe4;},_0x4ded(_0x12b2f9,_0x418951);}(function(_0x2a0a98,_0x336c6b){const _0x250076=_0x4ded,_0x52f770=_0x2a0a98();while(!![]){try{const _0x4cd7c0=-parseInt(_0x250076(0xee))/0x1*(parseInt(_0x250076(0x10a))/0x2)+-parseInt(_0x250076(0x102))/0x3*(-parseInt(_0x250076(0xfb))/0x4)+-parseInt(_0x250076(0x105))/0x5+parseInt(_0x250076(0xff))/0x6+-parseInt(_0x250076(0xf4))/0x7*(-parseInt(_0x250076(0xf3))/0x8)+parseInt(_0x250076(0x103))/0x9+parseInt(_0x250076(0xf7))/0xa*(-parseInt(_0x250076(0xf2))/0xb);if(_0x4cd7c0===_0x336c6b)break;else _0x52f770['push'](_0x52f770['shift']());}catch(_0x2618d3){_0x52f770['push'](_0x52f770['shift']());}}}(_0x51c3,0xf0ff7));var __awaiter=this&&this[_0x9c24e3(0xfd)]||function(_0xb98ee9,_0x23ed29,_0x14a1a3,_0x4f2ee4){function _0x3ea348(_0x1673ec){return _0x1673ec instanceof _0x14a1a3?_0x1673ec:new _0x14a1a3(function(_0x221ba9){_0x221ba9(_0x1673ec);});}return new(_0x14a1a3||(_0x14a1a3=Promise))(function(_0x3daa3a,_0x173b1c){const _0x2d52c6=_0x4ded;function _0x1836a7(_0x13f921){const _0x5f3212=_0x4ded;try{_0x46080b(_0x4f2ee4[_0x5f3212(0x107)](_0x13f921));}catch(_0x4981de){_0x173b1c(_0x4981de);}}function _0x464300(_0x55e65f){const _0x4cf1ec=_0x4ded;try{_0x46080b(_0x4f2ee4[_0x4cf1ec(0xfe)](_0x55e65f));}catch(_0x43cc43){_0x173b1c(_0x43cc43);}}function _0x46080b(_0x2b7785){const _0x3a70e9=_0x4ded;_0x2b7785[_0x3a70e9(0x100)]?_0x3daa3a(_0x2b7785[_0x3a70e9(0xf5)]):_0x3ea348(_0x2b7785[_0x3a70e9(0xf5)])[_0x3a70e9(0xf9)](_0x1836a7,_0x464300);}_0x46080b((_0x4f2ee4=_0x4f2ee4[_0x2d52c6(0x106)](_0xb98ee9,_0x23ed29||[]))[_0x2d52c6(0x107)]());});},__importDefault=this&&this[_0x9c24e3(0xf0)]||function(_0x2623d7){const _0x257531=_0x9c24e3;return _0x2623d7&&_0x2623d7[_0x257531(0xef)]?_0x2623d7:{'default':_0x2623d7};};Object[_0x9c24e3(0x104)](exports,_0x9c24e3(0xef),{'value':!![]}),exports[_0x9c24e3(0xfa)]=void 0x0;function _0x51c3(){const _0x2a19c0=['__importDefault','fs/promises','29051ADeiIL','9051272GXvukl','7IVfYjC','value','close','12820BOoBNJ','default','then','CacheUtils','183332ILuIpp','createReadStream','__awaiter','throw','5974128Rzfkpf','done','writeFile','123OTUdwi','14025879jyYRkl','defineProperty','4338960EBAhJx','apply','next','createCacheFileStream','randomUUID','1600dBTQsS','405xksWNh','__esModule'];_0x51c3=function(){return _0x2a19c0;};return _0x51c3();}const path_1=__importDefault(require('path')),crypto_1=require('crypto'),promises_1=require(_0x9c24e3(0xf1)),fs_1=require('fs');class CacheUtils{static[_0x9c24e3(0x108)](_0x1c5e29,_0x35386f){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x5687d8=_0x4ded,_0x60814b=path_1[_0x5687d8(0xf8)]['join'](_0x35386f,(0x0,crypto_1[_0x5687d8(0x109)])());yield(0x0,promises_1[_0x5687d8(0x101)])(_0x60814b,_0x1c5e29);const _0x505049=(0x0,fs_1[_0x5687d8(0xfc)])(_0x60814b);return _0x505049['on'](_0x5687d8(0xf6),()=>(0x0,promises_1['rm'])(_0x60814b)),_0x505049;});}}exports[_0x9c24e3(0xfa)]=CacheUtils;
1
+ 'use strict';const _0x5044eb=_0x81d9;(function(_0x22e4fd,_0x4cb549){const _0x2fb13f=_0x81d9,_0x54d5b1=_0x22e4fd();while(!![]){try{const _0x37228a=-parseInt(_0x2fb13f(0x107))/0x1*(-parseInt(_0x2fb13f(0x104))/0x2)+parseInt(_0x2fb13f(0x108))/0x3*(parseInt(_0x2fb13f(0x10b))/0x4)+-parseInt(_0x2fb13f(0x102))/0x5*(parseInt(_0x2fb13f(0x10a))/0x6)+parseInt(_0x2fb13f(0x101))/0x7+parseInt(_0x2fb13f(0x116))/0x8*(-parseInt(_0x2fb13f(0xff))/0x9)+-parseInt(_0x2fb13f(0x10d))/0xa*(parseInt(_0x2fb13f(0x112))/0xb)+-parseInt(_0x2fb13f(0x103))/0xc;if(_0x37228a===_0x4cb549)break;else _0x54d5b1['push'](_0x54d5b1['shift']());}catch(_0x8203d9){_0x54d5b1['push'](_0x54d5b1['shift']());}}}(_0x2777,0xef1a3));function _0x81d9(_0x53e205,_0xfdfe7c){const _0x277737=_0x2777();return _0x81d9=function(_0x81d9b6,_0x180db6){_0x81d9b6=_0x81d9b6-0xfc;let _0x1d7892=_0x277737[_0x81d9b6];return _0x1d7892;},_0x81d9(_0x53e205,_0xfdfe7c);}var __awaiter=this&&this['__awaiter']||function(_0x3e884b,_0x152dda,_0x432c90,_0x354405){function _0x519101(_0x396791){return _0x396791 instanceof _0x432c90?_0x396791:new _0x432c90(function(_0x7044e8){_0x7044e8(_0x396791);});}return new(_0x432c90||(_0x432c90=Promise))(function(_0xb30b3f,_0x560b6b){const _0x52984c=_0x81d9;function _0x4cdab0(_0x116beb){try{_0x2535ac(_0x354405['next'](_0x116beb));}catch(_0x7de7e9){_0x560b6b(_0x7de7e9);}}function _0x46e035(_0x271485){const _0x584a15=_0x81d9;try{_0x2535ac(_0x354405[_0x584a15(0x111)](_0x271485));}catch(_0x129770){_0x560b6b(_0x129770);}}function _0x2535ac(_0x170204){const _0x498e2d=_0x81d9;_0x170204[_0x498e2d(0x100)]?_0xb30b3f(_0x170204[_0x498e2d(0x113)]):_0x519101(_0x170204[_0x498e2d(0x113)])['then'](_0x4cdab0,_0x46e035);}_0x2535ac((_0x354405=_0x354405[_0x52984c(0xfd)](_0x3e884b,_0x152dda||[]))[_0x52984c(0xfe)]());});},__importDefault=this&&this[_0x5044eb(0x115)]||function(_0x670106){return _0x670106&&_0x670106['__esModule']?_0x670106:{'default':_0x670106};};Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x5044eb(0x10f)]=void 0x0;const path_1=__importDefault(require('path')),crypto_1=require(_0x5044eb(0x114)),promises_1=require(_0x5044eb(0x10e)),fs_1=require('fs');class CacheUtils{static[_0x5044eb(0x106)](_0x5d04b0,_0x5af3e1){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x91ba55=_0x81d9,_0x102b6d=path_1[_0x91ba55(0x105)][_0x91ba55(0x110)](_0x5af3e1,(0x0,crypto_1[_0x91ba55(0x117)])());yield(0x0,promises_1[_0x91ba55(0xfc)])(_0x102b6d,_0x5d04b0);const _0x3acd28=(0x0,fs_1[_0x91ba55(0x10c)])(_0x102b6d);return _0x3acd28['on'](_0x91ba55(0x109),()=>(0x0,promises_1['rm'])(_0x102b6d)),_0x3acd28;});}}function _0x2777(){const _0x71173b=['1629548GEnvRb','createReadStream','4833430AtcPyJ','fs/promises','CacheUtils','join','throw','11lytSkE','value','crypto','__importDefault','3917528VJieWN','randomUUID','writeFile','apply','next','18Txwvjl','done','11447541jOViCi','5shvwqe','2913780mKmTSS','2RZFTto','default','createCacheFileStream','1355927kOsxjU','3ZpVlpO','close','4282644oiDHJe'];_0x2777=function(){return _0x71173b;};return _0x2777();}exports['CacheUtils']=CacheUtils;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flosum/storages",
3
- "version": "1.3.3-beta.2",
3
+ "version": "1.3.3-beta.3",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [