@ductape/sdk 0.1.150 → 0.1.152

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.
@@ -384,9 +384,9 @@ export default class ProcessorService implements IProcessorService {
384
384
  runBrokerPublish(data: IStepEvent, additional_logs?: Partial<ILogData>): Promise<{
385
385
  published: boolean;
386
386
  }>;
387
- processStorageRequest(data: IStepEvent, input: IStorageRequest, storageEnv: IProductStorageEnvs, additional_logs: Partial<ILogData>, decryptionKey?: string): Promise<{
387
+ processStorageRequest(data: IStepEvent, input: IStorageRequest, storageEnv: IProductStorageEnvs, additional_logs: Partial<ILogData>, decryptionKey?: string): Promise<IProcessingFailure | {
388
388
  url: string;
389
- } | IProcessingFailure>;
389
+ }>;
390
390
  writeResult(status: LogEventStatus, retryable?: boolean): Promise<void>;
391
391
  /**
392
392
  * Separate credentials into prefixed (e.g., 'headers:Authorization') and non-prefixed (e.g., 'api_key').
@@ -4951,7 +4951,7 @@ class ProcessorService {
4951
4951
  }
4952
4952
  catch (e) {
4953
4953
  if (e instanceof utils_1.InputResolutionError) {
4954
- throw new Error(`Input resolution failed for action '${event}': ${e.message}`);
4954
+ throw Object.assign(new Error(`Input resolution failed for action '${event}': ${e.message}`), { code: 'INPUT_RESOLUTION_FAILED', retryable: false });
4955
4955
  }
4956
4956
  throw e;
4957
4957
  }