@ductape/sdk 0.3.6 → 0.3.7

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.
@@ -388,9 +388,9 @@ export default class ProcessorService implements IProcessorService {
388
388
  runBrokerPublish(data: IStepEvent, additional_logs?: Partial<ILogData>): Promise<{
389
389
  published: boolean;
390
390
  }>;
391
- processStorageRequest(data: IStepEvent, input: IStorageRequest, storageEnv: IProductStorageEnvs, additional_logs: Partial<ILogData>, decryptionKey?: string): Promise<{
391
+ processStorageRequest(data: IStepEvent, input: IStorageRequest, storageEnv: IProductStorageEnvs, additional_logs: Partial<ILogData>, decryptionKey?: string): Promise<IProcessingFailure | {
392
392
  url: string;
393
- } | IProcessingFailure>;
393
+ }>;
394
394
  writeResult(status: LogEventStatus, retryable?: boolean): Promise<void>;
395
395
  /**
396
396
  * Separate credentials into prefixed (e.g., 'headers:Authorization') and non-prefixed (e.g., 'api_key').
@@ -87,7 +87,10 @@ export interface IDownloadOptions {
87
87
  session?: string;
88
88
  }
89
89
  /**
90
- * Delete request options
90
+ * Delete request options — for `ductape.storage.remove(options)`, NOT `ductape.storage.delete()`.
91
+ * `.delete(product, tag)` is a different, administrative method that deletes an entire storage
92
+ * *component* from the product's configuration; passing this object shape to it stringifies the
93
+ * object into the request URL and produces a confusing 404 instead of a type error (DT-087).
91
94
  */
92
95
  export interface IDeleteOptions {
93
96
  product: string;