simpleloan_api 1.1.1 → 1.1.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.
package/dist/index.d.mts CHANGED
@@ -81,9 +81,7 @@ type LoginResponse = {
81
81
  declare const useAccountLogin: () => {
82
82
  response: vue.Ref<ApiResponse<LoginResponse> | null>;
83
83
  pending: vue.Ref<boolean>;
84
- post(params: PostParams<{
85
- _data: Login;
86
- }>): Promise<ApiResponse<LoginResponse> | null>;
84
+ post(params: PostParams<Login>): Promise<ApiResponse<LoginResponse> | null>;
87
85
  };
88
86
  /** Выход */
89
87
  declare const useAccountLogout: () => {
@@ -103,9 +101,7 @@ declare const useGetUser: () => {
103
101
  response: vue.Ref<ApiResponse<User> | null>;
104
102
  pending: vue.Ref<boolean>;
105
103
  post(params: PostParams<{
106
- _data: {
107
- id: number;
108
- };
104
+ id: number;
109
105
  }>): Promise<ApiResponse<User> | null>;
110
106
  };
111
107
  /** Получить список юзеров */
package/dist/index.d.ts CHANGED
@@ -81,9 +81,7 @@ type LoginResponse = {
81
81
  declare const useAccountLogin: () => {
82
82
  response: vue.Ref<ApiResponse<LoginResponse> | null>;
83
83
  pending: vue.Ref<boolean>;
84
- post(params: PostParams<{
85
- _data: Login;
86
- }>): Promise<ApiResponse<LoginResponse> | null>;
84
+ post(params: PostParams<Login>): Promise<ApiResponse<LoginResponse> | null>;
87
85
  };
88
86
  /** Выход */
89
87
  declare const useAccountLogout: () => {
@@ -103,9 +101,7 @@ declare const useGetUser: () => {
103
101
  response: vue.Ref<ApiResponse<User> | null>;
104
102
  pending: vue.Ref<boolean>;
105
103
  post(params: PostParams<{
106
- _data: {
107
- id: number;
108
- };
104
+ id: number;
109
105
  }>): Promise<ApiResponse<User> | null>;
110
106
  };
111
107
  /** Получить список юзеров */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpleloan_api",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",