Skip to content

Commit

Permalink
Merge pull request #770 from Availity/feat/upload-core-build
Browse files Browse the repository at this point in the history
Feat/upload core build
  • Loading branch information
jordan-a-young authored Oct 29, 2024
2 parents 165e6ee + c67e022 commit 4728b34
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .adiorc.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = {
packages: ['packages/*'],
ignore: {
src: ['form-data', 'nock', 'xhr-mock', 'ts-jest'],
src: ['form-data', 'nock', 'xhr-mock', 'ts-jest', 'http', 'https', 'url', 'stream'],
devDependencies: ['typescript', 'tsup', 'axios', '@types/tus-js-client'],
peerDependencies: ['axios'],
},
Expand Down
4 changes: 2 additions & 2 deletions packages/upload-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@
"publish": "yarn npm publish --tolerate-republish --access public"
},
"dependencies": {
"@availity/resolve-url": "workspace:*",
"tus-js-client": "1.7.1"
"@availity/resolve-url": "workspace:*"
},
"devDependencies": {
"@types/tus-js-client": "^1.7.0",
"tsup": "^7.2.0",
"tus-js-client": "1.7.1",
"typescript": "^5.5.4"
},
"publishConfig": {
Expand Down
6 changes: 2 additions & 4 deletions packages/upload-core/src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,9 @@ declare class Upload {

parseErrorMessage(message: string, error?: Error): void;

// eslint-disable-next-line @typescript-eslint/no-explicit-any
scan(data: any): void;
scan(data?: { header: string; value: string }): void;

// eslint-disable-next-line @typescript-eslint/no-explicit-any
sendPassword(pw: any): void;
sendPassword(pw: string): void;

setError(status: string, message: string, error?: Error): void;

Expand Down

0 comments on commit 4728b34

Please sign in to comment.