dce-reactkit 3.2.0-beta.5 → 3.2.0-beta.6

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.
@@ -6,10 +6,10 @@ import LogAction from './LogAction';
6
6
  */
7
7
  declare type LogFunction = (opts: ({
8
8
  category: string | {
9
- name: string;
9
+ _: string;
10
10
  };
11
11
  subcategory?: string | {
12
- name: string;
12
+ _: string;
13
13
  };
14
14
  tags?: string[];
15
15
  metadata?: {
@@ -6,10 +6,10 @@ import LogAction from './LogAction';
6
6
  */
7
7
  declare type LogFunction = (opts: ({
8
8
  category: string | {
9
- name: string;
9
+ _: string;
10
10
  };
11
11
  subcategory?: string | {
12
- name: string;
12
+ _: string;
13
13
  };
14
14
  tags?: string[];
15
15
  metadata?: {
package/dist/index.d.ts CHANGED
@@ -632,10 +632,10 @@ declare type Log = (LogMainInfo & LogSourceSpecificInfo & LogTypeSpecificInfo);
632
632
  */
633
633
  declare type LogFunction = (opts: ({
634
634
  category: string | {
635
- name: string;
635
+ _: string;
636
636
  };
637
637
  subcategory?: string | {
638
- name: string;
638
+ _: string;
639
639
  };
640
640
  tags?: string[];
641
641
  metadata?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dce-reactkit",
3
- "version": "3.2.0-beta.5",
3
+ "version": "3.2.0-beta.6",
4
4
  "description": "Shared components for Harvard DCE apps",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -11,9 +11,9 @@ type LogFunction = (
11
11
  // Shared info
12
12
  {
13
13
  // Category of the event (each app determines how to categorize its events)
14
- category: string | { name: string },
14
+ category: string | { _: string },
15
15
  // Subcategory of the event (each app determines how to categorize its events)
16
- subcategory?: string | { name: string },
16
+ subcategory?: string | { _: string },
17
17
  // List of tags that apply to this action (each app determines tag usage)
18
18
  tags?: string[],
19
19
  // Additional optional custom metadata