Skip to content

Commit

Permalink
Rename
Browse files Browse the repository at this point in the history
  • Loading branch information
theogravity committed Mar 20, 2024
1 parent edf9704 commit e837b82
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"umd:main": "dist/umd/index.js",
"types": "dist/types/index.d.js",
"types": "dist/types/index.d.ts",
"scripts": {
"postinstall": "husky install",
"prepublishOnly": "pinst --disable",
Expand Down Expand Up @@ -52,14 +52,15 @@
},
"dependencies": {},
"peerDependencies": {
"electron": ">=26"
"electron": ">=28"
},
"devDependencies": {
"@commitlint/cli": "^19.2.1",
"@commitlint/config-conventional": "^19.1.0",
"@types/jest": "^29.5.12",
"@typescript-eslint/eslint-plugin": "^7.3.1",
"@typescript-eslint/parser": "^7.3.1",
"electron": "28.2.7",
"eslint": "^8.57.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-prettier": "^5.1.3",
Expand Down
2 changes: 1 addition & 1 deletion src/DownloadManager.ts → src/ElectronMultiDownloader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ type UpdatedEventFn = (_event: Event, state: 'progressing' | 'interrupted') => P
/**
* Enables download handling for a BrowserWindow.
*/
export class DownloadManager {
export class ElectronMultiDownloader {
protected config: DownloadManagerConfig
protected downloadItems: WeakMap<DownloadItem, DownloadManagerItem>
protected listeners: WeakMap<
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export * from './types'
export * from './DownloadManager'
export * from './ElectronMultiDownloader'

0 comments on commit e837b82

Please sign in to comment.