@transai/connector-runtime-sdk 0.22.3 → 0.22.4

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/meta.cjs.json CHANGED
@@ -170,7 +170,7 @@
170
170
  "format": "esm"
171
171
  },
172
172
  "libs/connector-runtime-sdk/src/lib/sdk/files.sdk.interface.ts": {
173
- "bytes": 589,
173
+ "bytes": 887,
174
174
  "imports": [],
175
175
  "format": "esm"
176
176
  },
package/meta.esm.json CHANGED
@@ -170,7 +170,7 @@
170
170
  "format": "esm"
171
171
  },
172
172
  "libs/connector-runtime-sdk/src/lib/sdk/files.sdk.interface.ts": {
173
- "bytes": 589,
173
+ "bytes": 887,
174
174
  "imports": [],
175
175
  "format": "esm"
176
176
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@transai/connector-runtime-sdk",
3
- "version": "0.22.3",
3
+ "version": "0.22.4",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -15,5 +15,11 @@ export interface FilesSDKInterface {
15
15
  write(filePath: string, data: FileHandleInterface | Buffer | string): Promise<boolean>;
16
16
  delete(path: string): Promise<boolean>;
17
17
  exists(path: string): Promise<boolean>;
18
+ /**
19
+ * Publish a complete file on the same filesystem without replacing a destination.
20
+ * Resolves false only when nothing was renamed; rejects when the outcome is unknown.
21
+ */
22
+ rename(source: string, destination: string): Promise<boolean>;
23
+ mkdir(directory: string): Promise<boolean>;
18
24
  pathAsDsn(path: string): string;
19
25
  }