@sentry/junior-plugin-api 0.92.1 → 0.94.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.
@@ -30,6 +30,7 @@ export declare const pluginStoredTokensSchema: z.ZodObject<{
30
30
  /** Runtime schema for a plugin-defined outbound credential grant. */
31
31
  export declare const pluginGrantSchema: z.ZodObject<{
32
32
  access: z.ZodUnion<readonly [z.ZodLiteral<"read">, z.ZodLiteral<"write">]>;
33
+ leaseScope: z.ZodOptional<z.ZodString>;
33
34
  name: z.ZodString;
34
35
  reason: z.ZodOptional<z.ZodString>;
35
36
  requirements: z.ZodOptional<z.ZodArray<z.ZodString>>;
package/dist/index.js CHANGED
@@ -345,6 +345,7 @@ var pluginStoredTokensSchema = z7.object({
345
345
  }).strict();
346
346
  var pluginGrantSchema = z7.object({
347
347
  access: pluginGrantAccessSchema,
348
+ leaseScope: nonBlankStringSchema.optional(),
348
349
  name: pluginGrantNameSchema,
349
350
  reason: nonBlankStringSchema.optional(),
350
351
  requirements: z7.array(nonBlankStringSchema).min(1).optional()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/junior-plugin-api",
3
- "version": "0.92.1",
3
+ "version": "0.94.0",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -43,6 +43,7 @@ export const pluginStoredTokensSchema = z
43
43
  export const pluginGrantSchema = z
44
44
  .object({
45
45
  access: pluginGrantAccessSchema,
46
+ leaseScope: nonBlankStringSchema.optional(),
46
47
  name: pluginGrantNameSchema,
47
48
  reason: nonBlankStringSchema.optional(),
48
49
  requirements: z.array(nonBlankStringSchema).min(1).optional(),