0.0.5 • Published 3 years ago
@0k.io/browser-request v0.0.5
This packages holds implementation of HttpRequest (from
0k.io/types-request), a simple http request facility using
the standard fetch() interface.
This should work in any browser and WebView when run in android or iOS.
Adding @0k.io/browser-request to your project
From the root of your project:
npm install --save @0k.io/browser-requestOr better, as browser-request is still in early release,
npm install --save 0k/browser-request#masterTo be sure to get the latest version, relaunch this last command whenever you want to update.
Developer
Building the project from fresh clone
npm installTranspilation to JavaScript
npx tscor with watch support:
npx tsc -wChangelog
0.0.5 (2023-04-22)
Fix
Repair android browser support. Valentin Lab
It seems at least on some android, the
timeoutfunction doesn't seem to be available, and all requests would fail.
0.0.4 (2023-03-02)
New
- Add
timeoutoption support. Valentin Lab
0.0.3 (2022-09-10)
Fix
- Prevent double slash at beginning of path. Valentin Lab
0.0.2 (2022-06-02)
Fix
- Response headers were not correctly filled up. Valentin Lab