@boldvideo/bold-js 1.13.0 → 1.14.0
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/CHANGELOG.md +10 -0
- package/dist/index.d.ts +10 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @boldvideo/bold-js
|
|
2
2
|
|
|
3
|
+
## 1.14.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 4bfba45: Add Portal analytics and custom redirects support
|
|
8
|
+
|
|
9
|
+
- Add `analyticsProvider` and `analyticsId` fields to Portal type for Plausible, GA4, and Fathom integrations
|
|
10
|
+
- Add `customRedirects` field to Portal type for custom redirect configuration
|
|
11
|
+
- Export new types: `AnalyticsProvider`, `CustomRedirect`
|
|
12
|
+
|
|
3
13
|
## 1.13.0
|
|
4
14
|
|
|
5
15
|
### Minor Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -109,6 +109,12 @@ type PortalTheme = {
|
|
|
109
109
|
type PortalHero = {
|
|
110
110
|
type: 'none' | 'custom';
|
|
111
111
|
};
|
|
112
|
+
type CustomRedirect = {
|
|
113
|
+
path: string;
|
|
114
|
+
url: string;
|
|
115
|
+
permanent: boolean;
|
|
116
|
+
};
|
|
117
|
+
type AnalyticsProvider = 'plausible' | 'ga4' | 'fathom';
|
|
112
118
|
type Portal = {
|
|
113
119
|
colorScheme?: 'toggle' | 'light' | 'dark';
|
|
114
120
|
display: PortalDisplay;
|
|
@@ -116,6 +122,9 @@ type Portal = {
|
|
|
116
122
|
layout: PortalLayout;
|
|
117
123
|
navigation: PortalNavigation;
|
|
118
124
|
theme: PortalTheme;
|
|
125
|
+
customRedirects?: CustomRedirect[];
|
|
126
|
+
analyticsProvider?: AnalyticsProvider;
|
|
127
|
+
analyticsId?: string;
|
|
119
128
|
};
|
|
120
129
|
type ThemeColors = {
|
|
121
130
|
accent: string;
|
|
@@ -496,4 +505,4 @@ declare const DEFAULT_API_BASE_URL = "https://app.boldvideo.io/api/v1/";
|
|
|
496
505
|
*/
|
|
497
506
|
declare const DEFAULT_INTERNAL_API_BASE_URL = "https://app.boldvideo.io/i/v1/";
|
|
498
507
|
|
|
499
|
-
export { AIContextMessage, AIEvent, AIResponse, AIUsage, Account, AccountAI, AskOptions, AssistantConfig, ChatOptions, Citation, ClientOptions, DEFAULT_API_BASE_URL, DEFAULT_INTERNAL_API_BASE_URL, MenuItem, Playlist, Portal, PortalDisplay, PortalHero, PortalLayout, PortalNavigation, PortalTheme, RecommendOptions, RecommendResponse, Recommendation, RecommendationVideo, RecommendationsOptions, RecommendationsResponse, SearchOptions, Segment, Settings, Source, ThemeColors, ThemeConfig, Video, VideoAttachment, VideoDownloadUrls, VideoMetadata, VideoSubtitles, VideoTranscript, createClient };
|
|
508
|
+
export { AIContextMessage, AIEvent, AIResponse, AIUsage, Account, AccountAI, AnalyticsProvider, AskOptions, AssistantConfig, ChatOptions, Citation, ClientOptions, CustomRedirect, DEFAULT_API_BASE_URL, DEFAULT_INTERNAL_API_BASE_URL, MenuItem, Playlist, Portal, PortalDisplay, PortalHero, PortalLayout, PortalNavigation, PortalTheme, RecommendOptions, RecommendResponse, Recommendation, RecommendationVideo, RecommendationsOptions, RecommendationsResponse, SearchOptions, Segment, Settings, Source, ThemeColors, ThemeConfig, Video, VideoAttachment, VideoDownloadUrls, VideoMetadata, VideoSubtitles, VideoTranscript, createClient };
|