@medialane/sdk 0.94.0 → 0.96.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -785,6 +785,21 @@ var ApiClient = class {
785
785
  getCoin(contract) {
786
786
  return this.get(`/v1/coins/${this.addr(contract)}`);
787
787
  }
788
+ getCoinPrices() {
789
+ return this.get("/v1/coins/prices");
790
+ }
791
+ claimCoin(coinAddress, siwsToken) {
792
+ return this.request("/v1/coins/claim", {
793
+ method: "POST",
794
+ headers: { Authorization: `Bearer ${siwsToken}` },
795
+ body: JSON.stringify({ coinAddress })
796
+ });
797
+ }
798
+ getCoinClaims(status = "PENDING") {
799
+ return this.get(
800
+ `/v1/coins/claims?status=${encodeURIComponent(status)}`
801
+ );
802
+ }
788
803
  updateCoinProfile(contract, data, siwsToken) {
789
804
  return this.request(`/v1/coins/${this.addr(contract)}`, {
790
805
  method: "PATCH",