@trigger.dev/plugins 0.0.0-prerelease-20260508094307 → 4.5.0-rc.0

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/dist/index.d.cts CHANGED
@@ -108,10 +108,12 @@ type PatAuthResult = {
108
108
  ok: true;
109
109
  tokenId: string;
110
110
  userId: string;
111
+ lastAccessedAt: Date | null;
111
112
  subject: RbacSubject;
112
113
  ability: RbacAbility;
113
114
  };
114
115
  interface RoleBaseAccessController {
116
+ isUsingPlugin(): Promise<boolean>;
115
117
  authenticateBearer(request: Request, options?: {
116
118
  allowJWT?: boolean;
117
119
  }): Promise<BearerAuthResult>;
package/dist/index.d.ts CHANGED
@@ -108,10 +108,12 @@ type PatAuthResult = {
108
108
  ok: true;
109
109
  tokenId: string;
110
110
  userId: string;
111
+ lastAccessedAt: Date | null;
111
112
  subject: RbacSubject;
112
113
  ability: RbacAbility;
113
114
  };
114
115
  interface RoleBaseAccessController {
116
+ isUsingPlugin(): Promise<boolean>;
115
117
  authenticateBearer(request: Request, options?: {
116
118
  allowJWT?: boolean;
117
119
  }): Promise<BearerAuthResult>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trigger.dev/plugins",
3
- "version": "0.0.0-prerelease-20260508094307",
3
+ "version": "4.5.0-rc.0",
4
4
  "description": "Plugin contracts and interfaces for Trigger.dev",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -16,7 +16,7 @@
16
16
  "dist"
17
17
  ],
18
18
  "dependencies": {
19
- "@trigger.dev/core": "0.0.0-prerelease-20260508094307"
19
+ "@trigger.dev/core": "4.5.0-rc.0"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@types/node": "^20.14.14",