@kizenapps/engine 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/README.md +3 -3
  2. package/dist/{chunk-5XDRLF3S.js → chunk-FU3KL5LA.js} +5 -5
  3. package/dist/{chunk-5XDRLF3S.js.map → chunk-FU3KL5LA.js.map} +1 -1
  4. package/dist/{chunk-KZR3QEMB.js → chunk-H5I2KPRA.js} +3 -3
  5. package/dist/{chunk-KZR3QEMB.js.map → chunk-H5I2KPRA.js.map} +1 -1
  6. package/dist/{chunk-MOR7SZCJ.js → chunk-KYLFVA5T.js} +3 -3
  7. package/dist/{chunk-MOR7SZCJ.js.map → chunk-KYLFVA5T.js.map} +1 -1
  8. package/dist/{chunk-EJFW6BTY.js → chunk-LWIAZAKH.js} +4 -4
  9. package/dist/{chunk-EJFW6BTY.js.map → chunk-LWIAZAKH.js.map} +1 -1
  10. package/dist/{chunk-WD3N5QHN.js → chunk-NACHIQYN.js} +5 -5
  11. package/dist/{chunk-WD3N5QHN.js.map → chunk-NACHIQYN.js.map} +1 -1
  12. package/dist/{chunk-TTL5GBPJ.js → chunk-NXPBXPPT.js} +3 -3
  13. package/dist/{chunk-TTL5GBPJ.js.map → chunk-NXPBXPPT.js.map} +1 -1
  14. package/dist/{chunk-LD3GQWE2.js → chunk-PFEFU3ID.js} +3 -3
  15. package/dist/{chunk-LD3GQWE2.js.map → chunk-PFEFU3ID.js.map} +1 -1
  16. package/dist/{chunk-5RKE7YHS.js → chunk-TFNOKBLD.js} +3 -3
  17. package/dist/{chunk-5RKE7YHS.js.map → chunk-TFNOKBLD.js.map} +1 -1
  18. package/dist/{chunk-E5HD2HM6.js → chunk-Z7522QNC.js} +3 -3
  19. package/dist/{chunk-E5HD2HM6.js.map → chunk-Z7522QNC.js.map} +1 -1
  20. package/dist/communication.js +2 -2
  21. package/dist/contexts/base.js +4 -4
  22. package/dist/contexts/floatingFrame.js +5 -5
  23. package/dist/contexts/recordDetail.js +5 -5
  24. package/dist/index.js +3 -3
  25. package/dist/react.js +5 -5
  26. package/dist/scripts/merge-translations.js +1 -1
  27. package/dist/util.js +6 -6
  28. package/dist/vite.js +2 -2
  29. package/dist/vite.js.map +1 -1
  30. package/dist/workers/calendarSource.worker.js +6 -6
  31. package/dist/workers/floatingFrame.worker.js +7 -7
  32. package/dist/workers/generic.worker.js +6 -6
  33. package/dist/workers/recordDetail.worker.js +7 -7
  34. package/package.json +1 -1
package/README.md CHANGED
@@ -5,7 +5,7 @@ The core plugin engine for the Kizen developer platform for running plugin apps
5
5
  ### Installation
6
6
 
7
7
  ```
8
- yarn add @kizenapps/plugin-engine
8
+ yarn add @kizenapps/engine
9
9
  ```
10
10
 
11
11
  ### Usage
@@ -15,7 +15,7 @@ Your app needs to be wrapped in the `PluginEngineProvider`. This provider gives
15
15
  #### Context Provider
16
16
 
17
17
  ```tsx
18
- import { PluginEngineProvider } from '@kizenapps/plugin-engine/react';
18
+ import { PluginEngineProvider } from '@kizenapps/engine/react';
19
19
  import { useHistory } from 'react-router-dom';
20
20
  import PluginContext from 'contexts/Plugins';
21
21
 
@@ -139,7 +139,7 @@ const AppProvider = ({ user, teamMember, business, clientObject }) => {
139
139
  #### Running Scripts
140
140
 
141
141
  ```tsx
142
- import { useGenericPluginCustomScript } from '@kizenapps/plugin-engine/react';
142
+ import { useGenericPluginCustomScript } from '@kizenapps/engine/react';
143
143
  import { useToast } from 'components/ToastProvider';
144
144
 
145
145
  const ScriptButton = ({ pluginScript }: { pluginScript: string }) => {
@@ -1,5 +1,5 @@
1
- import { generateUUIDV4, getPartialLocation } from './chunk-TTL5GBPJ.js';
2
- import { IFRAME_PREFIX, ACTIONS, RESPONSES, COMMUNICATIONS, thirdPartyGlobalNames, getScriptIntegrationType, thirdPartySetupScripts, thirdPartyReadyPredicates } from './chunk-MOR7SZCJ.js';
1
+ import { generateUUIDV4, getPartialLocation } from './chunk-NXPBXPPT.js';
2
+ import { IFRAME_PREFIX, ACTIONS, RESPONSES, COMMUNICATIONS, thirdPartyGlobalNames, getScriptIntegrationType, thirdPartySetupScripts, thirdPartyReadyPredicates } from './chunk-KYLFVA5T.js';
3
3
  import { __commonJS, __toESM } from './chunk-5WRI5ZAA.js';
4
4
  import DOMPurify from 'dompurify';
5
5
 
@@ -2408,8 +2408,8 @@ var runObjectExpression = async (expression, values) => {
2408
2408
  };
2409
2409
 
2410
2410
  // src/index.ts
2411
- var version = "0.2.1";
2411
+ var version = "0.2.2";
2412
2412
 
2413
2413
  export { getHash, getStableHash, isFlagEnabled, runExpression, runObjectExpression, runOptionExpression, runScript, runStringExpression, version };
2414
- //# sourceMappingURL=chunk-5XDRLF3S.js.map
2415
- //# sourceMappingURL=chunk-5XDRLF3S.js.map
2414
+ //# sourceMappingURL=chunk-FU3KL5LA.js.map
2415
+ //# sourceMappingURL=chunk-FU3KL5LA.js.map