@pexip-engage-public/plugin-instance
Advanced tools
Comparing version 1.0.49 to 1.0.50-canary-20230921163157
# @pexip-engage-public/plugin-instance | ||
## 1.0.50-canary-20230921163157 | ||
### 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-20230921163157 | ||
## 1.0.49 | ||
@@ -4,0 +12,0 @@ |
{ | ||
"name": "@pexip-engage-public/plugin-instance", | ||
"version": "1.0.49", | ||
"version": "1.0.50-canary-20230921163157", | ||
"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.26", | ||
"@pexip-engage-public/plugin-events": "1.0.27-canary-20230921163157", | ||
"@pexip-engage-public/plugin-state": "1.1.7", | ||
@@ -40,0 +40,0 @@ "@pexip-engage-public/plugin-utils": "1.0.10" |
@@ -149,6 +149,14 @@ import { | ||
if (message.type === PluginEvent.STEP_SHOWN) { | ||
return dispatchEvent({ | ||
target: this.#target, | ||
type: PluginEvent.STEP_SHOWN, | ||
detail: { instance: self, payload: message.payload }, | ||
}); | ||
} | ||
if (message.type === PluginEvent.ERROR) { | ||
return dispatchEvent({ | ||
target: this.#target, | ||
type: "ERROR", | ||
type: PluginEvent.ERROR, | ||
subtype: message.payload, | ||
@@ -170,3 +178,3 @@ detail: { instance: self }, | ||
target: this.#target, | ||
type: "MISCONFIGURED", | ||
type: PluginEvent.MISCONFIGURED, | ||
subtype: message.type, | ||
@@ -431,2 +439,3 @@ detail: { instance: self }, | ||
static readonly EVENT_MISCONFIGURED = PluginEvent.MISCONFIGURED; | ||
static readonly EVENT_STEP_SHOWN = PluginEvent.STEP_SHOWN; | ||
static readonly MISCONFIGURED_CLIENT_ID = PluginMisconfigured.CLIENT_ID; | ||
@@ -433,0 +442,0 @@ static readonly MISCONFIGURED_CONTACT_HINTS = PluginMisconfigured.CONTACT_HINTS; |
@@ -140,2 +140,3 @@ import { parsePluginConfiguration } from "@pexip-engage-public/plugin-configuration-parser"; | ||
static readonly EVENT_MISCONFIGURED: "MISCONFIGURED"; | ||
static readonly EVENT_STEP_SHOWN: "STEP_SHOWN"; | ||
static readonly MISCONFIGURED_CLIENT_ID: "CLIENT_ID"; | ||
@@ -142,0 +143,0 @@ static readonly MISCONFIGURED_CONTACT_HINTS: "CONTACT_HINTS"; |
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
99345
1374
2
+ Added@pexip-engage-public/plugin-events@1.0.27-canary-20230921163157(transitive)
- Removed@pexip-engage-public/plugin-events@1.0.26(transitive)
Updated@pexip-engage-public/plugin-events@1.0.27-canary-20230921163157