@flink-app/firebase-messaging-plugin 2.0.0-alpha.50 → 2.0.0-alpha.51

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:30 GMT+0100 (Central European Standard Time)
1
+ // Generated Thu Feb 12 2026 19:49:37 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,4 +1,4 @@
1
- // Generated Wed Feb 11 2026 15:03:30 GMT+0100 (Central European Standard Time)
1
+ // Generated Thu Feb 12 2026 19:49:37 GMT+0100 (Central European Standard Time)
2
2
  import { autoRegisteredHandlers, HttpMethod } from "@flink-app/flink";
3
3
  import * as PostMessage_0 from "../src/handlers/PostMessage";
4
4
 
@@ -1,4 +1,4 @@
1
- // Generated Wed Feb 11 2026 15:03:30 GMT+0100 (Central European Standard Time)
1
+ // Generated Thu Feb 12 2026 19:49:37 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:30 GMT+0100 (Central European Standard Time)
1
+ // Generated Thu Feb 12 2026 19:49:37 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:30 GMT+0100 (Central European Standard Time)
1
+ // Generated Thu Feb 12 2026 19:49:37 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,7 +1,7 @@
1
1
  import Message from "../../src/schemas/Message";
2
2
  import SendResult from "../../src/schemas/SendResult";
3
3
 
4
- // Generated Wed Feb 11 2026 15:03:30 GMT+0100 (Central European Standard Time)
4
+ // Generated Thu Feb 12 2026 19:49:37 GMT+0100 (Central European Standard Time)
5
5
  export interface PostMessage_12_ReqSchema extends Message {}
6
6
 
7
7
  export interface PostMessage_12_ResSchema extends SendResult {}
package/.flink/start.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Generated Wed Feb 11 2026 15:03:30 GMT+0100 (Central European Standard Time)
1
+ // Generated Thu Feb 12 2026 19:49:37 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,33 @@
1
1
  # @flink-app/firebase-messaging-plugin
2
2
 
3
+ ## 2.0.0-alpha.51
4
+
5
+ ### Patch Changes
6
+
7
+ - fix: add peerDependencies to all plugins and adapters
8
+
9
+ **Breaking Change Prevention:**
10
+
11
+ - Added "@flink-app/flink": ">=2.0.0-alpha.0" as peerDependency to all plugins
12
+ - Fixed oidc-plugin peerDependencies from "workspace:\*" to proper version ranges
13
+ - Fixed oauth-plugin to include @flink-app/flink peerDependency
14
+
15
+ **JWT Auth Plugin Interface Fix:**
16
+
17
+ - Removed redundant createToken declaration from JwtAuthPlugin interface
18
+ - The method is already inherited from FlinkAuthPlugin, this fixes TypeScript type checking issues
19
+
20
+ **Why this matters:**
21
+
22
+ - Ensures only one version of @flink-app/flink exists in node_modules
23
+ - Prevents type conflicts when TypeScript resolves interfaces across packages
24
+ - Follows standard plugin architecture best practices (same pattern as React, Webpack, etc.)
25
+ - Package managers now warn if incompatible versions are installed
26
+
27
+ - Updated dependencies
28
+ - @flink-app/management-api-plugin@2.0.0-alpha.51
29
+ - @flink-app/flink@2.0.0-alpha.51
30
+
3
31
  ## 2.0.0-alpha.50
4
32
 
5
33
  ### 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:30 GMT+0100 (Central European Standard Time)
4
+ // Generated Thu Feb 12 2026 19:49:37 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);
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.handlers = void 0;
27
- // Generated Wed Feb 11 2026 15:03:30 GMT+0100 (Central European Standard Time)
27
+ // Generated Thu Feb 12 2026 19:49:37 GMT+0100 (Central European Standard Time)
28
28
  var flink_1 = require("@flink-app/flink");
29
29
  var PostMessage_0 = __importStar(require("../src/handlers/PostMessage"));
30
30
  exports.handlers = [{ handler: PostMessage_0, assumedHttpMethod: flink_1.HttpMethod.post }];
@@ -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:30 GMT+0100 (Central European Standard Time)
4
+ // Generated Thu Feb 12 2026 19:49:37 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:30 GMT+0100 (Central European Standard Time)
4
+ // Generated Thu Feb 12 2026 19:49:37 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:30 GMT+0100 (Central European Standard Time)
4
+ // Generated Thu Feb 12 2026 19:49:37 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,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- // Generated Wed Feb 11 2026 15:03:30 GMT+0100 (Central European Standard Time)
3
+ // Generated Thu Feb 12 2026 19:49:37 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/firebase-messaging-plugin",
3
- "version": "2.0.0-alpha.50",
3
+ "version": "2.0.0-alpha.51",
4
4
  "description": "Flink plugin to send Firebase cloud messages",
5
5
  "author": "joel@frost.se",
6
6
  "license": "MIT",
@@ -11,14 +11,17 @@
11
11
  },
12
12
  "dependencies": {
13
13
  "firebase-admin": "^12.1.1",
14
- "@flink-app/management-api-plugin": "2.0.0-alpha.50"
14
+ "@flink-app/management-api-plugin": "2.0.0-alpha.51"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@types/node": "22.13.10",
18
18
  "tsc-watch": "^4.2.9",
19
- "@flink-app/flink": "2.0.0-alpha.50"
19
+ "@flink-app/flink": "2.0.0-alpha.51"
20
20
  },
21
21
  "gitHead": "4243e3b3cd6d4e1ca001a61baa8436bf2bbe4113",
22
+ "peerDependencies": {
23
+ "@flink-app/flink": ">=2.0.0-alpha.51"
24
+ },
22
25
  "scripts": {
23
26
  "test": "echo \"Error: no test specified\"",
24
27
  "build": "flink build",