{"_id":"@el3um4s/renderer-for-electron-auto-updater","_rev":"5-7ec34d25f74242f2497910f260088cd1","name":"@el3um4s/renderer-for-electron-auto-updater","dist-tags":{"latest":"1.0.5"},"versions":{"0.0.2":{"name":"@el3um4s/renderer-for-electron-auto-updater","version":"0.0.2","description":"Allow the renderer to update electron apps","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","lint":"eslint . --ext .ts","test":"jest --config jestconfig.json","prepare":"npm run build","prepublishOnly":"npm test && npm run lint","preversion":"npm run lint","version":"git add -A src","postversion":"git push && git push --tags","check-updates":"npx npm-check-updates","check-updates:minor":"npx npm-check-updates --target minor","check-updates:patch":"npx npm-check-updates --target patch"},"repository":{"type":"git","url":"git+https://github.com/el3um4s/renderer-for-electron-auto-updater.git"},"keywords":["typescript","npm","ts","electron","auto-update","squirrel","electron-builder","msi","distribuition-electron","electron-updater"],"author":{"name":"Samuele C. De Tomasi"},"license":"MIT","funding":[{"type":"patreon","url":"https://www.patreon.com/el3um4s"},{"type":"individual","url":"https://www.paypal.me/el3um4s"}],"bugs":{"url":"https://github.com/el3um4s/renderer-for-electron-auto-updater/issues"},"homepage":"https://github.com/el3um4s/renderer-for-electron-auto-updater#readme","devDependencies":{"@types/jest":"^28.1.7","@types/node":"^18.7.8","@typescript-eslint/eslint-plugin":"^5.33.1","@typescript-eslint/parser":"^5.33.1","ansi-regex":">=6.0.1","eslint":"^8.22.0","eslint-config-prettier":"^8.5.0","eslint-config-standard":"^17.0.0","eslint-plugin-import":"^2.26.0","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^6.0.0","jest":"^28.1.3","ts-jest":"^28.0.8","typescript":"^4.7.4"},"gitHead":"afa529597513ea32786e0026e7bd948f2583136c","_id":"@el3um4s/renderer-for-electron-auto-updater@0.0.2","_nodeVersion":"18.3.0","_npmVersion":"8.16.0","dist":{"integrity":"sha512-vwX1UcTh/EzYOWUrmf/b+0GYOlSnAZd6r8hPbDRUiyYfFD32fQL9w6YrWRrLzoJGIAhFyBfa3BxLzMXXxw+lVw==","shasum":"ff7203fdf4ca0a053bfbcf575395643198a438a7","tarball":"https://registry.npmjs.org/@el3um4s/renderer-for-electron-auto-updater/-/renderer-for-electron-auto-updater-0.0.2.tgz","fileCount":9,"unpackedSize":19454,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEEHywCRw9zLae37WXZZ7GIlKbvAc/+P1nC16GWzlHbkAiAEncm8OJUsFrzLr0tziCmdr0WbO+PPpDQLledk3Q3Lfg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjAgeDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqzUBAAhvm1z9XmO8Lb38lxw+BWZtAz7SVijLG0Ur8UpXIn5WkAhegp\r\nHIW2B3KAvbU0FQW8l3gLOtm0ZFZ+tHnZqkK6OFkT1PND9/Jn1zsV7Ztd2X3C\r\nKd2QSlPrfriOefKSw52hwt8iWZim0uuWV8daeW+tibYS3vgIZ0ytSZpOVNJx\r\nV6oO1NUsVrLW/DUyMOuHe50m/MgC8ZlF2Nnh5BF4GlJ+H6ROt7uKkZhbUEdZ\r\nEeTfC4LHKvexqYeRqjVOAlhtBRxQ7vfkqhtSAiD61snG1DU4eSBCS6qhs+1W\r\n+ngk53yYxOCqPSTR9FTzKY9zVJlMs1arHu5n0rV+ab3RPfQv7haItjdSRySr\r\niQzpe2Q2FReQoPYlxn+k/v/EfyBE5Y+hoxOuM6/iQCs3/2tDwWDWJ6mDZl+1\r\ncTNY05F4uc96kDW/bW9/xqql/bo4vGuo9TNx1nOYXKPJQ4Pmz/C+pdDzQuAT\r\n27sBFOPY3/Q47vR47cSw8yHA3haila+B0y8jvAptXfGERH1GxRBsOiVlSlj0\r\nkWSAPDWCRCLUKbi+7Yzsfz7eiaOzJFC5HOvWJC+HH1x0IuANi5XTQQLhaRis\r\nqrWZtiOkZNcSFtNZ/RxW1lsQYID7vxF2QMmk7kLbmsMpaohIwYpauaJQJeMS\r\ncGIvWf93pwPjZXz3/W7av86LLvn5aGzAk/E=\r\n=pml5\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"el3um4s","email":"el3um4s@gmail.com"},"directories":{},"maintainers":[{"name":"el3um4s","email":"el3um4s@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/renderer-for-electron-auto-updater_0.0.2_1661077379395_0.22231180491180402"},"_hasShrinkwrap":false},"0.0.3":{"name":"@el3um4s/renderer-for-electron-auto-updater","version":"0.0.3","description":"Allow the renderer to update electron apps","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","lint":"eslint . --ext .ts","test":"jest --config jestconfig.json","prepare":"npm run build","prepublishOnly":"npm test && npm run lint","preversion":"npm run lint","version":"git add -A src","postversion":"git push && git push --tags","check-updates":"npx npm-check-updates","check-updates:minor":"npx npm-check-updates --target minor","check-updates:patch":"npx npm-check-updates --target patch"},"repository":{"type":"git","url":"git+https://github.com/el3um4s/renderer-for-electron-auto-updater.git"},"keywords":["typescript","npm","ts","electron","auto-update","squirrel","electron-builder","msi","distribuition-electron","electron-updater"],"author":{"name":"Samuele C. De Tomasi"},"license":"MIT","funding":[{"type":"patreon","url":"https://www.patreon.com/el3um4s"},{"type":"individual","url":"https://www.paypal.me/el3um4s"}],"bugs":{"url":"https://github.com/el3um4s/renderer-for-electron-auto-updater/issues"},"homepage":"https://github.com/el3um4s/renderer-for-electron-auto-updater#readme","devDependencies":{"@types/jest":"^28.1.7","@types/node":"^18.7.8","@typescript-eslint/eslint-plugin":"^5.33.1","@typescript-eslint/parser":"^5.33.1","ansi-regex":">=6.0.1","eslint":"^8.22.0","eslint-config-prettier":"^8.5.0","eslint-config-standard":"^17.0.0","eslint-plugin-import":"^2.26.0","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^6.0.0","jest":"^28.1.3","ts-jest":"^28.0.8","typescript":"^4.7.4"},"gitHead":"e19fa11fa4b362dda053bfe9bcf222e6332938a2","_id":"@el3um4s/renderer-for-electron-auto-updater@0.0.3","_nodeVersion":"18.3.0","_npmVersion":"8.16.0","dist":{"integrity":"sha512-H+tbZOHeWWZwOo9+1L++phLc9RtFK7DjVk8bJ+al2EKDT0fXEHhqVcS3Y1Txjy1Ce6kMIzB1i3CcABaBEhN68g==","shasum":"7a391cdffa3968afec8fa6bc6903c93e4fa4e15b","tarball":"https://registry.npmjs.org/@el3um4s/renderer-for-electron-auto-updater/-/renderer-for-electron-auto-updater-0.0.3.tgz","fileCount":9,"unpackedSize":19471,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC5DkwOVqm/dGl+rw6pOGrFljUQSx53rn/EWFhupHjfCAiEAnq1YYXi1LAPhi+Oh/w45eB0Lzye9xbUV7qT9mcNggcY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjAg5OACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq35g//SlK2vF2Ew7Qe0IoQnpIfb/LbCjnx/lwmB8+frH4LLIps/Sko\r\nRu5jzllJGgTeZCw/wAQqX811KGDZCzf8HDk4q/0NiMujsiCPqsY89+eHWb7Q\r\n+gAeFfadVotWcshVH6a7u0flYJAvi6O+PIsjVzcJ2rZXQgrGPbLVaA4E0+IU\r\nYwNT2U2L2dO+LtJeuGSqPL2yUUfq0phueqrRuE1mX0KnNYz6wNkVi5u8XJBU\r\nx+aOQdUNlwJBNQHTQ6R46zyY4QANJ6VkQUymtOOoOHpxlRbD9Js7KVgGoBHs\r\n4b70eoR8jp6Wdkdee9Ecmv2gx75xYOLb7DeZm/NBayURCArbUWXLO15Yk+dN\r\nrKYmdlenz1I4iKMv5uvuiEubYiBc+bITq2H7W6NrTZ4dOV5+RIvKiT4Rfqy/\r\nksPF4t6I+Cle2iCAqrDqYNceBsaZhJTizy2AnW86nyQZ8A50utvuMwVGLmis\r\nlng+pphY0mDG26oe49D3N7lkTHTFniOLj8vhFTKDtXrReEAyWdHQIdFzAFCj\r\n95GqeO1izvTt00eTIH2wIJpWNaan6n4+LeHt8khoJ7NAVrs4BgZUVG7yhCiZ\r\n9WBgb11ud6Msk0lCxFyT72pWEPhH/NJxgVUM3O7OIpO69EfL1C+V+kRV0KZ6\r\novDUtDkhfyhLFho7gxyrbBdoUulT/i+XJws=\r\n=sBUH\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"el3um4s","email":"el3um4s@gmail.com"},"directories":{},"maintainers":[{"name":"el3um4s","email":"el3um4s@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/renderer-for-electron-auto-updater_0.0.3_1661079118272_0.22050414460183032"},"_hasShrinkwrap":false},"0.0.4":{"name":"@el3um4s/renderer-for-electron-auto-updater","version":"0.0.4","description":"Allow the renderer to update electron apps","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","lint":"eslint . --ext .ts","test":"jest --config jestconfig.json","prepare":"npm run build","prepublishOnly":"npm test && npm run lint","preversion":"npm run lint","version":"git add -A src","postversion":"git push && git push --tags","check-updates":"npx npm-check-updates","check-updates:minor":"npx npm-check-updates --target minor","check-updates:patch":"npx npm-check-updates --target patch"},"repository":{"type":"git","url":"git+https://github.com/el3um4s/renderer-for-electron-auto-updater.git"},"keywords":["typescript","npm","ts","electron","auto-update","squirrel","electron-builder","msi","distribuition-electron","electron-updater"],"author":{"name":"Samuele C. De Tomasi"},"license":"MIT","funding":[{"type":"patreon","url":"https://www.patreon.com/el3um4s"},{"type":"individual","url":"https://www.paypal.me/el3um4s"}],"bugs":{"url":"https://github.com/el3um4s/renderer-for-electron-auto-updater/issues"},"homepage":"https://github.com/el3um4s/renderer-for-electron-auto-updater#readme","devDependencies":{"@types/jest":"^28.1.7","@types/node":"^18.7.8","@typescript-eslint/eslint-plugin":"^5.33.1","@typescript-eslint/parser":"^5.33.1","ansi-regex":">=6.0.1","eslint":"^8.22.0","eslint-config-prettier":"^8.5.0","eslint-config-standard":"^17.0.0","eslint-plugin-import":"^2.26.0","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^6.0.0","jest":"^28.1.3","ts-jest":"^28.0.8","typescript":"^4.7.4"},"gitHead":"ae63a46cdedf03d1b730ba398c03d51d494f2209","_id":"@el3um4s/renderer-for-electron-auto-updater@0.0.4","_nodeVersion":"18.3.0","_npmVersion":"8.16.0","dist":{"integrity":"sha512-E5xA9JXorRdQPt2k9iTq1swoZ4m1oICe549fqd5vkzLzEspyctfuKfRX6PclMEnPjfpqL34Hnk04hgscjDHsCw==","shasum":"640b63c57e53f5cca3699de339909956383c5de2","tarball":"https://registry.npmjs.org/@el3um4s/renderer-for-electron-auto-updater/-/renderer-for-electron-auto-updater-0.0.4.tgz","fileCount":9,"unpackedSize":20477,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD9gmGxfuCk2GJr1RQ0fMuZVuXbVcEpK6jjoKSNbHPslwIhANE+qzOOg0pZ4EXQJxhGQImvuEYt0l77LEDDvz7qtur0"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjAhflACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoseQ//bZSC4juFriXEODsVyVIwbJxfOGZGUQF6QjamnZ89zrCRDCY8\r\nsnTXugcTzO2G+Jf5VdXZ/1ovNKZrCH2R9/V2zbFr0SAe5WjsxNyP8IdAOkDj\r\nSaaQjpDNdSU3dlZRmtx3Ovc9suicW0OAeVQdoeMWq/EN2B6e5fM8KTzWoHcz\r\nhAhFVg0syZxBMWEaH1pmUewBoYXfuaMX+SFQIaw8uYN3Ynx34fOryZGmbDUz\r\n7uMD++ENLc0wGy9zHRdQ44GuDs5iQaSGdE7BvEQTowAg3Bn4kMChe9GqM2gZ\r\nPlPcicI5kNrSVr3H8yk5an+aqlGpBUVe5XP2MrBJzrAq1zt7O2TaPwakLRNo\r\nysq4FrINKPQ7lR0KYtX6BhRb0vdD6I2YrYD2ZVVJs8u6NQnE5713TzOpe4pr\r\nYecg0TZuIgcWqve8GvBE8j+sD+P0a5DmhUm1peMLDbPqB749VVPD+KUpdLiL\r\nR5d9NXzFhp0l8QPQESaaA/0kBqWim12ziyhwcp0UbEMyKY4C3IGdljp2fS86\r\nqMxDi2nPxMFlGCXolJbISyEOAEQ6mESCRsoR7MvPehkLSHkgJQScHYV/FZhA\r\nKk/nk3ssHcc5CsxB7pIYiTmcneJj5SVnw7Fa+m3ki06CXl3ILLc4n5NO6035\r\nbcpmcRx06ZGGFZ03Zm9+kA0pcLGCXA5njmk=\r\n=bOuf\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"el3um4s","email":"el3um4s@gmail.com"},"directories":{},"maintainers":[{"name":"el3um4s","email":"el3um4s@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/renderer-for-electron-auto-updater_0.0.4_1661081573391_0.1903090687778337"},"_hasShrinkwrap":false},"1.0.3":{"name":"@el3um4s/renderer-for-electron-auto-updater","version":"1.0.3","description":"Allow the renderer to update electron apps","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","lint":"eslint . --ext .ts","test":"jest --config jestconfig.json","prepare":"npm run build","prepublishOnly":"npm test && npm run lint","preversion":"npm run lint","version":"git add -A src","postversion":"git push && git push --tags","check-updates":"npx npm-check-updates","check-updates:minor":"npx npm-check-updates --target minor","check-updates:patch":"npx npm-check-updates --target patch"},"repository":{"type":"git","url":"git+https://github.com/el3um4s/renderer-for-electron-auto-updater.git"},"keywords":["typescript","npm","ts","electron","auto-update","squirrel","electron-builder","msi","distribuition-electron","electron-updater"],"author":{"name":"Samuele C. De Tomasi"},"license":"MIT","funding":[{"type":"patreon","url":"https://www.patreon.com/el3um4s"},{"type":"individual","url":"https://www.paypal.me/el3um4s"}],"bugs":{"url":"https://github.com/el3um4s/renderer-for-electron-auto-updater/issues"},"homepage":"https://github.com/el3um4s/renderer-for-electron-auto-updater#readme","devDependencies":{"@types/jest":"^28.1.7","@types/node":"^18.7.8","@typescript-eslint/eslint-plugin":"^5.33.1","@typescript-eslint/parser":"^5.33.1","ansi-regex":">=6.0.1","eslint":"^8.22.0","eslint-config-prettier":"^8.5.0","eslint-config-standard":"^17.0.0","eslint-plugin-import":"^2.26.0","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^6.0.0","jest":"^28.1.3","ts-jest":"^28.0.8","typescript":"^4.7.4"},"gitHead":"f182eede205711e82553e306251b4ab980ed988f","_id":"@el3um4s/renderer-for-electron-auto-updater@1.0.3","_nodeVersion":"18.3.0","_npmVersion":"8.16.0","dist":{"integrity":"sha512-ll3XNweO6Kj2YPGRyNIyqgWMaxOrbMeiELtnBRe61Np69IHQUIBH7YLZC5ewhiGwx+h6YG7DYNt4bbXIOKUrWQ==","shasum":"c053e3f980253146343e6b041086e0e177184223","tarball":"https://registry.npmjs.org/@el3um4s/renderer-for-electron-auto-updater/-/renderer-for-electron-auto-updater-1.0.3.tgz","fileCount":9,"unpackedSize":20460,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID0TKJ4vXdwk/AEhzJENKwarChpdS0KmG5TmB3wqROEwAiA2LMh1JE7bS2HzTTzyR+d0Cn5SZpjuq8TvoBPL7csX0w=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjAqPyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr21w//RSasMPebCePmuhqtpwvuGsEqRuNGv5XQhYlbLBJVONF/xUWx\r\n6lrtFaW6UNUnUfXkI2aT0IiUjW4LueSek//NPoBxrd837EBqmSVokOvHZjSn\r\nlv4xEc2uYn+iRKdvoNEyc7O75IhQxYmvpfOUB/lAIs7A+gcYtWzsPrcvaDfd\r\nTqhau+a6x5qaqnIg+Kg9pzhBMhe4KcMm0TPbWt5U9f2ViLR3guw70WeFkBzu\r\nsRXu0+SxZxUPlwPMVdTjruKi+6YJ7WB84kuBGSIavU9siPke+3e7Ha6HOiAm\r\n/tiR/2f+o2e5R68g+xUqjQpoExaXS1wpcw/X7UBY/HeqJp9SQFHI1fiGb4Zq\r\nnDwf8f3fh4qAZ8HUjHXOaGOYTmI7KpdbVZeqFyMzNC8pL45gAKUqfnqW7bdV\r\ncr+jEHAETvIwXxg5jOGEfiC74AvOvAzq8Oov2PN+k0fYWYHwZVPaU6i7QVU3\r\n7yx01XaIQ5SUf9BvDbq1mETZFtSaai5YHBXQe5Ih8KEcE1ZEEYRoB5rlaSOu\r\nMi2IGFssnHUCtV0j+D8AxveiZl2SyqOEq93npPhflxWh9XOkS7HolLt2AvDE\r\nXuDlMrW/qso3tQoSo0tL4BEdtu5D0amKkYGym9HGgol53c+thn1DJbWoTMaF\r\nz21eqHv8J5AJnXcZHuVlotdStgHN3YXGQn0=\r\n=4TTD\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"el3um4s","email":"el3um4s@gmail.com"},"directories":{},"maintainers":[{"name":"el3um4s","email":"el3um4s@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/renderer-for-electron-auto-updater_1.0.3_1661117425896_0.6365664494141008"},"_hasShrinkwrap":false},"1.0.4":{"name":"@el3um4s/renderer-for-electron-auto-updater","version":"1.0.4","description":"Allow the renderer to update electron apps","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","lint":"eslint . --ext .ts","test":"jest --config jestconfig.json","prepare":"npm run build","prepublishOnly":"npm test && npm run lint","preversion":"npm run lint","version":"git add -A src","postversion":"git push && git push --tags","check-updates":"npx npm-check-updates","check-updates:minor":"npx npm-check-updates --target minor","check-updates:patch":"npx npm-check-updates --target patch"},"repository":{"type":"git","url":"git+https://github.com/el3um4s/renderer-for-electron-auto-updater.git"},"keywords":["typescript","npm","ts","electron","auto-update","squirrel","electron-builder","msi","distribuition-electron","electron-updater"],"author":{"name":"Samuele C. De Tomasi"},"license":"MIT","funding":[{"type":"patreon","url":"https://www.patreon.com/el3um4s"},{"type":"individual","url":"https://www.paypal.me/el3um4s"}],"bugs":{"url":"https://github.com/el3um4s/renderer-for-electron-auto-updater/issues"},"homepage":"https://github.com/el3um4s/renderer-for-electron-auto-updater#readme","devDependencies":{"@types/jest":"^28.1.7","@types/node":"^18.7.8","@typescript-eslint/eslint-plugin":"^5.33.1","@typescript-eslint/parser":"^5.33.1","ansi-regex":">=6.0.1","eslint":"^8.22.0","eslint-config-prettier":"^8.5.0","eslint-config-standard":"^17.0.0","eslint-plugin-import":"^2.26.0","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^6.0.0","jest":"^28.1.3","ts-jest":"^28.0.8","typescript":"^4.7.4"},"gitHead":"c74653fc07b50d045b021dd436d9fdd0eda7ad6a","_id":"@el3um4s/renderer-for-electron-auto-updater@1.0.4","_nodeVersion":"18.3.0","_npmVersion":"8.16.0","dist":{"integrity":"sha512-iuzFCvtY5zHjnVdg2v1O4VSZ4NM2oyfxbIX5/v8kcy6mbNd5geOziUC5kaG+9NLzT/b5p6vxxiXgnmfD8bsWkg==","shasum":"6cc8116f00d2dddc7fc9d7e967f71ea6d791c8ef","tarball":"https://registry.npmjs.org/@el3um4s/renderer-for-electron-auto-updater/-/renderer-for-electron-auto-updater-1.0.4.tgz","fileCount":9,"unpackedSize":21062,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEV/Fttzmz2k/vEnoX669gExbbX60sWS+71XPig6h+VTAiBgOlbFYO128O9u6YbXPObG1KBTbZ8gQEhiDIRJjwRwYw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjG7MRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpD1A//QQznGpmKktXPOw/HrkJivDrQJGD5CDwcM4Ahakg1XKy1zsae\r\niBJv/MPV/g2Qm/L9/fZlZX+q1E0EQIp5IkxH8mgZ/bf+GWnJGbiLJfimuI3t\r\ncaTIg7nwLnr3+QlWL/xW7zhgJY2XpoaCVAlvrkPKtrRM4ZLhYKHsuwibDo0m\r\nOk0KW1sJwKPkLH5de2ECHw2fardVJBjCl6vwny1XQy4Gx7dLpjPbrlWBjW2f\r\nelRii+VDuIdCml6nhWR223OVqDvby6d3LJ7xAhm84Y+zcvo89ue8GgC8wS2i\r\nCnf4r8SK6EclD03g/jpoMl+xgNeZKl06W4xQQD4/c+ic0pK6WKxc2w3yhuQD\r\njEKHh0y0MBW5+snYPvFL9jYr4Bl1oe3ZLw55e0M4goEUftNsgkxbxqruYZig\r\nr2TDKNY8WkiOIOSiROYBbJwuEXVsH6p4osVAJ3Aj5KcXK6gTGnviF1u6dn2k\r\n+YvD5BN1gZAPKyceWfzaEx5YrYnHBOa8EoAqV9jmHOdayBXQxjXSZ7sq3mzs\r\npaQaBrZboKsqiDBebrGqeDwKPy0m8mR70MSEnxn3sYO7Nvq7A7nXLNAbdLHA\r\n4L3h5xGEquLpHyqq/ktEXlSlc0BoVN865ZZYDT+3QOzameCiCKLNsUKCtela\r\n8+kFhAcjxo+TZbGu8XsQWJuxAc4KOTbA8Sg=\r\n=cQ8z\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"el3um4s","email":"el3um4s@gmail.com"},"directories":{},"maintainers":[{"name":"el3um4s","email":"el3um4s@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/renderer-for-electron-auto-updater_1.0.4_1662759696621_0.8294522948919352"},"_hasShrinkwrap":false},"1.0.5":{"name":"@el3um4s/renderer-for-electron-auto-updater","version":"1.0.5","description":"Allow the renderer to update electron apps","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","lint":"eslint . --ext .ts","test":"jest --config jestconfig.json","prepare":"npm run build","prepublishOnly":"npm test && npm run lint","preversion":"npm run lint","version":"git add -A src","postversion":"git push && git push --tags","check-updates":"npx npm-check-updates","check-updates:minor":"npx npm-check-updates --target minor","check-updates:patch":"npx npm-check-updates --target patch"},"repository":{"type":"git","url":"git+https://github.com/el3um4s/renderer-for-electron-auto-updater.git"},"keywords":["typescript","npm","ts","electron","auto-update","squirrel","electron-builder","msi","distribuition-electron","electron-updater"],"author":{"name":"Samuele C. De Tomasi"},"license":"MIT","funding":[{"type":"patreon","url":"https://www.patreon.com/el3um4s"},{"type":"individual","url":"https://www.paypal.me/el3um4s"}],"bugs":{"url":"https://github.com/el3um4s/renderer-for-electron-auto-updater/issues"},"homepage":"https://github.com/el3um4s/renderer-for-electron-auto-updater#readme","devDependencies":{"@types/jest":"^29.0.0","@types/node":"^18.7.16","@typescript-eslint/eslint-plugin":"^5.36.2","@typescript-eslint/parser":"^5.36.2","ansi-regex":">=6.0.1","eslint":"^8.23.0","eslint-config-prettier":"^8.5.0","eslint-config-standard":"^17.0.0","eslint-plugin-import":"^2.26.0","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^6.0.1","jest":"^29.0.3","ts-jest":"^29.0.0","typescript":"^4.8.3"},"gitHead":"61b690f0d8e17a63be8822fea586444c8a41d173","_id":"@el3um4s/renderer-for-electron-auto-updater@1.0.5","_nodeVersion":"18.3.0","_npmVersion":"8.18.0","dist":{"integrity":"sha512-4jXkyITUNCvBBHXEch1D7R3uRdzR8/q0AOYU6rxn0vybX/zgI7/QO/Q3+JTS2tenA0HebBpDhuk3qXA12CKJEg==","shasum":"13408fc442d231fc263cce572fb1a44d0f7c022c","tarball":"https://registry.npmjs.org/@el3um4s/renderer-for-electron-auto-updater/-/renderer-for-electron-auto-updater-1.0.5.tgz","fileCount":9,"unpackedSize":21063,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAuCWnLrOUwvkR6ko9Jc6oiRDfBRdkDFC8VrEjmT45h3AiEAyT3mnlE4eWSomQ7ZlRV4zBTpu2EKDPCEoOVBqvMyHzk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjHZhIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqzvg/+PmkK2/763ofr7Ry/YI/h5ZKuGrSt/aaFcg9mjLRlYOp/ZOHk\r\npdNE6iTYHMnFhKgO9Uvp5iiiiIWHQaucTxOktxmH5mmfbXEASew7oywfF0Qy\r\ntsKP8psiVxhtDIuIl1ozsqmUJvr6Y1PDSbG4MuttBYlH5Zv5erGehqSpZSdZ\r\nukAH0itQH+juB1Qa71XmuhaWYQ5lTXdJtDtytkJKMCRI2U7ln74259A/8AIk\r\nnEXWmnRJlPSEbiHNjVHYyX6cN808o2/kqDG8p7h2OmPS1zoPDjHabD7uWFmi\r\neVI6NmA4fhEdk1s+QB2j5TQWmocK9QyW2RLXR9fBIjqPhTecdtZpJl9I7TRt\r\n5hwpNfm4PnwD7oYqUn7NONkNBuz3q74gpNP+yvhvfpzZFtu+c2wN8nO6ntu2\r\nPwcK6ox9pfGZkdQBYoA2SMDwRrwQOjRW6aIaNWXia7w2ydy9nCICI5pV4cf8\r\nF7Vhn4XNPmej34qPu44OwS8q46vJRo9tt7IzSd7mD9UWbNXcK/8FQGgFvrUu\r\nLA5oK6hBJ5U4/o5A79GSCxAR31linok8XSmOSUIe0FZ2ZtH6OxxMzhlXYyX9\r\nC3ZsEU+LClGO8mRTxbBgWMst8B3prDX5UWCY289DWrM1/XpOi75KuPypAwxw\r\n7A9ONSsm5RzudGOjdAtguiX3vMP4SjUrgLg=\r\n=h0PB\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"el3um4s","email":"el3um4s@gmail.com"},"directories":{},"maintainers":[{"name":"el3um4s","email":"el3um4s@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/renderer-for-electron-auto-updater_1.0.5_1662883912510_0.2755188688301218"},"_hasShrinkwrap":false}},"time":{"created":"2022-08-21T10:22:59.306Z","0.0.2":"2022-08-21T10:22:59.578Z","modified":"2022-09-11T08:11:52.758Z","0.0.3":"2022-08-21T10:51:58.449Z","0.0.4":"2022-08-21T11:32:53.583Z","1.0.3":"2022-08-21T21:30:26.062Z","1.0.4":"2022-09-09T21:41:37.575Z","1.0.5":"2022-09-11T08:11:52.681Z"},"maintainers":[{"name":"el3um4s","email":"el3um4s@gmail.com"}],"description":"Allow the renderer to update electron apps","homepage":"https://github.com/el3um4s/renderer-for-electron-auto-updater#readme","keywords":["typescript","npm","ts","electron","auto-update","squirrel","electron-builder","msi","distribuition-electron","electron-updater"],"repository":{"type":"git","url":"git+https://github.com/el3um4s/renderer-for-electron-auto-updater.git"},"author":{"name":"Samuele C. De Tomasi"},"bugs":{"url":"https://github.com/el3um4s/renderer-for-electron-auto-updater/issues"},"license":"MIT","readme":"# RENDERER for Electron: Auto Updater\r\n\r\nAllow the renderer to update electron apps via [electron-updater](https://www.npmjs.com/package/electron-updater)\r\n\r\nNPM link: [@el3um4s/renderer-for-electron-auto-updater](https://www.npmjs.com/package/@el3um4s/renderer-for-electron-auto-updater)\r\n\r\nUse [@el3um4s/ipc-for-electron](https://www.npmjs.com/package/@el3um4s/ipc-for-electron) and [@el3um4s/ipc-for-electron-auto-updater](https://www.npmjs.com/package/@el3um4s/ipc-for-electron-auto-updater) to allow communication between Electron and a web page\r\n\r\n### Install and use the package\r\n\r\nTo use the package in a project:\r\n\r\n```bash\r\nnpm i @el3um4s/ipc-for-electron @el3um4s/ipc-for-electron-auto-updater @el3um4s/renderer-for-electron-auto-updater\r\n```\r\n\r\nThen the `preload.ts` file:\r\n\r\n```ts\r\nimport { generateContextBridge } from \"@el3um4s/ipc-for-electron\";\r\nimport autoUpdater from \"@el3um4s/ipc-for-electron-auto-updater\";\r\n\r\nconst listAPI = [autoUpdater];\r\n\r\ngenerateContextBridge(listAPI);\r\n```\r\n\r\nIn main electron file (`index.ts`):\r\n\r\n```ts\r\nimport autoUpdater from \"@el3um4s/ipc-for-electron-auto-updater\";\r\n\r\nautoUpdater.initAutoUpdater(mainWindow);\r\nautoUpdater.checkForUpdates();\r\n\r\n// to start donwloading the update\r\nautoUpdater.startDownloadUpdate();\r\n\r\n// to restart the electron app and install the new version\r\nautoUpdater.quitAndInstall();\r\n```\r\n\r\nIn the renderer file:\r\n\r\n```ts\r\nimport autoUpdater from \"@el3um4s/renderer-for-electron-auto-updater\";\r\n\r\nlet version: string;\r\n\r\nautoUpdater.requestVersionNumber({\r\n  apiKey: \"my-api-key\",\r\n  callback: (data) => {\r\n    version = data.version;\r\n  },\r\n});\r\n\r\nautoUpdater.checkForUpdates({\r\n  apiKey: \"my-api-key\",\r\n  callback: (data) => {\r\n    const { version, releaseName, releaseDate } = data;\r\n    console.log(\"Update available\", version, releaseName, releaseDate);\r\n    autoUpdater.startDownloadUpdate({ apiKey: \"my-api-key\" });\r\n  },\r\n});\r\n\r\nautoUpdater.on.downloadProgress({\r\n  callback: (data) => {\r\n    const { total, delta, transferred, percent, bytesPerSecond } = data;\r\n    console.log(\r\n      \"Download progress\",\r\n      total,\r\n      delta,\r\n      transferred,\r\n      percent,\r\n      bytesPerSecond\r\n    );\r\n  },\r\n});\r\n\r\nautoUpdater.on.updateDownloaded({\r\n  callback: (data) => {\r\n    const { version, releaseName, releaseDate } = data;\r\n    console.log(\"Update downloaded\", version, releaseName, releaseDate);\r\n    autoUpdater.quitAndInstall();\r\n  },\r\n});\r\n```\r\n\r\nIn the renderer you can use:\r\n\r\n```ts\r\nlet version: string;\r\n\r\nglobalThis.api.autoUpdater.send(\"requestVersionNumber\", null);\r\nglobalThis.api.autoUpdater.receive(\"getVersionNumber\", (data) => {\r\n  version = data.version;\r\n});\r\n```\r\n\r\n### API: Electron Side\r\n\r\n- `requestVersionNumber` - Request the version number. The response is sent to the `getVersionNumber` channel\r\n- `checkForUpdates` - Check if an update is available. The response is sent to the `updateAvailable` channel (or via the `updateNotAvailable` channel if no update is available)\r\n- `startDownloadUpdate` - Request to start downloading the update. The response is sent to the `downloadProgress` channel\r\n- `quitAndInstall` - Request to quit and install the update. The response is sent to the `updateDownloaded` channel\r\n\r\nIf an error occurs, the response is sent to the `errorOnAutoUpdate` channel.\r\n\r\n### API: Renderer Side - Request\r\n\r\n`requestVersionNumber = async (options: { callback?: (arg0: VersionNumber) => void; apiKey?: string; }): Promise<VersionNumber>`\r\n\r\nexample:\r\n\r\n```ts\r\nimport autoUpdater from \"@el3um4s/renderer-for-electron-auto-updater\";\r\n\r\nlet version: string;\r\n\r\nautoUpdater.requestVersionNumber({\r\n  apiKey: \"my-api-key\",\r\n  callback: (data) => {\r\n    version = data.version;\r\n  },\r\n});\r\n```\r\n\r\n`checkForUpdates = async (options: { callback?: (arg0: UpdateInfo) => void; apiKey?: string; }): Promise<UpdateInfo>`\r\n\r\nexample:\r\n\r\n```ts\r\nimport autoUpdater from \"@el3um4s/renderer-for-electron-auto-updater\";\r\n\r\nautoUpdater.checkForUpdates({\r\n  callback: (data) => {\r\n    const { version, releaseName, releaseDate } = data;\r\n    console.log(\"Update available\", version, releaseName, releaseDate);\r\n    autoUpdater.startDownloadUpdate({ apiKey: \"my-api-key\" });\r\n  },\r\n});\r\n```\r\n\r\n`startDownloadUpdate = async (options: { apiKey?: string; }): Promise<void>`\r\n\r\nexample:\r\n\r\n```ts\r\nimport autoUpdater from \"@el3um4s/renderer-for-electron-auto-updater\";\r\n\r\nautoUpdater.startDownloadUpdate();\r\n```\r\n\r\n`quitAndInstall = async (options: { apiKey?: string }): Promise<void>`\r\n\r\nexample:\r\n\r\n```ts\r\nimport autoUpdater from \"@el3um4s/renderer-for-electron-auto-updater\";\r\n\r\nautoUpdater.on.updateDownloaded({\r\n  callback: (data) => {\r\n    const { version, releaseName, releaseDate } = data;\r\n    console.log(\"Update downloaded\", version, releaseName, releaseDate);\r\n    autoUpdater.quitAndInstall();\r\n  },\r\n});\r\n```\r\n\r\n### API: Renderer Side - Response\r\n\r\n`on.getVersionNumber = async (options: { callback?: (arg0: VersionNumber) => void; apiKey?: string; }): Promise<VersionNumber>`\r\n\r\nexample:\r\n\r\n```ts\r\nimport autoUpdater from \"@el3um4s/renderer-for-electron-auto-updater\";\r\n\r\nlet version: string;\r\n\r\nautoUpdater.requestVersionNumber();\r\n\r\nautoUpdater.on.getVersionNumber({\r\n  callback: (data) => {\r\n    version = data.version;\r\n    console.log(\"Version number\", version);\r\n  },\r\n});\r\n```\r\n\r\n`on.errorOnAutoUpdate = async (options: { callback?: (arg0: Error) => void; apiKey?: string; }): Promise<Error>`\r\n\r\nexample:\r\n\r\n```ts\r\nimport autoUpdater from \"@el3um4s/renderer-for-electron-auto-updater\";\r\n\r\nautoUpdater.checkForUpdates();\r\n\r\nautoUpdater.on.errorOnAutoUpdate({\r\n  callback: (data) => {\r\n    console.log(\"Error on auto update\");\r\n    console.log(data);\r\n  },\r\n});\r\n```\r\n\r\n`on.checkingForUpdate = async (options: { callback?: () => void; apiKey?: string; }): Promise<void>`\r\n\r\nexample:\r\n\r\n```ts\r\nimport autoUpdater from \"@el3um4s/renderer-for-electron-auto-updater\";\r\n\r\nautoUpdater.checkForUpdates();\r\n\r\nautoUpdater.on.checkingForUpdate({\r\n  callback: () => {\r\n    console.log(\"Checking for update...\");\r\n  },\r\n});\r\n```\r\n\r\n`on.updateAvailable = async (options: { callback?: (arg0: UpdateInfo) => void; apiKey?: string; }): Promise<UpdateInfo>`\r\n\r\nexample:\r\n\r\n```ts\r\nimport autoUpdater from \"@el3um4s/renderer-for-electron-auto-updater\";\r\n\r\nautoUpdater.checkForUpdates();\r\n\r\nautoUpdater.on.updateAvailable({\r\n  callback: (data) => {\r\n    const { version, releaseName, releaseDate } = data;\r\n    console.log(\"Update available\", version, releaseName, releaseDate);\r\n    autoUpdater.startDownloadUpdate();\r\n  },\r\n});\r\n```\r\n\r\n`on.updateNotAvailable = async (options: { callback?: (arg0: UpdateInfo) => void; apiKey?: string; }): Promise<UpdateInfo>`\r\n\r\nexample:\r\n\r\n```ts\r\nimport autoUpdater from \"@el3um4s/renderer-for-electron-auto-updater\";\r\n\r\nautoUpdater.checkForUpdates();\r\n\r\nautoUpdater.on.updateNotAvailable({\r\n  callback: (data) => {\r\n    console.log(\"Update not available\", data);\r\n  },\r\n});\r\n```\r\n\r\n`on.downloadProgress = async (options: { callback?: (arg0: ProgressInfo) => void; apiKey?: string; }): Promise<ProgressInfo>`\r\n\r\nexample:\r\n\r\n```ts\r\nimport autoUpdater from \"@el3um4s/renderer-for-electron-auto-updater\";\r\n\r\nautoUpdater.checkForUpdates();\r\n\r\nautoUpdater.on.downloadProgress({\r\n  callback: (data) => {\r\n    const { total, delta, transferred, percent, bytesPerSecond } = data;\r\n    console.log(\r\n      \"Download progress\",\r\n      total,\r\n      delta,\r\n      transferred,\r\n      percent,\r\n      bytesPerSecond\r\n    );\r\n  },\r\n});\r\n```\r\n\r\n`on.updateDownloaded = async (options: { callback?: (arg0: UpdateDownloadedEvent) => void; apiKey?: string; }): Promise<UpdateDownloadedEvent>`\r\n\r\nexample:\r\n\r\n```ts\r\nimport autoUpdater from \"@el3um4s/renderer-for-electron-auto-updater\";\r\n\r\nautoUpdater.checkForUpdates();\r\n\r\nautoUpdater.on.updateDownloaded({\r\n  callback: (data) => {\r\n    const { version, releaseName, releaseDate } = data;\r\n    console.log(\"Update downloaded\", version, releaseName, releaseDate);\r\n    autoUpdater.quitAndInstall();\r\n  },\r\n});\r\n```\r\n\r\n### Types\r\n\r\n**VersionNumber**\r\n\r\n```ts\r\ninterface VersionNumber {\r\n  version: string;\r\n}\r\n```\r\n\r\n**UpdateInfo**\r\n\r\n```ts\r\ninterface UpdateInfo {\r\n  version: string;\r\n  releaseName: string | undefined;\r\n  releaseDate: string;\r\n}\r\n```\r\n\r\n**UpdateDownloadedEvent**\r\n\r\n```ts\r\ninterface UpdateDownloadedEvent extends UpdateInfo {\r\n  downloadedFile: string;\r\n}\r\n```\r\n\r\n**ProgressInfo**\r\n\r\n```ts\r\ninterface ProgressInfo {\r\n  total: number;\r\n  delta: number;\r\n  transferred: number;\r\n  percent: number;\r\n  bytesPerSecond: number;\r\n}\r\n```\r\n\r\n**DefaultApiKey**\r\n\r\n```ts\r\ntype DefaultApiKey = \"ipc\";\r\n```\r\n","readmeFilename":"README.md"}