Skip to content

Releases: hellhub-collective/sdk

v1.4.0

25 Apr 06:18
bc26f3f
Compare
Choose a tag to compare

What's Changed

This release updates the type definitions to include the AssignmentTask type that was recently added to the Assignment model and describes the fulfillment requirements for a major order.

export interface AssignmentTask extends Entity {
  type: number;
  values: number[];
  valueTypes: number[];
  assignmentId: number;
  assignment?: Assignment;
}

Full Changelog: v1.3.1...v1.4.0

v1.3.1

22 Apr 11:29
a9d4489
Compare
Choose a tag to compare

What's Changed

This PR adds theimageUrl property to the Planet type. This field contains a link to a webp containg the planets texture when viewed on the galactic map as celestial body.


Full Changelog: v1.3.0...v1.3.1

v1.3.0

18 Apr 08:38
990a3fd
Compare
Choose a tag to compare

What's Changed

Following the release v2.7.0 of the API we added new endpoints to the SDK. This introduces endpoints that alllow you to track the internal cron jobs, like the one that fetches the source data from Arrowhead's API:

const response = await Hellhub.crons("refresh_from_source");

This allows you to better fine tune your periodic requests to the API and prevent hitting request limits by eliminating the need for aimless overfetching.


Full Changelog: v1.2.1...v1.3.0

v1.2.1

16 Apr 08:24
68e2a32
Compare
Choose a tag to compare

What's Changed

This release fixes a type issue with the newly introduces biomes and effects methods.


  • fix: correctly set types for dynamic request functions by @fabio-nettis in #17

Full Changelog: v1.2.0...v1.2.1

v1.2.0

16 Apr 08:17
bb9513f
Compare
Choose a tag to compare

What's Changed

Two new models have been added to the API, this release adds new type definitions and edits related types to include their new connection fields. Following dynamic request functions have been added:

import HellHub from `@hellhub-collective/sdk`;

const response1 = await HellHub.biomes({
  filters: { name: { $contains: "Rainforest" } },
});

const response2 = await HellHub.effects({
  filters: { name: { $contains: "Ion Storms" } },
});

Full Changelog: v1.1.0...v1.2.0

v1.1.0

05 Apr 13:51
860f23e
Compare
Choose a tag to compare

What's Changed

Added the liberation progress fields to the type definition for the Planet model. You can check out this pull request to learn more about the specific fields and what their purpose is.


Full Changelog: v1.0.5...v1.1.0

v1.0.5

03 Apr 10:22
5dc7f25
Compare
Choose a tag to compare

What's Changed

This PR fixes a type error on the planet modal by renaming the currently wrong statistics property to statistic.


Full Changelog: v1.0.4...v1.0.5

v1.0.4

28 Mar 14:52
c1d3f90
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.0.3...v1.0.4

v1.0.3

28 Mar 08:53
bc815c6
Compare
Choose a tag to compare

What's Changed

Added new release bound action that will also publish the package to the GitHub Packages Repository.


Full Changelog: v1.0.2...v1.0.3

v1.0.2

28 Mar 07:53
f72087d
Compare
Choose a tag to compare

What's Changed

This release removes the $mode parameter when filtering on a string field. We have noticed that our current database provider simply does not support it. Filtering on string fields with the $contains operator is case insensitive by default.


Full Changelog: v1.0.1...v1.0.2