@flosum/storages 1.4.3 → 1.4.4

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 (63) hide show
  1. package/dist/copy/aws-s3-copy.js +1 -1
  2. package/dist/copy/base-copy.js +1 -1
  3. package/dist/copy/index.js +1 -1
  4. package/dist/copy/local-copy.js +1 -1
  5. package/dist/credentials/aws-s3-credentials.d.ts +0 -2
  6. package/dist/credentials/aws-s3-credentials.js +1 -1
  7. package/dist/credentials/azure-credentials.d.ts +0 -2
  8. package/dist/credentials/azure-credentials.js +1 -1
  9. package/dist/credentials/base-credentials.js +1 -1
  10. package/dist/credentials/google-cloud-credentials-validator.d.ts +0 -2
  11. package/dist/credentials/google-cloud-credentials-validator.js +1 -1
  12. package/dist/credentials/google-cloud-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/google-cloud-delete.js +1 -1
  19. package/dist/delete/index.js +1 -1
  20. package/dist/delete/local-delete.js +1 -1
  21. package/dist/deploy/aws-s3-deploy.js +1 -1
  22. package/dist/deploy/azure-deploy.js +1 -1
  23. package/dist/deploy/base-deploy.js +1 -1
  24. package/dist/deploy/google-cloud-deploy.js +1 -1
  25. package/dist/deploy/index.js +1 -1
  26. package/dist/deploy/local-deploy.js +1 -1
  27. package/dist/factory.js +1 -1
  28. package/dist/file-size-retriever/aws-s3-file-size-retriever.js +1 -1
  29. package/dist/file-size-retriever/azure-file-size-retriever.js +1 -1
  30. package/dist/file-size-retriever/base-file-size-retriever.js +1 -1
  31. package/dist/file-size-retriever/google-cloud-file-size-retriever.js +1 -1
  32. package/dist/file-size-retriever/index.js +1 -1
  33. package/dist/file-size-retriever/local-size-retriever.js +1 -1
  34. package/dist/index.js +1 -1
  35. package/dist/init.js +1 -1
  36. package/dist/instances/aws-s3.storage-instance.js +1 -1
  37. package/dist/instances/base.storage-instance.js +1 -1
  38. package/dist/instances/index.js +1 -1
  39. package/dist/instances/local.storage-instance.js +1 -1
  40. package/dist/retrieve/aws-s3-import-helper.js +1 -1
  41. package/dist/retrieve/aws-s3-retrieve.js +1 -1
  42. package/dist/retrieve/azure-retrieve.js +1 -1
  43. package/dist/retrieve/base-retrieve.js +1 -1
  44. package/dist/retrieve/google-cloud-retrieve.js +1 -1
  45. package/dist/retrieve/helpers/aws-s3-helper.js +1 -1
  46. package/dist/retrieve/helpers/azure-helper.js +1 -1
  47. package/dist/retrieve/helpers/base-helper.js +1 -1
  48. package/dist/retrieve/helpers/google-cloud-helper.js +1 -1
  49. package/dist/retrieve/helpers/local-helper.js +1 -1
  50. package/dist/retrieve/index.js +1 -1
  51. package/dist/retrieve/local-retrieve.js +1 -1
  52. package/dist/types/aws.types.js +1 -1
  53. package/dist/types/azure.types.js +1 -1
  54. package/dist/types/google-cloud.types.js +1 -1
  55. package/dist/types/index.js +1 -1
  56. package/dist/types/internal.types.js +1 -1
  57. package/dist/types/retrieve-status.enum.js +1 -1
  58. package/dist/types/storage-type.enum.js +1 -1
  59. package/dist/utils/aws-s3.utils.js +1 -1
  60. package/dist/utils/azure.utils.js +1 -1
  61. package/dist/utils/cache.utils.js +1 -1
  62. package/dist/utils/google-cloud.utils.js +1 -1
  63. package/package.json +1 -1
