andoncloud-sdk 1.3.8 → 1.3.9

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/package.json +3 -2
  2. package/src/index.d.ts +8 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "andoncloud-sdk",
3
- "version": "1.3.8",
3
+ "version": "1.3.9",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "source": "src/index.js",
@@ -73,6 +73,7 @@
73
73
  "react-router-dom": "^6.0.0"
74
74
  },
75
75
  "files": [
76
- "dist"
76
+ "dist",
77
+ "src/index.d.ts"
77
78
  ]
78
79
  }
package/src/index.d.ts ADDED
@@ -0,0 +1,8 @@
1
+ import App from "./app/components/app";
2
+ import Container from "./app/components/container";
3
+ import useLogin from "./app/hooks/useLogin";
4
+ import useLoginStatus from "./app/hooks/useLoginStatus";
5
+ export function logout(): Promise<void>;
6
+ export function setLocale(locale: any): void;
7
+ import toast from "react-hot-toast";
8
+ export { App, Container, useLogin, useLoginStatus, toast as notify };