Skip to content

Commit

Permalink
fix: correct package name for js liteserver interaciton example
Browse files Browse the repository at this point in the history
  • Loading branch information
arterialist authored Jan 24, 2025
1 parent 24c150e commit 5f06e74
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/v3/guidelines/nodes/running-nodes/liteserver-node.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ It will create `/usr/bin/ton/local.config.json` on your machine where mytonctrl
<TabItem value="js" label="JavaScript">

```bash
npm i --save ton-core ton-lite-
npm i --save ton-core ton-lite-client
```

</TabItem>
Expand Down Expand Up @@ -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'};


Expand Down

0 comments on commit 5f06e74

Please sign in to comment.