Skip to content

Commit

Permalink
fix: add legacy main field
Browse files Browse the repository at this point in the history
  • Loading branch information
calebboyd committed Jan 6, 2023
1 parent 9f1d150 commit 8383e0b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
"lib",
"!**/*.spec.js"
],
"main": "./lib/commonjs/stream.js",
"types": "./lib/commonjs/stream.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
Expand Down
2 changes: 1 addition & 1 deletion src/stream.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { hostname } from 'node:os'
import { ack, createClient, initStreams, readAckDelete } from './redis.js'
import {
import type {
RedisStreamOptions,
RedisClient,
XEntryResult,
Expand Down

0 comments on commit 8383e0b

Please sign in to comment.