@flink-app/generic-auth-plugin 2.0.0-alpha.50 → 2.0.0-alpha.52

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.
@@ -1,4 +1,4 @@
1
- // Generated Wed Feb 11 2026 15:03:37 GMT+0100 (Central European Standard Time)
1
+ // Generated Thu Feb 12 2026 20:37:28 GMT+0100 (Central European Standard Time)
2
2
  import { autoRegisteredAgents } from "@flink-app/flink";
3
3
  export const agents = [];
4
4
  autoRegisteredAgents.push(...agents);
@@ -1,27 +1,27 @@
1
- // Generated Wed Feb 11 2026 15:03:36 GMT+0100 (Central European Standard Time)
1
+ // Generated Thu Feb 12 2026 20:37:28 GMT+0100 (Central European Standard Time)
2
2
  import { autoRegisteredHandlers, HttpMethod } from "@flink-app/flink";
3
3
  import * as UserCreate_0 from "../src/handlers/UserCreate";
4
- import * as UserLogin_0 from "../src/handlers/UserLogin";
5
- import * as UserLoginByToken_0 from "../src/handlers/UserLoginByToken";
6
- import * as UserPasswordPut_0 from "../src/handlers/UserPasswordPut";
7
- import * as UserPasswordResetComplete_0 from "../src/handlers/UserPasswordResetComplete";
8
- import * as UserPasswordResetForm_0 from "../src/handlers/UserPasswordResetForm";
9
- import * as UserPasswordResetStart_0 from "../src/handlers/UserPasswordResetStart";
10
- import * as UserProfileGet_0 from "../src/handlers/UserProfileGet";
11
- import * as UserProfilePut_0 from "../src/handlers/UserProfilePut";
12
- import * as UserPushRegisterToken_0 from "../src/handlers/UserPushRegisterToken";
13
- import * as UserPushRemoveToken_0 from "../src/handlers/UserPushRemoveToken";
14
- import * as UserToken_0 from "../src/handlers/UserToken";
15
- import * as DeleteUserByUserid_0 from "../src/handlers/Management/DeleteUserByUserid";
16
- import * as GetSchema_0 from "../src/handlers/Management/GetSchema";
17
- import * as GetUser_0 from "../src/handlers/Management/GetUser";
18
- import * as GetUserByUserid_0 from "../src/handlers/Management/GetUserByUserid";
19
- import * as GetUserViewByUserid_0 from "../src/handlers/Management/GetUserViewByUserid";
20
- import * as PutUserPasswordByUserid_0 from "../src/handlers/Management/PutUserPasswordByUserid";
21
- import * as PutUserProfileByUserid_0 from "../src/handlers/Management/PutUserProfileByUserid";
22
- import * as PutUserProfileByUseridAppend_0 from "../src/handlers/Management/PutUserProfileByUseridAppend";
23
- import * as PutUserRolesByUserid_0 from "../src/handlers/Management/PutUserRolesByUserid";
24
- import * as PutUserUsernameByUserid_0 from "../src/handlers/Management/PutUserUsernameByUserid";
4
+ import * as UserLogin_1 from "../src/handlers/UserLogin";
5
+ import * as UserLoginByToken_2 from "../src/handlers/UserLoginByToken";
6
+ import * as UserPasswordPut_3 from "../src/handlers/UserPasswordPut";
7
+ import * as UserPasswordResetComplete_4 from "../src/handlers/UserPasswordResetComplete";
8
+ import * as UserPasswordResetForm_5 from "../src/handlers/UserPasswordResetForm";
9
+ import * as UserPasswordResetStart_6 from "../src/handlers/UserPasswordResetStart";
10
+ import * as UserProfileGet_7 from "../src/handlers/UserProfileGet";
11
+ import * as UserProfilePut_8 from "../src/handlers/UserProfilePut";
12
+ import * as UserPushRegisterToken_9 from "../src/handlers/UserPushRegisterToken";
13
+ import * as UserPushRemoveToken_10 from "../src/handlers/UserPushRemoveToken";
14
+ import * as UserToken_11 from "../src/handlers/UserToken";
15
+ import * as DeleteUserByUserid_12 from "../src/handlers/Management/DeleteUserByUserid";
16
+ import * as GetSchema_13 from "../src/handlers/Management/GetSchema";
17
+ import * as GetUser_14 from "../src/handlers/Management/GetUser";
18
+ import * as GetUserByUserid_15 from "../src/handlers/Management/GetUserByUserid";
19
+ import * as GetUserViewByUserid_16 from "../src/handlers/Management/GetUserViewByUserid";
20
+ import * as PutUserPasswordByUserid_17 from "../src/handlers/Management/PutUserPasswordByUserid";
21
+ import * as PutUserProfileByUserid_18 from "../src/handlers/Management/PutUserProfileByUserid";
22
+ import * as PutUserProfileByUseridAppend_19 from "../src/handlers/Management/PutUserProfileByUseridAppend";
23
+ import * as PutUserRolesByUserid_20 from "../src/handlers/Management/PutUserRolesByUserid";
24
+ import * as PutUserUsernameByUserid_21 from "../src/handlers/Management/PutUserUsernameByUserid";
25
25
 
