diff --git a/packages/drops/package.json b/packages/drops/package.json index 800c495a..0ddfd491 100644 --- a/packages/drops/package.json +++ b/packages/drops/package.json @@ -1,6 +1,6 @@ { "name": "@poap-xyz/drops", - "version": "0.0.23", + "version": "0.0.24", "description": "Drops module for the poap.js library", "main": "dist/cjs/index.cjs", "module": "dist/esm/index.mjs", diff --git a/packages/moments/package.json b/packages/moments/package.json index b680d161..4daf2c41 100644 --- a/packages/moments/package.json +++ b/packages/moments/package.json @@ -1,6 +1,6 @@ { "name": "@poap-xyz/moments", - "version": "0.0.23", + "version": "0.0.24", "description": "Moments module for the poap.js library", "main": "dist/cjs/index.cjs", "module": "dist/esm/index.mjs", diff --git a/packages/poaps/package.json b/packages/poaps/package.json index f8ccc6bb..a7450cf5 100644 --- a/packages/poaps/package.json +++ b/packages/poaps/package.json @@ -1,6 +1,6 @@ { "name": "@poap-xyz/poaps", - "version": "0.0.23", + "version": "0.0.24", "description": "Poaps module for the poap.js library", "main": "dist/cjs/index.cjs", "module": "dist/esm/index.mjs", diff --git a/packages/poaps/src/PoapsClient.ts b/packages/poaps/src/PoapsClient.ts index 1dd23079..3d549007 100644 --- a/packages/poaps/src/PoapsClient.ts +++ b/packages/poaps/src/PoapsClient.ts @@ -64,14 +64,15 @@ export class PoapsClient { PAGINATED_POAPS_QUERY, variables, ); - const poaps = data.poaps.map((poap) => { const { drop } = poap; + const minted_on = new Date(0); + minted_on.setUTCSeconds(poap.minted_on); return new POAP({ ...poap, ...drop, id: Number(poap.id), - minted_on: new Date(poap.minted_on), + minted_on, drop_id: Number(poap.drop_id), start_date: new Date(drop.start_date), end_date: new Date(drop.end_date), diff --git a/packages/providers/package.json b/packages/providers/package.json index 088d4998..473f2026 100644 --- a/packages/providers/package.json +++ b/packages/providers/package.json @@ -1,6 +1,6 @@ { "name": "@poap-xyz/providers", - "version": "0.0.23", + "version": "0.0.24", "description": "Providers module for the poap.js library", "main": "dist/cjs/index.cjs", "module": "dist/esm/index.mjs", diff --git a/packages/utils/package.json b/packages/utils/package.json index 2a08ed4f..8507b971 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@poap-xyz/utils", - "version": "0.0.23", + "version": "0.0.24", "description": "Utils module for the poap.js library", "type": "module", "main": "dist/cjs/index.cjs",