Skip to content

Commit f0b8fa8

Browse files
committed
fix: add extensions
1 parent e83544b commit f0b8fa8

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/express.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
// this is utilities for node's express module
22
import type { RequestHandler } from 'express'
3-
import { getInstanceInfo } from '.'
3+
import { getInstanceInfo } from './index.js'
44
import {
55
ensurePrimary,
66
handleTransactionalConsistency,
77
setTxCookie,
8-
} from './http'
8+
} from './http.js'
99

10-
export * from './http'
10+
export * from './http.js'
1111

1212
/**
1313
* This is an express middleware that will ensure that if the client has a

src/http.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
getInstanceInfo,
66
getTxNumber,
77
getTxSetCookieHeader,
8-
} from '.'
8+
} from './index.js'
99

1010
/**
1111
* If the current instance is the primary instance, then returns false.

src/remix.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import {
44
getInstanceInfo,
55
getTxNumber,
66
getTxSetCookieHeader,
7-
} from '.'
7+
} from './index.js'
88

9-
export { getTxSetCookieHeader } from '.'
9+
export { getTxSetCookieHeader } from './index.js'
1010

1111
/**
1212
* If the current instance is the primary instance, then returns false.

0 commit comments

Comments
 (0)