Skip to content

Commit bdcc9d7

Browse files
committed
cleanup
1 parent 813ebad commit bdcc9d7

File tree

11 files changed

+237
-1104
lines changed

11 files changed

+237
-1104
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2020 Tweede golf
3+
Copyright (c) 2025 Tweede golf
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1276,7 +1276,7 @@ You can create your own adapter in a separate repository and publish it from the
12761276

12771277
## Tests
12781278

1279-
If you want to run the tests you have to checkout the repository from github and install all dependencies with `npm install` or `yarn install`. There are tests for all storage types; note that you may need to add your credentials to a `.env` file, see the file `.env.default` for more explanation, or provide credentials in another way. Also it should be noted that some of these tests require that the credentials allow to create, delete and list buckets.
1279+
If you want to run the tests you have to checkout the repository from github and install all dependencies with `npm install` or `yarn install`. There are tests for all storage types; note that you may need to add your credentials to a `.env` file, see the file `.env.default` and `config_urls.md` for more explanation, or provide credentials in another way. Also it should be noted that some of these tests require that the credentials allow to create, delete and list buckets.
12801280

12811281
```bash
12821282
# test local disk

adapter_api.md

Whitespace-only changes.

changelog.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22

33
- updated dependencies of adapters
44
- deprecated `getFileAsURL`
5-
- added `getPublicURL` and `getPresignedURL`
6-
- added `bucketIsPublic`
7-
- added extra key to the options object of all `addFile` functions: `useSignedURL` (boolean) → returns the presigned url instead of the public url when set to `true`
5+
- added `getPublicURL` and `getSignedURL`
6+
- added `bucketIsPublic` (does not work for CloudFlare and Cubbit)
7+
- added extra key to the options object of all `addFile` functions: `useSignedURL` (boolean) → returns the presigned url instead of the public url when set to `true`
88
- added extra key to the options object of `createBucket`: `public` (boolean) → creates a public bucket when set to `true`
99
- you can call `createBucket` without providing a bucket name. If a bucket name is selected, either in the initialization configuration of by setting one using `setSelectedBucket`, a bucket with that name will be created. If the selected bucket is null, an error will be returned.
10+
- fix: if you delete the selected bucket, the selected bucket will be set to `null`
1011

1112
# 2.1.6
1213

0 commit comments

Comments
 (0)