@pexip-engage-public/plugin-instance
Advanced tools
Comparing version 1.0.50-canary-20230921191855 to 1.0.50-canary-20230925070443
# @pexip-engage-public/plugin-instance | ||
## 1.0.50-canary-20230921191855 | ||
## 1.0.50-canary-20230925070443 | ||
### Patch Changes | ||
- 9f86bbf: SKED-11478: emit event when displaying a step in the booking flow | ||
- Updated dependencies [9f86bbf] | ||
- @pexip-engage-public/plugin-events@1.0.27-canary-20230921191855 | ||
- cf9c0cb24: SKED-11478: emit event when displaying a step in the booking flow | ||
- Updated dependencies [cf9c0cb24] | ||
- @pexip-engage-public/plugin-events@1.0.27-canary-20230925070443 | ||
@@ -11,0 +11,0 @@ ## 1.0.49 |
{ | ||
"name": "@pexip-engage-public/plugin-instance", | ||
"version": "1.0.50-canary-20230921191855", | ||
"version": "1.0.50-canary-20230925070443", | ||
"homepage": "https://github.com/skedify/frontend-mono/tree/develop/apps/plugin-remix/packages/plugin-instance#readme", | ||
@@ -37,3 +37,3 @@ "bugs": { | ||
"@pexip-engage-public/plugin-configuration-parser": "1.1.20", | ||
"@pexip-engage-public/plugin-events": "1.0.27-canary-20230921191855", | ||
"@pexip-engage-public/plugin-events": "1.0.27-canary-20230925070443", | ||
"@pexip-engage-public/plugin-state": "1.1.7", | ||
@@ -40,0 +40,0 @@ "@pexip-engage-public/plugin-utils": "1.0.10" |
@@ -51,4 +51,14 @@ import { | ||
readonly config: ReturnType<typeof parsePluginConfiguration>; | ||
readonly #config: ReturnType<typeof parsePluginConfiguration>; | ||
get config(): ReturnType<typeof parsePluginConfiguration> { | ||
console.warn( | ||
`The property "config" is intended for debugging purposes only and might be changed at any time without notice. Its use in production is strongly discouraged and not supported.`, | ||
); | ||
return this.#config; | ||
} | ||
readonly configuration: ReturnType<typeof parsePluginConfiguration>["config"]; | ||
constructor(target: unknown, options: unknown = {}) { | ||
@@ -65,3 +75,4 @@ if (!isElement(target)) throw new Error("Invalid target passed, expected an element."); | ||
this.config = config; | ||
this.#config = config; | ||
this.configuration = config.config; | ||
@@ -68,0 +79,0 @@ const searchParams = createSearchParamConfig({ config: config.config }); |
@@ -9,3 +9,4 @@ import { parsePluginConfiguration } from "@pexip-engage-public/plugin-configuration-parser"; | ||
readonly fallbackHTML: string; | ||
readonly config: ReturnType<typeof parsePluginConfiguration>; | ||
get config(): ReturnType<typeof parsePluginConfiguration>; | ||
readonly configuration: ReturnType<typeof parsePluginConfiguration>["config"]; | ||
constructor(target: unknown, options?: unknown); | ||
@@ -12,0 +13,0 @@ get hashConfig(): string; |
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
102572
1442