1
0
Fork 0
mirror of https://github.com/eosswedenorg/thalos-docs synced 2026-06-16 04:34:55 +02:00

docs/api/examples.md: fix ts/js code.

This commit is contained in:
Henrik Hautakoski 2024-02-28 18:41:59 +01:00
parent 8c815e7b75
commit 51848815da

View file

@ -87,7 +87,7 @@ install the thalos client library:
::: code-group
```ts [TypeScript]
import * as thalos from 'thalos-nodejs';
import * as thalos from '@eosswedenorg/thalos-client';
// Create client.
const client = thalos.createRedisClient({
@ -104,7 +104,7 @@ client.onAction({contract: "atomicassets", name: "logtransfer"}, (action:thalos.
```js [JavaScript]
const thalos = require('thalos-nodejs');
const thalos = require('@eosswedenorg/thalos-client');
// Create client.
const client = thalos.createRedisClient({