Skip to content

Commit 09a5b61

Browse files
authored
Merge pull request #29 from belgattitude/changeset-release/main
Version Packages
2 parents 112405c + 52533ee commit 09a5b61

File tree

5 files changed

+22
-14
lines changed

5 files changed

+22
-14
lines changed

.changeset/stale-owls-lay.md

-5
This file was deleted.

examples/nextjs-app/CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @examples/nextjs-app
22

3+
## 0.1.24
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`3ddb181`](https://github.com/belgattitude/httpx/commit/3ddb181783b6e3822005172070a0e3d1219c141b)]:
8+
- @httpx/exception@1.6.2
9+
310
## 0.1.23
411

512
### Patch Changes

examples/nextjs-app/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@examples/nextjs-app",
3-
"version": "0.1.23",
3+
"version": "0.1.24",
44
"private": true,
55
"scripts": {
66
"dev": "next dev",

packages/exception/CHANGELOG.md

+13-7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @httpx/exception
22

3+
## 1.6.2
4+
5+
### Patch Changes
6+
7+
- [#28](https://github.com/belgattitude/httpx/pull/28) [`3ddb181`](https://github.com/belgattitude/httpx/commit/3ddb181783b6e3822005172070a0e3d1219c141b) Thanks [@belgattitude](https://github.com/belgattitude)! - Increase legacy browsers usage (+ include latest babel upstream fixes)
8+
39
## 1.6.1
410

511
### Patch Changes
@@ -68,9 +74,9 @@
6874

6975
```typescript
7076
const err = new HttpRequestTimeout({
71-
url: "https://api.dev/user/belgattitude",
72-
method: "GET",
73-
code: "NETWORK_FAILURE",
77+
url: 'https://api.dev/user/belgattitude',
78+
method: 'GET',
79+
code: 'NETWORK_FAILURE',
7480
errorId: nanoid(), // can be shared by frontend/backend
7581
});
7682
console.log(err.url, err.method, err.code, err.errorId);
@@ -90,7 +96,7 @@
9096
import {
9197
convertToSerializable,
9298
createFromSerializable,
93-
} from "@httpx/exception/serializer";
99+
} from '@httpx/exception/serializer';
94100

95101
const serializableObject = convertToSerializable(new HttpForbidden());
96102
const exception = createFromSerializable(serializableObject);
@@ -127,11 +133,11 @@
127133
import {
128134
HttpForbidden,
129135
HttpUnavailableForLegalReasons,
130-
} from "@httpx/exception";
131-
import { fromJson, toJson } from "@httpx/exception/serializer";
136+
} from '@httpx/exception';
137+
import { fromJson, toJson } from '@httpx/exception/serializer';
132138

133139
const e = new HttpForbidden({
134-
url: "https://www.cool.me",
140+
url: 'https://www.cool.me',
135141
/*
136142
cause: new HttpUnavailableForLegalReasons({
137143
cause: new Error('example with cause')

packages/exception/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@httpx/exception",
3-
"version": "1.6.1",
3+
"version": "1.6.2",
44
"license": "MIT",
55
"description": "Delightful http exceptions. Works everywhere. Serialization, logging and more.",
66
"homepage": "https://github.com/belgattitude/httpx",

0 commit comments

Comments
 (0)