- #275
b09615e
Thanks @nitro-neal! - update to use latest creds package
- #270
664dd07
Thanks @thehenrytsai! - Fixed minor issue to prep v2.2.0 release
-
#269
0a9394c
Thanks @thehenrytsai! - Added Cancel message support -
#268
8908f85
Thanks @thehenrytsai! - Added OrderInstructions message.
- #266
cad5c4e
Thanks @nitro-neal! - update to latest tbdex spec
-
#263
c673b00
Thanks @thehenrytsai! - Updated HTTP request body to containmessage
property according to spec change. -
#265
e692ea2
Thanks @leordev! - Updated code and tests to align with latest tbDEX spec (commit 621f54f oftbdex
repo)
- #254
ffcbb32
Thanks @nitro-neal! - bumped to latest version of @web5/credentials @web5/crypto @web5/common and @web5/dids
-
#226
65439c2
Thanks @kirahsapong! - Add newBalance
Resource type and associated server endpoint, config, and client calling methodsUpdate
Offering
Resource andRFQ
Message type to accept new simplified fields.Add detachable
privateData
field toRFQ
Message type and hash data intodata
fieldAdd optional
success
field toClose
message -
#227
90ee330
Thanks @kirahsapong! - Bumps Web5 packages
-
#191
46481e7
Thanks @kirahsapong! - Introduce protocol field to messages and resources -
#181
4f45153
Thanks @diehuxx! - Remove DevTools.createDid, extractNamedCurve, and JwsHeader -
#194
1acffee
Thanks @kirahsapong! - Allows aClose
message to proceed anOrderStatus
message
- 5e9a7a2: Add external id to message metadata
-
eba04b8: Upgrade packages web5/[email protected], web5/[email protected], web5/[email protected], web5/[email protected]
- Deprecate did:ion and did:key in favour of did:jwk and did:dht
- Migrate from
PortableDid
toBearerDid
with the latest @web5/dids upgrade - Replaces dependency on
Web5Crypto
withBearerDid
signer abstraction for signing operations
- 589edc3: Add exchange state machine
- 1b48ad1: Simplify types, inheritance structure, and API
- 552675c: Upgrade @noble/hashes to 1.3.3
- c471b3d: Upgrading web5 versions in protocol and http-client
- 550fe94: Replaces karma testing library with web-test-runner
- a7bc582: make required claims nullable
- 5631d32: Replace pex implementation with web5
- c3610ed: Adds more checks to validate an RFQ against a provided Offering
- 2f4c096: bump @web5/credentials dependency
- bef3ae7: Refactored
sign
to takePortableDid
as an argument instead ofprivateKeyJwk
andkid
- 415b234: - Added requester DID in filter passed to
ExchangesApi.getExchanges
. Prior to this change, there was no way to prevent returning exchanges that the requester wasn't a participant of- Added
did:dht
resolution - Fixed
DevTools.createJwt
- Added
No changes
No changes
- 547124f: Test CI semver automation
Replaced CBOR with JSON Canonicalization Scheme
Using CBOR for deterministic serialization proved to be more difficult than originally anticipated specifically because of the lack of consistent implementations of the same CBOR sorting algorithm.
Related: TBD54566975/tbdex#177
Refactored Crypto
:
- Prior to this PR,
sign
allowed for eitherdetachedPayload
as a base64url string orpayload
as an object. IfdetachedPayload
was provided, the resulting signature would be a detached JWS. Ifpayload
was provided, it would be JSON serialized and base64url encoded. Looking back, this felt awkward and confusing. Refactored such thatpayload
is always expected to be aUInt8Array
anddetached
is now a boolean. - Refactored
verify
similar to ^ - Added a bit more detail to TSDoc
Generally speaking, Crypto.sign
, and Crypto.verify
still feel conflated and a bit janky. This is largely because they support tbdex signatures (compact detached JWS) in addition to JWTs. Ideally, Crypto
would be specific to tbdex related cryptography only with most of the core cryptographic functionality coming from @web5/crypto
. The current state of both methods is largely a holdover until @web5/crypto
is updated