Skip to content

Commit

Permalink
fix: Nextjs doesn't like default before type exports
Browse files Browse the repository at this point in the history
  • Loading branch information
MKRhere committed Mar 10, 2023
1 parent bf98b09 commit 872f978
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@telegraf/session",
"version": "2.0.0-beta.5",
"version": "2.0.0-beta.6",
"description": "Session store adapters for Telegraf",
"main": "./memory.js",
"homepage": "https://github.com/telegraf/session",
Expand Down Expand Up @@ -30,24 +30,24 @@
],
"exports": {
"./mongodb": {
"default": "./mongodb.js",
"types": "./mongodb.d.ts"
"types": "./mongodb.d.ts",
"default": "./mongodb.js"
},
"./redis": {
"default": "./redis.js",
"types": "./redis.d.ts"
"types": "./redis.d.ts",
"default": "./redis.js"
},
"./mysql": {
"default": "./mysql.js",
"types": "./mysql.d.ts"
"types": "./mysql.d.ts",
"default": "./mysql.js"
},
"./pg": {
"default": "./pg.js",
"types": "./pg.d.ts"
"types": "./pg.d.ts",
"default": "./pg.js"
},
"./sqlite": {
"default": "./sqlite.js",
"types": "./sqlite.d.ts"
"types": "./sqlite.d.ts",
"default": "./sqlite.js"
}
},
"peerDependencies": {
Expand Down

0 comments on commit 872f978

Please sign in to comment.