New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@pexip-engage-public/plugin-react

Package Overview
Dependencies
Maintainers
1
Versions
413
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pexip-engage-public/plugin-react - npm Package Compare versions

Comparing version 0.0.7 to 1.0.3

src/PexipEngageContext.ts

47

CHANGELOG.md
# @pexip-engage-public/plugin-react
## 1.0.3
### Patch Changes
- 5074ca228: chore: fix npm deploy
- Updated dependencies [5074ca228]
- @pexip-engage-public/plugin-configuration-parser@1.0.3
- @pexip-engage-public/plugin-instance@1.0.3
## 1.0.2
### Patch Changes
- f60e86f22: chore: fix npm deploy
- Updated dependencies [f60e86f22]
- @pexip-engage-public/plugin-configuration-parser@1.0.2
- @pexip-engage-public/plugin-instance@1.0.2
## 1.0.1
### Patch Changes
- Updated dependencies [f8a00497c]
- @pexip-engage-public/plugin-configuration-parser@1.0.1
- @pexip-engage-public/plugin-instance@1.0.1
## 1.0.0
### Major Changes
- 17f29c6e4: **BREAKING**: setup `@pexip-engage-public/plugin-react` package for v2 compatibility of the actual plugin only.
- Dropped V1 (Skedify) plugin support
Users are advised to stay on 0.x version of this package until they fully migrate to the new version of the plugin, which will be backwards compatible. Only use this package if you're only using V2 version of the (Pexip Engage) plugin.
- Dropped CRA4 hacks
- Renamed exports, see updated README.md
### Patch Changes
- bdd45aa1a: [Hackathon] Plugin CSS editor in Web-Admin
- Updated dependencies [17f29c6e4]
- Updated dependencies [85be36ba9]
- Updated dependencies [bdd45aa1a]
- Updated dependencies [f67ee95f5]
- @pexip-engage-public/plugin-configuration-parser@1.0.0
- @pexip-engage-public/plugin-instance@1.0.0
## 0.0.7

@@ -4,0 +51,0 @@

27

package.json
{
"name": "@pexip-engage-public/plugin-react",
"version": "0.0.7",
"description": "React wrapper component for the Skedify Plugin",
"homepage": "https://github.com/skedify/frontend-mono/tree/develop/packages/plugin-react#readme",
"version": "1.0.3",
"description": "React wrapper component for the Pexip Engage Plugin",
"homepage": "https://github.com/skedify/frontend-mono/tree/develop/apps/plugin-remix/packages/plugin-react#readme",
"bugs": {

@@ -12,3 +12,3 @@ "url": "https://github.com/skedify/frontend-mono/issues"

"url": "git+https://github.com/skedify/frontend-mono.git",
"directory": "packages/plugin-react"
"directory": "apps/plugin-remix/packages/plugin-react"
},

@@ -24,4 +24,4 @@ "license": "UNLICENSED",

".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js"
"types": "./typings/index.d.ts",
"import": "./dist/index.mjs"
},

@@ -32,3 +32,2 @@ "./src/index.tsx": {

},
"main": "./dist/index.js",
"module": "./dist/index.mjs",

@@ -42,11 +41,10 @@ "types": "./typings/index.d.ts",

],
"jest": {
"preset": "@pexip-engage/scripts/jest/node"
},
"dependencies": {
"deepmerge": "4.2.2"
"deepmerge": "4.2.2",
"@pexip-engage-public/plugin-configuration-parser": "1.0.3",
"@pexip-engage-public/plugin-instance": "1.0.3"
},
"devDependencies": {
"@pexip-engage/scripts": "0.0.17",
"@pexip-engage/tsconfig": "0.0.5"
"@pexip-engage/tsconfig": "0.0.7",
"eslint-config-pexip-engage": "0.0.9"
},

@@ -57,3 +55,3 @@ "peerDependencies": {

"volta": {
"extends": "../../package.json"
"extends": "../../../../package.json"
},

@@ -70,5 +68,4 @@ "publishConfig": {

"lint:fix": "pnpm lint --fix",
"test": "jest --passWithNoTests",
"typecheck": "tsc"
}
}

@@ -7,6 +7,6 @@ # @pexip-engage-public/plugin-react

- `<SkedifyPlugin configuration={configuration} />`:
- `<PexipEngagePlugin configuration={configuration} />`:
React Component that renders the plugin inside a `div`. You can pass plugin options to it using the `configuration` prop. All other props are passed through to the underlying `div` element.
- `<SkedifyPluginProvider value={configuration}>`:
- `<PexipEngagePluginProvider value={configuration}>`:
This is a React Context Provider, that allows you to set certain default values. The interface is the same as the `configuration` prop.

@@ -33,6 +33,6 @@

return (
<SkedifyPluginProvider value={defaultConfig}>
{/* All <SkedifyPlugin /> components will now merge their own passed configuration with the defaultConfig value */}
<SkedifyPlugin configuration={{ appointment: { subject_id: "1" } }}>
</SkedifyPluginProvider>
<PexipEngagePluginProvider value={defaultConfig}>
{/* All <PexipEngagePlugin /> components will now merge their own passed configuration with the defaultConfig value */}
<PexipEngagePlugin configuration={{ config: { subjects: { ids: "1" } }}}>
</PexipEngagePluginProvider>
);

@@ -42,6 +42,6 @@ }

The `SkedifyPlugin` reads the current context value, and merges it with its own passed props.
The `PexipEngagePlugin` reads the current context value, and merges it with its own passed props.
Required props:
- `scriptSrc`: The plugin entry point URL. eg: `https://plugin.skedify.io/{ENTERPRISE_NAME}/skedify-plugin.js`
- `scriptSrc`: The plugin entry point URL. eg: `https://{ENTERPRISE_NAME}.plugin.skedify.io/{ENTERPRISE_NAME}/skedify-plugin.js`

@@ -1,4 +0,5 @@

export { SkedifyPlugin } from "./SkedifyPlugin";
export type { SkedifyPluginContextProps } from "./SkedifyPluginContext";
export { SkedifyPluginProvider } from "./SkedifyPluginContext";
export type { PexipEngagePluginContextProps } from "./PexipEngageContext";
export { PexipEngagePluginProvider } from "./PexipEngageContext";
export { PexipEngagePlugin } from "./PexipEngagePlugin";
export { usePexipEngagePlugin } from "./usePexipEngagePlugin";
//# sourceMappingURL=index.d.ts.map

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc