@rivascva/dt-idl 1.1.62 → 1.1.64

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
@@ -343,6 +343,8 @@ interface components$3 {
343
343
  };
344
344
  /** @description A market index that represents a group of stocks */
345
345
  Index: components$3["schemas"]["SimpleQuote"] & {
346
+ /** @example S&P 500 */
347
+ displayName: string;
346
348
  components: components$3["schemas"]["SimpleQuote"][];
347
349
  };
348
350
  /** @description A generic error */
@@ -1,6 +1,7 @@
1
1
  package maps
2
2
 
3
- func Keys[K ~string](m map[K]any) []K {
3
+ // Returns the keys of the given map as a slice.
4
+ func Keys[K ~string, V any](m map[K]V) []K {
4
5
  keys := make([]K, 0, len(m))
5
6
  for k := range m {
6
7
  keys = append(keys, k)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rivascva/dt-idl",
3
- "version": "1.1.62",
3
+ "version": "1.1.64",
4
4
  "description": "Dream Trade - Interface Definition Language",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -560,11 +560,15 @@ components:
560
560
  - $ref: '#/components/schemas/SimpleQuote'
561
561
  - type: object
562
562
  properties:
563
+ displayName:
564
+ type: string
565
+ example: S&P 500
563
566
  components:
564
567
  type: array
565
568
  items:
566
569
  $ref: '#/components/schemas/SimpleQuote'
567
570
  required:
571
+ - displayName
568
572
  - components
569
573
 
570
574
  Error:
@@ -342,6 +342,8 @@ export interface components {
342
342
  };
343
343
  /** @description A market index that represents a group of stocks */
344
344
  Index: components["schemas"]["SimpleQuote"] & {
345
+ /** @example S&P 500 */
346
+ displayName: string;
345
347
  components: components["schemas"]["SimpleQuote"][];
346
348
  };
347
349
  /** @description A generic error */