{"_id":"@comparaonline/idempotence-lib","_rev":"23-c7e52fbc563419f8af23ca8bcda26447","name":"@comparaonline/idempotence-lib","dist-tags":{"latest":"1.1.1"},"versions":{"1.0.0":{"name":"@comparaonline/idempotence-lib","version":"1.0.0","keywords":["comparaonline"],"author":{"name":"Sebastian Murua","email":"smurua@comparaonline.com"},"license":"MIT","_id":"@comparaonline/idempotence-lib@1.0.0","maintainers":[{"name":"eseceve","email":"eseceve@gmail.com"},{"name":"jeangarcia2414","email":"jeangarcia2414@gmail.com"},{"name":"cnovoab","email":"claudio.novoa.b@gmail.com"},{"name":"smurua","email":"smurua@comparaonline.com"},{"name":"javierlara1989","email":"javier.lara@usach.cl"},{"name":"matotias","email":"matotias@gmail.com"},{"name":"comparaonlineprivate","email":"dev@comparaonline.com"},{"name":"comparaonline-dev","email":"plataforma@comparaonline.com"},{"name":"gnza","email":"go.sanchezm@gmail.com"},{"name":"lisandrop","email":"lisandrop@gmail.com"},{"name":"suarezcumare","email":"suarezcumare@gmail.com"},{"name":"emartini","email":"esteban.martini@gmail.com"},{"name":"jokude","email":"hidalgo931@gmail.com"},{"name":"warseph","email":"erabinovich@gmail.com"}],"dist":{"shasum":"4217a776348af629017c22854aae5fbf64237cd5","tarball":"https://registry.npmjs.org/@comparaonline/idempotence-lib/-/idempotence-lib-1.0.0.tgz","fileCount":21,"integrity":"sha512-5Agtycy3agG1v20Bwfo0lHjx8bdt6VtNjlUNPXZysgABFq09bIQKLFkILEKn0XKaV9VBpk1SRhYLJzaeuM+cnA==","signatures":[{"sig":"MEQCICNrlyh+zQ/JP3hHqJSr2kzy8rLOnVdsdWFShCwwRnlCAiBuVfx1dWN+E7hMpTjhdRYeK3NG5npA2WxezL724jsZJw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6853,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/iQ0CRA9TVsSAnZWagAAoIgP/RFjm69OzsHMnkOIjsed\nGDjrfVB6K6p1ATLw88v5FOvGmWOPTdy/SlodsKwNDVxzLzl8P+h8GqrC7cjP\nTDVP2RbE7nmm0BUGwbCkaL4SXhgz6I0RG/9XH7a6HoVwcf+MWGA5P4zvKHAt\nV1ZFFHJ0pr1Fmov6IR2I+9+RksoNyrYa1vyFPL7/T7R3rtyCBbyEroZpePpc\n3SAgfwhE5qjoPxUSPn9YTs6Or97Ag6eQoBA8ZoIUmYDjQK6V4qHr+RIhGaER\nAELsqdyVl3tl4mxD9MQtjGrwH3DWcZIEf5s4eqmtOGJE5XEfN0a79VBr58hU\nycjsbyG5IHsb881shGTlt7GF4OjT6cjTpLt15soin+fxnsujR/jZsR02bHYS\nqNXBAwjo0Hp/ATqmPNDWuTGPlExLyP18/1NYL2CKG4/SFIDV3tWM79rhzz03\nPEtaOFy8DgDZzkHFxEWpKM+ZM/Kagx2EGr4zUc43kRq283gBlTUUQxuHWu7B\nA1cCDfusz7qb+2GCxyhJSoPOLy1B2gPcBi/WyM1DbuPyfvX38B9xbCy1cuF9\niB1pLb3VwOHqPPHm5Tzoxio+vsMQExK7VleeDmy5usL1BfQPj+qfyFE9Y6CV\nfbvejUvZbve2kM32CZarheyK33RBv4j4OnDIDbqkvdCxaePMGNYxu9Tq0Fft\neQ+M\r\n=ZKbU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","private":false,"scripts":{"test":"jest","clean":"rm -rf build/*","tslint":"tslint -c tslint.json -p tsconfig.json","compile":"tsc","pretest":"yarn tslint","coverage":"jest --coverage","test:fast":"jest","prepublishOnly":"yarn compile"},"_npmUser":{"name":"smurua","email":"smurua@comparaonline.com"},"repository":{"url":"https://github.com/comparaonline/idempotence-lib.git","type":"git"},"description":"Contains utilities to manage idempotence executions","directories":{},"dependencies":{"ioredis":"^4.17.1","object-hash":"^2.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.9.0","tslint":"^5.20.0","nodemon":"^1.19.3","ts-jest":"^24.1.0","ts-node":"^8.4.1","typescript":"^3.6.4","@types/jest":"^24.0.19","@types/ioredis":"^4.16.2","@types/object-hash":"^1.3.3","tslint-config-airbnb":"^5.11.2"},"_npmOperationalInternal":{"tmp":"tmp/idempotence-lib_1.0.0_1593713715942_0.3752893008995961","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@comparaonline/idempotence-lib","version":"1.0.1","keywords":["comparaonline"],"author":{"name":"Sebastian Murua","email":"smurua@comparaonline.com"},"license":"MIT","_id":"@comparaonline/idempotence-lib@1.0.1","maintainers":[{"name":"cnovoab","email":"claudio.novoa.b@gmail.com"},{"name":"comparaonline-dev","email":"plataforma@comparaonline.com"},{"name":"comparaonlineprivate","email":"dev@comparaonline.com"},{"name":"emartini","email":"esteban.martini@gmail.com"},{"name":"eseceve","email":"eseceve@gmail.com"},{"name":"gnza","email":"go.sanchezm@gmail.com"},{"name":"javierlara1989","email":"javier.lara@usach.cl"},{"name":"jeangarcia2414","email":"jeangarcia2414@gmail.com"},{"name":"jokude","email":"hidalgo931@gmail.com"},{"name":"lisandrop","email":"lisandrop@gmail.com"},{"name":"matotias","email":"matotias@gmail.com"},{"name":"smurua","email":"smurua@comparaonline.com"},{"name":"suarezcumare","email":"suarezcumare@gmail.com"},{"name":"warseph","email":"erabinovich@gmail.com"}],"homepage":"https://github.com/comparaonline/idempotence-lib#readme","bugs":{"url":"https://github.com/comparaonline/idempotence-lib/issues"},"dist":{"shasum":"f5d423f8ccf16354ec044642e57354627bd75d22","tarball":"https://registry.npmjs.org/@comparaonline/idempotence-lib/-/idempotence-lib-1.0.1.tgz","fileCount":32,"integrity":"sha512-/KPZTSiZk3QcUBzZiDUpv/Rqldh4+si+qjV/YIbQTMMqlRxSFMN7zbw6ZZMz8YNWixgMPiBOpftrEc42v/E71g==","signatures":[{"sig":"MEUCIQDwXAP/DwOQAtawR5TaDZa2fyzbaY7rvpr8ChF7TPI/zgIgEcEkgFcSXKkXzItCycoa6LAj0YCt5J03J2WED8JIDlg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/ikYCRA9TVsSAnZWagAAIeUQAKSRxjPA1kX78Tk1FPyQ\n4vjXBEDGu408X/K++hMNadm9icuhBI9hbep16bRTmjdaPNgQjjyLLqjjq022\niK3THWpN7QURdHMPA79RzygRqm9mhWmeXZj5TIkmNZb0GgKIdJR+3aNLsVIe\nLD0wjTdopyK1l/ukg4bVF9THR8g4Z/s/YlbT96Ekb38+wz2w2aNiY8OSOkIw\nM8kCk1Xi3fyP6+5e2jgrT5ktm1FpXItrHYRLuBPvZ61fc2yyzki5eoexS/xc\nHalEL2If4OiN8m8ugQ4mxIpKu847CiW+7s9duZC0zqmGjviOrH6/sKCeO1Ez\nwlb6t9BIaxFuv3M8xGqWx4QCum/zVZXzhJ954pSRRvN1E9SgUUOQ2vTOzj7M\nJy1mYNPrEs5l/9kddptUENm/5LTWC5NMFd52BhVrYjySDBN8sI9gcz3QOpMW\n01GydjLQw4wCFl4RUIxXLgWmNScgHCyqHwCYhGQUsVWTlfM3A5XBTDOISAXC\nSrKMSHpG9GZbriFMYZLG6N7IsFiC3/tZSSL5KrJe7UfKgpSSX0RgzIamFUS1\n2S+HrH2hFiyhjadVrlKKB3D2U212FkqjYDDI1+E98WlEo8mz1sMhKleMpnce\nOr28sVZKO92w/MCkIukQM3mDWA87pbCcWsrlDCgm+oEQPR3xaUkBrk/YT4rI\nUTW3\r\n=1mxw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","gitHead":"652e86cfe2af9729526099b53b4632c711c96500","private":false,"scripts":{"test":"jest","clean":"rm -rf build/*","tslint":"tslint -c tslint.json -p tsconfig.json","compile":"tsc","pretest":"yarn tslint","coverage":"jest --coverage","test:fast":"jest","prepublishOnly":"yarn compile"},"_npmUser":{"name":"comparaonline-dev","email":"plataforma@comparaonline.com"},"repository":{"url":"git+https://github.com/comparaonline/idempotence-lib.git","type":"git"},"_npmVersion":"6.14.4","description":"Contains utilities to manage idempotence executions","directories":{},"_nodeVersion":"10.21.0","dependencies":{"ioredis":"^4.17.1","object-hash":"^2.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.9.0","tslint":"^5.20.0","nodemon":"^1.19.3","ts-jest":"^24.1.0","ts-node":"^8.4.1","typescript":"^3.6.4","@types/jest":"^24.0.19","jest-extended":"^0.11.5","@types/ioredis":"^4.16.2","@types/object-hash":"^1.3.3","tslint-config-airbnb":"^5.11.2"},"_npmOperationalInternal":{"tmp":"tmp/idempotence-lib_1.0.1_1593714967864_0.7448152724081509","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@comparaonline/idempotence-lib","version":"1.0.2","keywords":["comparaonline"],"author":{"name":"Sebastian Murua","email":"smurua@comparaonline.com"},"license":"MIT","_id":"@comparaonline/idempotence-lib@1.0.2","maintainers":[{"name":"cnovoab","email":"claudio.novoa.b@gmail.com"},{"name":"comparaonline-dev","email":"plataforma@comparaonline.com"},{"name":"comparaonlineprivate","email":"dev@comparaonline.com"},{"name":"emartini","email":"esteban.martini@gmail.com"},{"name":"eseceve","email":"eseceve@gmail.com"},{"name":"gnza","email":"go.sanchezm@gmail.com"},{"name":"javierlara1989","email":"javier.lara@usach.cl"},{"name":"jeangarcia2414","email":"jeangarcia2414@gmail.com"},{"name":"jokude","email":"hidalgo931@gmail.com"},{"name":"lisandrop","email":"lisandrop@gmail.com"},{"name":"matotias","email":"matotias@gmail.com"},{"name":"smurua","email":"smurua@comparaonline.com"},{"name":"suarezcumare","email":"suarezcumare@gmail.com"},{"name":"warseph","email":"erabinovich@gmail.com"}],"homepage":"https://github.com/comparaonline/idempotence-lib#readme","bugs":{"url":"https://github.com/comparaonline/idempotence-lib/issues"},"dist":{"shasum":"6c46927492df6ceb3a571374043686bfba13137d","tarball":"https://registry.npmjs.org/@comparaonline/idempotence-lib/-/idempotence-lib-1.0.2.tgz","fileCount":32,"integrity":"sha512-wyCGMSkcxrFUE2Y2EQ5FVoL5Ii4MmLrPue4Ns7Z8PaF/4VSn4DY9JXdCxRiBss1NN2nRxg13lWKA5hqcNjLIuA==","signatures":[{"sig":"MEYCIQCsPsp4/cMlBY08I2EGw0+Mxv2JzwkQjWNHfQvvRAsR+QIhAPEpl72rpEwQegBKasBTwap/ZpH4SNjqOGjMPHFrQ0W6","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31597,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2DH/CRA9TVsSAnZWagAAasQQAJ+nqvnVvp4joDw8rFep\nfDEyTJLyxW3T/kYSkOqyIFD32BQC/3WU6TcHoN2gSPHNLNxyiqtRJmE4jICL\nerSGttIMor4yxsGuQJfhZNSQ8QKitvAVl0V4/zwGUJ6ZRWwMtg8s0DHgbZ+q\nEQSnWhGEidC+uqOFsE+lszOwHDi6Rk0tKXFeotiufP80u/g3WBfmd4l7yCuP\nyeICVuY6J+MceecUXsvtMaRLUF0OQzw0f4cJ+bYP+iickkb71T4UeClfIGZf\n1JROk1LnsUqBhVrKh3bd+sqMpr7ZuMvhiPEYf65rS7VnqUDrADPL5osSZPD/\n0mMYoqIVOrpg8SjzTyLXCZo2rvOEokGzn8d3rGRnWr7MLqGNpGb6jlgQEbdF\naIVgZxQwW1hh8k5BwVBonbblLu8UOfdJZEQcfRw9bl9xwTGcdQaheazB8Ydq\nfAKD2ibTpZQCXvKOosDS6txvYcLxIgXlomI538VPlAL4ujG+st9M7nunYOWH\nF4bjvUVeqmahpYmPvr+q1ThhfPonaZLRxitqI5RGelQ6ETlr+SvIbk/4ZTzn\nJGRnYNFLT9YOWBPel6V9HAbNsjVT6a4YdZF7zp+SVrlhuC/4Hz6W1Z/JiBTJ\nUxgqGfzFBLrkyUvENhKA2JuvDKj2F0DaIe/W/BKefdTOIVqDrpsICIZnjtYG\n8pkq\r\n=xQcn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","gitHead":"b400da9bfcd9f939b50f9c8b8de739ecc34b2101","private":false,"scripts":{"test":"jest","clean":"rm -rf build/*","tslint":"tslint -c tslint.json -p tsconfig.json","compile":"tsc","pretest":"yarn tslint","coverage":"jest --coverage","test:fast":"jest","prepublishOnly":"yarn compile"},"_npmUser":{"name":"comparaonline-dev","email":"plataforma@comparaonline.com"},"repository":{"url":"git+https://github.com/comparaonline/idempotence-lib.git","type":"git"},"_npmVersion":"6.14.4","description":"Contains utilities to manage idempotence executions","directories":{},"_nodeVersion":"10.21.0","dependencies":{"ioredis":"^4.17.1","object-hash":"^2.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.9.0","tslint":"^5.20.0","nodemon":"^1.19.3","ts-jest":"^24.1.0","ts-node":"^8.4.1","typescript":"^3.6.4","@types/jest":"^24.0.19","jest-extended":"^0.11.5","@types/ioredis":"^4.16.2","@types/object-hash":"^1.3.3","tslint-config-airbnb":"^5.11.2"},"_npmOperationalInternal":{"tmp":"tmp/idempotence-lib_1.0.2_1593723339791_0.7083832615467414","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@comparaonline/idempotence-lib","version":"1.1.0","keywords":["comparaonline"],"author":{"name":"Sebastian Murua","email":"smurua@comparaonline.com"},"license":"MIT","_id":"@comparaonline/idempotence-lib@1.1.0","maintainers":[{"name":"pfariaz","email":"pfariaz011@gmail.com"},{"name":"ricardo.sosa","email":"rsosa@comparaonline.com"},{"name":"gnza","email":"go.sanchezm@gmail.com"},{"name":"suarezcumare","email":"suarezcumare@gmail.com"},{"name":"fverag","email":"fabian.vera.g@gmail.com"},{"name":"comparaonline-dev","email":"plataforma@comparaonline.com"},{"name":"comparaonlineprivate","email":"dev@comparaonline.com"},{"name":"matotias","email":"matotias@gmail.com"},{"name":"javierlara1989","email":"javier.lara@usach.cl"},{"name":"smurua","email":"smurua@comparaonline.com"},{"name":"eseceve","email":"eseceve@gmail.com"},{"name":"pablocompara","email":"pkachoski@comparaonline.com"}],"homepage":"https://github.com/comparaonline/idempotence-lib#readme","bugs":{"url":"https://github.com/comparaonline/idempotence-lib/issues"},"dist":{"shasum":"5271e15a1e0d591b6053890a1f957c3542ddadda","tarball":"https://registry.npmjs.org/@comparaonline/idempotence-lib/-/idempotence-lib-1.1.0.tgz","fileCount":32,"integrity":"sha512-eE7p9JrohtqQCH6kT4e79bhV9wVYXinGXtLUjIIuJGPQayTmOPxbTqXtqb5i+nHpIEKvB8hEsGNPO/KtEVXMzQ==","signatures":[{"sig":"MEUCIDNK6qHTjv4bYzFCxBs6Jc4unzS2f4SdDlw+iyUpeVqcAiEAo8hyWrHVQ23lafr06uwt3sNiQrzORj/aHDGAAlhoWe8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33433,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkRuCnACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoO+Q/+Oj9sJmtx488ozc4DSolF0ndNsqErLTNuz9CHmK2qyELjuaEt\r\nDek7RNmxTdS0A9vir661MDS0Vr/vjb47rTO66FuaPX+jDXqUue8nZoPWqMnq\r\nazLZNxuSaXtzfeHJ0ZmHYNnzNGnU6b0uPlpkmnsNhwg+9fKfK1Lfxw1cBXlu\r\nTKDu17OD3Zhm3pFS0Bdd7uDIGTSva4I3Htl0ywg+BFdJ4wJSQSDjT3bu1hht\r\nA80HT2onUN2jnDrqFpRbbjUXqJQXQTTCoyWwQjEdmYK5y+6Sh25vjg5mApO7\r\n0VQhbpZdvOkYwNsZ/ua/Y875gcZAMzZAY0hfT50z/w6JZMpT5RBMP0wTmzXG\r\nzvXftCiwGGH2Y+HpXl/hlBgzXL/L9jwIgMlzEehxUE4OG61S1uooa8TH7KQn\r\n+qi6FZt2cy3nMpjKyzm3srzK0zlNkjJ0BWY186+AT8EbjiN2NZ2Y/6cKDIwn\r\neIhGgJrBrutI7E2Dcczs1v7eTT2dVQi8oyeJ64eUwGnvIWguPhX0E6BvwNbl\r\n/6Si95ijj8sW91fFZ9EJ8vxmTZoyrDrAGWEz43yaH0bEWXWY4yNMB7egB2mX\r\nbcluxTb/SfyaBfOQkKtxSW3eswobAp2orbcMQ6qWnBVzBOXN7zS267HCNK3l\r\nhxaTPHQpX1688tzABwA1+z0lz4xyvnG2HsQ=\r\n=wLKf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","gitHead":"7ecdbb645d726d0b7665c30f441fcb9479421207","private":false,"scripts":{"test":"jest","clean":"rm -rf build/*","tslint":"tslint -c tslint.json -p tsconfig.json","compile":"tsc","pretest":"yarn tslint","coverage":"jest --coverage","test:fast":"jest","prepublishOnly":"yarn compile"},"_npmUser":{"name":"comparaonline-dev","email":"plataforma@comparaonline.com"},"repository":{"url":"git+https://github.com/comparaonline/idempotence-lib.git","type":"git"},"_npmVersion":"6.14.4","description":"Contains utilities to manage idempotence executions","directories":{},"_nodeVersion":"10.21.0","dependencies":{"ioredis":"^4.17.1","object-hash":"^2.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.9.0","tslint":"^5.20.0","nodemon":"^1.19.3","ts-jest":"^24.1.0","ts-node":"^8.4.1","typescript":"^3.6.4","@types/jest":"^24.0.19","jest-extended":"^0.11.5","@types/ioredis":"^4.16.2","@types/object-hash":"^1.3.3","tslint-config-airbnb":"^5.11.2"},"_npmOperationalInternal":{"tmp":"tmp/idempotence-lib_1.1.0_1682366631627_0.9766854201334894","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"@comparaonline/idempotence-lib","version":"1.1.1","keywords":["comparaonline"],"author":{"name":"Sebastian Murua","email":"smurua@comparaonline.com"},"license":"MIT","_id":"@comparaonline/idempotence-lib@1.1.1","maintainers":[{"name":"pfariaz","email":"pfariaz011@gmail.com"},{"name":"ricardo.sosa","email":"rsosa@comparaonline.com"},{"name":"gnza","email":"go.sanchezm@gmail.com"},{"name":"suarezcumare","email":"suarezcumare@gmail.com"},{"name":"fverag","email":"fabian.vera.g@gmail.com"},{"name":"comparaonline-dev","email":"plataforma@comparaonline.com"},{"name":"comparaonlineprivate","email":"dev@comparaonline.com"},{"name":"matotias","email":"matotias@gmail.com"},{"name":"javierlara1989","email":"javier.lara@usach.cl"},{"name":"smurua","email":"smurua@comparaonline.com"},{"name":"eseceve","email":"eseceve@gmail.com"},{"name":"pablocompara","email":"pkachoski@comparaonline.com"}],"homepage":"https://github.com/comparaonline/idempotence-lib#readme","bugs":{"url":"https://github.com/comparaonline/idempotence-lib/issues"},"dist":{"shasum":"4da5be9f460fa4e16bb57f9024d8a7c794e2e54a","tarball":"https://registry.npmjs.org/@comparaonline/idempotence-lib/-/idempotence-lib-1.1.1.tgz","fileCount":32,"integrity":"sha512-J1a1TDseh9MbKzEcyZJeAXO4GCg2XbkNz0ZslhOwxkPHm7b1fhGALJp/i8X1LetgtffpTbIZ0kEj96vNage0nQ==","signatures":[{"sig":"MEUCIDEgw+gQ1sPPHePJd5yBMrhVJMySRDC69jAsIrBoMj+wAiEA5yy497av4qIWdnr/hkLMlbMfjfeB9CkpxoPdvUa5IH8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33643,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkRvxmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoejQ/+NR/0ExoJ39pqDNHrnYBMchJ89RJKeuKu1zMOc2/V/yRy7hR6\r\nHGpDJFFBooy+YKzMHNIIdJ/KGr5IXMa6TpBs1gJ0pTWnQTPZH6cKaQ6r5SR/\r\nTo6wYFIoxwTACI2OUpNDx/+aqTACx1wUk5cGnShT8F/HsUGPzP3+7fx5EaDp\r\nOUPN9Thk3+jR+oZfFA1o/p01IGzQBmXjKtlG6qCFFosm8uq51YmcqXzK+2RS\r\n6N13W1Y7xke3LB1CEVNzopUH/xLdnzuHHVBWybLd7gn2z2jg4qzOEBFbSND3\r\n0uJrAwvnlPiLtI83H5ocPUZ6KXNEWz+GQsthlOEz67BZS5QvcqAKZZA8slMZ\r\neZHb2IIxgSyQG0wahGEMZ6QGzkwzhivm7JqsyhLsO0jImaasRtyVTkLp+zQf\r\nKpcin/hs6nYZyGQRe0If1UAZ9DEi4zb/OR2HTyoY5ate2xfCpZ92JKqldLaX\r\nnfekeZBTAWsq/IkugVCqZBvcvwbeZuNJth/C7iVB0V3x889LU68CFrOGzBcH\r\njknZ8+n9OdpeidchZZusUXkBpCyxeeH/Y5Gg8pa/GBcEdRWnZ6oXT8bQJCmH\r\nRLilVkjqt/4jubmtko4+7OrAmo/SbvSZhQUwRpqX0ZZUn1uPGIJtxrn4aaWA\r\n8N/X1J+LSAFiTzXx5Erhi09cosxjyTxZfIU=\r\n=zj8l\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/index.js","types":"build/index.d.ts","gitHead":"cc90fbe3484c1681fcf062d49681e072746e20a9","private":false,"scripts":{"test":"jest","clean":"rm -rf build/*","tslint":"tslint -c tslint.json -p tsconfig.json","compile":"tsc","pretest":"yarn tslint","coverage":"jest --coverage","test:fast":"jest","prepublishOnly":"yarn compile"},"_npmUser":{"name":"comparaonline-dev","email":"plataforma@comparaonline.com"},"repository":{"url":"git+https://github.com/comparaonline/idempotence-lib.git","type":"git"},"_npmVersion":"6.14.4","description":"Contains utilities to manage idempotence executions","directories":{},"_nodeVersion":"10.21.0","dependencies":{"ioredis":"^4.17.1","object-hash":"^2.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.9.0","tslint":"^5.20.0","nodemon":"^1.19.3","ts-jest":"^24.1.0","ts-node":"^8.4.1","typescript":"^3.6.4","@types/jest":"^24.0.19","jest-extended":"^0.11.5","@types/ioredis":"^4.16.2","@types/object-hash":"^1.3.3","tslint-config-airbnb":"^5.11.2"},"_npmOperationalInternal":{"tmp":"tmp/idempotence-lib_1.1.1_1682373733812_0.32935372930767537","host":"s3://npm-registry-packages"}}},"time":{"created":"2020-07-02T18:15:15.681Z","modified":"2025-12-30T13:58:20.472Z","1.0.0":"2020-07-02T18:15:16.071Z","1.0.1":"2020-07-02T18:36:07.965Z","1.0.2":"2020-07-02T20:55:39.917Z","1.1.0":"2023-04-24T20:03:51.826Z","1.1.1":"2023-04-24T22:02:13.973Z"},"bugs":{"url":"https://github.com/comparaonline/idempotence-lib/issues"},"author":{"name":"Sebastian Murua","email":"smurua@comparaonline.com"},"license":"MIT","homepage":"https://github.com/comparaonline/idempotence-lib#readme","keywords":["comparaonline"],"repository":{"url":"git+https://github.com/comparaonline/idempotence-lib.git","type":"git"},"description":"Contains utilities to manage idempotence executions","maintainers":[{"email":"suarezcumare@gmail.com","name":"suarezcumare"},{"email":"plataforma@comparaonline.com","name":"comparaonline-dev"},{"email":"dev@comparaonline.com","name":"comparaonlineprivate"},{"email":"gnavarro@comparaonline.com","name":"gnavarro"},{"email":"matotias@gmail.com","name":"matotias"},{"email":"smurua@comparaonline.com","name":"smurua"},{"email":"eseceve@gmail.com","name":"eseceve"},{"email":"pfariaz011@gmail.com","name":"pfariaz"},{"email":"rsosa@comparaonline.com","name":"ricardo.sosa"},{"email":"dsuarez@comparaonline.com","name":"dsuarez_compa"},{"email":"emartini@comparaonline.com","name":"emartinicompara"}],"readme":"## SetUp\n\nInitialize redis with the provided utility\n```typescript\nimport { RedisConfig } from '@comparaonline/idempotence-lib/redis-config';\nimport { initializeIdempotenceRedis } from '@comparaonline/idempotence-lib/initialize-idempotence-redis';\n\nconst config: RedisConfig = {\n  host: 'localhost'\n};\n\ninitializeIdempotenceRedis(config);\n```\n\n## Usage\n### executeWithStringKey\nSignature:\n```typescript\nexecuteWithStringKey<T = any>(key: string, fn: () => T, expireTime: number): Promise<T | undefined>\n```\n|Param|Type|Description|\n|---|---|---|\n|key|string|The key to use to verify uniqueness.|\n|fn|function|The function to execute in case us the first time the key is used.|\n|expireTime|number|The expiration time in seconds to keep the result asociated to the key. By default is 10 days.|\n\nThe result will be `undefined` if the function is called again with the same key and it didn't obtain the result for the first call yet.\n\nUse example:\n```typescript\nimport { IdempotenceManager } from '@comparaonline/idempotence-lib/idempotence-manager';\n\nconst myFn = async (event: any) => {\n  const result = IdempotenceManager.executeWithStringKey(event.id, () => {\n    // process Event\n    return Math.random();\n  });\n  console.log(result);\n};\n```\n\n### executeWithObjectKey\nSignature:\n```typescript\nexecuteWithObjectKey<T = any>(objToHash: any, fn: () => T, expireTime: number): Promise<T | undefined>\n```\n|Param|Type|Description|\n|---|---|---|\n|objToHash|any|The object that will be hashed to a unique key.|\n|fn|function|The function to execute in case us the first time the key is used.|\n|expireTime|number|The expiration time in seconds to keep the result asociated to the key. By default is 10 days.|\n\nThe result will be `undefined` if the function is called again with the same key and it didn't obtain the result for the first call yet.\n\nUse example:\n```typescript\nimport { IdempotenceManager } from '@comparaonline/idempotence-lib/idempotence-manager';\n\nconst myFn = async (event: any) => {\n  const result = IdempotenceManager.executeWithObjectKey(event, () => {\n    // process Event\n    return Math.random();\n  });\n  console.log(result);\n};\n```\n\n### removeStrokesByObjectKey\nSignature:\n```typescript\nremoveStrokesByObjectKey(objToHash: any): Promise<void>\n```\n|Param|Type|Description|\n|---|---|---|\n|objToHash|any|The object that will be hashed to a unique key.|\n\nThe function removes the record associated with a given object from the Redis database.\n\nUse example:\n```typescript\nimport { IdempotenceManager } from '@comparaonline/idempotence-lib';\n\nconst myFn = async (event: any) => {\n  IdempotenceManager.removeStrokesByObjectKey(event);\n};\n```\n","readmeFilename":"readme.md"}