@rivascva/dt-idl 1.1.175 → 1.1.176

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -36,9 +36,13 @@ type BaseRDB struct {
36
36
  database string
37
37
  }
38
38
 
39
- func NewBaseRDB(address string, service string) RDB {
39
+ func NewBaseRDB(address string, username string, password string, service string) RDB {
40
40
  //exhaustruct:ignore - other fields are optional
41
- client := goredis.NewClient(&goredis.Options{Addr: address})
41
+ client := goredis.NewClient(&goredis.Options{
42
+ Addr: address,
43
+ Username: username,
44
+ Password: password,
45
+ })
42
46
  return &BaseRDB{
43
47
  client: client,
44
48
  database: service,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rivascva/dt-idl",
3
- "version": "1.1.175",
3
+ "version": "1.1.176",
4
4
  "description": "Dream Trade - Interface Definition Language",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",