@medialane/sdk 0.76.0 → 0.78.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
@@ -576,10 +576,10 @@ var ApiClient = class {
576
576
  { method: "PATCH", body: JSON.stringify(data), headers: this.bearer(clerkToken) }
577
577
  );
578
578
  }
579
- getWalletActivity(address, siwsToken, chain = "STARKNET") {
580
- return this.request(
581
- `/v1/wallet-activity?address=${this.addr(address)}&chain=${chain}`,
582
- { method: "GET", headers: this.bearer(siwsToken) }
579
+ /** No signature required — wallet activity is public on-chain data, read like any other /v1 GET. */
580
+ getWalletActivity(address, chain = "STARKNET") {
581
+ return this.get(
582
+ `/v1/wallet-activity?address=${this.addr(address)}&chain=${chain}`
583
583
  );
584
584
  }
585
585
  getGatedContent(contractAddress, clerkToken) {
@@ -820,6 +820,18 @@ var ApiClient = class {
820
820
  getCoin(contract) {
821
821
  return this.get(`/v1/coins/${this.addr(contract)}`);
822
822
  }
823
+ /**
824
+ * Creator-authed coin profile edit (image/description). Backend authorizes
825
+ * via `coin.creator` (trustless — from the factory event), not a body param;
826
+ * `siwsToken` is the caller's SIWS/Clerk bearer token for `identityAuth`.
827
+ */
828
+ updateCoinProfile(contract, data, siwsToken) {
829
+ return this.request(`/v1/coins/${this.addr(contract)}`, {
830
+ method: "PATCH",
831
+ body: JSON.stringify(data),
832
+ headers: this.bearer(siwsToken)
833
+ });
834
+ }
823
835
  // ─── Collection Drop ────────────────────────────────────────────────────────
824
836
  getDropCollections(opts = {}) {
825
837
  return this.getCollections(opts.page ?? 1, opts.limit ?? 20, void 0, opts.sort, "COLLECTION_DROP");