@go1/go1-embedding-react-sdk 0.0.48 → 0.0.50
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 +5 -1
- package/dist/README.md +5 -1
- package/dist/common/types.d.ts +3 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -78,7 +78,9 @@ export type Go1MessageType =
|
|
|
78
78
|
| 'pass_ott'
|
|
79
79
|
| 'logout',
|
|
80
80
|
| 'sync_content'
|
|
81
|
-
| 'inter_feature_navigation'
|
|
81
|
+
| 'inter_feature_navigation'
|
|
82
|
+
| 'side_drawer_open'
|
|
83
|
+
| 'side_drawer_close';
|
|
82
84
|
|
|
83
85
|
export interface Go1Message {
|
|
84
86
|
type: Go1MessageType;
|
|
@@ -118,6 +120,8 @@ export interface FeatureAttributesPreview extends FeatureAttributeCommon {
|
|
|
118
120
|
*/
|
|
119
121
|
export interface FeatureAttributesWallet extends FeatureAttributeCommon {
|
|
120
122
|
walletMode: 'setup' | 'main';
|
|
123
|
+
deepLink?: string;
|
|
124
|
+
oneClickBuyUrl?: string;
|
|
121
125
|
}
|
|
122
126
|
|
|
123
127
|
export interface FeatureAttributesLearnerSearch extends FeatureAttributeCommon {
|
package/dist/README.md
CHANGED
|
@@ -78,7 +78,9 @@ export type Go1MessageType =
|
|
|
78
78
|
| 'pass_ott'
|
|
79
79
|
| 'logout',
|
|
80
80
|
| 'sync_content'
|
|
81
|
-
| 'inter_feature_navigation'
|
|
81
|
+
| 'inter_feature_navigation'
|
|
82
|
+
| 'side_drawer_open'
|
|
83
|
+
| 'side_drawer_close';
|
|
82
84
|
|
|
83
85
|
export interface Go1Message {
|
|
84
86
|
type: Go1MessageType;
|
|
@@ -118,6 +120,8 @@ export interface FeatureAttributesPreview extends FeatureAttributeCommon {
|
|
|
118
120
|
*/
|
|
119
121
|
export interface FeatureAttributesWallet extends FeatureAttributeCommon {
|
|
120
122
|
walletMode: 'setup' | 'main';
|
|
123
|
+
deepLink?: string;
|
|
124
|
+
oneClickBuyUrl?: string;
|
|
121
125
|
}
|
|
122
126
|
|
|
123
127
|
export interface FeatureAttributesLearnerSearch extends FeatureAttributeCommon {
|
package/dist/common/types.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export interface AdditionalInfoMessage {
|
|
|
14
14
|
export interface ThemeInformation {
|
|
15
15
|
accent: string;
|
|
16
16
|
}
|
|
17
|
-
export type Go1MessageType = 'preview_start_content' | 'preview_close' | 'preview_add_content_success' | 'preview_add_content_failure' | 'preview_remove_content_success' | 'preview_remove_content_failure' | 'parent_show_preview' | 'set_additional_embedding_data' | 'go1_app_initialised' | 'ott_required' | 'search_result_selected' | 'search_filter_toggle' | 'search_redirected' | 'pass_ott' | 'logout' | 'sync_content' | 'open_save_to_playlist_modal' | 'update_experience' | 'inter_feature_navigation';
|
|
17
|
+
export type Go1MessageType = 'preview_start_content' | 'preview_close' | 'preview_add_content_success' | 'preview_add_content_failure' | 'preview_remove_content_success' | 'preview_remove_content_failure' | 'parent_show_preview' | 'set_additional_embedding_data' | 'go1_app_initialised' | 'ott_required' | 'search_result_selected' | 'search_filter_toggle' | 'search_redirected' | 'pass_ott' | 'logout' | 'sync_content' | 'open_save_to_playlist_modal' | 'update_experience' | 'inter_feature_navigation' | 'side_drawer_open' | 'side_drawer_close';
|
|
18
18
|
export interface Go1Message {
|
|
19
19
|
type: Go1MessageType;
|
|
20
20
|
payload?: any;
|
|
@@ -46,7 +46,8 @@ export interface FeatureAttributesPreview extends FeatureAttributesPreviewCommon
|
|
|
46
46
|
}
|
|
47
47
|
export interface FeatureAttributesWallet extends FeatureAttributeCommon {
|
|
48
48
|
walletMode: 'setup' | 'main';
|
|
49
|
-
deepLink
|
|
49
|
+
deepLink?: string;
|
|
50
|
+
oneClickBuyUrl?: string;
|
|
50
51
|
}
|
|
51
52
|
export interface FeatureAttributesLearnerSearch extends FeatureAttributeCommon {
|
|
52
53
|
isGo1MobileApp?: boolean;
|