Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Latest commit

 

History

History
317 lines (194 loc) · 10.8 KB

CHANGELOG.md

File metadata and controls

317 lines (194 loc) · 10.8 KB

@tbdex/http-server

2.2.1

Patch Changes

2.2.0

Minor Changes

Patch Changes

2.1.0

Patch Changes

2.0.0

Major Changes

  • #263 c673b00 Thanks @thehenrytsai! - Updated HTTP request body to contain message property according to spec change.

  • #265 e692ea2 Thanks @leordev! - Updated code and tests to align with latest tbDEX spec (commit 621f54f of tbdex repo)

Patch Changes

1.1.0

Minor Changes

Patch Changes

1.0.2

Patch Changes

1.0.1

Patch Changes

1.0.0

Major Changes

Patch Changes

0.28.0

Minor Changes

  • #226 65439c2 Thanks @kirahsapong! - Add new Balance Resource type and associated server endpoint, config, and client calling methods

    Update Offering Resource and RFQ Message type to accept new simplified fields.

    Add detachable privateData field to RFQ Message type and hash data into data field

    Add optional success field to Close message

  • #227 90ee330 Thanks @kirahsapong! - Bumps Web5 packages

  • #204 69d10f0 Thanks @diehuxx! - Restructure HTTP exchange endpoints

Patch Changes

0.27.0

Minor Changes

Patch Changes

0.26.1

Patch Changes

0.26.0

Minor Changes

  • 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 to BearerDid with the latest @web5/dids upgrade
    • Replaces dependency on Web5Crypto with BearerDid signer abstraction for signing operations
  • ca1b235: Requires consumer to pass pfiDid when instantiating a new TbdexHttpServer

Patch Changes

0.25.0

Minor Changes

  • 1b48ad1: Simplify types, inheritance structure, and API

Patch Changes

0.24.0

Minor Changes

  • 01fc636: JWT creation and verification

Patch Changes

0.23.0

Patch Changes

  • 941e8f6: Improve http-server error handling and test coverage
  • 47105ca: Removes HttpResponse and ErrorResponse types from http-client package
  • Updated dependencies [a7bc582]
  • Updated dependencies [5631d32]
  • Updated dependencies [9e1015e]
  • Updated dependencies [47105ca]
  • Updated dependencies [c3610ed]

0.22.1

Patch Changes

0.22.0

Patch Changes

0.21.0

Minor Changes

  • 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

Patch Changes

0.20.0

Minor Changes

  • 563e036: export CallbackError

Patch Changes

0.19.0

Minor Changes

  • Restructure error messages as ErrorDetail type
  • Handle http-server callback errors and pass offering to RFQ handler

Patch Changes

0.18.0

Minor Changes

  • Get Exchanges filter field name change from exchangeId to id

Patch Changes

0.17.0

Minor Changes

  • 547124f: Test CI semver automation

Patch Changes

0.16.0

Updated dependencies

0.15.1

Patch Changes

0.15.0

Minor Changes

  • f085285: initialize api in constructor of TbdexHttpServer. This allows consumers to attach their own custom endpoints if needed like so:

    import { TbdexHttpServer } from "@tbdex/http-server";
    
    const server = new TbdexHttpServer();
    
    server.api.post("/some-custom-endpoint", (req, res) => {
      console.log("hi");
    
      return res.sendStatus(202);
    });
    
    await server.listen(9000, () => {
      console.log("Server listening on port 9000");
    });

Patch Changes