@edgeandnode/common
Advanced tools
Comparing version 1.1.1 to 1.1.2
export { generateExampleQuery, connectProvider, getContract, getTxLink, formatUnitsOriginal, formatWithNumeral, buildEnsDataLoader, ensLookup, ensLookups, unixDateFromNow, dateFromNow, dateStringFromNow, dateUntilNow, formatDuration, formatHourMin, getDate, blocksToDays, delegatorCooldownToDays, formatDayHourMin } from './utils'; | ||
export { SECONDS_IN_DAY, ETHEREUM_BLOCK_TIME } from './constants'; |
@@ -121,2 +121,4 @@ import gql from 'graphql-tag'; | ||
const SECONDS_IN_DAY = 24 * 60 * 60; | ||
dayjs.extend(relativeTime); | ||
@@ -269,3 +271,3 @@ /** | ||
export { blocksToDays, buildEnsDataLoader, connectProvider, dateFromNow, dateStringFromNow, dateUntilNow, delegatorCooldownToDays, ensLookup, ensLookups, formatDayHourMin, formatDuration, formatHourMin, formatUnitsOriginal, formatWithNumeral, generateExampleQuery, getContract, getDate, getTxLink, unixDateFromNow }; | ||
export { ETHEREUM_BLOCK_TIME, SECONDS_IN_DAY, blocksToDays, buildEnsDataLoader, connectProvider, dateFromNow, dateStringFromNow, dateUntilNow, delegatorCooldownToDays, ensLookup, ensLookups, formatDayHourMin, formatDuration, formatHourMin, formatUnitsOriginal, formatWithNumeral, generateExampleQuery, getContract, getDate, getTxLink, unixDateFromNow }; | ||
//# sourceMappingURL=index.esm.js.map |
@@ -134,2 +134,4 @@ 'use strict'; | ||
const SECONDS_IN_DAY = 24 * 60 * 60; | ||
dayjs__default['default'].extend(relativeTime__default['default']); | ||
@@ -282,2 +284,4 @@ /** | ||
exports.ETHEREUM_BLOCK_TIME = ETHEREUM_BLOCK_TIME; | ||
exports.SECONDS_IN_DAY = SECONDS_IN_DAY; | ||
exports.blocksToDays = blocksToDays; | ||
@@ -284,0 +288,0 @@ exports.buildEnsDataLoader = buildEnsDataLoader; |
{ | ||
"name": "@edgeandnode/common", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Common Edge & Node utils and types", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
68188
658