@eluvio/elv-client-js 4.0.74 → 4.0.76

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eluvio/elv-client-js",
3
- "version": "4.0.74",
3
+ "version": "4.0.76",
4
4
  "description": "Javascript client for the Eluvio Content Fabric",
5
5
  "main": "src/index.js",
6
6
  "author": "Kevin Talmadge",
@@ -1341,9 +1341,9 @@ exports.GiftClaimStatus = async function({marketplaceParams, confirmationId, gif
1341
1341
  if(responses.length === 0) {
1342
1342
  return { status: "none" };
1343
1343
  } else {
1344
- if(responses.find(response => response.status === "error")) {
1344
+ if(responses.find(response => response.status === "failed")) {
1345
1345
  return {
1346
- status: "error",
1346
+ status: "failed",
1347
1347
  op: "nft-transfer",
1348
1348
  transfer_statuses: responses
1349
1349
  };
@@ -471,7 +471,7 @@ class ElvWalletClient {
471
471
  const expiresAt = Date.now() + tokenDuration * 60 * 60 * 1000;
472
472
  const fabricToken = await this.client.CreateFabricToken({
473
473
  duration: tokenDuration * 60 * 60 * 1000,
474
- context: email ? {usr: {email}} : {}
474
+ //context: email ? {usr: {email}} : {}
475
475
  });
476
476
  const address = this.client.utils.FormatAddress(this.client.CurrentAccountAddress());
477
477