@nekutima/biome-sdk 0.5.1 → 0.5.2
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.
|
@@ -28,7 +28,7 @@ export interface BiomeConfig {
|
|
|
28
28
|
enabled?: boolean;
|
|
29
29
|
/** Endpoint to fetch CSRF token from server */
|
|
30
30
|
tokenUrl?: string;
|
|
31
|
-
/** Custom header name for CSRF token (default: 'X-
|
|
31
|
+
/** Custom header name for CSRF token (default: 'X-XSRF-TOKEN') */
|
|
32
32
|
headerName?: string;
|
|
33
33
|
/** Cookie name to read CSRF token from (default: 'XSRF-TOKEN') */
|
|
34
34
|
cookieName?: string;
|
package/dist/core/http-client.js
CHANGED
|
@@ -5,7 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.BiomeHttpClient = void 0;
|
|
7
7
|
const axios_1 = __importDefault(require("axios"));
|
|
8
|
-
const DEFAULT_CSRF_HEADER_NAME = "X-
|
|
8
|
+
const DEFAULT_CSRF_HEADER_NAME = "X-XSRF-TOKEN";
|
|
9
9
|
const DEFAULT_CSRF_COOKIE_NAME = "XSRF-TOKEN";
|
|
10
10
|
const CSRF_METHODS = ["post", "put", "patch", "delete"];
|
|
11
11
|
/**
|
package/dist/sdk-info.d.ts
CHANGED
package/dist/sdk-info.js
CHANGED
package/package.json
CHANGED