@medialane/sdk 0.95.0 → 0.97.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
@@ -788,6 +788,18 @@ var ApiClient = class {
788
788
  getCoinPrices() {
789
789
  return this.get("/v1/coins/prices");
790
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
+ }
791
803
  updateCoinProfile(contract, data, siwsToken) {
792
804
  return this.request(`/v1/coins/${this.addr(contract)}`, {
793
805
  method: "PATCH",