From 57e44abb6b2b4dc496bc41750b0d10443d34d80f Mon Sep 17 00:00:00 2001 From: Yoojin Ko Date: Tue, 7 Nov 2023 09:56:08 +0900 Subject: [PATCH 1/2] fix: remove prompt --- src/controllers/serviceController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/serviceController.ts b/src/controllers/serviceController.ts index 16e546e..64c580b 100644 --- a/src/controllers/serviceController.ts +++ b/src/controllers/serviceController.ts @@ -79,7 +79,7 @@ export default class ServiceController { const responsePath = Path.app(serviceName).response(requesterAddress, requestKey.toString()); await this.handler.subscribe(responsePath, resolve); const requestPath = Path.app(serviceName).request(requesterAddress, requestKey); - const requestOp = buildSetOperation("SET_VALUE", requestPath, {prompt: requestData}); + const requestOp = buildSetOperation("SET_VALUE", requestPath, requestData); const txBody = buildTxBody(requestOp); await this.ain.sendTransaction(txBody); return requestKey; From ae32de6daf0885c56951c86b4448d3f1d7589371 Mon Sep 17 00:00:00 2001 From: yoojinko Date: Thu, 9 Nov 2023 01:39:41 +0000 Subject: [PATCH 2/2] Upgrade version to 1.0.3 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a77b224..124a460 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ainize-team/ainize-sdk", - "version": "1.0.2", + "version": "1.0.3", "main": "dist/ainize.js", "types": "dist/ainize.d.ts", "scripts": {