@vtex/api 6.46.0 → 6.46.1
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/CHANGELOG.md +8 -0
- package/lib/clients/infra/VBase.d.ts +2 -2
- package/lib/responses.d.ts +1 -0
- package/lib/service/loaders.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [6.46.1] - 2024-01-31
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
- Return type for the saveJSON method of VBase client
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
- Increase timeout for messagesGraphQL client
|
|
17
|
+
|
|
10
18
|
## [6.46.0] - 2023-10-25
|
|
11
19
|
### Added
|
|
12
20
|
- Add disk cache steps and retry count to tracing
|
|
@@ -3,7 +3,7 @@ import { IncomingMessage } from 'http';
|
|
|
3
3
|
import { Readable } from 'stream';
|
|
4
4
|
import { Logger } from './../../service/logger/logger';
|
|
5
5
|
import { InstanceOptions, IOResponse, RequestTracingConfig } from '../../HttpClient';
|
|
6
|
-
import { BucketMetadata, FileListItem } from '../../responses';
|
|
6
|
+
import { BucketMetadata, FileListItem, VBaseSaveResponse } from '../../responses';
|
|
7
7
|
import { IOContext } from '../../service/worker/runtime/typings';
|
|
8
8
|
import { InfraClient } from './InfraClient';
|
|
9
9
|
export declare class VBase extends InfraClient {
|
|
@@ -20,7 +20,7 @@ export declare class VBase extends InfraClient {
|
|
|
20
20
|
getFileStream: (bucket: string, path: string, tracingConfig?: RequestTracingConfig | undefined) => Promise<IncomingMessage>;
|
|
21
21
|
saveFile: (bucket: string, path: string, stream: Readable, gzip?: boolean, ttl?: number | undefined, tracingConfig?: RequestTracingConfig | undefined, ifMatch?: string | undefined) => Promise<void>;
|
|
22
22
|
getFileMetadata: (bucket: string, path: string, tracingConfig?: RequestTracingConfig | undefined) => Promise<IOResponse<void>>;
|
|
23
|
-
saveJSON: <T>(bucket: string, path: string, data: T, tracingConfig?: RequestTracingConfig | undefined, ifMatch?: string | undefined) => Promise<
|
|
23
|
+
saveJSON: <T>(bucket: string, path: string, data: T, tracingConfig?: RequestTracingConfig | undefined, ifMatch?: string | undefined) => Promise<VBaseSaveResponse>;
|
|
24
24
|
saveZippedContent: (bucket: string, path: string, stream: Readable, tracingConfig?: RequestTracingConfig | undefined, ifMatch?: string | undefined) => Promise<void>;
|
|
25
25
|
deleteFile: (bucket: string, path: string, tracingConfig?: RequestTracingConfig | undefined, ifMatch?: string | undefined) => Promise<IOResponse<void>>;
|
|
26
26
|
getConflicts: <T>(bucket: string, tracingConfig?: RequestTracingConfig | undefined) => Promise<T>;
|
package/lib/responses.d.ts
CHANGED
package/lib/service/loaders.js
CHANGED