@sentry/junior-plugin-api 0.236.0 → 0.237.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.ts +6 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2165,6 +2165,12 @@ interface PluginHooks {
|
|
|
2165
2165
|
} | void> | {
|
|
2166
2166
|
objectAnnotations: ObjectAnnotation[];
|
|
2167
2167
|
} | void;
|
|
2168
|
+
/**
|
|
2169
|
+
* Select the grant for one sandbox egress request.
|
|
2170
|
+
*
|
|
2171
|
+
* When the manifest also declares generic `credentials` or `apiHeaders`,
|
|
2172
|
+
* return undefined to use those credentials for this request.
|
|
2173
|
+
*/
|
|
2168
2174
|
grantForEgress?(ctx: EgressHookContext): Promise<PluginGrant | undefined> | PluginGrant | undefined;
|
|
2169
2175
|
heartbeat?(ctx: HeartbeatHookContext): Promise<HeartbeatResult | void> | HeartbeatResult | void;
|
|
2170
2176
|
unfinishedWork?(ctx: UnfinishedWorkHookContext): Promise<UnfinishedWorkResult> | UnfinishedWorkResult;
|