From 5f06e7419bf1a39a42b1b3a3fd2d19e3047a5fae Mon Sep 17 00:00:00 2001 From: Andrew <37044735+arterialist@users.noreply.github.com> Date: Fri, 24 Jan 2025 21:22:57 +0700 Subject: [PATCH] fix: correct package name for js liteserver interaciton example --- docs/v3/guidelines/nodes/running-nodes/liteserver-node.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/v3/guidelines/nodes/running-nodes/liteserver-node.md b/docs/v3/guidelines/nodes/running-nodes/liteserver-node.md index 8cbea3caf3..c762b75405 100644 --- a/docs/v3/guidelines/nodes/running-nodes/liteserver-node.md +++ b/docs/v3/guidelines/nodes/running-nodes/liteserver-node.md @@ -143,7 +143,7 @@ It will create `/usr/bin/ton/local.config.json` on your machine where mytonctrl ```bash - npm i --save ton-core ton-lite- + npm i --save ton-core ton-lite-client ``` @@ -179,9 +179,9 @@ Change project type to `module` in your `package.json` file: Create `index.js` file with the following content: ```js - import { LiteSingleEngine } from 'ton-lite-/dist/engines/single.js' - import { LiteRoundRobinEngine } from 'ton-lite-/dist/engines/roundRobin.js' - import { Lite } from 'ton-lite-/dist/.js' + import { LiteSingleEngine } from 'ton-lite-client/dist/engines/single.js' + import { LiteRoundRobinEngine } from 'ton-lite-client/dist/engines/roundRobin.js' + import { Lite } from 'ton-lite-client/dist/.js' import config from './config.json' assert {type: 'json'};