@tableland/sdk
Advanced tools
Comparing version 3.1.3 to 3.1.4
@@ -43,2 +43,3 @@ "use strict"; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
const issuedAt = new Date().toISOString(); | ||
const now = Date.now(); | ||
@@ -48,2 +49,3 @@ const exp = new Date(now + 10 * 60 * 60 * 1000).toISOString(); // Default to ~10 hours | ||
chainId, | ||
issuedAt, | ||
expirationTime: exp, | ||
@@ -50,0 +52,0 @@ uri, |
@@ -40,2 +40,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
const issuedAt = new Date().toISOString(); | ||
const now = Date.now(); | ||
@@ -45,2 +46,3 @@ const exp = new Date(now + 10 * 60 * 60 * 1000).toISOString(); // Default to ~10 hours | ||
chainId, | ||
issuedAt, | ||
expirationTime: exp, | ||
@@ -47,0 +49,0 @@ uri, |
{ | ||
"name": "@tableland/sdk", | ||
"version": "3.1.3", | ||
"version": "3.1.4", | ||
"description": "A TypeScript/JavaScript library for creating and querying Tables on the Tableland network.", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/tablelandnetwork/js-tableland", |
@@ -56,2 +56,3 @@ import { SiweMessage, generateNonce } from "siwe"; | ||
): Promise<Token> { | ||
const issuedAt = new Date().toISOString(); | ||
const now = Date.now(); | ||
@@ -62,2 +63,3 @@ const exp = new Date(now + 10 * 60 * 60 * 1000).toISOString(); // Default to ~10 hours | ||
chainId, | ||
issuedAt, | ||
expirationTime: exp, | ||
@@ -64,0 +66,0 @@ uri, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
3552949
9140