@adcp/sdk 17.0.0-beta.24 → 17.0.0-beta.25
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.
- package/dist/lib/adapters/version/schema-projection.d.mts +11 -0
- package/dist/lib/adapters/version/schema-projection.d.ts +11 -0
- package/dist/lib/adapters/version/schema-projection.js +52 -0
- package/dist/lib/adapters/version/schema-projection.mjs +51 -0
- package/dist/lib/reporting/evidence.d.mts +8 -0
- package/dist/lib/reporting/evidence.d.ts +8 -0
- package/dist/lib/reporting/evidence.js +10 -2
- package/dist/lib/reporting/evidence.mjs +8 -1
- package/dist/lib/reporting/ledger/index.d.mts +1 -1
- package/dist/lib/reporting/ledger/index.d.ts +1 -1
- package/dist/lib/reporting/ledger/index.js +3 -1
- package/dist/lib/reporting/ledger/index.mjs +4 -2
- package/dist/lib/reporting/ledger/status-ingest.js +3 -2
- package/dist/lib/reporting/ledger/status-ingest.mjs +3 -2
- package/dist/lib/reporting/subscriptions/engine.js +1 -1
- package/dist/lib/reporting/subscriptions/engine.mjs +1 -1
- package/dist/lib/server/account-response-identity.d.mts +4 -3
- package/dist/lib/server/account-response-identity.d.ts +4 -3
- package/dist/lib/server/account-response-identity.js +8 -4
- package/dist/lib/server/account-response-identity.mjs +8 -4
- package/dist/lib/server/credential-policy.js +5 -0
- package/dist/lib/server/credential-policy.mjs +5 -0
- package/dist/lib/server/decisioning/account.js +14 -3
- package/dist/lib/server/decisioning/account.mjs +16 -4
- package/dist/lib/server/notification-subscriptions/runtime.d.mts +6 -0
- package/dist/lib/server/notification-subscriptions/runtime.d.ts +6 -0
- package/dist/lib/server/notification-subscriptions/runtime.js +99 -0
- package/dist/lib/server/notification-subscriptions/runtime.mjs +98 -0
- package/dist/lib/server/principal/reporting-subscriptions.js +4 -1
- package/dist/lib/server/principal/reporting-subscriptions.mjs +4 -1
- package/dist/lib/server/reporting-delivery-config.d.mts +2 -2
- package/dist/lib/server/reporting-delivery-config.d.ts +2 -2
- package/dist/lib/server/reporting-delivery-config.js +9 -3
- package/dist/lib/server/reporting-delivery-config.mjs +9 -3
- package/dist/lib/server/wire-safe.js +3 -0
- package/dist/lib/server/wire-safe.mjs +3 -0
- package/dist/lib/testing/storyboard/validations.d.mts +1 -1
- package/dist/lib/testing/storyboard/validations.d.ts +1 -1
- package/dist/lib/utils/json-depth.d.mts +8 -0
- package/dist/lib/utils/json-depth.d.ts +8 -0
- package/dist/lib/utils/json-depth.js +18 -2
- package/dist/lib/utils/json-depth.mjs +16 -1
- package/dist/lib/version.d.mts +3 -3
- package/dist/lib/version.d.ts +3 -3
- package/dist/lib/version.js +3 -3
- package/dist/lib/version.mjs +3 -3
- package/docs/TYPE-SUMMARY.md +2 -2
- package/docs/llms.txt +2 -2
- package/docs/migration-14.x-rc-worksheet.md +4 -4
- package/docs/migration-16-to-17.md +22 -8
- package/package.json +1 -1
|
@@ -16,8 +16,8 @@ pin using `ADCP_VERSION` inside that tarball.
|
|
|
16
16
|
|
|
17
17
|
| Fact | Value |
|
|
18
18
|
| --- | --- |
|
|
19
|
-
| Checkout `package.json` version | `@adcp/sdk@17.0.0-beta.
|
|
20
|
-
| npm integrity | registry-derived after publication; run `npm view @adcp/sdk@17.0.0-beta.
|
|
19
|
+
| Checkout `package.json` version | `@adcp/sdk@17.0.0-beta.25` |
|
|
20
|
+
| npm integrity | registry-derived after publication; run `npm view @adcp/sdk@17.0.0-beta.25 dist.integrity` |
|
|
21
21
|
| Node.js runtime | `^20.19.0 || >=22.12.0` |
|
|
22
22
|
| Default AdCP wire release | `3.3.0-beta.6` |
|
|
23
23
|
| Maintained wire releases | `v3`, `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.1.19`, `3.1.20`, `3.1.21`, `3.1.22`, `3.1.23`, `3.1.24`, `3.1.25`, `3.1.26`, `3.1.27`, `3.1.28`, `3.1.29`, `3.1.30`, `3.1.31`, `3.2.1`, `3.2`, `3.2.2`, `3.2.3`, `3.2.4`, `3.2.5`, `3.2.6`, `3.2.7`, `3.2.8`, `3.3.0-beta.6`, `3.3-beta.6` |
|
|
@@ -26,8 +26,8 @@ pin using `ADCP_VERSION` inside that tarball.
|
|
|
26
26
|
For a checkout at the published release commit, install the exact package version:
|
|
27
27
|
|
|
28
28
|
```bash
|
|
29
|
-
npm install --save-exact '@adcp/sdk@17.0.0-beta.
|
|
30
|
-
npm view '@adcp/sdk@17.0.0-beta.
|
|
29
|
+
npm install --save-exact '@adcp/sdk@17.0.0-beta.25'
|
|
30
|
+
npm view '@adcp/sdk@17.0.0-beta.25' dist.integrity
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
### Required and optional peers
|
|
@@ -398,20 +398,34 @@ fields on beta.5 breaks.** The generated types no longer declare them, and a
|
|
|
398
398
|
`secretAccessKey`, `accessKeyId`, `clientSecret`, `sasToken`,
|
|
399
399
|
`connectionString`), `ctx_metadata`, `authInfo`, or the write-only
|
|
400
400
|
`destination_billing_entity`, `billing_entity`, `bank` or
|
|
401
|
-
`invoice_recipient`.
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
401
|
+
`invoice_recipient`. After 17.0.0-beta.24 every other undeclared member is
|
|
402
|
+
dropped, at any depth, so only declared members reach the wire; in
|
|
403
|
+
17.0.0-beta.24 they passed through. These schemas declare no extension
|
|
404
|
+
point, so keep extension data off these records. `notification_configs`
|
|
405
|
+
get the same treatment, including refusal of a retained `webhook_secret`
|
|
406
|
+
or `authentication.signing_secret`.
|
|
407
|
+
- `@adcp/reporting-storage` managed delivery refuses adapter evidence whose
|
|
408
|
+
resource, verification or nested evidence carries undeclared members
|
|
409
|
+
(after 17.0.0-beta.24), so an adapter that adds a vendor field fails the
|
|
410
|
+
delivery with `DELIVERY_FAILED`. `undeclaredReportingMaterializationMembers`
|
|
411
|
+
on `@adcp/sdk/reporting/ledger` lists the offending paths.
|
|
405
412
|
- The reporting ledger's `sync_reporting_status` ingest still refuses
|
|
406
413
|
undeclared status and period members, so the ledger stores exactly the
|
|
407
414
|
fields it interprets.
|
|
408
|
-
- The notification runtime refuses
|
|
409
|
-
|
|
410
|
-
"cannot inject terms or
|
|
415
|
+
- The notification runtime refuses `proposal.created` and (after
|
|
416
|
+
17.0.0-beta.24) `proposal.offered` payloads carrying anything but their
|
|
417
|
+
identifier fields (and `ext`): the notifications "cannot inject terms or
|
|
418
|
+
instructions into a buyer agent". It also refuses a payload that violates
|
|
419
|
+
a `not` exclusion of its webhook schema at any depth, such as
|
|
420
|
+
`access_token` on `reporting.delivery_ready` or `setup.url` on
|
|
421
|
+
`account.status_changed`.
|
|
411
422
|
- `parseAccountChangeNotification` accepts undeclared members and drops them
|
|
412
423
|
from the normalized notification, including inside `resource`.
|
|
413
424
|
- `reportingSubscriptionScopeIncludesV1` selects nothing for an unknown
|
|
414
|
-
selector or a scope with more than one key.
|
|
425
|
+
selector or a scope with more than one key. After 17.0.0-beta.24
|
|
426
|
+
`sync_principal` refuses a scope whose single member is an unknown
|
|
427
|
+
selector, and the coverage engine covers every account only for an
|
|
428
|
+
explicit `all_authorized_accounts: true`.
|
|
415
429
|
- A request that merges both account variants now fails with `oneOf`; the
|
|
416
430
|
validation hint still says to pick one variant.
|
|
417
431
|
- **Smaller additions.** Video containers `3gp`, `m4v` and `mpeg`; canonical
|