@adcp/sdk 14.0.0-beta.23 → 14.0.0-beta.24

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.
@@ -4,5 +4,5 @@
4
4
  "source_sha": "4e553ad955f83b49c7d221ab5c3ff78237ad02e3",
5
5
  "source_tarball_sha256": "580656d6466ef9f0d1119985e6726c2efea718dc671e2ad30957fcb2fd54af0f",
6
6
  "upstream_adcp_version": "2.5.3",
7
- "synced_at": "2026-08-30T13:02:45.461Z"
7
+ "synced_at": "2026-08-30T18:27:50.374Z"
8
8
  }
@@ -197,7 +197,7 @@ export interface UpstreamTrafficQueryResult {
197
197
  */
198
198
  export declare function runValidations(validations: StoryboardValidation[], context: ValidationContext): ValidationResult[];
199
199
  /** Capability semver emitted in run summaries and used for advisory expiry. */
200
- export declare const RUNNER_CAPABILITY_VERSION = "14.0.0-beta.23";
200
+ export declare const RUNNER_CAPABILITY_VERSION = "14.0.0-beta.24";
201
201
  /** True when a failed validation contributes to the owning step's grade. */
202
202
  export declare function validationFailsStep(result: ValidationResult): boolean;
203
203
  /**
@@ -197,7 +197,7 @@ export interface UpstreamTrafficQueryResult {
197
197
  */
198
198
  export declare function runValidations(validations: StoryboardValidation[], context: ValidationContext): ValidationResult[];
199
199
  /** Capability semver emitted in run summaries and used for advisory expiry. */
200
- export declare const RUNNER_CAPABILITY_VERSION = "14.0.0-beta.23";
200
+ export declare const RUNNER_CAPABILITY_VERSION = "14.0.0-beta.24";
201
201
  /** True when a failed validation contributes to the owning step's grade. */
202
202
  export declare function validationFailsStep(result: ValidationResult): boolean;
203
203
  /**
@@ -4043,12 +4043,12 @@ const PriceGuidanceSchema = import_zod.z.object({
4043
4043
  const VCPMPricingOptionSchema = import_zod.z.object({
4044
4044
  pricing_option_id: import_zod.z.string(),
4045
4045
  pricing_model: import_zod.z.literal("vcpm"),
4046
- currency: import_zod.z.string(),
4047
- fixed_price: import_zod.z.number().optional(),
4048
- floor_price: import_zod.z.number().optional(),
4046
+ currency: import_zod.z.string().regex(new RegExp("^[A-Z]{3}$")),
4047
+ fixed_price: import_zod.z.number().gte(0).optional(),
4048
+ floor_price: import_zod.z.number().gte(0).optional(),
4049
4049
  max_bid: import_zod.z.boolean().optional(),
4050
4050
  price_guidance: PriceGuidanceSchema.optional(),
4051
- min_spend_per_package: import_zod.z.number().optional(),
4051
+ min_spend_per_package: import_zod.z.number().gte(0).optional(),
4052
4052
  price_breakdown: PriceBreakdownSchema.optional(),
4053
4053
  eligible_adjustments: import_zod.z.array(PriceAdjustmentKindSchema).optional()
4054
4054
  }).passthrough();
@@ -4085,8 +4085,8 @@ const CPVPricingOptionSchema = import_zod.z.object({
4085
4085
  max_bid: import_zod.z.boolean().optional(),
4086
4086
  price_guidance: PriceGuidanceSchema.optional(),
4087
4087
  parameters: import_zod.z.object({
4088
- view_threshold: import_zod.z.union([import_zod.z.number(), import_zod.z.object({
4089
- duration_seconds: import_zod.z.number()
4088
+ view_threshold: import_zod.z.union([import_zod.z.number().gte(0).lte(1), import_zod.z.object({
4089
+ duration_seconds: import_zod.z.number().int().gte(1)
4090
4090
  }).passthrough()])
4091
4091
  }).passthrough(),
4092
4092
  min_spend_per_package: import_zod.z.number().gte(0).optional(),
@@ -4111,13 +4111,13 @@ const CPPPricingOptionSchema = import_zod.z.object({
4111
4111
  }).passthrough();
4112
4112
  const DoohParametersSchema = import_zod.z.object({
4113
4113
  type: import_zod.z.literal("dooh"),
4114
- sov_percentage: import_zod.z.number().optional(),
4115
- loop_duration_seconds: import_zod.z.number().optional(),
4116
- min_plays_per_hour: import_zod.z.number().optional(),
4114
+ sov_percentage: import_zod.z.number().gte(0).lte(100).optional(),
4115
+ loop_duration_seconds: import_zod.z.number().int().gte(1).optional(),
4116
+ min_plays_per_hour: import_zod.z.number().int().gte(1).optional(),
4117
4117
  venue_package: import_zod.z.string().optional(),
4118
- duration_hours: import_zod.z.number().optional(),
4118
+ duration_hours: import_zod.z.number().gte(0).optional(),
4119
4119
  daypart: import_zod.z.string().optional(),
4120
- estimated_impressions: import_zod.z.number().optional()
4120
+ estimated_impressions: import_zod.z.number().int().gte(0).optional()
4121
4121
  }).passthrough();
4122
4122
  const TimeBasedPricingOptionSchema = import_zod.z.object({
4123
4123
  pricing_option_id: import_zod.z.string(),
@@ -2761,12 +2761,12 @@ const PriceGuidanceSchema = z.object({
2761
2761
  const VCPMPricingOptionSchema = z.object({
2762
2762
  pricing_option_id: z.string(),
2763
2763
  pricing_model: z.literal("vcpm"),
2764
- currency: z.string(),
2765
- fixed_price: z.number().optional(),
2766
- floor_price: z.number().optional(),
2764
+ currency: z.string().regex(new RegExp("^[A-Z]{3}$")),
2765
+ fixed_price: z.number().gte(0).optional(),
2766
+ floor_price: z.number().gte(0).optional(),
2767
2767
  max_bid: z.boolean().optional(),
2768
2768
  price_guidance: PriceGuidanceSchema.optional(),
2769
- min_spend_per_package: z.number().optional(),
2769
+ min_spend_per_package: z.number().gte(0).optional(),
2770
2770
  price_breakdown: PriceBreakdownSchema.optional(),
2771
2771
  eligible_adjustments: z.array(PriceAdjustmentKindSchema).optional()
2772
2772
  }).passthrough();
@@ -2803,8 +2803,8 @@ const CPVPricingOptionSchema = z.object({
2803
2803
  max_bid: z.boolean().optional(),
2804
2804
  price_guidance: PriceGuidanceSchema.optional(),
2805
2805
  parameters: z.object({
2806
- view_threshold: z.union([z.number(), z.object({
2807
- duration_seconds: z.number()
2806
+ view_threshold: z.union([z.number().gte(0).lte(1), z.object({
2807
+ duration_seconds: z.number().int().gte(1)
2808
2808
  }).passthrough()])
2809
2809
  }).passthrough(),
2810
2810
  min_spend_per_package: z.number().gte(0).optional(),
@@ -2829,13 +2829,13 @@ const CPPPricingOptionSchema = z.object({
2829
2829
  }).passthrough();
2830
2830
  const DoohParametersSchema = z.object({
2831
2831
  type: z.literal("dooh"),
2832
- sov_percentage: z.number().optional(),
2833
- loop_duration_seconds: z.number().optional(),
2834
- min_plays_per_hour: z.number().optional(),
2832
+ sov_percentage: z.number().gte(0).lte(100).optional(),
2833
+ loop_duration_seconds: z.number().int().gte(1).optional(),
2834
+ min_plays_per_hour: z.number().int().gte(1).optional(),
2835
2835
  venue_package: z.string().optional(),
2836
- duration_hours: z.number().optional(),
2836
+ duration_hours: z.number().gte(0).optional(),
2837
2837
  daypart: z.string().optional(),
2838
- estimated_impressions: z.number().optional()
2838
+ estimated_impressions: z.number().int().gte(0).optional()
2839
2839
  }).passthrough();
2840
2840
  const TimeBasedPricingOptionSchema = z.object({
2841
2841
  pricing_option_id: z.string(),
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * AdCP SDK library version
3
3
  */
4
- export declare const LIBRARY_VERSION = "14.0.0-beta.23";
4
+ export declare const LIBRARY_VERSION = "14.0.0-beta.24";
5
5
  /**
6
6
  * AdCP specification version this library is built for
7
7
  */
@@ -33,10 +33,10 @@ export type AdcpVersion = (typeof COMPATIBLE_ADCP_VERSIONS)[number];
33
33
  * Full version information
34
34
  */
35
35
  export declare const VERSION_INFO: {
36
- readonly library: "14.0.0-beta.23";
36
+ readonly library: "14.0.0-beta.24";
37
37
  readonly adcp: "3.2.0-beta.9";
38
38
  readonly compatibleVersions: readonly ["v2.5", "v2.6", "v3", "3.0.0-beta.1", "3.0-beta.1", "3.0-beta", "3.0.0-beta.3", "3.0-beta.3", "3.0.0", "3.0", "3.0.1", "3.0.2", "3.0.3", "3.0.4", "3.0.5", "3.0.6", "3.0.7", "3.0.8", "3.0.9", "3.0.10", "3.0.11", "3.0.12", "3.0.13", "3.0.14", "3.0.15", "3.0.16", "3.0.17", "3.0.18", "3.0.19", "3.0.20", "3.0.21", "3.0.22", "3.0.23", "3.0.24", "3.0.25", "3.1.0", "3.1", "3.1.1", "3.1.2", "3.1.3", "3.1.4", "3.1.5", "3.1.6", "3.1.7", "3.1.8", "3.1.9", "3.1.10", "3.1.11", "3.1.12", "3.1.13", "3.1.14", "3.1.15", "3.1.16", "3.1.17", "3.1.18", "3.2.0-beta.9", "3.2-beta.9"];
39
- readonly generatedAt: "2026-08-30T12:48:08.618Z";
39
+ readonly generatedAt: "2026-08-30T18:12:23.147Z";
40
40
  };
41
41
  /**
42
42
  * Get the AdCP specification version this library is built for
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * AdCP SDK library version
3
3
  */
4
- export declare const LIBRARY_VERSION = "14.0.0-beta.23";
4
+ export declare const LIBRARY_VERSION = "14.0.0-beta.24";
5
5
  /**
6
6
  * AdCP specification version this library is built for
7
7
  */
@@ -33,10 +33,10 @@ export type AdcpVersion = (typeof COMPATIBLE_ADCP_VERSIONS)[number];
33
33
  * Full version information
34
34
  */
35
35
  export declare const VERSION_INFO: {
36
- readonly library: "14.0.0-beta.23";
36
+ readonly library: "14.0.0-beta.24";
37
37
  readonly adcp: "3.2.0-beta.9";
38
38
  readonly compatibleVersions: readonly ["v2.5", "v2.6", "v3", "3.0.0-beta.1", "3.0-beta.1", "3.0-beta", "3.0.0-beta.3", "3.0-beta.3", "3.0.0", "3.0", "3.0.1", "3.0.2", "3.0.3", "3.0.4", "3.0.5", "3.0.6", "3.0.7", "3.0.8", "3.0.9", "3.0.10", "3.0.11", "3.0.12", "3.0.13", "3.0.14", "3.0.15", "3.0.16", "3.0.17", "3.0.18", "3.0.19", "3.0.20", "3.0.21", "3.0.22", "3.0.23", "3.0.24", "3.0.25", "3.1.0", "3.1", "3.1.1", "3.1.2", "3.1.3", "3.1.4", "3.1.5", "3.1.6", "3.1.7", "3.1.8", "3.1.9", "3.1.10", "3.1.11", "3.1.12", "3.1.13", "3.1.14", "3.1.15", "3.1.16", "3.1.17", "3.1.18", "3.2.0-beta.9", "3.2-beta.9"];
39
- readonly generatedAt: "2026-08-30T12:48:08.618Z";
39
+ readonly generatedAt: "2026-08-30T18:12:23.147Z";
40
40
  };
41
41
  /**
42
42
  * Get the AdCP specification version this library is built for
@@ -31,7 +31,7 @@ __export(version_exports, {
31
31
  toReleasePrecisionVersion: () => toReleasePrecisionVersion
32
32
  });
33
33
  module.exports = __toCommonJS(version_exports);
34
- const LIBRARY_VERSION = "14.0.0-beta.23";
34
+ const LIBRARY_VERSION = "14.0.0-beta.24";
35
35
  const ADCP_VERSION = "3.2.0-beta.9";
36
36
  const ADCP_MAJOR_VERSION = 3;
37
37
  const COMPATIBLE_ADCP_VERSIONS = [
@@ -94,10 +94,10 @@ const COMPATIBLE_ADCP_VERSIONS = [
94
94
  "3.2-beta.9"
95
95
  ];
96
96
  const VERSION_INFO = {
97
- library: "14.0.0-beta.23",
97
+ library: "14.0.0-beta.24",
98
98
  adcp: "3.2.0-beta.9",
99
99
  compatibleVersions: COMPATIBLE_ADCP_VERSIONS,
100
- generatedAt: "2026-08-30T12:48:08.618Z"
100
+ generatedAt: "2026-08-30T18:12:23.147Z"
101
101
  };
102
102
  function getAdcpVersion() {
103
103
  return ADCP_VERSION;
@@ -1,4 +1,4 @@
1
- const LIBRARY_VERSION = "14.0.0-beta.23";
1
+ const LIBRARY_VERSION = "14.0.0-beta.24";
2
2
  const ADCP_VERSION = "3.2.0-beta.9";
3
3
  const ADCP_MAJOR_VERSION = 3;
4
4
  const COMPATIBLE_ADCP_VERSIONS = [
@@ -61,10 +61,10 @@ const COMPATIBLE_ADCP_VERSIONS = [
61
61
  "3.2-beta.9"
62
62
  ];
63
63
  const VERSION_INFO = {
64
- library: "14.0.0-beta.23",
64
+ library: "14.0.0-beta.24",
65
65
  adcp: "3.2.0-beta.9",
66
66
  compatibleVersions: COMPATIBLE_ADCP_VERSIONS,
67
- generatedAt: "2026-08-30T12:48:08.618Z"
67
+ generatedAt: "2026-08-30T18:12:23.147Z"
68
68
  };
69
69
  function getAdcpVersion() {
70
70
  return ADCP_VERSION;
package/docs/llms.txt CHANGED
@@ -1,7 +1,7 @@
1
1
  # Ad Context Protocol (AdCP)
2
2
 
3
3
  > Generated at: 2026-08-30
4
- > Library: @adcp/sdk v14.0.0-beta.23
4
+ > Library: @adcp/sdk v14.0.0-beta.24
5
5
  > AdCP major version: 3
6
6
  > Canonical URL: https://adcontextprotocol.github.io/adcp-client/llms.txt
7
7
  > Note: the `Library` stamp reflects the package.json version at doc-generation time. The narrative below describes the surface that lands on the next-published minor — including any 6.7 helpers documented here ahead of the release tag.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adcp/sdk",
3
- "version": "14.0.0-beta.23",
3
+ "version": "14.0.0-beta.24",
4
4
  "description": "AdCP SDK — client, server, and compliance harnesses for the AdContext Protocol (MCP + A2A)",
5
5
  "workspaces": [
6
6
  ".",