Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-german committed Jun 8, 2023
1 parent 2f9d972 commit 8e5283c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@ npm i @parana-games/tinymo
```
# Setup
```typescript
import { Client } from '@parana-games/tinymo';
const tinymo = Client.default();
import { TinymoClient } from '@parana-games/tinymo';
const tinymo = TinymoClient.default();
```
Optionally, set your own `DynamoDBClient`:
```typescript
Client.setDynamoDBClient(new DynamoDBClient({})); // Useful when using X-Ray!
TinymoClient.setDynamoDBClient(new DynamoDBClient({})); // Useful when using X-Ray!
```
# Testability
Use `build()` on any tinymo object to output pure DynamoDB JSON-based command inputs:
Expand Down

0 comments on commit 8e5283c

Please sign in to comment.