@parafin/react 1.0.2 → 1.0.3

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.
package/index.tsx CHANGED
@@ -58,7 +58,7 @@ const ParafinWidget = (props: {
58
58
  const hasOptIn = `&hasOptIn=${props.onOptIn ? 'true' : 'false'}`
59
59
  const host = `&host=${window.location.origin}`
60
60
  const externalBusinessId = props.externalBusinessId
61
- ? `&external_business_id=${props.externalBusinessId}`
61
+ ? `&externalBusinessId=${props.externalBusinessId}`
62
62
  : ''
63
63
 
64
64
  const messageListener = async ({ data, origin }: MessageEvent) => {
package/out/index.js CHANGED
@@ -24,7 +24,7 @@ const ParafinWidget = (props) => {
24
24
  const hasOptIn = `&hasOptIn=${props.onOptIn ? 'true' : 'false'}`;
25
25
  const host = `&host=${window.location.origin}`;
26
26
  const externalBusinessId = props.externalBusinessId
27
- ? `&external_business_id=${props.externalBusinessId}`
27
+ ? `&externalBusinessId=${props.externalBusinessId}`
28
28
  : '';
29
29
  const messageListener = async ({ data, origin }) => {
30
30
  if (origin === baseUrl) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parafin/react",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Parafin React widget",
5
5
  "author": "Parafin (https://www.parafin.com)",
6
6
  "module": "out/index.js",
@@ -14,7 +14,7 @@
14
14
  "typescript": "^4.9.5"
15
15
  },
16
16
  "dependencies": {
17
- "@parafin/core": "^1.0.3",
17
+ "@parafin/core": "^1.0.4",
18
18
  "react": "^18.2.0"
19
19
  }
20
20
  }