@fill-easy/api 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -10
- package/package.json +3 -2
package/dist/index.js
CHANGED
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.createApiClient = createApiClient;
|
|
7
1
|
/* global RequestInit */
|
|
8
|
-
|
|
9
|
-
function createApiClient(baseUrl, options) {
|
|
10
|
-
return (
|
|
2
|
+
import createClient from "openapi-fetch";
|
|
3
|
+
export function createApiClient(baseUrl, options) {
|
|
4
|
+
return createClient({ baseUrl, ...options });
|
|
11
5
|
}
|
|
12
|
-
|
|
6
|
+
export default createApiClient;
|
package/package.json
CHANGED