Skip to content

Commit

Permalink
Merge pull request #112 from dfa1234/issue107
Browse files Browse the repository at this point in the history
Issue107
  • Loading branch information
dfa1234 authored Jul 22, 2024
2 parents 8dc4e5a + 2932a14 commit cd5fe85
Show file tree
Hide file tree
Showing 13 changed files with 13,086 additions and 12,591 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/on-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
steps:
- uses: actions/setup-node@master
with:
node-version: '16'
node-version: '20'
registry-url: 'https://registry.npmjs.org'

- uses: actions/checkout@master
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/on-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
steps:
- uses: actions/setup-node@master
with:
node-version: "16"
node-version: "20"
registry-url: "https://registry.npmjs.org"

- uses: actions/checkout@master
Expand All @@ -28,4 +28,4 @@ jobs:
run: npm run test:lib

- name: 'Test the demo app'
run: npm run test:app
run: npm run test:app
2 changes: 1 addition & 1 deletion .github/workflows/publish-on-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
steps:
- uses: actions/setup-node@master
with:
node-version: "16"
node-version: "20"
registry-url: "https://registry.npmjs.org"

- uses: actions/checkout@master
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,5 @@ Thumbs.db

# Local Netlify folder
.netlify

.nx
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,12 @@ export class AppComponent {
}
```

### Same method but without the upload step

```ts
this.imageCompress.uploadAndGetImageWithMaxSize({image: 'base64ValueFromYourUpload'},MAX_MEGABYTE).then
```

### Multiple files support

For uploading multiple files, instead of using
Expand Down
Loading

0 comments on commit cd5fe85

Please sign in to comment.