@pexip-engage-public/plugin
Advanced tools
Comparing version 1.0.16-canary-20240213161454 to 1.0.16-canary-20240213184840
# @pexip-engage-public/plugin | ||
## 1.0.16-canary-20240213161454 | ||
## 1.0.16-canary-20240213184840 | ||
@@ -5,0 +5,0 @@ ### Patch Changes |
@@ -14,3 +14,10 @@ import { dispatchEvent } from "./dispatchEvent.js"; | ||
} | ||
window.PexipEngage = window.PexipEngage || function () { }; | ||
window.PexipEngage = | ||
window.PexipEngage || | ||
function () { | ||
let pexip = window.PexipEngage; | ||
pexip.q = pexip.q || []; | ||
let args = arguments; | ||
return new Promise((resolve, reject) => pexip.q.push([args, resolve, reject])); | ||
}; | ||
window.PexipEngage.Plugin = PluginStatic; | ||
@@ -17,0 +24,0 @@ dispatchEvent({ |
{ | ||
"name": "@pexip-engage-public/plugin", | ||
"version": "1.0.16-canary-20240213161454", | ||
"version": "1.0.16-canary-20240213184840", | ||
"homepage": "https://github.com/skedify/frontend-mono/tree/develop/apps/plugin-remix/packages/plugin-public#readme", | ||
@@ -5,0 +5,0 @@ "bugs": { |
@@ -23,3 +23,13 @@ import { dispatchEvent } from "./dispatchEvent.js"; | ||
} | ||
window.PexipEngage = window.PexipEngage || function () {}; | ||
window.PexipEngage = | ||
window.PexipEngage || | ||
function () { | ||
let pexip = window.PexipEngage; | ||
pexip.q = pexip.q || []; | ||
let args: PexipEngagePluginArgs = arguments as any; | ||
return new Promise<PluginInstance>((resolve, reject) => | ||
pexip.q.push([args, resolve, reject]), | ||
); | ||
}; | ||
window.PexipEngage.Plugin = PluginStatic; | ||
@@ -26,0 +36,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
378977
7054