@pexip-engage-public/plugin-configuration-parser
Advanced tools
Comparing version 1.1.20 to 1.2.0-canary-20230927163206
@@ -198,3 +198,3 @@ "use strict"; | ||
search_countries: config.sco, | ||
"timetable-start_date": void 0 | ||
source_href: void 0 | ||
}); | ||
@@ -339,5 +339,3 @@ } | ||
}, | ||
timetable: { | ||
startDate: config["timetable-start_date"] | ||
} | ||
timetable: {} | ||
} | ||
@@ -612,2 +610,3 @@ }); | ||
hash, | ||
href, | ||
options = {} | ||
@@ -622,3 +621,8 @@ }) { | ||
const jsConfig = { ...legacy.jsConfig, ...modern.jsConfig }; | ||
const config = { ...domConfig, ...hashConfig, ...jsConfig }; | ||
const config = { | ||
...domConfig, | ||
...hashConfig, | ||
...jsConfig, | ||
source_href: href | ||
}; | ||
return { config, domConfig, hashConfig, jsConfig }; | ||
@@ -625,0 +629,0 @@ } |
# @pexip-engage-public/plugin-configuration-parser | ||
## 1.2.0-canary-20230927163206 | ||
### Minor Changes | ||
- ded0a77ab: bug: refactor plugin to not rely on any cookies (safari issue) | ||
### Patch Changes | ||
- Updated dependencies [ded0a77ab] | ||
- @pexip-engage-public/plugin-configuration@1.2.0-canary-20230927163206 | ||
## 1.1.20 | ||
@@ -4,0 +15,0 @@ |
@@ -198,3 +198,3 @@ "use strict"; | ||
search_countries: config.sco, | ||
"timetable-start_date": void 0 | ||
source_href: void 0 | ||
}); | ||
@@ -339,5 +339,3 @@ } | ||
}, | ||
timetable: { | ||
startDate: config["timetable-start_date"] | ||
} | ||
timetable: {} | ||
} | ||
@@ -612,2 +610,3 @@ }); | ||
hash, | ||
href, | ||
options = {} | ||
@@ -622,3 +621,8 @@ }) { | ||
const jsConfig = { ...legacy.jsConfig, ...modern.jsConfig }; | ||
const config = { ...domConfig, ...hashConfig, ...jsConfig }; | ||
const config = { | ||
...domConfig, | ||
...hashConfig, | ||
...jsConfig, | ||
source_href: href | ||
}; | ||
return { config, domConfig, hashConfig, jsConfig }; | ||
@@ -625,0 +629,0 @@ } |
{ | ||
"name": "@pexip-engage-public/plugin-configuration-parser", | ||
"version": "1.1.20", | ||
"version": "1.2.0-canary-20230927163206", | ||
"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.1.2", | ||
"@pexip-engage-public/plugin-configuration": "1.2.0-canary-20230927163206", | ||
"@pexip-engage-public/plugin-utils": "1.0.10" | ||
@@ -41,0 +41,0 @@ }, |
@@ -57,3 +57,3 @@ import type { PluginConfiguration } from "@pexip-engage-public/plugin-configuration"; | ||
search_countries: config.sco, | ||
"timetable-start_date": undefined, | ||
source_href: undefined, | ||
}); | ||
@@ -221,5 +221,3 @@ } | ||
}, | ||
timetable: { | ||
startDate: config["timetable-start_date"], | ||
}, | ||
timetable: {}, | ||
}, | ||
@@ -226,0 +224,0 @@ }); |
@@ -13,2 +13,3 @@ import type { PluginConfiguration } from "@pexip-engage-public/plugin-configuration"; | ||
hash, | ||
href, | ||
options = {}, | ||
@@ -19,2 +20,3 @@ }: { | ||
options?: unknown; | ||
href?: string; | ||
}): { | ||
@@ -36,3 +38,8 @@ config: PluginConfiguration; | ||
const config = { ...domConfig, ...hashConfig, ...jsConfig }; | ||
const config: PluginConfiguration = { | ||
...domConfig, | ||
...hashConfig, | ||
...jsConfig, | ||
source_href: href, | ||
}; | ||
@@ -39,0 +46,0 @@ return { config, domConfig, hashConfig, jsConfig }; |
import type { PluginConfiguration } from "@pexip-engage-public/plugin-configuration"; | ||
export { encodeConfigAsHash } from "./ModernParser"; | ||
export { decodeURIParameters, encodeURIParameters } from "./utils"; | ||
export declare function parsePluginConfiguration({ element, hash, options, }: { | ||
export declare function parsePluginConfiguration({ element, hash, href, options, }: { | ||
element?: HTMLElement; | ||
hash?: string; | ||
options?: unknown; | ||
href?: string; | ||
}): { | ||
@@ -9,0 +10,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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
196515
3602
2
+ Added@pexip-engage-public/plugin-configuration@1.2.0-canary-20230927163206(transitive)
+ Addedcall-bind-apply-helpers@1.0.1(transitive)
- Removed@pexip-engage-public/plugin-configuration@1.1.2(transitive)
- Removedcall-bind-apply-helpers@1.0.2(transitive)
Updated@pexip-engage-public/plugin-configuration@1.2.0-canary-20230927163206