@@ -1 +1 @@
1
- 'use strict';const _0x11fd52=_0x1311;function _0x1311(_0x5d67d3,_0x50552c){_0x5d67d3=_0x5d67d3-0x163;const _0x3b200a=_0x3b20();let _0x1311f2=_0x3b200a[_0x5d67d3];return _0x1311f2;}(function(_0x38298d,_0x457fca){const _0x37be59=_0x1311,_0x1d0881=_0x38298d();while(!![]){try{const _0x3d3718=-parseInt(_0x37be59(0x16c))/0x1*(parseInt(_0x37be59(0x171))/0x2)+parseInt(_0x37be59(0x167))/0x3*(-parseInt(_0x37be59(0x168))/0x4)+-parseInt(_0x37be59(0x169))/0x5+-parseInt(_0x37be59(0x174))/0x6*(-parseInt(_0x37be59(0x179))/0x7)+-parseInt(_0x37be59(0x163))/0x8+parseInt(_0x37be59(0x16a))/0x9*(-parseInt(_0x37be59(0x16f))/0xa)+parseInt(_0x37be59(0x170))/0xb;if(_0x3d3718===_0x457fca)break;else _0x1d0881['push'](_0x1d0881['shift']());}catch(_0x14c6fd){_0x1d0881['push'](_0x1d0881['shift']());}}}(_0x3b20,0xc1837));var __awaiter=this&&this[_0x11fd52(0x176)]||function(_0x4021f9,_0x3f5195,_0x1dac70,_0x415370){function _0x44508f(_0x32c253){return _0x32c253 instanceof _0x1dac70?_0x32c253:new _0x1dac70(function(_0x39211c){_0x39211c(_0x32c253);});}return new(_0x1dac70||(_0x1dac70=Promise))(function(_0x42210b,_0x29a7c3){function _0x1acab2(_0x131a42){const _0x1138a4=_0x1311;try{_0x4f2170(_0x415370[_0x1138a4(0x178)](_0x131a42));}catch(_0x23f29a){_0x29a7c3(_0x23f29a);}}function _0x696c2e(_0x489d5a){const _0x54fef9=_0x1311;try{_0x4f2170(_0x415370[_0x54fef9(0x165)](_0x489d5a));}catch(_0x3b7c5e){_0x29a7c3(_0x3b7c5e);}}function _0x4f2170(_0x3766b5){const _0x43ee21=_0x1311;_0x3766b5[_0x43ee21(0x17b)]?_0x42210b(_0x3766b5[_0x43ee21(0x166)]):_0x44508f(_0x3766b5[_0x43ee21(0x166)])['then'](_0x1acab2,_0x696c2e);}_0x4f2170((_0x415370=_0x415370['apply'](_0x4021f9,_0x3f5195||[]))['next']());});};function _0x3b20(){const _0x269bf8=['value','250176XEfvfX','32gVoORC','6617545foPgiM','6375195thxrRU','@google-cloud/storage','439PJSvWx','createBucket','GoogleCloudUtils','20myJtGw','45020602EFSUxi','3720IeTNsJ','bucket','__esModule','5698764tJaLtZ','getFiles','__awaiter','push','next','7bbOqcG','createStorageClient','done','208400TJQhpC','Storage','throw'];_0x3b20=function(){return _0x269bf8;};return _0x3b20();}Object['defineProperty'](exports,_0x11fd52(0x173),{'value':!![]}),exports[_0x11fd52(0x16e)]=void 0x0;const storage_1=require(_0x11fd52(0x16b));class GoogleCloudUtils{static['createStorageClient']({projectId:_0x1888ce,clientEmail:_0x22cd04,privateKey:_0x35056b}){const _0x25717b=_0x11fd52;return new storage_1[(_0x25717b(0x164))]({'projectId':_0x1888ce,'credentials':{'client_email':_0x22cd04,'private_key':_0x35056b}});}static[_0x11fd52(0x16d)](_0x3a58e8){const _0x4c6325=_0x11fd52,_0x136245=this[_0x4c6325(0x17a)](_0x3a58e8);return _0x136245[_0x4c6325(0x172)](_0x3a58e8['bucketName']);}static['getFilesPaths'](_0x33c3cf,_0xa975bf){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x5803a9=_0x1311,_0x57ce79=[],[_0x14bcf7]=yield _0xa975bf[_0x5803a9(0x175)]({'prefix':_0x33c3cf});for(const _0x18e53b of _0x14bcf7){_0x57ce79[_0x5803a9(0x177)](_0x18e53b['name']);}return _0x57ce79;});}}exports['GoogleCloudUtils']=GoogleCloudUtils;
1
+ 'use strict';function _0x3630(){const _0x3bc541=['done','next','createStorageClient','399591dnPzwl','getFiles','257580RARWHR','getFilesPaths','createBucket','bucketName','926037aOgBDl','name','168bNyOKY','5757710tJcZtT','apply','defineProperty','then','bucket','4695414SnfYoO','GoogleCloudUtils','__esModule','1007376UmhKhP','1303690UGlSBY','value','Storage','135EpOIte'];_0x3630=function(){return _0x3bc541;};return _0x3630();}const _0x283197=_0x2ab6;(function(_0x4023ad,_0x5b874e){const _0x2c1fd1=_0x2ab6,_0x172af1=_0x4023ad();while(!![]){try{const _0x4c163c=-parseInt(_0x2c1fd1(0x11a))/0x1+parseInt(_0x2c1fd1(0x12c))/0x2+-parseInt(_0x2c1fd1(0x128))/0x3+-parseInt(_0x2c1fd1(0x12b))/0x4+parseInt(_0x2c1fd1(0x116))/0x5*(parseInt(_0x2c1fd1(0x11c))/0x6)+-parseInt(_0x2c1fd1(0x123))/0x7+-parseInt(_0x2c1fd1(0x122))/0x8*(-parseInt(_0x2c1fd1(0x120))/0x9);if(_0x4c163c===_0x5b874e)break;else _0x172af1['push'](_0x172af1['shift']());}catch(_0x1fb717){_0x172af1['push'](_0x172af1['shift']());}}}(_0x3630,0xe3afd));var __awaiter=this&&this['__awaiter']||function(_0x27fb05,_0x2ab867,_0x5f03d2,_0x20b4af){function _0x5e3b68(_0x192427){return _0x192427 instanceof _0x5f03d2?_0x192427:new _0x5f03d2(function(_0x1471a7){_0x1471a7(_0x192427);});}return new(_0x5f03d2||(_0x5f03d2=Promise))(function(_0x1a7d6b,_0x1b6990){const _0x307168=_0x2ab6;function _0x4d5c87(_0x57a083){const _0x27aad7=_0x2ab6;try{_0x2f40bd(_0x20b4af[_0x27aad7(0x118)](_0x57a083));}catch(_0x211776){_0x1b6990(_0x211776);}}function _0x2baba6(_0x39dd12){try{_0x2f40bd(_0x20b4af['throw'](_0x39dd12));}catch(_0x242b6c){_0x1b6990(_0x242b6c);}}function _0x2f40bd(_0x54783a){const _0x2b7d27=_0x2ab6;_0x54783a[_0x2b7d27(0x117)]?_0x1a7d6b(_0x54783a['value']):_0x5e3b68(_0x54783a[_0x2b7d27(0x12d)])[_0x2b7d27(0x126)](_0x4d5c87,_0x2baba6);}_0x2f40bd((_0x20b4af=_0x20b4af[_0x307168(0x124)](_0x27fb05,_0x2ab867||[]))[_0x307168(0x118)]());});};function _0x2ab6(_0x5aec6b,_0x2698d7){_0x5aec6b=_0x5aec6b-0x115;const _0x3630be=_0x3630();let _0x2ab680=_0x3630be[_0x5aec6b];return _0x2ab680;}Object[_0x283197(0x125)](exports,_0x283197(0x12a),{'value':!![]}),exports[_0x283197(0x129)]=void 0x0;const storage_1=require('@google-cloud/storage');class GoogleCloudUtils{static[_0x283197(0x119)]({projectId:_0xb749aa,clientEmail:_0x596ee7,privateKey:_0x3334b8}){const _0x5e65b3=_0x283197;return new storage_1[(_0x5e65b3(0x115))]({'projectId':_0xb749aa,'credentials':{'client_email':_0x596ee7,'private_key':_0x3334b8}});}static[_0x283197(0x11e)](_0x243060){const _0x468ffc=_0x283197,_0x362fbf=this['createStorageClient'](_0x243060);return _0x362fbf[_0x468ffc(0x127)](_0x243060[_0x468ffc(0x11f)]);}static[_0x283197(0x11d)](_0xb22db9,_0x5053c8){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x421d34=_0x2ab6,_0x2d7ecb=[],[_0x3f1efb]=yield _0x5053c8[_0x421d34(0x11b)]({'prefix':_0xb22db9});for(const _0x5b502d of _0x3f1efb){_0x2d7ecb['push'](_0x5b502d[_0x421d34(0x121)]);}return _0x2d7ecb;});}}exports['GoogleCloudUtils']=GoogleCloudUtils;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flosum/storages",
3
- "version": "1.4.3",
3
+ "version": "1.4.4",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [