@parafin/core 1.0.1 → 1.0.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.
package/index.ts CHANGED
@@ -1,4 +1,4 @@
1
- export const openParafinDashboard = (props: {
1
+ const openParafinDashboard = (props: {
2
2
  token: string
3
3
  product: 'capital' | 'banking'
4
4
  route?: string
@@ -62,3 +62,5 @@ export const openParafinDashboard = (props: {
62
62
  console.error('Error loading Parafin dashboard', error)
63
63
  }
64
64
  }
65
+
66
+ export { openParafinDashboard }
package/out/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare const openParafinDashboard: (props: {
1
+ declare const openParafinDashboard: (props: {
2
2
  token: string;
3
3
  product: 'capital' | 'banking';
4
4
  route?: string;
@@ -6,3 +6,4 @@ export declare const openParafinDashboard: (props: {
6
6
  onExit?: () => void;
7
7
  environment?: string;
8
8
  }) => void;
9
+ export { openParafinDashboard };
package/out/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export const openParafinDashboard = (props) => {
1
+ const openParafinDashboard = (props) => {
2
2
  try {
3
3
  const existingParafinDashboard = document.getElementById('parafin-dashboard');
4
4
  if (existingParafinDashboard) {
@@ -50,3 +50,4 @@ export const openParafinDashboard = (props) => {
50
50
  console.error('Error loading Parafin dashboard', error);
51
51
  }
52
52
  };
53
+ export { openParafinDashboard };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parafin/core",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Parafin embedded core",
5
5
  "author": "Parafin (https://www.parafin.com)",
6
6
  "module": "out/index.js",