Skip to content

Commit

Permalink
v0.5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
suhaotian committed Jul 18, 2024
1 parent b226863 commit 1fabf54
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 28 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG 📝

## v0.5.4

- feat(core): Support `URLSearchParams` Fix [issues/26](https://github.com/suhaotian/xior/issues/26)

## v0.5.3

- fix(core): RangeError: Invalid time value. ref [issues/23](https://github.com/suhaotian/xior/issues/23)
Expand Down
52 changes: 26 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ yarn add xior
Use jsDelivr CDN:

```html
<script src="https://cdn.jsdelivr.net/npm/[email protected].3/dist/xior.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].4/dist/xior.umd.js"></script>

<!-- Usage -->
<script>
Expand All @@ -114,7 +114,7 @@ Use jsDelivr CDN:
Use unpkg CDN:

```html
<script src="https://unpkg.com/[email protected].3/dist/xior.umd.js"></script>
<script src="https://unpkg.com/[email protected].4/dist/xior.umd.js"></script>

<!-- Usage -->
<script>
Expand Down Expand Up @@ -561,9 +561,9 @@ Use CDN:
Using jsDelivr CDN:

```html
<script src="https://cdn.jsdelivr.net/npm/[email protected].3/dist/xior.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].4/dist/xior.umd.js"></script>
<!-- Load plugin -->
<script src="https://cdn.jsdelivr.net/npm/[email protected].3/plugins/error-retry.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].4/plugins/error-retry.umd.js"></script>

<!-- Usage -->
<script>
Expand All @@ -576,10 +576,10 @@ Using jsDelivr CDN:
Using unpkg CDN:

```html
<script src="https://unpkg.com/[email protected].3/dist/xior.umd.js"></script>
<script src="https://unpkg.com/[email protected].4/dist/xior.umd.js"></script>

<!-- Load plugin -->
<script src="https://unpkg.com/[email protected].3/plugins/error-retry.umd.js"></script>
<script src="https://unpkg.com/[email protected].4/plugins/error-retry.umd.js"></script>

<!-- Usage -->
<script>
Expand Down Expand Up @@ -672,9 +672,9 @@ Use CDN:
Using jsDelivr CDN:

```html
<script src="https://cdn.jsdelivr.net/npm/[email protected].3/dist/xior.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].4/dist/xior.umd.js"></script>
<!-- Load plugin -->
<script src="https://cdn.jsdelivr.net/npm/[email protected].3/plugins/throttle.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].4/plugins/throttle.umd.js"></script>

<!-- Usage -->
<script>
Expand All @@ -687,10 +687,10 @@ Using jsDelivr CDN:
Using unpkg CDN:

```html
<script src="https://unpkg.com/[email protected].3/dist/xior.umd.js"></script>
<script src="https://unpkg.com/[email protected].4/dist/xior.umd.js"></script>

<!-- Load plugin -->
<script src="https://unpkg.com/[email protected].3/plugins/throttle.umd.js"></script>
<script src="https://unpkg.com/[email protected].4/plugins/throttle.umd.js"></script>

<!-- Usage -->
<script>
Expand Down Expand Up @@ -745,9 +745,9 @@ Use CDN:
Using jsDelivr CDN:

```html
<script src="https://cdn.jsdelivr.net/npm/[email protected].3/dist/xior.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].4/dist/xior.umd.js"></script>
<!-- Load plugin -->
<script src="https://cdn.jsdelivr.net/npm/[email protected].3/plugins/dedupe.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].4/plugins/dedupe.umd.js"></script>

<!-- Usage -->
<script>
Expand All @@ -760,10 +760,10 @@ Using jsDelivr CDN:
Using unpkg CDN:

```html
<script src="https://unpkg.com/[email protected].3/dist/xior.umd.js"></script>
<script src="https://unpkg.com/[email protected].4/dist/xior.umd.js"></script>

<!-- Load plugin -->
<script src="https://unpkg.com/[email protected].3/plugins/dedupe.umd.js"></script>
<script src="https://unpkg.com/[email protected].4/plugins/dedupe.umd.js"></script>

<!-- Usage -->
<script>
Expand Down Expand Up @@ -825,9 +825,9 @@ Use CDN:
Using jsDelivr CDN:

```html
<script src="https://cdn.jsdelivr.net/npm/[email protected].3/dist/xior.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].4/dist/xior.umd.js"></script>
<!-- Load plugin -->
<script src="https://cdn.jsdelivr.net/npm/[email protected].3/plugins/error-cache.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].4/plugins/error-cache.umd.js"></script>

<!-- Usage -->
<script>
Expand All @@ -840,10 +840,10 @@ Using jsDelivr CDN:
Using unpkg CDN:

```html
<script src="https://unpkg.com/[email protected].3/dist/xior.umd.js"></script>
<script src="https://unpkg.com/[email protected].4/dist/xior.umd.js"></script>

<!-- Load plugin -->
<script src="https://unpkg.com/[email protected].3/plugins/error-cache.umd.js"></script>
<script src="https://unpkg.com/[email protected].4/plugins/error-cache.umd.js"></script>

<!-- Usage -->
<script>
Expand Down Expand Up @@ -988,9 +988,9 @@ Use CDN:
Using jsDelivr CDN:

```html
<script src="https://cdn.jsdelivr.net/npm/[email protected].3/dist/xior.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].4/dist/xior.umd.js"></script>
<!-- Load plugin -->
<script src="https://cdn.jsdelivr.net/npm/[email protected].3/plugins/progress.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].4/plugins/progress.umd.js"></script>

<!-- Usage -->
<script>
Expand All @@ -1003,10 +1003,10 @@ Using jsDelivr CDN:
Using unpkg CDN:

```html
<script src="https://unpkg.com/[email protected].3/dist/xior.umd.js"></script>
<script src="https://unpkg.com/[email protected].4/dist/xior.umd.js"></script>

<!-- Load plugin -->
<script src="https://unpkg.com/[email protected].3/plugins/progress.umd.js"></script>
<script src="https://unpkg.com/[email protected].4/plugins/progress.umd.js"></script>

<!-- Usage -->
<script>
Expand Down Expand Up @@ -1113,9 +1113,9 @@ Use CDN:
Using jsDelivr CDN:

```html
<script src="https://cdn.jsdelivr.net/npm/[email protected].3/dist/xior.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].4/dist/xior.umd.js"></script>
<!-- Load plugin -->
<script src="https://cdn.jsdelivr.net/npm/[email protected].3/plugins/mock.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].4/plugins/mock.umd.js"></script>

<!-- Usage -->
<script>
Expand All @@ -1128,10 +1128,10 @@ Using jsDelivr CDN:
Using unpkg CDN:

```html
<script src="https://unpkg.com/[email protected].3/dist/xior.umd.js"></script>
<script src="https://unpkg.com/[email protected].4/dist/xior.umd.js"></script>

<!-- Load plugin -->
<script src="https://unpkg.com/[email protected].3/plugins/mock.umd.js"></script>
<script src="https://unpkg.com/[email protected].4/plugins/mock.umd.js"></script>

<!-- Usage -->
<script>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "xior",
"version": "0.5.3",
"version": "0.5.4",
"description": "A lite request lib based on fetch with plugin support and similar API to axios.",
"repository": "suhaotian/xior",
"bugs": "https://github.com/suhaotian/xior/issues",
Expand Down
2 changes: 1 addition & 1 deletion src/xior.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class Xior {
static create(options?: XiorRequestConfig): XiorInstance {
return new Xior(options);
}
static VERSION = '0.5.3';
static VERSION = '0.5.4';

config?: XiorRequestConfig;
defaults: XiorInterceptorRequestConfig;
Expand Down

0 comments on commit 1fabf54

Please sign in to comment.