Skip to content

Commit c671759

Browse files
author
Alexander Dmitrjuk
committed
Fix readme 3
1 parent fa6db11 commit c671759

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ npm install redis-functions-balancer --save-prod
1818

1919
## Usage
2020
```typescript
21-
import CallableBalancer from "@coden/redis-functions-balancer";
21+
import RedisFunctionsBalancer from "redis-functions-balancer";
2222
const redis = require("redis");
2323
const redisClient = redis.createClient(6379, 'redis');
2424

@@ -28,7 +28,7 @@ const A = () => {};
2828
const B = () => {};
2929
const C = () => {};
3030
// ... //
31-
let balancer = new CallableBalancer([A, B, C], redisClient);
31+
let balancer = new RedisFunctionsBalancer([A, B, C], redisClient);
3232
// or reuse balancer variable with another functions
3333
balancer.setMethods([A, B]);
3434
// ... //

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "redis-functions-balancer",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"description": "Balance NodeJs functions with Redis",
55
"repository": "https://github.com/dmitryuk/RedisFunctionsBalancer",
66
"main": "index.ts",

0 commit comments

Comments
 (0)