Commit Graph

10 Commits

Author SHA1 Message Date
Justin Johnson
d8e8a57e63 Fix tests 2022-03-26 06:22:15 -05:00
Daniel Holmgren
194468b43b change subject to audience 2022-03-26 06:16:51 -05:00
Justin Johnson
635e23f7be Fix tests 2022-03-26 06:10:07 -05:00
Justin Johnson
f14792ff1c chore: Change module references to github.com/ucan-wg/go-ucan 2022-03-08 09:06:48 -06:00
b5
4f471a9bc4 feat(Token): parse Issuer & Subject into exported fields 2021-09-07 20:43:29 -04:00
b5
8002b1ddd2 fix: support ED25519 keys 2021-09-07 20:23:15 -04:00
b5
fff054ea17 refactor: rename UCAN -> Token
When using this package, `ucan.Token` reads better than `ucan.UCAN` to me.
Encourages the reader to think in terms of "tokens", from the "ucan" package.

Performed this refactoring with a  few commands (and a few comment edits):
  $ gofmt -r 'UCAN -> Token' -w .
  $ gofmt -r 'NewAttenuatedUCAN -> NewAttenuatedToken' -w .
  $ gofmt -r 'NewOriginUCAN -> NewOriginToken' -w .
  $ gofmt -r 'UCANParser -> TokenParser' -w .
  $ gofmt -r 'NewUCANParser -> NewTokenParser' -w .
  $ gofmt -r 'UCANCtxKey -> TokenCtxKey' -w .

Changed example test "ExampleWalkthrough" to "Example" to make go vet happy

BREAKING CHANGE:
UCAN symbol is now "Token"
2020-12-04 10:56:03 -05:00
b5
3b0c561d56 feat(didkey): didkey package properly implements v0.7 of spec 2020-10-15 12:11:27 -04:00
b5
6973365c1d feat(att): first tests proving attenuation, cleanup 2020-09-03 10:00:13 -04:00
b5
6ecf05469f feat: initial ucan implementation 2020-09-03 00:15:21 -04:00