refactor(web): drop axios (#7490)
* refactor: downloadApi * refactor: assetApi * chore: drop axios * chore: tidy up * chore: fix exports * fix: show notification when download starts
This commit is contained in:
@@ -3,33 +3,21 @@
|
||||
"version": "1.92.1",
|
||||
"description": "",
|
||||
"type": "module",
|
||||
"main": "./build/fetch/index.js",
|
||||
"types": "./build/fetch/index.d.ts",
|
||||
"main": "./build/index.js",
|
||||
"types": "./build/index.d.ts",
|
||||
"exports": {
|
||||
"./axios": {
|
||||
"types": "./build/axios/axios.d.ts",
|
||||
"default": "./build/axios/axios.js"
|
||||
},
|
||||
".": {
|
||||
"types": "./build/fetch/fetch.d.ts",
|
||||
"default": "./build/fetch/fetch.js"
|
||||
"types": "./build/index.d.ts",
|
||||
"default": "./build/index.js"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsc -b ./tsconfig.axios.json ./tsconfig.fetch.json"
|
||||
"build": "tsc"
|
||||
},
|
||||
"license": "GNU Affero General Public License version 3",
|
||||
"devDependencies": {
|
||||
"@oazapfts/runtime": "^1.0.0",
|
||||
"@types/node": "^20.11.0",
|
||||
"typescript": "^5.3.3"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"axios": "^1.6.7"
|
||||
},
|
||||
"peerDependenciesMeta": {
|
||||
"axios": {
|
||||
"optional": true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user