@playpilot/tpi 8.23.4 → 8.23.5
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/package.json
CHANGED
|
@@ -172,7 +172,7 @@ export const translations = {
|
|
|
172
172
|
[Language.Danish]: 'Streaming Guide',
|
|
173
173
|
},
|
|
174
174
|
'Streaming Guide Subheading': {
|
|
175
|
-
[Language.English]: 'Discover and search all movies and
|
|
175
|
+
[Language.English]: 'Discover and search all movies and TV shows',
|
|
176
176
|
[Language.Swedish]: 'Upptäck och sök bland alla filmer och tv-serier',
|
|
177
177
|
[Language.Danish]: 'Opdag og søg i alle film og tv-serier',
|
|
178
178
|
},
|
|
@@ -339,8 +339,8 @@ export const translations = {
|
|
|
339
339
|
[Language.Danish]: 'Kommende film',
|
|
340
340
|
},
|
|
341
341
|
'Explore All Movies And Shows': {
|
|
342
|
-
[Language.English]: 'Explore all movies and TV
|
|
343
|
-
[Language.Swedish]: 'Utforska alla filmer och
|
|
342
|
+
[Language.English]: 'Explore all movies and TV shows',
|
|
343
|
+
[Language.Swedish]: 'Utforska alla filmer och tv-serier',
|
|
344
344
|
[Language.Danish]: 'Udforsk alle film og tv-serier',
|
|
345
345
|
},
|
|
346
346
|
|
package/src/lib/url.ts
CHANGED
|
@@ -10,7 +10,7 @@ export function getFullUrlPath(): string {
|
|
|
10
10
|
return location.protocol + '//' + location.host + cleanedPathname
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
export function getUrlParams(): string {
|
|
13
|
+
export function getUrlParams(): Record<string, any> {
|
|
14
14
|
try {
|
|
15
15
|
const url = new URL(location.href)
|
|
16
16
|
return Object.fromEntries(url.searchParams.entries())
|
|
@@ -90,7 +90,6 @@ describe('$lib/splitTest', () => {
|
|
|
90
90
|
window.PlayPilotLinkInjections.split_test_identifiers = {}
|
|
91
91
|
window.PlayPilotLinkInjections.split_test_identifiers[multiple.key] = 0.25
|
|
92
92
|
|
|
93
|
-
|
|
94
93
|
expect(isInSplitTestVariant(multiple, 0)).toBe(true)
|
|
95
94
|
expect(isInSplitTestVariant(multiple, 1)).toBe(false)
|
|
96
95
|
expect(isInSplitTestVariant(multiple, 2)).toBe(false)
|