@nestbox-ai/documents 1.0.67 → 1.0.68
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/.openapi-generator/VERSION +1 -1
- package/README.md +2 -2
- package/common.ts +2 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -0
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -0
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.20.0
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @nestbox-ai/documents@1.0.
|
|
1
|
+
## @nestbox-ai/documents@1.0.68
|
|
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/documents@1.0.
|
|
39
|
+
npm install @nestbox-ai/documents@1.0.68 --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
|
-
|
|
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:
|
|
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);
|
package/dist/esm/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:
|
|
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/esm/common.js
CHANGED
|
@@ -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/documents",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.68",
|
|
4
4
|
"description": "OpenAPI client for @nestbox-ai/documents",
|
|
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.
|
|
27
|
+
"axios": "^1.13.5"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/node": "12.11.5 - 12.20.42",
|