@parafin/core 2.0.0 → 2.0.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.
package/index.ts CHANGED
@@ -49,7 +49,7 @@ export const openParafinDashboard = (
49
49
  }
50
50
 
51
51
  if ('mode' in props && props.mode === 'redirect') {
52
- window.open(url)
52
+ window.location.href = url
53
53
  return
54
54
  }
55
55
 
package/out/index.js CHANGED
@@ -25,7 +25,7 @@ export const openParafinDashboard = (props) => {
25
25
  return;
26
26
  }
27
27
  if ('mode' in props && props.mode === 'redirect') {
28
- window.open(url);
28
+ window.location.href = url;
29
29
  return;
30
30
  }
31
31
  const existingParafinDashboard = document.getElementById('parafin-dashboard');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parafin/core",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Parafin embedded core",
5
5
  "author": "Parafin (https://www.parafin.com)",
6
6
  "module": "out/index.js",