fiberx-backend-toolkit 0.0.69 → 0.0.70

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.
@@ -121,8 +121,8 @@ class TOTPServiceUtil {
121
121
  }
122
122
  generateAppSecret(member_email, custom_app_name = "") {
123
123
  const app_name = this.env_manager.getEnvVar("APP_NAME", custom_app_name) ?? custom_app_name;
124
- const name = input_validator_util_1.default.isProduction() ? `${app_name}:${member_email}` : `Dev ${app_name}:${member_email}`;
125
- const issuer = (this.env_manager.getEnvVar("APP_ID", custom_app_name) ?? custom_app_name)?.toLowerCase();
124
+ const name = member_email;
125
+ const issuer = input_validator_util_1.default.isProduction() ? `${app_name}:${member_email}` : `Dev ${app_name}:${member_email}`;
126
126
  return this.generateSecret({ name, issuer });
127
127
  }
128
128
  // ===============================
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fiberx-backend-toolkit",
3
- "version": "0.0.69",
3
+ "version": "0.0.70",
4
4
  "description": "A TypeScript backend toolkit providing shared domain logic, infrastructure helpers, and utilities for FiberX server-side applications and services.",
5
5
  "type": "commonjs",
6
6
  "main": "./dist/index.js",