UNPKG

@dynamic-labs/sdk-react-core

Version:

A React SDK for implementing wallet web3 authentication and authorization to your website.

10 lines (7 loc) 262 B
'use client' import { StorageService } from '@dynamic-labs/utils'; import { AUTH_EXPIRES_AT } from '../../constants/localStorage.js'; const storeExpiresAt = (expiresAt) => { StorageService.setItem(AUTH_EXPIRES_AT, expiresAt); }; export { storeExpiresAt };