Skip to content

Commit d6ca961

Browse files
committed
chore: bump 1.3.0 + changeset
1 parent 63fce38 commit d6ca961

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

.changeset/remove-lazy-then.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
'@power-rent/try-catch': major
3+
---
4+
Remove lazy `.then` getter from non-async Try instances. Only `AsyncFunction` is now thenable. If you wrapped a non-async function returning a Promise and used `await new Try(fn)`, switch to `new Try(fn).unwrap()` or mark the function `async`.

package-lock.json

Lines changed: 2 additions & 2 deletions
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": "@power-rent/try-catch",
3-
"version": "1.2.0",
3+
"version": "1.3.0",
44
"description": "A TypeScript utility for simplified async error handling with Sentry integration",
55
"main": "dist/index.js",
66
"module": "dist/esm/index.js",

0 commit comments

Comments
 (0)