From cc2ba0594848cfdbe43b70401457ac8f91bec321 Mon Sep 17 00:00:00 2001 From: signature18632 Date: Wed, 30 Jul 2025 04:26:34 +0700 Subject: [PATCH 1/2] v1.0.6 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 496a328..e52d0d9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "intmax2-function", - "version": "1.0.5", + "version": "1.0.6", "license": "MIT", "description": "A collection of function for INTMAX", "repository": { From ac0ac0af1774aed88f12572c44d758e0900729a8 Mon Sep 17 00:00:00 2001 From: signature18632 Date: Thu, 31 Jul 2025 13:32:21 +0700 Subject: [PATCH 2/2] update readme --- README.md | 18 +++++++++++++++++- package.json | 4 ++-- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 753a0df..1ac5622 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,7 @@ packages ├── block-sync-monitor ├── deposit-analyzer ├── indexer +├── indexer-cache-validator ├── indexer-event-watcher ├── indexer-monitor ├── messenger-relayer @@ -58,7 +59,6 @@ packages ├── mock-l1-to-l2-relayer ├── mock-l2-to-l1-relayer ├── predicate -├── referral ├── shared ├── token ├── token-map-register @@ -86,6 +86,22 @@ docker build -f docker/Dockerfile -t intmax2-function . docker run --rm -p 3000:3000 --env-file .env intmax2-function workspace token start ``` + +## Testing + +The project uses Vitest for testing. Run tests with the following commands: + +```sh +# Run all tests +yarn test + +# Run tests in watch mode +yarn test --watch + +# Run tests with coverage report +yarn coverage +``` + ## Redis ```sh diff --git a/package.json b/package.json index e52d0d9..1ae354d 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "intmax2-function", "version": "1.0.6", "license": "MIT", - "description": "A collection of function for INTMAX", + "description": "A collection of function for INTMAX2 blockchain", "repository": { "type": "git", "url": "https://github.com/InternetMaximalism/intmax2-function.git" @@ -18,7 +18,7 @@ "api" ], "engines": { - "node": ">=18.0.0", + "node": ">=20.0.0", "yarn": ">=4.0.0" }, "workspaces": [