@autifyhq/autify-sdk 0.7.1 → 0.8.0
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/config.d.ts +1 -0
- package/dist/config.js +6 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/package.json +2 -2
package/dist/config.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/config.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const axios_1 = tslib_1.__importDefault(require("axios"));
|
|
5
|
+
// Axios set several default encodings but we'd like to keep it as plain text since it's JSON API.
|
|
6
|
+
axios_1.default.defaults.headers["Accept-Encoding"] = null;
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MOBILE_BASE_PATH = exports.MobileClient = exports.WEB_BASE_PATH = exports.WebClient = void 0;
|
|
4
|
+
require("./config");
|
|
4
5
|
require("./debug");
|
|
5
6
|
var client_1 = require("./generated/web/client");
|
|
6
7
|
Object.defineProperty(exports, "WebClient", { enumerable: true, get: function () { return client_1.WebClient; } });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@autifyhq/autify-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "Autify SDK for JavaScript",
|
|
5
5
|
"author": "Autify",
|
|
6
6
|
"homepage": "https://github.com/autifyhq/autify-sdk-js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@openapitools/openapi-generator-cli": "^2.5.1",
|
|
27
27
|
"@types/debug": "^4.1.7",
|
|
28
28
|
"@types/jest": "^28.1.1",
|
|
29
|
-
"@types/node": "^
|
|
29
|
+
"@types/node": "^18.11.4",
|
|
30
30
|
"@typescript-eslint/eslint-plugin": "^5.27.1",
|
|
31
31
|
"@typescript-eslint/parser": "^5.27.1",
|
|
32
32
|
"axios-mock-adapter": "^1.21.1",
|