File tree Expand file tree Collapse file tree 5 files changed +8
-9
lines changed
Expand file tree Collapse file tree 5 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' @dimensiondev/stego-js ' : patch
3+ ---
4+
5+ improve typescript definition
Original file line number Diff line number Diff line change 1111 "module" : " ./esm/node.js" ,
1212 "browser" : " ./esm/dom.js" ,
1313 "bin" : " ./esm/cli/cli.js" ,
14+ "types" : " ./esm/dom.js" ,
1415 "scripts" : {
1516 "build" : " pnpm run build:umd && pnpm run build:dist" ,
1617 "build:dist" : " tsc -b ./tsconfig.json ./tests/tsconfig.json" ,
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { createAPI } from './utils/expose.js'
22import { getImageType } from './utils/helper.js'
33import { preprocessImage } from './utils/image.js'
44
5- export { getImageType }
5+ export { getImageType } from './utils/helper.js'
66export * from './utils/types.js'
77export * from './constant.js'
88
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11import { JsColorType , Transformer } from '@napi-rs/image'
22import { randomFillSync } from 'crypto'
33import { createAPI } from './utils/expose.js'
4- import { getImageType } from './utils/helper.js'
54import { preprocessImage } from './utils/image.js'
65
7- export { getImageType }
6+ export { getImageType } from './utils/helper.js'
87export * from './utils/types.js'
98export * from './constant.js'
109
You can’t perform that action at this time.
0 commit comments