grammy 1.16.0 → 1.16.1
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.
- package/README.md +1 -1
- package/out/convenience/frameworks.js +1 -1
- package/out/web.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -269,7 +269,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
|
|
|
269
269
|
</tr>
|
|
270
270
|
<tr>
|
|
271
271
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/AbbassAlmusawi"><img src="https://avatars.githubusercontent.com/u/73327881?v=4?s=100" width="100px;" alt="Abbass Al-Musawi"/><br /><sub><b>Abbass Al-Musawi</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/commits?author=AbbassAlmusawi" title="Documentation">📖</a></td>
|
|
272
|
-
<td align="center" valign="top" width="14.28%"><a href="https://github.com/inji-gg"><img src="https://avatars.githubusercontent.com/u/5071242?v=4?s=100" width="100px;" alt="ArunR"/><br /><sub><b>ArunR</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/issues?q=author%3Ainji-gg" title="Bug reports">🐛</a></td>
|
|
272
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/inji-gg"><img src="https://avatars.githubusercontent.com/u/5071242?v=4?s=100" width="100px;" alt="ArunR"/><br /><sub><b>ArunR</b></sub></a><br /><a href="https://github.com/grammyjs/grammY/issues?q=author%3Ainji-gg" title="Bug reports">🐛</a> <a href="https://github.com/grammyjs/grammY/commits?author=inji-gg" title="Code">💻</a></td>
|
|
273
273
|
</tr>
|
|
274
274
|
</tbody>
|
|
275
275
|
</table>
|
|
@@ -144,7 +144,7 @@ const azure = (context, req) => ({
|
|
|
144
144
|
/** Next.js Serverless Functions */
|
|
145
145
|
const nextJs = (req, res) => ({
|
|
146
146
|
update: Promise.resolve(req.body),
|
|
147
|
-
header: req.headers[SECRET_HEADER],
|
|
147
|
+
header: req.headers[SECRET_HEADER.toLowerCase()],
|
|
148
148
|
end: () => res.end(),
|
|
149
149
|
respond: (json) => res.status(200).json(json),
|
|
150
150
|
unauthorized: () => res.status(401).send(WRONG_TOKEN_ERROR),
|
package/out/web.mjs
CHANGED
|
@@ -4963,7 +4963,7 @@ const azure = (context, req)=>({
|
|
|
4963
4963
|
});
|
|
4964
4964
|
const nextJs = (req, res)=>({
|
|
4965
4965
|
update: Promise.resolve(req.body),
|
|
4966
|
-
header: req.headers[SECRET_HEADER],
|
|
4966
|
+
header: req.headers[SECRET_HEADER.toLowerCase()],
|
|
4967
4967
|
end: ()=>res.end(),
|
|
4968
4968
|
respond: (json)=>res.status(200).json(json),
|
|
4969
4969
|
unauthorized: ()=>res.status(401).send(WRONG_TOKEN_ERROR)
|