From 92a88b56646e96bff23da807b0f01790dc3f4e3c Mon Sep 17 00:00:00 2001 From: Yoojin Ko Date: Wed, 3 Jan 2024 13:10:15 +0900 Subject: [PATCH 1/2] fix: writerule syntax error --- src/constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/constants.ts b/src/constants.ts index 7552df4..bb8214a 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -62,7 +62,7 @@ export const defaultAppRules = (appName: string): { [type: string]: { ref: strin write: "auth.addr === $userAddress && " + "(getValue(`/apps/" + `${appName}` + "/billingConfig/minCost`) === 0 || " + - "(getValue(`/apps/" + `${appName}` + "/balance/` + $userAddress + `/balance`) >= getValue(`/apps/" + `${appName}` + "/billingConfig/minCost`))" + "(getValue(`/apps/" + `${appName}` + "/balance/` + $userAddress + `/balance`) >= getValue(`/apps/" + `${appName}` + "/billingConfig/minCost`)))" }, }, }, From 15aa53c9244a8fcdfc666e3cf2694cc24a174926 Mon Sep 17 00:00:00 2001 From: yoojinko Date: Wed, 3 Jan 2024 04:25:25 +0000 Subject: [PATCH 2/2] Upgrade version to 1.0.6 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b3ebf7b..60f1021 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ainize-team/ainize-js", - "version": "1.0.5", + "version": "1.0.6", "main": "dist/ainize.js", "types": "dist/ainize.d.ts", "scripts": {