@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.
Files changed (2) hide show
  1. package/dist/index.js +4 -10
  2. 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
- const openapi_fetch_1 = __importDefault(require("openapi-fetch"));
9
- function createApiClient(baseUrl, options) {
10
- return (0, openapi_fetch_1.default)({ baseUrl, ...options });
2
+ import createClient from "openapi-fetch";
3
+ export function createApiClient(baseUrl, options) {
4
+ return createClient({ baseUrl, ...options });
11
5
  }
12
- exports.default = createApiClient;
6
+ export default createApiClient;
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "@fill-easy/api",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
+ "type": "module",
4
5
  "description": "Type-safe SDK for Fill Easy API",
5
- "main": "dist/index.js",
6
+ "module": "dist/index.js",
6
7
  "types": "dist/index.d.ts",
7
8
  "files": [
8
9
  "dist"