strapi-identity 0.6.1 → 0.7.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.
@@ -50,8 +50,8 @@ export declare const updateConfig: (data: Partial<typeof defaultConfig>) => Prom
50
50
  }>;
51
51
  /**
52
52
  * Checks if a user has MFA enabled by verifying the provided JWT token and checking for an associated MFA token in the database
53
- * @param jwtToken the JWT token to verify and extract the user ID from
53
+ * @param token the JWT token to verify and extract the user ID from
54
54
  * @returns true if the user has MFA enabled, false otherwise
55
55
  */
56
- export declare const checkUserByJWT: (jwtToken: string) => Promise<boolean>;
56
+ export declare const checkUserByJWT: (token: string) => Promise<boolean>;
57
57
  export {};
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.6.1",
2
+ "version": "0.7.1",
3
3
  "keywords": [
4
4
  "strapi",
5
5
  "plugin",
@@ -45,11 +45,11 @@
45
45
  },
46
46
  "devDependencies": {
47
47
  "@strapi/sdk-plugin": "^6.1.1",
48
- "@strapi/typescript-utils": "^5.47.1",
48
+ "@strapi/typescript-utils": "^5.50.2",
49
49
  "@types/bcryptjs": "^2.4.6",
50
- "@types/react": "^18.3.30",
50
+ "@types/react": "^18.3.31",
51
51
  "@types/react-dom": "^18.3.7",
52
- "prettier": "^3.8.3",
52
+ "prettier": "^3.9.5",
53
53
  "typescript": "^5.9.3"
54
54
  },
55
55
  "peerDependencies": {