@steroidsjs/core 3.1.1 → 3.1.3

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.
@@ -3576,7 +3576,7 @@
3576
3576
  "decorators": [],
3577
3577
  "description": "",
3578
3578
  "required": false,
3579
- "type": "Method",
3579
+ "type": "string",
3580
3580
  "example": null
3581
3581
  },
3582
3582
  {
@@ -1,4 +1,4 @@
1
- import { AxiosError, Method } from 'axios';
1
+ import { AxiosError } from 'axios';
2
2
  import { IComponents } from '../providers/ComponentsProvider';
3
3
  declare global {
4
4
  interface Window {
@@ -9,7 +9,7 @@ declare global {
9
9
  export interface IFetchConfig {
10
10
  id?: string | number;
11
11
  url?: string;
12
- method?: Method;
12
+ method?: 'get' | 'post' | string;
13
13
  params?: Record<string, unknown>;
14
14
  /**
15
15
  * Применяется для ssr. Если fetch критический — ssr вернет страницу со статус кодом ошибки.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steroidsjs/core",
3
- "version": "3.1.1",
3
+ "version": "3.1.3",
4
4
  "description": "",
5
5
  "author": "Vladimir Kozhin <hello@kozhindev.com>",
6
6
  "repository": {