Skip to content

Commit

Permalink
fix: constants import (#52)
Browse files Browse the repository at this point in the history
Co-authored-by: denys-bondarenko <denys.bondarenko@ibm.com>
  • Loading branch information
denbon05 and denys-bondarenko authored Oct 28, 2024
1 parent 270781d commit 56b31cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/index.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import * as constants from '@/constants';
import { formatOptions, shouldDataBeCached } from '@/helpers';
import MapStorage from '@/storage/Map';
import type { ICacheOptions } from '@/types/lcache';
import { buildCacheKey } from '@/utils';
import type { FastifyInstance, FastifyPluginCallback } from 'fastify';
import fp from 'fastify-plugin';
import * as constants from './constants';

const defaultOpts: ICacheOptions = {
ttlInMinutes: constants.TTL_IN_MINUTES,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fastify-lcache",
"version": "2.1.3",
"version": "2.1.4",
"description": "Light cache plugin for fastify",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down

0 comments on commit 56b31cb

Please sign in to comment.