Skip to content

Releases: hoprnet/hopr-sdk

@hoprnet/hopr-sdk - v3.0.3

20 Jan 16:58
32c56a1

Choose a tag to compare

@hoprnet/hopr-sdk - v3.0.2

19 Aug 11:33
656dc29

Choose a tag to compare

@hoprnet/hopr-sdk - v3.0.0

11 Aug 07:29
eb195ae

Choose a tag to compare

@hoprnet/hopr-sdk - v2.2.0

29 Apr 10:14

Choose a tag to compare

@hoprnet/hopr-sdk - v2.1.9

31 Oct 12:02
d70360f

Choose a tag to compare

@hoprnet/hopr-sdk - v2.1.8

29 Oct 12:50
343859a

Choose a tag to compare

2.1.7

22 Oct 14:05
e9951f2

Choose a tag to compare

Changelog:

  • Addition of getTicketPrice function to HOPRd API capabilities.

2.1.6

23 Aug 12:10
17e6d32

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

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

Choose a tag to compare

Changelog:

Update HOPRd SDK to be compatible with 2.0.1:

  • remove strategy from /api/v3/settings