@dpuse/dpuse-shared 1.0.222 → 1.0.224

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.
@@ -84,7 +84,7 @@ export interface FindObjectOptions extends EngineConnectorActionOptions {
84
84
  id: string;
85
85
  }
86
86
  export interface FindObjectResult {
87
- path: string | undefined;
87
+ path: string;
88
88
  }
89
89
  export interface GetInfoOptions extends EngineConnectorActionOptions {
90
90
  path: string;
@@ -250,6 +250,7 @@ export interface UpsertRecordsOptions extends EngineConnectorActionOptions {
250
250
  path: string;
251
251
  }
252
252
  export type ConnectorUsageId = InferOutput<typeof connectorUsageIdSchema>;
253
+ export { type FetchObjectContentStreamOptions, fetchObjectContentStream } from './objectFetching';
253
254
  export { auditObjectContentWithParser, buildPreviewObjectResult, indexObjectStructureWithParser } from './objectParsing';
254
255
  export { listObjectStructureEntriesWithParser, retrieveRecordsWithParser } from './objectParsing';
255
256
  export { constructStoreError, findStoreErrorId, type StoreErrorId } from './storeErrors';
@@ -0,0 +1,7 @@
1
+ export interface FetchObjectContentStreamOptions {
2
+ headers?: Record<string, string>;
3
+ locator: string;
4
+ path: string;
5
+ signal: AbortSignal;
6
+ }
7
+ export declare function fetchObjectContentStream(url: string, options: FetchObjectContentStreamOptions): Promise<ReadableStream<Uint8Array>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dpuse/dpuse-shared",
3
- "version": "1.0.222",
3
+ "version": "1.0.224",
4
4
  "private": false,
5
5
  "description": "Common constants, types and utilities used across DPUse projects.",
6
6
  "license": "MIT",
@@ -64,13 +64,13 @@
64
64
  "valibot": "^1.5.0"
65
65
  },
66
66
  "devDependencies": {
67
- "@dpuse/dpuse-development": "^1.0.153",
67
+ "@dpuse/dpuse-development": "^1.0.155",
68
68
  "@dpuse/eslint-config-dpuse": "^1.0.150",
69
69
  "@types/node": "^26.6.6",
70
70
  "@types/trusted-types": "^2.0.7",
71
71
  "@vitest/coverage-v8": "^5.1.0",
72
72
  "eslint": "^10.15.0",
73
- "fallow": "^3.43.0",
73
+ "fallow": "^3.43.1",
74
74
  "fast-check": "^4.10.2",
75
75
  "iconv-lite": "^0.7.3",
76
76
  "jschardet": "^4.1.0",