@go1/go1-embedding-react-sdk 0.0.2 → 0.0.3

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/README.md CHANGED
@@ -56,7 +56,7 @@ interface Go1Message {
56
56
 
57
57
  interface ThemeInformation {
58
58
  /** Hex string, starting with a #. Example #0437F2 */
59
- primaryColor: string;
59
+ accent: string;
60
60
  }
61
61
 
62
62
  /**
@@ -68,7 +68,7 @@ interface ThemeInformation {
68
68
  * }
69
69
  */
70
70
  interface FeatureAttributes {
71
- [key: string]: number | string
71
+ [key: string]: number | string;
72
72
  }
73
73
 
74
74
  interface InitOptions {
@@ -117,7 +117,7 @@ const options = useMemo<ContentViewProps>(() => {
117
117
  goals: ['leadership', 'management']
118
118
  },
119
119
  themeInformation: {
120
- primaryColor: '#0437F2'
120
+ accent: '#0437F2'
121
121
  },
122
122
  oneTimeToken: '907687a6e81a458190fe4c21f05ee689'
123
123
  };
package/dist/README.md CHANGED
@@ -56,7 +56,7 @@ interface Go1Message {
56
56
 
57
57
  interface ThemeInformation {
58
58
  /** Hex string, starting with a #. Example #0437F2 */
59
- primaryColor: string;
59
+ accent: string;
60
60
  }
61
61
 
62
62
  /**
@@ -68,7 +68,7 @@ interface ThemeInformation {
68
68
  * }
69
69
  */
70
70
  interface FeatureAttributes {
71
- [key: string]: number | string
71
+ [key: string]: number | string;
72
72
  }
73
73
 
74
74
  interface InitOptions {
@@ -117,7 +117,7 @@ const options = useMemo<ContentViewProps>(() => {
117
117
  goals: ['leadership', 'management']
118
118
  },
119
119
  themeInformation: {
120
- primaryColor: '#0437F2'
120
+ accent: '#0437F2'
121
121
  },
122
122
  oneTimeToken: '907687a6e81a458190fe4c21f05ee689'
123
123
  };
@@ -8,7 +8,7 @@ export interface AdditionalInfoMessage {
8
8
  themeInformation?: ThemeInformation;
9
9
  }
10
10
  export interface ThemeInformation {
11
- primaryColor: string;
11
+ accent: string;
12
12
  }
13
13
  export interface Go1Message {
14
14
  type: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@go1/go1-embedding-react-sdk",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "A React library to embed Go1 content into your website.",
5
5
  "main": "dist/go1-embedding-react-sdk/src/index.js",
6
6
  "files": [