nitro-web 0.3.3 → 0.3.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nitro-web",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "repository": "github:boycce/nitro-web",
5
5
  "homepage": "https://boycce.github.io/nitro-web/",
6
6
  "description": "Nitro is a battle-tested, modular base project to turbocharge your projects, styled using Tailwind 🚀",
@@ -33,7 +33,7 @@
33
33
  "patch": "npm run types && standard-version -a --release-as patch && npm publish && cd ../webpack && npm publish && git push --follow-tags",
34
34
  "republish": "npm publish && cd ../webpack && npm publish",
35
35
  "test": "node --test tests/*.test.js",
36
- "types": "tsc --ignoreConfig --strict false --rootDir . util.js ./server/index.js --declaration --declarationMap --allowJs --emitDeclarationOnly --jsx react-jsx --esModuleInterop --skipLibCheck --outDir types && cd ../webpack && npm run types -w . && cd ../core"
36
+ "types": "tsc --strict false --rootDir . util.js ./server/index.js --declaration --declarationMap --allowJs --emitDeclarationOnly --jsx react-jsx --esModuleInterop --skipLibCheck --outDir types && cd ../webpack && npm run types -w . && cd ../core"
37
37
  },
38
38
  "dependencies": {
39
39
  "@date-fns/tz": "^1.4.1",
@@ -8,7 +8,7 @@ export function updateMemberRole(req: any, res: any): Promise<void>;
8
8
  export function removeMember(req: any, res: any): Promise<void>;
9
9
  export function userFindFromProvider(query: any, passwordToCheck: any, ...args: any[]): Promise<any>;
10
10
  export function userSigninGetStore(user: any, isDesktop: any): Promise<{
11
- jwt: string;
11
+ jwt: any;
12
12
  user: any;
13
13
  }>;
14
14
  export function getStore(user: any, _req: any): Promise<{
@@ -40,15 +40,15 @@ export function tokenCreate(modelName: any, id: any): Promise<any>;
40
40
  export function tokenParse(token: any, modelName: any, maxAgeMs?: number): any;
41
41
  export function addUserToCompany(companyId: any, userId: any, role: any, token: any, justValidate: any): Promise<any>;
42
42
  export function tokenConfirmForReset(req: any): Promise<{
43
- jwt: string;
43
+ jwt: any;
44
44
  user: any;
45
45
  }>;
46
46
  export function tokenConfirmForSingleTenant(req: any, isReset: any): Promise<{
47
- jwt: string;
47
+ jwt: any;
48
48
  user: any;
49
49
  }>;
50
50
  export function tokenConfirmForMultiTenant(req: any): Promise<{
51
- jwt: string;
51
+ jwt: any;
52
52
  user: any;
53
53
  } | {
54
54
  isExistingUser: boolean;