chore: add fetch funtcion & add tests to helper module
This commit is contained in:
parent
e289aeea27
commit
7b5e820285
22 changed files with 315 additions and 17 deletions
8
packages/helper/dist/fetch.js
vendored
Normal file
8
packages/helper/dist/fetch.js
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const isomorphic_unfetch_1 = require("isomorphic-unfetch");
|
||||
function fetch(url, options = {}) {
|
||||
return (0, isomorphic_unfetch_1.default)(url, Object.assign({}, options));
|
||||
}
|
||||
exports.default = fetch;
|
||||
//# sourceMappingURL=fetch.js.map
|
||||
Loading…
Add table
Add a link
Reference in a new issue