Skip to content

Commit

Permalink
docs/api/examples.md: fix ts/js code.
Browse files Browse the repository at this point in the history
  • Loading branch information
pnx committed Feb 28, 2024
1 parent 8c815e7 commit 5184881
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/api/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand All @@ -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({
Expand Down

0 comments on commit 5184881

Please sign in to comment.