Releases: hoprnet/hopr-sdk
Releases · hoprnet/hopr-sdk
@hoprnet/hopr-sdk - v2.1.9
@hoprnet/hopr-sdk - v2.1.8
2.1.7
Changelog:
- Addition of getTicketPrice function to HOPRd API capabilities.
2.1.6
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
- 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
Changelog:
Update HOPRd SDK to be compatible with 2.0.1:
- remove
strategy
from/api/v3/settings
v2.0.0
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
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
Changelog:
- update of staking v2 abis
- addition of Dufour Smart Contract Addresses
2.0.0-beta.9
Changelog:
- getPeers now includes
peerAddress
- removed
receivedAt
fromReceivedMessage
type