@pexip-engage-public/plugin-configuration-parser
Advanced tools
Comparing version 1.2.0-canary-20231002112620 to 1.2.0-canary-20231002113753
@@ -198,3 +198,4 @@ "use strict"; | ||
search_countries: config.sco, | ||
source_href: void 0 | ||
source_href: void 0, | ||
"browser-timezone": void 0 | ||
}); | ||
@@ -607,2 +608,3 @@ } | ||
function parsePluginConfiguration({ | ||
browserTimeZone, | ||
element, | ||
@@ -624,3 +626,4 @@ hash, | ||
...jsConfig, | ||
source_href: href | ||
source_href: href, | ||
"browser-timezone": browserTimeZone | ||
}; | ||
@@ -627,0 +630,0 @@ return { config, domConfig, hashConfig, jsConfig }; |
# @pexip-engage-public/plugin-configuration-parser | ||
## 1.2.0-canary-20231002112620 | ||
## 1.2.0-canary-20231002113753 | ||
@@ -12,3 +12,3 @@ ### Minor Changes | ||
- Updated dependencies [ded0a77ab] | ||
- @pexip-engage-public/plugin-configuration@1.2.0-canary-20231002112620 | ||
- @pexip-engage-public/plugin-configuration@1.2.0-canary-20231002113753 | ||
@@ -15,0 +15,0 @@ ## 1.1.20 |
@@ -198,3 +198,4 @@ "use strict"; | ||
search_countries: config.sco, | ||
source_href: void 0 | ||
source_href: void 0, | ||
"browser-timezone": void 0 | ||
}); | ||
@@ -607,2 +608,3 @@ } | ||
function parsePluginConfiguration({ | ||
browserTimeZone, | ||
element, | ||
@@ -624,3 +626,4 @@ hash, | ||
...jsConfig, | ||
source_href: href | ||
source_href: href, | ||
"browser-timezone": browserTimeZone | ||
}; | ||
@@ -627,0 +630,0 @@ return { config, domConfig, hashConfig, jsConfig }; |
{ | ||
"name": "@pexip-engage-public/plugin-configuration-parser", | ||
"version": "1.2.0-canary-20231002112620", | ||
"version": "1.2.0-canary-20231002113753", | ||
"homepage": "https://github.com/skedify/frontend-mono/tree/develop/apps/plugin-remix/packages/configuration-parser#readme", | ||
@@ -38,3 +38,3 @@ "bugs": { | ||
"skedify-uri-encoding": "^2.1.1", | ||
"@pexip-engage-public/plugin-configuration": "1.2.0-canary-20231002112620", | ||
"@pexip-engage-public/plugin-configuration": "1.2.0-canary-20231002113753", | ||
"@pexip-engage-public/plugin-utils": "1.0.10" | ||
@@ -41,0 +41,0 @@ }, |
@@ -58,2 +58,3 @@ import type { PluginConfiguration } from "@pexip-engage-public/plugin-configuration"; | ||
source_href: undefined, | ||
"browser-timezone": undefined, | ||
}); | ||
@@ -60,0 +61,0 @@ } |
@@ -11,2 +11,3 @@ import type { PluginConfiguration } from "@pexip-engage-public/plugin-configuration"; | ||
export function parsePluginConfiguration({ | ||
browserTimeZone, | ||
element, | ||
@@ -21,2 +22,3 @@ hash, | ||
href?: string; | ||
browserTimeZone?: string; | ||
}): { | ||
@@ -43,2 +45,3 @@ config: PluginConfiguration; | ||
source_href: href, | ||
"browser-timezone": browserTimeZone, | ||
}; | ||
@@ -45,0 +48,0 @@ |
import type { PluginConfiguration } from "@pexip-engage-public/plugin-configuration"; | ||
export { encodeConfigAsHash } from "./ModernParser"; | ||
export { decodeURIParameters, encodeURIParameters } from "./utils"; | ||
export declare function parsePluginConfiguration({ element, hash, href, options, }: { | ||
export declare function parsePluginConfiguration({ browserTimeZone, element, hash, href, options, }: { | ||
element?: HTMLElement; | ||
@@ -9,2 +9,3 @@ hash?: string; | ||
href?: string; | ||
browserTimeZone?: string; | ||
}): { | ||
@@ -11,0 +12,0 @@ config: PluginConfiguration; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
197002
3616