{"_id":"@grammyjs/transformer-throttler","_rev":"23-030111a2f583170b2231af56b179cc94","name":"@grammyjs/transformer-throttler","dist-tags":{"latest":"1.2.1"},"versions":{"0.1.8":{"name":"@grammyjs/transformer-throttler","version":"0.1.8","keywords":["bot","grammy","throttler","transformer"],"author":{"name":"KnightNiwrem"},"license":"MIT","_id":"@grammyjs/transformer-throttler@0.1.8","maintainers":[{"name":"knightniwrem","email":"npm@knightniwrem.com"},{"name":"tecardo","email":"heeroo@hey.com"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"},{"name":"knorpelsenf","email":"shtrog@gmail.com"}],"homepage":"https://github.com/grammyjs/transformer-throttler","bugs":{"url":"https://github.com/grammyjs/transformer-throttler/issues"},"dist":{"shasum":"412fb6eb13126a85d56e12eca254c7945d847097","tarball":"https://registry.npmjs.org/@grammyjs/transformer-throttler/-/transformer-throttler-0.1.8.tgz","fileCount":11,"integrity":"sha512-+feiPrZx4no+tB1SESFAsZJUarf/IX4x8+HCQu0hMRBA/aULxMpO85b958V5xT7URsSM36WEQFh4d+6FOy1pqg==","signatures":[{"sig":"MEUCIQDjQ85jKoZm6UCAaToZFIpKaDN3xBM+vTrJV1B9x7efSgIgMGKxAMGI2JxJ7QEhDBO9XDGMjMirXYRRbZIWsRDSWGM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10375,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgn/xrCRA9TVsSAnZWagAAyu0P/1WIaHkjFzxPkOuwGMDD\n58ILKXTiBAqow38GrxS/ZnPiTYwReqwVXiHUKUboqAO0LH1NskQV3Hqp2hwL\nzfYc9Dl6I8J5nQmPZAxZGVhDV0vq7h1UaVyWpIRZhno7CLpSCDwLRggkDGUU\nGXHFwdfuLPa0n2Iir/Jl9CFgZLuHsZvL3hCox6PaCPwiu9nR5t7YMUv63rxD\n5PTarEHHE4gdlznmtLTljQ73nk01Qiq7Vbrke74eVGIj4q9QxGp2KN0zDec0\nb4gvBZgRt9hQAjvTY9aZsP1sKUQPcUCNNASZhh0lJhWxGrIFCanm3YfQiVtP\nVul13MIoRkQyqfR4OxfsXGGnYewEHYcurxD7k4+kjXUwKCSTt5x83OZwmaQd\nGMuquMvVP3/1W6EMjKB6kBNOvzc651+T1huRAFHRQQyBc8zbRW7XQCpm0UHv\nVBPD109T0zhDIz/AUqSs/X6O9DfdBExTDvz66yOEdIN3uRTIIMaxIbYV3MQP\nchnr209jBm/uQpd3NqMhWYMP4ceF2vB3NWOwbO8+YhGKjAPlkpkeRbd2NBVk\nQpThXzDLRqtZ0Z8xPue94h0IW6PiRAUFtmswlwYbOGrqPaqr32um7eGgDqz8\nPspwQO7ymNWg7iQF3nMVoZL/cJ1LhKxZzMSQNu527l1vLcCxVmf+1Q9cRO5s\nvXXd\r\n=j8V3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/mod.js","types":"dist/mod.d.ts","engines":{"node":"^12.20.0 || >=14.13.1"},"scripts":{"build":"deno2node tsconfig.json"},"_npmUser":{"name":"knightniwrem","email":"npm@knightniwrem.com"},"repository":{"url":"git+https://github.com/grammyjs/transformer-throttler.git","type":"git"},"description":"Throttling transformer for Grammy","directories":{},"dependencies":{"bottleneck":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"grammy":"^1.0.0","deno2node":"^0.5.0","@types/debug":"^4.1.5","@tsconfig/node12":"^1.0.7","@types/node-fetch":"^2.5.10"},"peerDependencies":{"grammy":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/transformer-throttler_0.1.8_1621097578979_0.2498175819887145","host":"s3://npm-registry-packages"}},"0.1.9":{"name":"@grammyjs/transformer-throttler","version":"0.1.9","keywords":["bot","grammy","throttler","transformer"],"author":{"name":"KnightNiwrem"},"license":"MIT","_id":"@grammyjs/transformer-throttler@0.1.9","maintainers":[{"name":"knightniwrem","email":"npm@knightniwrem.com"},{"name":"tecardo","email":"heeroo@hey.com"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"},{"name":"knorpelsenf","email":"shtrog@gmail.com"}],"homepage":"https://github.com/grammyjs/transformer-throttler","bugs":{"url":"https://github.com/grammyjs/transformer-throttler/issues"},"dist":{"shasum":"56a9802fdc2801f07c14fe10f236f2cbb2c68d37","tarball":"https://registry.npmjs.org/@grammyjs/transformer-throttler/-/transformer-throttler-0.1.9.tgz","fileCount":8,"integrity":"sha512-9JgT2KRYMuwzLrhQr/Se2/Ci4m31FSXSJbWZ0e6NGIP2yUOqEM7j1Pn7uNNH5ustaJ9o4OZLVmB/HDUmKF2ONA==","signatures":[{"sig":"MEQCIF1Up+tBUsX8gNooQUhLs4XJoF6JDTG9rDqfYaHehO10AiBL6MVRd165f3Lr8TVX/f7HbpSQSLz5dN7wsMtE6XuUMA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6682,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgn/+zCRA9TVsSAnZWagAANQkP/jsHTDsC2kv6EFa1R+zG\nbQVW4zp8TE9JGaKtZ4RgguOpVl1I3p8ofwiQhRQ6n5Tca9v6+9bHAgJ7OMRi\nBYR6VyvM+vVi7L0edzuzbwZiBJ3hTtxJ/Q3Zk/5W0zb2dK9yhmlYbMPsFkrM\nTWdc02UOR0u83B+lEOpgWQp7cupe4aDZAjQKr6q93Pj9rWNszXz2UxNO/XH/\nM4jmAR1EpChYYxgGccOh9e7J+oljNsGi5UqDDeEq75BBed3NKebMnL8kGzMz\nKbkXQE15HdFcMaYqMPEPP1GQybiVtSII1NZXIyRDhha+JhTQvASRa56AakkW\n2PFLPSTnD6d2Fe+/fJ5c4kFeZHBGjnU0S+0JriLGRX23tL+iO/l4Fx/ekKac\nIu37/ZcipEd3wjRvvdl99jwH2N1Vk3d/M/D6sE4WDO4Qm5z+PTv2ZrjHhBm4\nVPnRzNHp0fMbk4Rgbmiply94y0ypozWhaGBnnWOuWeboUEQKf5VXDHtpocTd\n+CAK1FGXrLjMkhTwRsofaF8GUhRA8H5ffDVMqS8cpPBVCIfpPdQWVVfRVToc\nVfHgvQ1zu/AWOCfKhGn3PfWcmyUUK9+Y8lJFsaQ++WUO9G0EUg4qzsTlfTed\nOLA5lerZ2LL9Pa2zdkXfyrYtAjCTQViHQ4qDiDGlQ3ZVz/mGOja1yVZefpG3\nVv4C\r\n=97CE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/mod.js","types":"dist/mod.d.ts","engines":{"node":"^12.20.0 || >=14.13.1"},"scripts":{"build":"deno2node tsconfig.json"},"_npmUser":{"name":"knightniwrem","email":"npm@knightniwrem.com"},"repository":{"url":"git+https://github.com/grammyjs/transformer-throttler.git","type":"git"},"description":"Throttling transformer for Grammy","directories":{},"dependencies":{"bottleneck":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"grammy":"^1.0.0","deno2node":"^0.5.0","@types/debug":"^4.1.5","@tsconfig/node12":"^1.0.7","@types/node-fetch":"^2.5.10"},"peerDependencies":{"grammy":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/transformer-throttler_0.1.9_1621098418866_0.7185884397874431","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"@grammyjs/transformer-throttler","version":"1.0.0","keywords":["bot","grammy","throttler","transformer"],"author":{"name":"KnightNiwrem"},"license":"MIT","_id":"@grammyjs/transformer-throttler@1.0.0","maintainers":[{"name":"knightniwrem","email":"npm@knightniwrem.com"},{"name":"tecardo","email":"heeroo@hey.com"},{"name":"wojpawlik","email":"woj.pawlik@gmail.com"},{"name":"knorpelsenf","email":"shtrog@gmail.com"}],"homepage":"https://github.com/grammyjs/transformer-throttler","bugs":{"url":"https://github.com/grammyjs/transformer-throttler/issues"},"dist":{"shasum":"395c585dc664e9b5a528def6264ba667364b29b3","tarball":"https://registry.npmjs.org/@grammyjs/transformer-throttler/-/transformer-throttler-1.0.0.tgz","fileCount":8,"integrity":"sha512-62UPOqYolc/STrGm7ot3X8uHx9MLTip7US0Gk1dcI3yrGO1K7saaWtDdPfiyK4AiAqLXmhXS+CuFEpWy6CMmDw==","signatures":[{"sig":"MEUCIEtO7joxYJNk0lRHGtqJb5D/eVBCd8bvJ9db+Ne4wHftAiEA9+LaGvNZm4WsaF446zGQ4EDHicyqZHDNZNFAGnEvGS4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6682,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgsamCCRA9TVsSAnZWagAAN08P/2CedXH+CU205M00Bx2e\nrJrrQ/AL08WTlqe5hywc5DxdVmRkSEuRdV/DXYT8iHyAqHhEiK+KS4dmz0aX\nbjMUMGIumQQAKmVgyvRVFQYC6kzGuhOOIp5bIcUJxT3ZCHeOX85zTdZvxOvR\ni8+XOd5jrRRhgdKmsyPeo4Bhubh6lEKxu4iiEGBhlbxa2G5KkqQI4fijJ/nj\nNYAiGRhZcmaJURFVaAmTP9FLNj6wz6AV35OuNNPkmhwYuCry1JP0SzZZ0oCa\n5G7/a+4BtYFMIZWymi1ROCwhGGHJHR783RljEJv2yhbE6aO7hfFx1WZyK7da\nEsxtpXRaJq+1WETlkTuHJ+dcJOhYDgchlRFsCwE+qJt9cfHTvCa95gqHf8hE\n6n9/zRtdxKCDrJ8NteRJpS6uGwAhxv08tpHuGP3HpHQQJhNo3fKCe9rJTQoI\nwSYiMIFBbIa46tvLsFkRk7Fnht/mmgKJfmikRui0aflOfXZUIrf/0VmH+v5C\nOWHFsSNrvfJg5FXbz6zBPXULB6r0vZ3bHqX2ReYZjIyOQ5XWHO0ONyvoBFs+\nJM/UMZPA8DmCrq9Sztp/ySy9mP1uTTe4/vaSCuYdnrqG7Hdl/coZ7QRsqzlk\nVW+zIDea0ZBKzixul+PH67bCgcnCsGQi9EBFRuJ8Vkk02VqpJ1LgH2ienE/C\nxZ7z\r\n=GJVi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/mod.js","types":"dist/mod.d.ts","engines":{"node":"^12.20.0 || >=14.13.1"},"scripts":{"build":"deno2node tsconfig.json"},"_npmUser":{"name":"knightniwrem","email":"npm@knightniwrem.com"},"repository":{"url":"git+https://github.com/grammyjs/transformer-throttler.git","type":"git"},"description":"Throttling transformer for Grammy","directories":{},"dependencies":{"bottleneck":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"grammy":"^1.0.0","deno2node":"^0.5.0","@types/debug":"^4.1.5","@tsconfig/node12":"^1.0.7","@types/node-fetch":"^2.5.10"},"peerDependencies":{"grammy":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/transformer-throttler_1.0.0_1622256001521_0.43932417223149445","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@grammyjs/transformer-throttler","version":"1.0.1","keywords":["bot","grammy","throttler","transformer"],"author":{"name":"KnightNiwrem"},"license":"MIT","_id":"@grammyjs/transformer-throttler@1.0.1","maintainers":[{"name":"knorpelsenf","email":"shtrog@gmail.com"},{"name":"knightniwrem","email":"npm@knightniwrem.com"}],"homepage":"https://github.com/grammyjs/transformer-throttler","bugs":{"url":"https://github.com/grammyjs/transformer-throttler/issues"},"dist":{"shasum":"8ffcc652c871294e1e31292dfb2e1d4c155a7e36","tarball":"https://registry.npmjs.org/@grammyjs/transformer-throttler/-/transformer-throttler-1.0.1.tgz","fileCount":6,"integrity":"sha512-zDAwRRzlzPx6ZwrzbAwmi1dnduKOd3TNV71HxV9AqM7MDqG4tzzkKSBENlOCAN5aNBTrIL3eYIanfUZXFvJ5nA==","signatures":[{"sig":"MEUCIFtlaG2rbMTavSBNiQERVbzcUIYHcUAceCjgJBTKIbCyAiEAzha9vLFgFoG4KliAF3od/sgGejtR1/+aPsUsYvko3Sw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6690,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhNde2CRA9TVsSAnZWagAAINgP/1QCdROK2tvdUMGI/lfe\n03YEuNDmiBJOFkOfL4reGZ8F18BKP0Ajyp0DYK6wJ8tBQWDLRD7cg33BiKII\nRVt3OlYRjRUXs/spKBxxGYrGfbFiIMISS6apUhDQYhlRefDG5jDN5Dt62RgB\n7SCglIoeWAXI7kYE7rLPu20Y7Kriol+y90lwlzRnWc0kvyA4Ut96PEjXtwWK\nEtZKwmvpAqEJIoUMdY0y4QvCd2pruCs+kte5dron3YFv34DfnjSE/Ou/hQL+\nQ7wBB7cZB5VWLDF87xxRtK7969uvdTqACU8pDBNz6mPcw0m5j4SA5XH7jJMZ\nHE25EuT2BHir3XzdqGZ4eJWV1klpPm6Z8RjyNmgLSk3oJfbz15Tu0S5Ysfj8\nnp5E7EwgMDIOwKI3i6kRXx9Z9MfZTFC5blhNaA7fMtlQ14jOvgZ/1utNOZOA\n6dgrce5Ml1CxpOsstfm6TMXI1nFrTGsae0TXu7lYyx6x88oYwe49svUHnZ0d\nLs675KjPchs3MVBTPfdKQRa8wHiKInYA8UmcsgsVaxu/Dc6ZQfd7NJlqCiQK\nfK3rLjJK1jhzMoWvOod2xsdbjShdkeXxLSMeaLbNbgCokGTZsOzqQEjAufMA\nbmevgyirdCntgbDGogEtSuM3IONSQPakAgTmvsQBfe5BsmY6ThV2YhQEAzWz\n7WDM\r\n=805f\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/mod.js","types":"dist/mod.d.ts","engines":{"node":"^12.20.0 || >=14.13.1"},"gitHead":"53df29386ebb3cd36db30a0cfa936d9dcbbdc9f1","scripts":{"build":"deno2node tsconfig.json"},"_npmUser":{"name":"knorpelsenf","email":"shtrog@gmail.com"},"repository":{"url":"git+https://github.com/grammyjs/transformer-throttler.git","type":"git"},"_npmVersion":"7.20.3","description":"Throttling transformer for Grammy","directories":{},"_nodeVersion":"16.2.0","dependencies":{"bottleneck":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"grammy":"^1.0.0","deno2node":"^0.5.0","@types/debug":"^4.1.5","@tsconfig/node12":"^1.0.7","@types/node-fetch":"^2.5.10"},"peerDependencies":{"grammy":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/transformer-throttler_1.0.1_1630918581905_0.9786085997605536","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@grammyjs/transformer-throttler","version":"1.1.0","keywords":["bot","grammy","throttler","transformer"],"author":{"name":"KnightNiwrem"},"license":"MIT","_id":"@grammyjs/transformer-throttler@1.1.0","maintainers":[{"name":"knorpelsenf","email":"shtrog@gmail.com"},{"name":"knightniwrem","email":"npm@knightniwrem.com"}],"homepage":"https://github.com/grammyjs/transformer-throttler","bugs":{"url":"https://github.com/grammyjs/transformer-throttler/issues"},"dist":{"shasum":"8e73fca0a090cb1a181e123d2d2ae3a88a82c8dc","tarball":"https://registry.npmjs.org/@grammyjs/transformer-throttler/-/transformer-throttler-1.1.0.tgz","fileCount":3,"integrity":"sha512-KaZTWIEljZhxb31N6XiddGm7AOsrEaywoPxL1iMM6v3Z/TQjg3UsBE6rWajql0qKTHmIZvCZagr+It6kcn7bBQ==","signatures":[{"sig":"MEUCIHjAW4QgqSX5uozQPEG8kgGPIrnjxHJ2mzhPs1KsFl01AiEA0GWBc4HUPIAOQAIbIEvc7KVFVgBypC8E/cGCTq44FcQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3706,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh48LmCRA9TVsSAnZWagAASgIP/iGVQ3k9Rq6gjavb5Qa0\nMlxWHCEMw4UwRuKW/HRQ3EPfYUEURyHCPsvvtLTtaSBpDLCdQqTbwo75s3fl\nD/btP0wuHNln2y/U04q8Fg66+/KxlU91NDT7I1lFKqhFbIbCHC8ummnksJmG\nWcegMgJgxRfIW1dMFx3kdwi+VOEKhjE77q1PFoJTU06v7V92fdm6IupdV2cL\nRX8M/hn4wFUHoZfI8Fq2RWVYCktaBNGLPkhtG2nn/u3GLvXBx0FAFleE/PWJ\nRilIPa9LBZep6nbmf0jJXFFZUCzzjQYq4nlwRkDlFOz30QbxpJX0u/LjtHXU\nNqDhrf83eM0n9x/fot8UDxE4f5StoC7tzrfJSFk9zo+YAHsgTuHxXmDAyYdU\n5P588jsA3pjrAPFYUyOg7WGXeoueh/KrLOw2GU93fn9lKXRiXc8B2AlajLpn\nE/EV6GXLdlNmSuiJpv1JciWBrpmdBb2el92PrPgUaocw1vPnFeaazQJ3JQ3v\n6rCAnRFB6tqYc6ke3K+RDoE/6Ce/UaChkif27HZkv2TdmaTVZ8l6PwFuoK9x\nSl66EqG4+6kUEcQieVr/NplGw9Md9kbB1waa5BFdSGRZprVslmIMHAzzkRGh\nz/arQwfyFgiCTHuRaExh5cdJ/Ox2jLfSGQB8zLrhGdovuY/5X7iSaoVxe/PF\nFcY+\r\n=BbaK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/mod.js","types":"dist/mod.d.ts","engines":{"node":"^12.20.0 || >=14.13.1"},"scripts":{"build":"deno2node tsconfig.json"},"_npmUser":{"name":"knightniwrem","email":"npm@knightniwrem.com"},"repository":{"url":"git+https://github.com/grammyjs/transformer-throttler.git","type":"git"},"description":"Throttling transformer for Grammy","directories":{},"dependencies":{"bottleneck":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"grammy":"^1.0.0","deno2node":"^0.5.0","@types/debug":"^4.1.5","@tsconfig/node12":"^1.0.7","@types/node-fetch":"^2.5.10"},"peerDependencies":{"grammy":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/transformer-throttler_1.1.0_1642316518099_0.7913054899447389","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"@grammyjs/transformer-throttler","version":"1.1.1","keywords":["bot","grammy","throttler","transformer"],"author":{"name":"KnightNiwrem"},"license":"MIT","_id":"@grammyjs/transformer-throttler@1.1.1","maintainers":[{"name":"knorpelsenf","email":"shtrog@gmail.com"},{"name":"knightniwrem","email":"npm@knightniwrem.com"}],"homepage":"https://github.com/grammyjs/transformer-throttler","bugs":{"url":"https://github.com/grammyjs/transformer-throttler/issues"},"dist":{"shasum":"fdeca7f05fe8f5b09f04da23ebe5d2ebb56257ff","tarball":"https://registry.npmjs.org/@grammyjs/transformer-throttler/-/transformer-throttler-1.1.1.tgz","fileCount":8,"integrity":"sha512-VxSLQlrrxoy+EyR+gZwE5fMAoXVMl+u3gGfAD4acvRy0xQxzRP92L7kcUB/inri3h/pGJ5CA4cLOhsL7q4xNww==","signatures":[{"sig":"MEUCIGl1WCgThdDHgbFheKjvY2ShJM3mD9F9eo7LYEZ29lf1AiEAwobfT2fAJyoDb1+74wORKzw8kTUmQdqe+5ZmW0DChOE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6714,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh48V9CRA9TVsSAnZWagAA2aAP/jKDSsGZCDiSIHNHTre/\njJHZRob8ibhxhI9DKm3QKLo2osuExFAqIxNh8mUxc62zVv2bDLDQ0r5nJk7c\nC2h6LiXq11Hv9DS7eD49bHUHl9Ka/PiKdBAOLD4PZpVACuFqTI9FJlOWZR7J\nS80v13darIOzGzw9WwHVE0aMfzhjfFYxjbi085jin56/PACrfO5CTeRy6ESa\ntrZ8fT8AmoW7KHDErWU4sjauUnqCa294lcG6vXn8IstiUhGLZy67NmTeiXRc\nUShOb4JIYMjHOohLnZPojipGPdkdQHIYlRM7EbdwN8+Ub0SbLIdeLum881Ik\nZcswPpiQQLgBrjovWCSnZbgx6QNlURsOBbZ9kEIuURv1zDD3ISvoxsSji2Qh\ngVuJBAUYVx1kgYpxffi6XZoW6/3u2CV0NTzGECdU+fcKVF77DutgJxe/y3uF\n1DmlIXhrwt4KmPw1zB1MDO1laReq7WFSf/TEQ6QRgi7cS106nx26grexUoS1\nMyV2VeueKIQ5QY1LlgCucsc6GHDEgKzEkfGAo0AocoM+V5ew+It0ROqQY8zN\nN4sOaoq+7zrTV8UKRiPtc19eylDgmaVvirCbfSGKaXUxDpWk34kIikLj3m1D\nhj0Sk6HZusEi2uu5MiuKUsjL6bGmYdnE2vNwZNbvp2ahIdZOqU15D4PyF7xd\n56BS\r\n=zofV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/mod.js","types":"dist/mod.d.ts","engines":{"node":"^12.20.0 || >=14.13.1"},"scripts":{"build":"deno2node tsconfig.json"},"_npmUser":{"name":"knightniwrem","email":"npm@knightniwrem.com"},"repository":{"url":"git+https://github.com/grammyjs/transformer-throttler.git","type":"git"},"description":"Throttling transformer for Grammy","directories":{},"dependencies":{"bottleneck":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"grammy":"^1.0.0","deno2node":"^1.0.0","@types/debug":"^4.1.5","@tsconfig/node12":"^1.0.7","@types/node-fetch":"^2.5.10"},"peerDependencies":{"grammy":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/transformer-throttler_1.1.1_1642317181252_0.6837864702787573","host":"s3://npm-registry-packages"}},"1.1.2":{"name":"@grammyjs/transformer-throttler","version":"1.1.2","keywords":["bot","grammy","throttler","transformer"],"author":{"name":"KnightNiwrem"},"license":"MIT","_id":"@grammyjs/transformer-throttler@1.1.2","maintainers":[{"name":"knorpelsenf","email":"shtrog@gmail.com"},{"name":"knightniwrem","email":"npm@knightniwrem.com"}],"homepage":"https://github.com/grammyjs/transformer-throttler","bugs":{"url":"https://github.com/grammyjs/transformer-throttler/issues"},"dist":{"shasum":"c3e61501f7811d37abf8095713fde6f7f52f69bc","tarball":"https://registry.npmjs.org/@grammyjs/transformer-throttler/-/transformer-throttler-1.1.2.tgz","fileCount":8,"integrity":"sha512-BcDSa8hiMWIddAmI0cQe/RCoT0zF1UKevbV5zKSyDMH9xoSUWyF725LLmD6ivy52oeHRh8dPysThqlJn8PtHdQ==","signatures":[{"sig":"MEYCIQC3yWu44iQ7XziPAkzMSVuqA4QFbSuZ2JLr8s9zkKJIAgIhALp53/CfiozMe4Vfb5zdNiusVIi0CQOIxb2KDHs898W+","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6867,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiT47pACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrilA/+LcNTOPjymLNTkvovtfQ9gUUr+86B8+NamjWrniccPcLEkQGE\r\nqHvw5YvYoA8t/RBwpfUqhrdHI7hOVehQTnn4E/QjqOoR3uYnf2IbBNKvJIKK\r\nyThiD01n33wjblB3ni2BviUbFK7V7u4pNjncHhfOtAj90FHwlSmgmLc0jrWs\r\nbdK+WCnQAOj/GxYOp/30x3KWAHNk8bwOrPZDtgkj5FLtwoN/OAVdeGqmNZSq\r\nSVhghGYi3esxOR6eAi3fVpaAU2fTstxHBZbadvgF3jG8H/eLtCzNDIxydtPE\r\nfBWZS4AE2i2xkGVHldM6QMMsFNZRLGHpQZf/VfQcjncptR2QNDIZoY2qIQup\r\nbK2zWdmtVy5EQGK+3DDDVkNAHO2OlvTRQA5lRBPpWtmxOtvatH63MCjwrVyt\r\nrG9AjTxWggMaolv2rfY5U/RMpT6NoLlshn0TR9fDcfx7PLL/L/XpQRwg3lh5\r\nP5LRMR+op2MsaLGaMDDfn3BhLDsQVT2jXWBS/dMJ3teayefZ9Fa/rBkpaUf/\r\nqnqTYPDR3h1h55u1vwRcYO73P6ucKptVb8J4+9Rqnlv+7zlaoJlzMkxgNr88\r\nJd0PhjrS4TWSaQ7R2WHCyjYPcj4RG5ikcDEP/rOLD1vwZ6GumoQKksfRfp99\r\nh1F+nausFgIIlHmSC4Q6IQn0XTdFCx7U2t0=\r\n=GYfk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/mod.js","types":"dist/mod.d.ts","engines":{"node":"^12.20.0 || >=14.13.1"},"scripts":{"build":"deno2node tsconfig.json"},"_npmUser":{"name":"knightniwrem","email":"npm@knightniwrem.com"},"repository":{"url":"git+https://github.com/grammyjs/transformer-throttler.git","type":"git"},"description":"Throttling transformer for Grammy","directories":{},"dependencies":{"bottleneck":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"grammy":"^1.0.0","deno2node":"^1.0.0","@types/debug":"^4.1.5","@tsconfig/node12":"^1.0.7","@types/node-fetch":"^2.5.10"},"peerDependencies":{"grammy":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/transformer-throttler_1.1.2_1649381097511_0.39222994929236843","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"@grammyjs/transformer-throttler","version":"1.2.0","keywords":["bot","grammy","throttler","transformer"],"author":{"name":"KnightNiwrem"},"license":"MIT","_id":"@grammyjs/transformer-throttler@1.2.0","maintainers":[{"name":"knorpelsenf","email":"shtrog@gmail.com"},{"name":"knightniwrem","email":"npm@knightniwrem.com"}],"homepage":"https://github.com/grammyjs/transformer-throttler","bugs":{"url":"https://github.com/grammyjs/transformer-throttler/issues"},"dist":{"shasum":"7bd63feabfd2ab749b742047d1b90d9979458bc7","tarball":"https://registry.npmjs.org/@grammyjs/transformer-throttler/-/transformer-throttler-1.2.0.tgz","fileCount":9,"integrity":"sha512-1RWZ4EkXxqh4ZNOW/2Nh0x/l7jeFjfh7UqvSDlCtAOmfSAq+b+smDBdEqmtQy01WgAtQoouQGUuhlumX4FvAPg==","signatures":[{"sig":"MEUCIB7Bk0OMqu1zpGsZI5ksIFevX8ReQyagSIwyKzPLUIO4AiEAvKE2OqYDuiZwd2V3OFDj4yRL+y8zWXRQny418cWsZv0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8827,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjcKodACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr3kxAAibCCPlW+2ctBu0K0avLpTTQ58vfXVZV1kbJGj4E51ZQfNlWx\r\nb9ugFvj9gHYXK5AwL3L6aYVBdi4mLZSw8fx7jcQqq6ZKgxeVVhgllzi3i9el\r\nGi2Svc62TSJ6t3H2F/XPnwWbLPX7/eoPABs7Q4hMLouhaALFo09Cgr+aPN7I\r\nlxwMcBZ9tbeKmeFCdoFXGPi37nqCxaos7b8WI6b/C6QuahcvR2z3DT8KXAeg\r\nZVHNXldOa3PNeer754zyRW53CZyEKklHFKNSz/MgaOrlOhfgSfGKXG/RYmLv\r\nl1MOL3VxuV6zcakKFwpwtEg0BiOck8j474kNcW/T2J9Q9olmQR4hPxhLWGB3\r\nWgv7dQejT3NcUeEN+Bp6UxD1YQKlS58Vt/ZWOMUgoJnd0XqX+XeP7RtzAMm+\r\naE+WI9Sf+XbgR1SQgljv+d73lQROjUTHBIOiQGsT4BG0BOy/cs0+JBs+lWqz\r\nVZienD4Uzyw02Ns/ObgaI3ZYghuecCcMLNfiqyEc8VzeQE/Lr9pJNrZ5rYz2\r\nx8Lw7lE8yzHA3teozev8kECqwEV52YE4jIA3Iq65hUE2SOqOtTpw791T7m4r\r\nmu/El5NAoAKoL7XJ7ItUwwX2y1VDKsSUvFK4h4EzhnbHoH9IE/Yan74rUPCW\r\ng5YyDr+lmKI7bV7TNyByZYAyJOjxoMnYUd8=\r\n=JFkZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/mod.js","types":"dist/mod.d.ts","engines":{"node":"^12.20.0 || >=14.13.1"},"scripts":{"build":"deno2node tsconfig.json"},"_npmUser":{"name":"knightniwrem","email":"npm@knightniwrem.com"},"repository":{"url":"git+https://github.com/grammyjs/transformer-throttler.git","type":"git"},"description":"Throttling transformer for Grammy","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2022 grammyjs\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","dependencies":{"bottleneck":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"grammy":"^1.0.0","deno2node":"^1.0.0","@types/debug":"^4.1.5","@tsconfig/node12":"^1.0.7","@types/node-fetch":"^2.5.10"},"peerDependencies":{"grammy":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/transformer-throttler_1.2.0_1668327965049_0.37924131538098593","host":"s3://npm-registry-packages"}},"1.2.1":{"name":"@grammyjs/transformer-throttler","version":"1.2.1","keywords":["bot","grammy","throttler","transformer"],"author":{"name":"KnightNiwrem"},"license":"MIT","_id":"@grammyjs/transformer-throttler@1.2.1","maintainers":[{"name":"knorpelsenf","email":"shtrog@gmail.com"},{"name":"knightniwrem","email":"npm@knightniwrem.com"}],"homepage":"https://github.com/grammyjs/transformer-throttler","bugs":{"url":"https://github.com/grammyjs/transformer-throttler/issues"},"dist":{"shasum":"250b93ea8d15158dac5fb8482cba300aa24666f1","tarball":"https://registry.npmjs.org/@grammyjs/transformer-throttler/-/transformer-throttler-1.2.1.tgz","fileCount":9,"integrity":"sha512-CpWB0F3rJdUiKsq7826QhQsxbZi4wqfz1ccKX+fr+AOC+o8K7ZvS+wqX0suSu1QCsyUq2MDpNiKhyL2ZOJUS4w==","signatures":[{"sig":"MEUCIQD0PIBeAQqRrh2qv0gWW7ZhhErHweZyES1hLCvguIbPxQIgfhuf17IO7HVl8ZvJ9CTZRzxfscph6jE22djH0EgxF8U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8812,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjcP5gACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpzfRAAi5b3UjkA6G6exiFZWaOpkqb3X2FguvRe/z9QMthfLIYEuD33\r\nHmUSNrgtqShkMSOtqQB27Wqz1kz7eFb2m9hSskqJN6Va4ESHXythdd6yxRN0\r\n72dDPrcHeaQ+hkUPxslWaGkOtA7/fmOPDO7qc2W+CIIjlFJmxD7zOxNZv2oF\r\n/Ji4HTnqwmlaoFzg6hOYT4KHRj8RQODWdGS5UiodFNkrmW4BWN0f9cdU2vGx\r\nPQHfx3fgYMDj+2JIWPAIycw4EzJwDDTEq4/EdRw+u8CETBKLcmcaJzOyxW6d\r\nBujZz7BGMC+U35xfuB5aNMlDgWbkTa4kxE+tCrilaJhoisb1CdOfXvCNQ9SZ\r\nWnXtrXtdElwF/8oHzRHkH6oWY/V+TGJlrd+KlAFJU6rlwHZBCjtiQD8ur6or\r\ngEkvdUKhMEOCvnEL8KyNRMa82JYC1ve4QnzgP+IY+qUklZphrCky9eHVEQ8V\r\nM6BSt/ZsdAaxGc4lyeHAa5etJyam9xy0Dhv02vFDzAFu53tnSb4D8OkyTs7S\r\n6k/e0slbjhLvrsoCI1mzCpXzMJDiNmN+VoT1Q66Ym5kq7oGS8bEaCb/zrH/Z\r\nXjcjI3bM5Hsy1hWXkke+YF67AQrcLnQTEav9miptVxeEg1IiSbyNMHORa9nU\r\nx4rQJ7H6Xma9eZ6dJOW7BtMhMdLvIplGXHc=\r\n=XFn9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/mod.js","types":"dist/mod.d.ts","engines":{"node":"^12.20.0 || >=14.13.1"},"scripts":{"build":"deno2node tsconfig.json"},"_npmUser":{"name":"knightniwrem","email":"npm@knightniwrem.com"},"repository":{"url":"git+https://github.com/grammyjs/transformer-throttler.git","type":"git"},"description":"Throttling transformer for Grammy","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2022 grammyjs\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","dependencies":{"bottleneck":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"grammy":"^1.0.0","deno2node":"^1.0.0","@types/debug":"^4.1.5","@tsconfig/node12":"^1.0.7","@types/node-fetch":"^2.5.10"},"peerDependencies":{"grammy":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/transformer-throttler_1.2.1_1668349535999_0.2733517816803628","host":"s3://npm-registry-packages"}}},"time":{"created":"2021-05-15T16:52:58.620Z","modified":"2025-03-01T13:34:26.224Z","0.1.8":"2021-05-15T16:52:59.113Z","0.1.9":"2021-05-15T17:06:58.975Z","1.0.0":"2021-05-29T02:40:01.760Z","1.0.1":"2021-09-06T08:56:22.050Z","1.1.0":"2022-01-16T07:01:58.312Z","1.1.1":"2022-01-16T07:13:01.385Z","1.1.2":"2022-04-08T01:24:57.683Z","1.2.0":"2022-11-13T08:26:05.212Z","1.2.1":"2022-11-13T14:25:36.133Z"},"bugs":{"url":"https://github.com/grammyjs/transformer-throttler/issues"},"author":{"name":"KnightNiwrem"},"license":"MIT","homepage":"https://github.com/grammyjs/transformer-throttler","keywords":["bot","grammy","throttler","transformer"],"repository":{"url":"git+https://github.com/grammyjs/transformer-throttler.git","type":"git"},"description":"Throttling transformer for Grammy","maintainers":[{"email":"shtrog@gmail.com","name":"knorpelsenf"},{"email":"npm@knightniwrem.com","name":"knightniwrem"}],"readme":"# grammY Throttler (Transformer)\nThrottling transformer for [grammY](https://github.com/grammyjs/grammY) bot framework, written in [Typescript](https://www.typescriptlang.org/) and built with [Bottleneck](https://github.com/SGrondin/bottleneck).\n\n## About\nThis throttler aims to limit and queue outgoing Telegram API calls to conform to the official [Telegram API rate limits](https://core.telegram.org/bots/faq#my-bot-is-hitting-limits-how-do-i-avoid-this).\n\n## Configuration\nThe throttler accepts a single optional argument of the following form:\n```typescript\ntype ThrottlerOptions = {\n global?: Bottleneck.ConstructorOptions; // For throttling all api calls\n group?: Bottleneck.ConstructorOptions; // For throttling outgoing group messages\n out?: Bottleneck.ConstructorOptions; // For throttling outgoing private messages\n};\n```\n\nThe full list of object properties available for `Bottleneck.ConstructorOptions` can be found at [Bottleneck](https://github.com/SGrondin/bottleneck#constructor).\n\nIf no argument is passed, the throttler created will use the default configuration settings which should be appropriate for most use cases. The default configuration are as follows:\n```typescript\n// Outgoing Global Throttler\nconst globalConfig = {\n reservoir: 30, // Number of new jobs that throttler will accept at start\n reservoirRefreshAmount: 30, // Number of jobs that throttler will accept after refresh\n reservoirRefreshInterval: 1000, // Interval in milliseconds where reservoir will refresh\n};\n\n// Outgoing Group Throttler\nconst groupConfig = {\n maxConcurrent: 1, // Only 1 job at a time\n minTime: 1000, // Wait this many milliseconds to be ready, after a job\n reservoir: 20, // Number of new jobs that throttler will accept at start\n reservoirRefreshAmount: 20, // Number of jobs that throttler will accept after refresh\n reservoirRefreshInterval: 60000, // Interval in milliseconds where reservoir will refresh\n};\n\n// Outgoing Private Throttler\nconst outConfig = {\n maxConcurrent: 1, // Only 1 job at a time\n minTime: 1000, // Wait this many milliseconds to be ready, after a job\n};\n```\n\n## Usage\n```typescript\nimport { Bot } from 'https://lib.deno.dev/x/grammy@1/mod.ts';\nimport { run } from 'https://lib.deno.dev/x/grammy_runner@1/mod.ts';\nimport { apiThrottler, bypassThrottler } from 'https://lib.deno.dev/x/grammy_transformer_throttler@1/mod.ts';\n\nconst botToken = Deno.env.get('BOT_TOKEN');\nif (!botToken) {\n throw Error('BOT_TOKEN is required');\n}\nconst bot = new Bot(botToken);\n\nconst throttler = apiThrottler();\nbot.api.config.use(throttler);\n\n// Experimental: Do not throttle update-initiated first response\nbot.use(bypassThrottler);\nbot.command('/example', ctx => ctx.reply('I am throttled'));\n\n// If you are using throttler, you most likely want to use a runner to handle updates concurrently\nrun(bot);\n```\n","readmeFilename":"README.md"}