@nestbox-ai/admin 1.0.67 → 1.0.69

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.
@@ -1 +1 @@
1
- 7.19.0
1
+ 7.20.0
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @nestbox-ai/admin@1.0.67
1
+ ## @nestbox-ai/admin@1.0.69
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @nestbox-ai/admin@1.0.67 --save
39
+ npm install @nestbox-ai/admin@1.0.69 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/common.ts CHANGED
@@ -96,7 +96,8 @@ export const setSearchParams = function (url: URL, ...objects: any[]) {
96
96
  * This function will run for every key-value pair encountered by JSON.stringify while traversing an object.
97
97
  * Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.
98
98
  */
99
- export const replaceWithSerializableTypeIfNeeded = function(key: any, value: any) {
99
+ // @ts-ignore
100
+ export const replaceWithSerializableTypeIfNeeded = function(key: string, value: any) {
100
101
  if (value instanceof Set) {
101
102
  return Array.from(value);
102
103
  } else {
package/dist/common.d.ts CHANGED
@@ -28,7 +28,7 @@ export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
28
28
  * This function will run for every key-value pair encountered by JSON.stringify while traversing an object.
29
29
  * Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.
30
30
  */
31
- export declare const replaceWithSerializableTypeIfNeeded: (key: any, value: any) => any;
31
+ export declare const replaceWithSerializableTypeIfNeeded: (key: string, value: any) => any;
32
32
  export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
33
33
  export declare const toPathString: (url: URL) => string;
34
34
  export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
package/dist/common.js CHANGED
@@ -105,6 +105,7 @@ exports.setSearchParams = setSearchParams;
105
105
  * This function will run for every key-value pair encountered by JSON.stringify while traversing an object.
106
106
  * Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.
107
107
  */
108
+ // @ts-ignore
108
109
  const replaceWithSerializableTypeIfNeeded = function (key, value) {
109
110
  if (value instanceof Set) {
110
111
  return Array.from(value);
@@ -28,7 +28,7 @@ export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
28
28
  * This function will run for every key-value pair encountered by JSON.stringify while traversing an object.
29
29
  * Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.
30
30
  */
31
- export declare const replaceWithSerializableTypeIfNeeded: (key: any, value: any) => any;
31
+ export declare const replaceWithSerializableTypeIfNeeded: (key: string, value: any) => any;
32
32
  export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
33
33
  export declare const toPathString: (url: URL) => string;
34
34
  export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
@@ -96,6 +96,7 @@ export const setSearchParams = function (url, ...objects) {
96
96
  * This function will run for every key-value pair encountered by JSON.stringify while traversing an object.
97
97
  * Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.
98
98
  */
99
+ // @ts-ignore
99
100
  export const replaceWithSerializableTypeIfNeeded = function (key, value) {
100
101
  if (value instanceof Set) {
101
102
  return Array.from(value);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nestbox-ai/admin",
3
- "version": "1.0.67",
3
+ "version": "1.0.69",
4
4
  "description": "OpenAPI client for @nestbox-ai/admin",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -24,7 +24,7 @@
24
24
  "prepare": "npm run build"
25
25
  },
26
26
  "dependencies": {
27
- "axios": "^1.6.1"
27
+ "axios": "^1.13.5"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@types/node": "12.11.5 - 12.20.42",