26
26
  export const handlers = [];
27
27
  autoRegisteredHandlers.push(...handlers);
@@ -1,4 +1,4 @@
1
- // Generated Wed Feb 11 2026 15:03:37 GMT+0100 (Central European Standard Time)
1
+ // Generated Thu Feb 12 2026 20:37:28 GMT+0100 (Central European Standard Time)
2
2
  import { autoRegisteredJobs } from "@flink-app/flink";
3
3
  export const jobs = [];
4
4
  autoRegisteredJobs.push(...jobs);
@@ -1,4 +1,4 @@
1
- // Generated Wed Feb 11 2026 15:03:36 GMT+0100 (Central European Standard Time)
1
+ // Generated Thu Feb 12 2026 20:37:28 GMT+0100 (Central European Standard Time)
2
2
  import { autoRegisteredRepos } from "@flink-app/flink";
3
3
  export const repos = [];
4
4
  autoRegisteredRepos.push(...repos);
@@ -1,4 +1,4 @@
1
- // Generated Wed Feb 11 2026 15:03:37 GMT+0100 (Central European Standard Time)
1
+ // Generated Thu Feb 12 2026 20:37:28 GMT+0100 (Central European Standard Time)
2
2
  import { autoRegisteredTools } from "@flink-app/flink";
3
3
  export const tools = [];
4
4
  autoRegisteredTools.push(...tools);
@@ -1 +1 @@
1
- // Generated Wed Feb 11 2026 15:03:37 GMT+0100 (Central European Standard Time)
1
+ // Generated Thu Feb 12 2026 20:37:29 GMT+0100 (Central European Standard Time)
package/.flink/start.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Generated Wed Feb 11 2026 15:03:37 GMT+0100 (Central European Standard Time)
1
+ // Generated Thu Feb 12 2026 20:37:28 GMT+0100 (Central European Standard Time)
2
2
  import "./generatedHandlers";
3
3
  import "./generatedRepos";
4
4
  import "./generatedTools";
package/CHANGELOG.md CHANGED
@@ -1,5 +1,47 @@
1
1
  # @flink-app/generic-auth-plugin
2
2
 
3
+ ## 2.0.0-alpha.52
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [fe9f8f2]
8
+ - @flink-app/flink@2.0.0-alpha.52
9
+ - @flink-app/email-plugin@2.0.0-alpha.52
10
+ - @flink-app/jwt-auth-plugin@2.0.0-alpha.52
11
+ - @flink-app/management-api-plugin@2.0.0-alpha.52
12
+ - @flink-app/sms-plugin@2.0.0-alpha.52
13
+
14
+ ## 2.0.0-alpha.51
15
+
16
+ ### Patch Changes
17
+
18
+ - fix: add peerDependencies to all plugins and adapters
19
+
20
+ **Breaking Change Prevention:**
21
+
22
+ - Added "@flink-app/flink": ">=2.0.0-alpha.0" as peerDependency to all plugins
23
+ - Fixed oidc-plugin peerDependencies from "workspace:\*" to proper version ranges
24
+ - Fixed oauth-plugin to include @flink-app/flink peerDependency
25
+
26
+ **JWT Auth Plugin Interface Fix:**
27
+
28
+ - Removed redundant createToken declaration from JwtAuthPlugin interface
29
+ - The method is already inherited from FlinkAuthPlugin, this fixes TypeScript type checking issues
30
+
31
+ **Why this matters:**
32
+
33
+ - Ensures only one version of @flink-app/flink exists in node_modules
34
+ - Prevents type conflicts when TypeScript resolves interfaces across packages
35
+ - Follows standard plugin architecture best practices (same pattern as React, Webpack, etc.)
36
+ - Package managers now warn if incompatible versions are installed
37
+
38
+ - Updated dependencies
39
+ - @flink-app/jwt-auth-plugin@2.0.0-alpha.51
40
+ - @flink-app/email-plugin@2.0.0-alpha.51
41
+ - @flink-app/management-api-plugin@2.0.0-alpha.51
42
+ - @flink-app/sms-plugin@2.0.0-alpha.51
43
+ - @flink-app/flink@2.0.0-alpha.51
44
+
3
45
  ## 2.0.0-alpha.50
4
46
 
