Skip to content

fix: sort tokens - #118

Merged
MichaelMure merged 1 commit into
ucan-wg:mainfrom
alanshaw:ash/fix/sort-tokens
Dec 3, 2025
Merged

MichaelMure merged 1 commit into
ucan-wg:mainfrom
alanshaw:ash/fix/sort-tokens

Conversation

@alanshaw

@alanshaw alanshaw commented Dec 3, 2025

Copy link
Copy Markdown
Collaborator

Per ucan-wg/container#2 this PR sorts tokens on encode ensuring a deterministic encoded representation.

@alanshaw
alanshaw requested a review from MichaelMure December 3, 2025 12:20

@MichaelMure MichaelMure left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but it would be nice to have a test for that as it's now an important requirement.

@MichaelMure
MichaelMure merged commit 4b99c9f into ucan-wg:main Dec 3, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants