@pexip-engage-public/plugin-instance
Advanced tools
Comparing version 1.1.2 to 2.0.0-canary-20231013111621
# @pexip-engage-public/plugin-instance | ||
## 2.0.0-canary-20231013111621 | ||
### Major Changes | ||
- f94a30b50: feat: switch plugin packages to native node esm only | ||
### Patch Changes | ||
- Updated dependencies [f94a30b50] | ||
- @pexip-engage-public/plugin-configuration-parser@2.0.0-canary-20231013111621 | ||
- @pexip-engage-public/plugin-events@2.0.0-canary-20231013111621 | ||
- @pexip-engage-public/plugin-state@2.0.0-canary-20231013111621 | ||
- @pexip-engage-public/plugin-utils@2.0.0-canary-20231013111621 | ||
## 1.1.2 | ||
@@ -4,0 +18,0 @@ |
{ | ||
"name": "@pexip-engage-public/plugin-instance", | ||
"version": "1.1.2", | ||
"version": "2.0.0-canary-20231013111621", | ||
"homepage": "https://github.com/skedify/frontend-mono/tree/develop/apps/plugin-remix/packages/plugin-instance#readme", | ||
@@ -20,14 +20,11 @@ "bugs": { | ||
"sideEffects": false, | ||
"type": "module", | ||
"exports": { | ||
".": { | ||
"types": "./typings/index.d.ts", | ||
"import": "./dist/index.mjs" | ||
"import": "./dist/index.js" | ||
} | ||
}, | ||
"module": "./dist/index.mjs", | ||
"types": "./typings/index.d.ts", | ||
"files": [ | ||
"dist", | ||
"CHANGELOG.md", | ||
"typings", | ||
"src" | ||
@@ -37,10 +34,10 @@ ], | ||
"iframe-resizer": "^4.3.7", | ||
"@pexip-engage-public/plugin-configuration-parser": "1.2.0", | ||
"@pexip-engage-public/plugin-events": "1.0.28", | ||
"@pexip-engage-public/plugin-state": "1.2.0", | ||
"@pexip-engage-public/plugin-utils": "1.0.10" | ||
"@pexip-engage-public/plugin-configuration-parser": "2.0.0-canary-20231013111621", | ||
"@pexip-engage-public/plugin-state": "2.0.0-canary-20231013111621", | ||
"@pexip-engage-public/plugin-events": "2.0.0-canary-20231013111621", | ||
"@pexip-engage-public/plugin-utils": "2.0.0-canary-20231013111621" | ||
}, | ||
"devDependencies": { | ||
"tsup": "^7.2.0", | ||
"@pexip-engage/tsconfig": "0.0.9", | ||
"@eslint/eslintrc": "^2.1.2", | ||
"@pexip-engage/tsconfig": "0.0.10-canary-20231013111621", | ||
"eslint-config-pexip-engage": "0.0.39" | ||
@@ -56,9 +53,8 @@ }, | ||
"scripts": { | ||
"build": "tsup", | ||
"clean": "rm -rf .turbo node_modules dist typings", | ||
"dev": "concurrently \"tsc --build --watch\" \"tsup --watch\"", | ||
"build": "tsc --build", | ||
"clean": "rm -rf .turbo node_modules dist tsconfig.tsbuildinfo", | ||
"dev": "tsc --build --watch", | ||
"lint": "cross-env TIMING=1 eslint --max-warnings=0 .", | ||
"lint:fix": "pnpm lint --fix", | ||
"typecheck": "tsc --build" | ||
"lint:fix": "pnpm lint --fix" | ||
} | ||
} |
@@ -1,6 +0,6 @@ | ||
import { dispatchEvent } from "./dispatchEvent"; | ||
import { PluginInstance as _PluginInstance } from "./PluginInstance"; | ||
import { dispatchEvent } from "./dispatchEvent.js"; | ||
import { PluginInstance as _PluginInstance } from "./PluginInstance.js"; | ||
export type { PluginCustomEvent } from "./dispatchEvent"; | ||
export { PEXIP_ENGAGE_PLUGIN_EVENT } from "./dispatchEvent"; | ||
export type { PluginCustomEvent } from "./dispatchEvent.js"; | ||
export { PEXIP_ENGAGE_PLUGIN_EVENT } from "./dispatchEvent.js"; | ||
// Fix for Weird runtime behaviour of current plugin :shrug: | ||
@@ -7,0 +7,0 @@ // Now the property can be called using Skedify.Plugin() again, but besides that we have regular class/singleton behavior. |
@@ -8,10 +8,10 @@ import { | ||
import { | ||
IFrameMessage, | ||
type IFrameMessage, | ||
PluginError, | ||
PluginEvent, | ||
PluginEventMessage, | ||
type PluginEventMessage, | ||
PluginMisconfigured, | ||
PluginMisconfiguredMessage, | ||
type PluginMisconfiguredMessage, | ||
RequestEvent, | ||
StateUpdateMessage, | ||
type StateUpdateMessage, | ||
} from "@pexip-engage-public/plugin-events"; | ||
@@ -21,8 +21,12 @@ import type { PluginIntent } from "@pexip-engage-public/plugin-state"; | ||
import resizer, { | ||
IFrameComponent, | ||
IFrameMessageData, | ||
type IFrameComponent, | ||
type IFrameMessageData, | ||
} from "iframe-resizer/js/iframeResizer.min.js"; | ||
import { dispatchEvent, PEXIP_ENGAGE_PLUGIN_EVENT, PluginCustomEvent } from "./dispatchEvent"; | ||
import { getPexipEngagePluginFrame } from "./PexipEngagePluginFrame"; | ||
import { | ||
dispatchEvent, | ||
PEXIP_ENGAGE_PLUGIN_EVENT, | ||
type PluginCustomEvent, | ||
} from "./dispatchEvent.js"; | ||
import { getPexipEngagePluginFrame } from "./PexipEngagePluginFrame.js"; | ||
@@ -94,2 +98,4 @@ type PluginEventListener = (event: PluginCustomEvent) => unknown; | ||
if (!instance) throw new Error("Failed to create resizer instance"); | ||
this.#instance = instance; | ||
@@ -96,0 +102,0 @@ PluginInstance.#instances.push(this); |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
20
2061
Yes
106767
2
+ Added@pexip-engage-public/plugin-configuration@2.0.0-canary-20231013111621(transitive)
+ Added@pexip-engage-public/plugin-configuration-parser@2.0.0-canary-20231013111621(transitive)
+ Added@pexip-engage-public/plugin-events@2.0.0-canary-20231013111621(transitive)
+ Added@pexip-engage-public/plugin-state@2.0.0-canary-20231013111621(transitive)
+ Added@pexip-engage-public/plugin-utils@2.0.0-canary-20231013111621(transitive)
- Removed@pexip-engage-public/plugin-configuration@1.2.0(transitive)
- Removed@pexip-engage-public/plugin-configuration-parser@1.2.0(transitive)
- Removed@pexip-engage-public/plugin-events@1.0.28(transitive)
- Removed@pexip-engage-public/plugin-state@1.2.0(transitive)
- Removed@pexip-engage-public/plugin-utils@1.0.10(transitive)
Updated@pexip-engage-public/plugin-configuration-parser@2.0.0-canary-20231013111621
Updated@pexip-engage-public/plugin-events@2.0.0-canary-20231013111621
Updated@pexip-engage-public/plugin-state@2.0.0-canary-20231013111621
Updated@pexip-engage-public/plugin-utils@2.0.0-canary-20231013111621