@schemavaults/auth-server-sdk 0.42.0 → 0.42.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 (2) hide show
  1. package/dist/cli.cjs +6 -3
  2. package/package.json +5 -5
package/dist/cli.cjs CHANGED
@@ -89,7 +89,7 @@ var init_resolve_codegen_templates_directory = __esm({
89
89
 
90
90
  // src/NextjsAppDirectoryPlugin/codegen-marker.ts
91
91
  function getCodegenMarkerComment() {
92
- const version2 = true ? "0.42.0" : "unknown";
92
+ const version2 = true ? "0.42.2" : "unknown";
93
93
  return `${CODEGEN_MARKER_PREFIX}${version2}`;
94
94
  }
95
95
  function hasCodegenMarker(firstLine) {
@@ -20865,7 +20865,7 @@ var OIDC_RESERVED_SCOPES = [
20865
20865
  function isOidcReservedScope(scope) {
20866
20866
  return OIDC_RESERVED_SCOPES.includes(scope);
20867
20867
  }
20868
- var MAX_OIDC_SCOPE_LENGTH = 256;
20868
+ var MAX_OIDC_SCOPE_LENGTH = 1024;
20869
20869
  var OIDC_SCOPE_REGEX = /^[\x21\x23-\x5B\x5D-\x7E]+(?: [\x21\x23-\x5B\x5D-\x7E]+)*$/;
20870
20870
  var oidcScopeSchema = external_exports.string().min(1).max(MAX_OIDC_SCOPE_LENGTH).regex(OIDC_SCOPE_REGEX, {
20871
20871
  message: "'scope' must be a space-delimited list of RFC 6749 \xA73.3 scope tokens"
@@ -21001,6 +21001,9 @@ var updateAppApiScopePolicyRequestSchema = external_exports.object({
21001
21001
  user_scopes: scopeValueListSchema,
21002
21002
  service_account_scopes: scopeValueListSchema
21003
21003
  }).strict();
21004
+ var appApiConnectionFirstPartySchema = external_exports.object({
21005
+ first_party: external_exports.boolean()
21006
+ }).strict();
21004
21007
 
21005
21008
  // ../auth-common/dist/api-scopes/consent.js
21006
21009
  var consentScopeSchema = external_exports.object({
@@ -23384,7 +23387,7 @@ async function main() {
23384
23387
  return;
23385
23388
  }
23386
23389
  if (args.includes("--version") || args.includes("-v")) {
23387
- console.log(`${PACKAGE_NAME}@${"0.42.0"}`);
23390
+ console.log(`${PACKAGE_NAME}@${"0.42.2"}`);
23388
23391
  return;
23389
23392
  }
23390
23393
  const command = findCommand(args, FLAGS_WITH_VALUES) ?? "codegen";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@schemavaults/auth-server-sdk",
3
3
  "description": "TypeScript SDK for building authenticated endpoints/middlewares for the Auth Server and Resource Servers",
4
- "version": "0.42.0",
4
+ "version": "0.42.2",
5
5
  "license": "UNLICENSED",
6
6
  "private": false,
7
7
  "repository": {
@@ -18,8 +18,8 @@
18
18
  },
19
19
  "dependencies": {
20
20
  "zod": "4.6.7",
21
- "@schemavaults/jwt": "0.17.0",
22
- "@schemavaults/auth-common": "0.38.0",
21
+ "@schemavaults/jwt": "0.17.2",
22
+ "@schemavaults/auth-common": "0.39.1",
23
23
  "@schemavaults/app-definitions": "0.17.0"
24
24
  },
25
25
  "scripts": {
@@ -46,7 +46,7 @@
46
46
  "@typescript-eslint/eslint-plugin": "8.48.1",
47
47
  "@typescript-eslint/parser": "8.48.1",
48
48
  "esbuild": "0.27.3",
49
- "@schemavaults/openapi-operations": "0.7.0"
49
+ "@schemavaults/openapi-operations": "0.7.2"
50
50
  },
51
51
  "publishConfig": {
52
52
  "access": "public"
@@ -180,7 +180,7 @@
180
180
  }
181
181
  },
182
182
  "peerDependencies": {
183
- "@schemavaults/openapi-operations": "0.7.0"
183
+ "@schemavaults/openapi-operations": "0.7.2"
184
184
  },
185
185
  "peerDependenciesMeta": {
186
186
  "@schemavaults/openapi-operations": {