stellate 2.5.1 → 2.5.2

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.
Files changed (3) hide show
  1. package/dist/bin.js +263 -263
  2. package/dist/index.d.ts +44 -8
  3. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -171,8 +171,26 @@ declare const inputSchema: z.ZodObject<{
171
171
  */
172
172
  enablePlayground: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
173
173
  headers: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
174
- scopes: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnknown>]>, z.ZodObject<{
175
- definition: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnknown>]>>>;
174
+ scopes: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
175
+ headers: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
176
+ cookies: z.ZodRecord<z.ZodString, z.ZodString>;
177
+ }, "strip", z.ZodTypeAny, {
178
+ headers: Record<string, string | string[]>;
179
+ cookies: Record<string, string>;
180
+ }, {
181
+ headers: Record<string, string | string[]>;
182
+ cookies: Record<string, string>;
183
+ }>], z.ZodUnknown>, z.ZodNullable<z.ZodString>>]>, z.ZodObject<{
184
+ definition: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
185
+ headers: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
186
+ cookies: z.ZodRecord<z.ZodString, z.ZodString>;
187
+ }, "strip", z.ZodTypeAny, {
188
+ headers: Record<string, string | string[]>;
189
+ cookies: Record<string, string>;
190
+ }, {
191
+ headers: Record<string, string | string[]>;
192
+ cookies: Record<string, string>;
193
+ }>], z.ZodUnknown>, z.ZodNullable<z.ZodString>>]>>>;
176
194
  jwt: z.ZodNullable<z.ZodOptional<z.ZodObject<{
177
195
  claim: z.ZodNullable<z.ZodOptional<z.ZodString>>;
178
196
  algorithm: z.ZodNullable<z.ZodOptional<z.ZodEnum<["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES256k", "EdDSA", "PS256", "PS384", "PS512"]>>>;
@@ -187,14 +205,20 @@ declare const inputSchema: z.ZodObject<{
187
205
  secret?: string | null | undefined;
188
206
  }>>>;
189
207
  }, "strip", z.ZodTypeAny, {
190
- definition?: string | ((...args: unknown[]) => unknown) | null | undefined;
208
+ definition?: string | ((args_0: {
209
+ headers: Record<string, string | string[]>;
210
+ cookies: Record<string, string>;
211
+ }, ...args_1: unknown[]) => string | null) | null | undefined;
191
212
  jwt?: {
192
213
  claim?: string | null | undefined;
193
214
  algorithm?: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES256k" | "EdDSA" | "PS256" | "PS384" | "PS512" | null | undefined;
194
215
  secret?: string | null | undefined;
195
216
  } | null | undefined;
196
217
  }, {
197
- definition?: string | ((...args: unknown[]) => unknown) | null | undefined;
218
+ definition?: string | ((args_0: {
219
+ headers: Record<string, string | string[]>;
220
+ cookies: Record<string, string>;
221
+ }, ...args_1: unknown[]) => string | null) | null | undefined;
198
222
  jwt?: {
199
223
  claim?: string | null | undefined;
200
224
  algorithm?: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES256k" | "EdDSA" | "PS256" | "PS384" | "PS512" | null | undefined;
@@ -777,8 +801,14 @@ declare const inputSchema: z.ZodObject<{
777
801
  }[] | null | undefined;
778
802
  enablePlayground?: boolean | null | undefined;
779
803
  headers?: Record<string, string> | null | undefined;
780
- scopes?: Record<string, string | ((...args: unknown[]) => unknown) | {
781
- definition?: string | ((...args: unknown[]) => unknown) | null | undefined;
804
+ scopes?: Record<string, string | ((args_0: {
805
+ headers: Record<string, string | string[]>;
806
+ cookies: Record<string, string>;
807
+ }, ...args_1: unknown[]) => string | null) | {
808
+ definition?: string | ((args_0: {
809
+ headers: Record<string, string | string[]>;
810
+ cookies: Record<string, string>;
811
+ }, ...args_1: unknown[]) => string | null) | null | undefined;
782
812
  jwt?: {
783
813
  claim?: string | null | undefined;
784
814
  algorithm?: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES256k" | "EdDSA" | "PS256" | "PS384" | "PS512" | null | undefined;
@@ -952,8 +982,14 @@ declare const inputSchema: z.ZodObject<{
952
982
  }[] | null | undefined;
953
983
  enablePlayground?: boolean | null | undefined;
954
984
  headers?: Record<string, string> | null | undefined;
955
- scopes?: Record<string, string | ((...args: unknown[]) => unknown) | {
956
- definition?: string | ((...args: unknown[]) => unknown) | null | undefined;
985
+ scopes?: Record<string, string | ((args_0: {
986
+ headers: Record<string, string | string[]>;
987
+ cookies: Record<string, string>;
988
+ }, ...args_1: unknown[]) => string | null) | {
989
+ definition?: string | ((args_0: {
990
+ headers: Record<string, string | string[]>;
991
+ cookies: Record<string, string>;
992
+ }, ...args_1: unknown[]) => string | null) | null | undefined;
957
993
  jwt?: {
958
994
  claim?: string | null | undefined;
959
995
  algorithm?: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES256k" | "EdDSA" | "PS256" | "PS384" | "PS512" | null | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stellate",
3
- "version": "2.5.1",
3
+ "version": "2.5.2",
4
4
  "engines": {
5
5
  "node": ">=16"
6
6
  },
@@ -44,7 +44,7 @@
44
44
  "vitest": "^0.29.7",
45
45
  "ws": "8.11.0",
46
46
  "yaml": "^1.10.2",
47
- "@gcdn/configuration": "1.27.1"
47
+ "@gcdn/configuration": "1.27.2"
48
48
  },
49
49
  "bin": {
50
50
  "stellate": "dist/bin.js",