@pushwoosh/single-spa 1.3.0 → 1.3.1

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 (2) hide show
  1. package/Parcel.js +5 -6
  2. package/package.json +2 -2
package/Parcel.js CHANGED
@@ -1,4 +1,4 @@
1
- import { createElement as _createElement } from "react";
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { useMemo } from 'react';
3
3
  import { mountRootParcel } from 'single-spa';
4
4
  import SingleSpaParcel from 'single-spa-react/parcel';
@@ -16,7 +16,7 @@ export const Parcel = ({
16
16
  return {
17
17
  bootstrap(props) {
18
18
  return loadModule(module).then(imported => {
19
- // eslint-disable-next-line react/prop-types, react-hooks/immutability
19
+ // eslint-disable-next-line react-hooks/immutability
20
20
  parcel = imported[parcelFunctionName](props.domElement);
21
21
  });
22
22
  },
@@ -34,12 +34,11 @@ export const Parcel = ({
34
34
  }
35
35
  };
36
36
  }, [module, parcelFunctionName]);
37
- return _createElement(SingleSpaParcel, {
37
+ return _jsx(SingleSpaParcel, {
38
38
  ...transferProps,
39
39
  spaContext: spaContext,
40
40
  config: parcelConfig,
41
41
  wrapClassName: className,
42
- mountParcel: mountRootParcel,
43
- key: `${module}-${parcelFunctionName}`
44
- });
42
+ mountParcel: mountRootParcel
43
+ }, `${module}-${parcelFunctionName}`);
45
44
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/single-spa",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "single-spa lifecycle helpers for Pushwoosh micro-frontends: application and parcel factories wrapped in SPAContextProvider",
5
5
  "repository": {
6
6
  "type": "git",
@@ -20,7 +20,7 @@
20
20
  "single-spa-react": "^6.0.2"
21
21
  },
22
22
  "devDependencies": {
23
- "@pushwoosh/spa-context": "^3.3.0",
23
+ "@pushwoosh/spa-context": "^3.3.1",
24
24
  "@types/react": "^19.3.0",
25
25
  "@types/react-dom": "^19.3.0",
26
26
  "react": "^19.3.0",