File tree Expand file tree Collapse file tree 1 file changed +19
-2
lines changed
Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Original file line number Diff line number Diff line change 11// litefs-js should be used server-side only. It imports `fs` which results in Remix
22// including a big polyfill. So we put the import in a `.server.ts` file to avoid that
33// polyfill from being included. https://github.com/epicweb-dev/epic-stack/pull/331
4- export * from 'litefs-js'
5- export * from 'litefs-js/remix'
4+ export {
5+ getInstanceInfo ,
6+ getInstanceInfoSync ,
7+ TXID_NUM_COOKIE_NAME ,
8+ waitForUpToDateTxNumber ,
9+ getTxNumber ,
10+ getTxSetCookieHeader ,
11+ checkCookieForTransactionalConsistency ,
12+ getInternalInstanceDomain ,
13+ getAllInstances ,
14+ } from 'litefs-js'
15+
16+ export {
17+ ensurePrimary ,
18+ ensureInstance ,
19+ getReplayResponse ,
20+ handleTransactionalConsistency ,
21+ appendTxNumberCookie ,
22+ } from 'litefs-js/remix'
You can’t perform that action at this time.
0 commit comments