@schemavaults/auth-server-sdk 0.44.2 → 0.44.5

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 +38 -2
  2. package/package.json +6 -6
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.44.2" : "unknown";
92
+ const version2 = true ? "0.44.5" : "unknown";
93
93
  return `${CODEGEN_MARKER_PREFIX}${version2}`;
94
94
  }
95
95
  function hasCodegenMarker(firstLine) {
@@ -20390,6 +20390,42 @@ var schemaVaultsApiServerDomainRefSchema = external_exports.object({
20390
20390
  hardcoded: true
20391
20391
  }).strict();
20392
20392
 
20393
+ // ../app-definitions/dist/api-server-domain-verification.js
20394
+ var API_SERVER_DOMAIN_VERIFICATION_METHODS = [
20395
+ "dns_txt",
20396
+ "administrator"
20397
+ ];
20398
+ var apiServerDomainVerificationMethodSchema = external_exports.enum(API_SERVER_DOMAIN_VERIFICATION_METHODS);
20399
+ var apiServerDomainVerificationTxtRecordSchema = external_exports.object({
20400
+ /**
20401
+ * Fully qualified record name, after the auth server deployment's own app
20402
+ * id, e.g. `_schemavaults-auth-domain-verification.api.example.com`
20403
+ */
20404
+ name: external_exports.string().min(1),
20405
+ /** Exact record value to publish. */
20406
+ value: external_exports.string().min(1)
20407
+ });
20408
+ var apiServerDomainVerificationSchema = external_exports.object({
20409
+ api_server_domain_ref_id: external_exports.guid(),
20410
+ /**
20411
+ * Whether the domain's ownership is verified: it then takes precedence
20412
+ * over other API servers' unverified registrations of it, and keeps
20413
+ * resolving RFC 8707 `resource` URLs once the auth server requires
20414
+ * verification.
20415
+ */
20416
+ verified: external_exports.boolean(),
20417
+ /** When the domain was verified (epoch ms); null while pending. */
20418
+ verified_at: external_exports.number().nonnegative().nullable(),
20419
+ verification_method: apiServerDomainVerificationMethodSchema.nullable(),
20420
+ /**
20421
+ * The TXT record to publish (and keep published) for DNS verification;
20422
+ * null when the domain's host cannot be verified through DNS (loopback
20423
+ * and IP-literal hosts, single-label names), which only a platform
20424
+ * administrator can verify.
20425
+ */
20426
+ dns_txt_record: apiServerDomainVerificationTxtRecordSchema.nullable()
20427
+ });
20428
+
20393
20429
  // ../app-definitions/dist/list-registry-api-servers-query-params.js
20394
20430
  var list_api_servers_query_type = [
20395
20431
  "all",
@@ -23478,7 +23514,7 @@ async function main() {
23478
23514
  return;
23479
23515
  }
23480
23516
  if (args.includes("--version") || args.includes("-v")) {
23481
- console.log(`${PACKAGE_NAME}@${"0.44.2"}`);
23517
+ console.log(`${PACKAGE_NAME}@${"0.44.5"}`);
23482
23518
  return;
23483
23519
  }
23484
23520
  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.44.2",
4
+ "version": "0.44.5",
5
5
  "license": "UNLICENSED",
6
6
  "private": false,
7
7
  "repository": {
@@ -18,9 +18,9 @@
18
18
  },
19
19
  "dependencies": {
20
20
  "zod": "4.6.7",
21
- "@schemavaults/jwt": "0.17.5",
22
- "@schemavaults/auth-common": "0.41.0",
23
- "@schemavaults/app-definitions": "0.17.0"
21
+ "@schemavaults/jwt": "0.17.8",
22
+ "@schemavaults/auth-common": "0.41.3",
23
+ "@schemavaults/app-definitions": "0.18.2"
24
24
  },
25
25
  "scripts": {
26
26
  "build": "tsc --project tsconfig.json && tsc-alias --project tsconfig.json && bun run copy-codegen-templates && bun run prepare-cli",
@@ -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.8.3"
49
+ "@schemavaults/openapi-operations": "0.8.6"
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.8.3"
183
+ "@schemavaults/openapi-operations": "0.8.6"
184
184
  },
185
185
  "peerDependenciesMeta": {
186
186
  "@schemavaults/openapi-operations": {