5
47
  ### Patch Changes
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.agents = void 0;
4
- // Generated Wed Feb 11 2026 15:03:37 GMT+0100 (Central European Standard Time)
4
+ // Generated Thu Feb 12 2026 20:37:28 GMT+0100 (Central European Standard Time)
5
5
  var flink_1 = require("@flink-app/flink");
6
6
  exports.agents = [];
7
7
  flink_1.autoRegisteredAgents.push.apply(flink_1.autoRegisteredAgents, exports.agents);
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.handlers = void 0;
4
- // Generated Wed Feb 11 2026 15:03:36 GMT+0100 (Central European Standard Time)
4
+ // Generated Thu Feb 12 2026 20:37:28 GMT+0100 (Central European Standard Time)
5
5
  var flink_1 = require("@flink-app/flink");
6
6
  exports.handlers = [];
7
7
  flink_1.autoRegisteredHandlers.push.apply(flink_1.autoRegisteredHandlers, exports.handlers);
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.jobs = void 0;
4
- // Generated Wed Feb 11 2026 15:03:37 GMT+0100 (Central European Standard Time)
4
+ // Generated Thu Feb 12 2026 20:37:28 GMT+0100 (Central European Standard Time)
5
5
  var flink_1 = require("@flink-app/flink");
6
6
  exports.jobs = [];
7
7
  flink_1.autoRegisteredJobs.push.apply(flink_1.autoRegisteredJobs, exports.jobs);
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.repos = void 0;
4
- // Generated Wed Feb 11 2026 15:03:36 GMT+0100 (Central European Standard Time)
4
+ // Generated Thu Feb 12 2026 20:37:28 GMT+0100 (Central European Standard Time)
5
5
  var flink_1 = require("@flink-app/flink");
6
6
  exports.repos = [];
7
7
  flink_1.autoRegisteredRepos.push.apply(flink_1.autoRegisteredRepos, exports.repos);
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.tools = void 0;
4
- // Generated Wed Feb 11 2026 15:03:37 GMT+0100 (Central European Standard Time)
4
+ // Generated Thu Feb 12 2026 20:37:28 GMT+0100 (Central European Standard Time)
5
5
  var flink_1 = require("@flink-app/flink");
6
6
  exports.tools = [];
7
7
  flink_1.autoRegisteredTools.push.apply(flink_1.autoRegisteredTools, exports.tools);
@@ -1,2 +1,2 @@
1
1
  "use strict";
2
- // Generated Wed Feb 11 2026 15:03:37 GMT+0100 (Central European Standard Time)
2
+ // Generated Thu Feb 12 2026 20:37:29 GMT+0100 (Central European Standard Time)
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- // Generated Wed Feb 11 2026 15:03:37 GMT+0100 (Central European Standard Time)
3
+ // Generated Thu Feb 12 2026 20:37:28 GMT+0100 (Central European Standard Time)
4
4
  require("./generatedHandlers");
5
5
  require("./generatedRepos");
6
6
  require("./generatedTools");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flink-app/generic-auth-plugin",
3
- "version": "2.0.0-alpha.50",
3
+ "version": "2.0.0-alpha.52",
4
4
  "description": "Flink plugin that provides a generic user authentification solution.",
5
5
  "author": "johan@frost.se",
6
6
  "publishConfig": {
@@ -12,18 +12,21 @@
12
12
  "dependencies": {
13
13
  "handlebars": "^4.7.7",
14
14
  "jsonwebtoken": "^8.5.1",
15
- "@flink-app/email-plugin": "2.0.0-alpha.50",
16
- "@flink-app/sms-plugin": "2.0.0-alpha.50",
17
- "@flink-app/jwt-auth-plugin": "2.0.0-alpha.50",
18
- "@flink-app/management-api-plugin": "2.0.0-alpha.50"
15
+ "@flink-app/jwt-auth-plugin": "2.0.0-alpha.52",
16
+ "@flink-app/email-plugin": "2.0.0-alpha.52",
17
+ "@flink-app/sms-plugin": "2.0.0-alpha.52",
18
+ "@flink-app/management-api-plugin": "2.0.0-alpha.52"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@types/jsonwebtoken": "^8.5.2",
22
22
  "@types/node": "22.13.10",
23
23
  "ts-node": "^10.9.2",
24
- "@flink-app/flink": "2.0.0-alpha.50"
24
+ "@flink-app/flink": "2.0.0-alpha.52"
25
25
  },
26
26
  "gitHead": "4243e3b3cd6d4e1ca001a61baa8436bf2bbe4113",
27
+ "peerDependencies": {
28
+ "@flink-app/flink": ">=2.0.0-alpha.52"
29
+ },
27
30
  "scripts": {
28
31
  "test": "echo \"Error: no test specified\"",
29
32
  "build": "flink build",