@rivascva/dt-idl 1.1.174 → 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.
package/dist/index.d.ts CHANGED
@@ -2008,6 +2008,7 @@ type GetStocksBySymbolsQueryParams = operations$3['getStocksBySymbols']['paramet
2008
2008
  type GetSearchStocksQueryParams = operations$3['getSearchStocks']['parameters']['query'];
2009
2009
  type GetStockHistoryQueryParams = operations$3['getStockHistory']['parameters']['query'];
2010
2010
  type MarketMetadata = MarketServiceSchemas['MarketMetadata'];
2011
+ type MarketHours = MarketServiceSchemas['MarketHours'];
2011
2012
  type Portfolio = TradeServiceSchemas['Portfolio'];
2012
2013
  type PortfolioType = TradeServiceSchemas['PortfolioType'];
2013
2014
  type UpdatePortfolioPayload = TradeServiceSchemas['UpdatePortfolioPayload'];
@@ -2036,4 +2037,4 @@ type UploadImageResponse = AssetServiceSchemas['UploadImageResponse'];
2036
2037
  type DeleteImagePayload = AssetServiceSchemas['DeleteImagePayload'];
2037
2038
  type AssetServiceError = AssetServiceSchemas['Error'];
2038
2039
 
2039
- export { type AddOrderPayload, type AddUserPayload, type AssetServiceError, type DeleteImagePayload, type FullQuote, type GetIndexesQueryParams, type GetOrdersByPortfolioParams, type GetPortfolioHistoryParams, type GetSearchStocksQueryParams, type GetStockHistoryQueryParams, type GetStocksBySymbolsQueryParams, type Holding, type ImageType, type Index, type LoginWithFirebasePayload, type LogoutPayload, type MarketMetadata, type MarketServiceError, type NewsArticle, type Order, type OrderType, type Portfolio, type PortfolioHistoryTimeframe, type PortfolioHistoryValue, type PortfolioType, type RefreshAccessTokenPayload, type SendPushNotificationPayload, type SignupWithFirebasePayload, type SimpleQuote, type SortField, type SortOrder, type StockHistoryEntry, type StockHistoryTimeframe, type StockNewsArticle, type TradeServiceError, type UpdatePortfolioPayload, type UpdateUserDevicePayload, type UpdateUserPayload, type UploadImagePayload, type UploadImageResponse, type User, type UserServiceError, createAssetServiceClient, createMarketServiceClient, createTradeServiceClient, createUserServiceClient, isAssetServiceError, isMarketServiceError, isTradeServiceError, isUserServiceError };
2040
+ export { type AddOrderPayload, type AddUserPayload, type AssetServiceError, type DeleteImagePayload, type FullQuote, type GetIndexesQueryParams, type GetOrdersByPortfolioParams, type GetPortfolioHistoryParams, type GetSearchStocksQueryParams, type GetStockHistoryQueryParams, type GetStocksBySymbolsQueryParams, type Holding, type ImageType, type Index, type LoginWithFirebasePayload, type LogoutPayload, type MarketHours, type MarketMetadata, type MarketServiceError, type NewsArticle, type Order, type OrderType, type Portfolio, type PortfolioHistoryTimeframe, type PortfolioHistoryValue, type PortfolioType, type RefreshAccessTokenPayload, type SendPushNotificationPayload, type SignupWithFirebasePayload, type SimpleQuote, type SortField, type SortOrder, type StockHistoryEntry, type StockHistoryTimeframe, type StockNewsArticle, type TradeServiceError, type UpdatePortfolioPayload, type UpdateUserDevicePayload, type UpdateUserPayload, type UploadImagePayload, type UploadImageResponse, type User, type UserServiceError, createAssetServiceClient, createMarketServiceClient, createTradeServiceClient, createUserServiceClient, isAssetServiceError, isMarketServiceError, isTradeServiceError, isUserServiceError };
@@ -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.174",
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",
package/ts/types/types.ts CHANGED
@@ -30,6 +30,7 @@ export type GetStocksBySymbolsQueryParams = MarketServiceOperations['getStocksBy
30
30
  export type GetSearchStocksQueryParams = MarketServiceOperations['getSearchStocks']['parameters']['query'];
31
31
  export type GetStockHistoryQueryParams = MarketServiceOperations['getStockHistory']['parameters']['query'];
32
32
  export type MarketMetadata = MarketServiceSchemas['MarketMetadata'];
33
+ export type MarketHours = MarketServiceSchemas['MarketHours'];
33
34
 
34
35
  // Trade Service Types
35
36
  export type Portfolio = TradeServiceSchemas['Portfolio'];