Skip to content

Commit 7a4501d

Browse files
authored
fix: correct package name for js liteserver interaciton example (#929)
1 parent da0c0f3 commit 7a4501d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/v3/guidelines/nodes/running-nodes/liteserver-node.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ It will create `/usr/bin/ton/local.config.json` on your machine where mytonctrl
143143
<TabItem value="js" label="JavaScript">
144144

145145
```bash
146-
npm i --save ton-core ton-lite-
146+
npm i --save ton-core ton-lite-client
147147
```
148148

149149
</TabItem>
@@ -179,9 +179,9 @@ Change project type to `module` in your `package.json` file:
179179

180180
Create `index.js` file with the following content:
181181
```js
182-
import { LiteSingleEngine } from 'ton-lite-/dist/engines/single.js'
183-
import { LiteRoundRobinEngine } from 'ton-lite-/dist/engines/roundRobin.js'
184-
import { Lite } from 'ton-lite-/dist/.js'
182+
import { LiteSingleEngine } from 'ton-lite-client/dist/engines/single.js'
183+
import { LiteRoundRobinEngine } from 'ton-lite-client/dist/engines/roundRobin.js'
184+
import { Lite } from 'ton-lite-client/dist/.js'
185185
import config from './config.json' assert {type: 'json'};
186186

187187

0 commit comments

Comments
 (0)