@adport/provider-spotify 0.9.0 → 0.10.0

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/index.js CHANGED
@@ -1493,15 +1493,15 @@ function spotifyMeasurementTools(provider) {
1493
1493
  read("spotify_created_measurement", "Reconcile the exact created resource and receipt-bound parent with current account/business access. A missing child binding requires the locked parent to independently name this exact resource. Explicit conflicts never follow another parent. Read-only; never replays a write.", z10.object({ ...account3, resource_receipt: receiptInput }), (v) => provider.measurement.created(v)),
1494
1494
  read("spotify_measurement_sharing_status", "Reconcile sharing with the signed receipt from an approved share/unshare operation. Returns only selected-account sharing state; a status receipt does not grant content access after unsharing.", z10.object({ ...account3, resource_receipt: receiptInput }), (v) => provider.measurement.sharingStatus(v)),
1495
1495
  write("spotify_create_pixel", "Create a Pixel and verify its native dataset, then share only with the selected account. AAM defaults off; opt-in requires explicit acknowledgement. Supports existing dataset_id with its current hash. No website install or event sending.", createPixel, "create"),
1496
- write("spotify_update_pixel", "Update a verified Pixel name/domain with its current configuration_hash. Native update cannot change AAM. Preserves matching, routing and other configuration; rejects stale or cross-account-shared configuration and independently reads back the result.", updatePixel, "update"),
1496
+ write("spotify_update_pixel", "Replace the supplied name or domain on an account-owned Pixel using its current configuration_hash. Preserves matching, routing and other settings. Rejects stale or shared configuration and verifies the result by readback.", updatePixel, "update", true),
1497
1497
  write("spotify_create_capi_integration", "Create a CAPI connection in a new or verified existing dataset, then verify sharing with the selected account. Does not issue tokens or send events. Returns a signed receipt for partial creation recovery; never retries automatically.", createCapi, "create"),
1498
- write("spotify_update_capi_integration", "Rename an authorized CAPI connection with its current configuration_hash. Preserves dataset routing and independently verifies native readback; does not touch credentials or events.", updateCapi, "update"),
1498
+ write("spotify_update_capi_integration", "Replace the name of an authorized CAPI connection using its current configuration_hash. Preserves dataset routing, credentials and events. Verifies the result by readback.", updateCapi, "update", true),
1499
1499
  write("spotify_create_dataset", "Create a dataset from explicit account-owned integrations and source snapshots, acknowledging measurement rerouting. Independently checks each native integration\u2019s new dataset binding and selected-account sharing. Prefer Pixel-first plus CAPI dataset_id for a shared topology.", createDataset, "create", true),
1500
- write("spotify_update_dataset", "Rename an authorized dataset with its current configuration_hash, preserving sources and sharing. Business-wide edits are rejected when another account shares the dataset or dependencies are unknown.", updateDataset, "update"),
1500
+ write("spotify_update_dataset", "Replace the name of an authorized dataset using its current configuration_hash. Preserves sources and sharing. Rejects edits when another account shares the dataset or dependencies are unknown.", updateDataset, "update", true),
1501
1501
  write("spotify_remove_dataset_integration", "Remove one verified integration from a dataset. Spotify moves it to a newly created dataset; this does not delete the source or remove website code. Requires current snapshot and explicit acknowledgement; returns signed recovery context.", removeIntegration, "remove", true),
1502
1502
  write("spotify_set_dataset_sharing", "Share/unshare a verified dataset only with the selected account, preserving all other shares. Requires current configuration_hash; unsharing needs measurement-effect acknowledgement. An unshared creation requires its receipt. Native readback and signed status reconciliation prevent unsafe replay.", datasetSharing, "update", true),
1503
1503
  write("spotify_create_mobile_app", "Register native mobile measurement metadata and share the new app only with this account. Supports current MMP enums including SINGULAR. Does not install a partner SDK; link tokens are not returned.", createMobile, "create"),
1504
- write("spotify_update_mobile_app", "Update account-owned mobile app metadata using its current configuration_hash. Sends the required native name, preserves omitted fields and independently verifies native readback. Link tokens cannot be edited or disclosed.", updateMobile, "update"),
1504
+ write("spotify_update_mobile_app", "Replace the name and supplied attribution settings of an account-owned mobile app using its current configuration_hash. Preserves omitted fields and verifies the result by readback. Link tokens stay private and unchanged.", updateMobile, "update", true),
1505
1505
  write("spotify_set_mobile_app_sharing", "Share/unshare only this account\u2019s mobile-app association using the current hash. Unsharing needs explicit measurement-effect acknowledgement; other shares are preserved and the result is independently verified.", mobileSharing, "update", true)
1506
1506
  ];
1507
1507
  }