WICG / trust-token-api

Trust Token API
https://wicg.github.io/trust-token-api/
Other
415 stars 82 forks source link

Add version field in PrivateStateToken dictionary #209

Closed aykutbulut closed 1 year ago

aykutbulut commented 1 year ago

Add version field in PrivateStateToken dictionary. Fixes #136.


Preview | Diff

miketaylr commented 1 year ago

@aykutbulut looks like you have an error in your IDL syntax, see https://github.com/WICG/trust-token-api/actions/runs/4285117949/jobs/7463967346#step:3:792

aykutbulut commented 1 year ago

Pushed the fix.

aykutbulut commented 1 year ago

Updated issue and redemption request header algorithms. Let me know if some of the steps I added are redundant.

For example, version field is required in PrivateStateToken dictionary. Does this mean a "TypeError" DOMException is implied if it is missing when constructing the Request?