Skip to content

Commit 8a3605b

Browse files
committed
v2.0.1 throw again if token is no longer valid
1 parent 3afbd28 commit 8a3605b

File tree

7 files changed

+129
-25
lines changed

7 files changed

+129
-25
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ More important methods are `getItems(listUUID)`, `getItemsDetails(listUUID)`, `s
4646
`moveToRecentList(listUuid, itemName)` and `getAllUsersFromList(listUuid)`.
4747

4848
## Changelog
49+
### 2.0.1 (2025-01-21)
50+
* (@foxriver76) also throw on http errors
51+
4952
### 2.0.0 (2024-11-27)
5053
* (@foxriver76) ported to native `fetch` module (BREAKING: Requires Node.js 18 or above)
5154

build/bring.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ declare class Bring {
109109
* Save an item to your current shopping list
110110
*
111111
* @param itemName The name of the item you want to send to the bring server
112-
* @param specification The litte description under the name of the item
112+
* @param specification The little description under the name of the item
113113
* @param listUuid The listUUID you want to receive a list of users from.
114114
* returns an empty string and answerHttpStatus should contain 204. If not -> error
115115
*/

build/bring.js

Lines changed: 46 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/bring.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bring-shopping",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"engines": {
55
"node": ">=18.0.0"
66
},

0 commit comments

Comments
 (0)