Skip to content

Releases: hoprnet/hopr-sdk

@hoprnet/hopr-sdk - v2.1.9

31 Oct 12:02
d70360f
Compare
Choose a tag to compare

@hoprnet/hopr-sdk - v2.1.8

29 Oct 12:50
343859a
Compare
Choose a tag to compare

2.1.7

22 Oct 14:05
e9951f2
Compare
Choose a tag to compare

Changelog:

  • Addition of getTicketPrice function to HOPRd API capabilities.

2.1.6

23 Aug 12:10
17e6d32
Compare
Choose a tag to compare

Added 3 new fileds to getInfo:

  • indexerBlock: z.number().optional(), //present from HORPd 2.1.3
  • indexerChecksum: z.string().optional(), //present from HORPd 2.1.3
  • indexBlockPrevChecksum: z.number().optional(), //present from HORPd 2.1.5

2.1.5

22 Aug 13:40
d2a4605
Compare
Choose a tag to compare
  • Re-did error handling to a have following structure:
sdkApiError({
      status,  // HTTP status (number) 
      statusText, //  Usually HTTP error status text (string) 
      hoprdErrorPayload, // optional HoprdErrorPayload
});

// optional HoprdErrorPayload structure: 
export const ApiErrorResponse = z.object({
  status: z.string(),
  error: z.string().optional()
});

Change from unpublished 2.1.3 release:

  • add multiaddr to PeerAnnouncedType

v2.0.1

14 Nov 14:34
Compare
Choose a tag to compare

Changelog:

Update HOPRd SDK to be compatible with 2.0.1:

  • remove strategy from /api/v3/settings

v2.0.0

08 Nov 09:37
Compare
Choose a tag to compare

Changelog:

  • update the routes to support newest 2.0.0 HOPRd
    • add safeHoprAllowance to getBalance routes
    • add aggregateChannelTickets route
    • add fundChannel route
  • update e2e tests to support new routes
  • use hopr-pluto:providence for e2e tests, and provide needed config for it
  • update and create new SDK documentation page

2.0.0-beta.11

11 Oct 15:08
42de3bc
Compare
Choose a tag to compare

Changelog:

  • allow undefined payload for HoprSDK (it will let using HoprSDK like a TS type)
  • update of ABIs used in HOPR ecosystem

2.0.0-beta.10

14 Sep 07:13
2a15967
Compare
Choose a tag to compare

Changelog:

  • update of staking v2 abis
  • addition of Dufour Smart Contract Addresses

2.0.0-beta.9

06 Sep 15:57
3d29c60
Compare
Choose a tag to compare

Changelog:

  • getPeers now includes peerAddress
  • removed receivedAt from ReceivedMessage type