@medialane/sdk 0.47.0 → 0.48.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
@@ -11211,7 +11211,7 @@ var SERVICES = {
11211
11211
  standard: "ERC721",
11212
11212
  provenance: "MEDIALANE",
11213
11213
  uiVariant: "club",
11214
- capabilities: ["subscribe", "transfer"],
11214
+ capabilities: ["subscribe"],
11215
11215
  events: [
11216
11216
  { name: "NewClubCreated", emittedBy: "factory" }
11217
11217
  ],
@@ -11345,6 +11345,9 @@ function getServicesByCapability(cap) {
11345
11345
  (s) => s.capabilities.includes(cap)
11346
11346
  );
11347
11347
  }
11348
+ function hasCapability(id, cap) {
11349
+ return getService(id)?.capabilities.includes(cap) ?? false;
11350
+ }
11348
11351
 
11349
11352
  exports.ADMIN_HEADERS = ADMIN_HEADERS;
11350
11353
  exports.ADMIN_SCOPE = ADMIN_SCOPE;
@@ -11446,6 +11449,7 @@ exports.getSiwsStorageKey = getSiwsStorageKey;
11446
11449
  exports.getStoredSiwsToken = getStoredSiwsToken;
11447
11450
  exports.getTokenByAddress = getTokenByAddress;
11448
11451
  exports.getTokenBySymbol = getTokenBySymbol;
11452
+ exports.hasCapability = hasCapability;
11449
11453
  exports.isServiceId = isServiceId;
11450
11454
  exports.isSiwsTokenValid = isSiwsTokenValid;
11451
11455
  exports.isTransientRpcError = isTransientRpcError;