WICG / trust-token-api

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

Token types should subsume versions #224

Closed martinthomson closed 1 year ago

martinthomson commented 1 year ago

Having two fields is more complicated and brittle than having one. A new version can be managed by defining new types that are bound to a specific protocol version.

dvorak42 commented 1 year ago

As part of #222 removing 'type' from most of the API should hopefully mostly resolve this, leaving just the token version in the crypto layer.