From 19e7dfdd314a59422ca78348ff0cee6d119d1308 Mon Sep 17 00:00:00 2001 From: ItzNotABug Date: Wed, 19 Jun 2024 14:41:20 +0530 Subject: [PATCH 1/2] fix: event name. --- source/types/request.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/types/request.js b/source/types/request.js index 567095f..bcd5242 100644 --- a/source/types/request.js +++ b/source/types/request.js @@ -161,9 +161,9 @@ class AppExpressRequest { /** * Get the function trigger type. * - * Can be `event`, `http` or `scheduled`. + * Can be `event`, `http` or `schedule`. * - * @returns {'event'|'http'|'scheduled'} The trigger type. + * @returns {'event'|'http'|'schedule'} The trigger type. */ get triggeredType() { return this.headers['x-appwrite-trigger']; From 920e96fef3a3a74fa9d93ed007647f95c49556d3 Mon Sep 17 00:00:00 2001 From: ItzNotABug Date: Wed, 19 Jun 2024 14:41:54 +0530 Subject: [PATCH 2/2] bump version. --- source/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/package.json b/source/package.json index b4f8301..2ca9551 100644 --- a/source/package.json +++ b/source/package.json @@ -1,6 +1,6 @@ { "name": "@itznotabug/appexpress", - "version": "0.2.6", + "version": "0.2.7", "description": "An `express.js` like framework for Appwrite Functions, enabling super-easy navigation!", "author": "@itznotabug", "type": "module",