@types/ali-oss 6.23.1 → 6.23.2

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.
Files changed (3) hide show
  1. ali-oss/README.md +1 -1
  2. ali-oss/index.d.ts +11 -0
  3. ali-oss/package.json +2 -2
ali-oss/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for ali-oss (https://github.com/ali-sdk/a
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ali-oss.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Mon, 19 Jan 2026 08:02:30 GMT
11
+ * Last updated: Wed, 28 Jan 2026 10:42:02 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
ali-oss/index.d.ts CHANGED
@@ -1209,6 +1209,17 @@ declare class OSS {
1209
1209
  options?: OSS.RequestOptions,
1210
1210
  ): Promise<OSS.NormalSuccessResponse>;
1211
1211
 
1212
+ /**
1213
+ * Cancel the current multipart upload operation.
1214
+ * If abort is provided, it will also call abortMultipartUpload.
1215
+ */
1216
+ cancel(abort?: { name: string; uploadId: string; options?: OSS.RequestOptions }): void;
1217
+
1218
+ /**
1219
+ * Check if the upload has been cancelled.
1220
+ */
1221
+ isCancel(): boolean;
1222
+
1212
1223
  /**
1213
1224
  * get postObject params.
1214
1225
  */
ali-oss/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/ali-oss",
3
- "version": "6.23.1",
3
+ "version": "6.23.2",
4
4
  "description": "TypeScript definitions for ali-oss",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ali-oss",
6
6
  "license": "MIT",
@@ -31,6 +31,6 @@
31
31
  "scripts": {},
32
32
  "dependencies": {},
33
33
  "peerDependencies": {},
34
- "typesPublisherContentHash": "a4b0f1217d487dccaae345d32f659309cfafcbf3963d0ae9f7266d64a7c5d01a",
34
+ "typesPublisherContentHash": "3cae0f5f3553d80d8810120661d051f79f1073011ffd08827f86f01a9f8c2795",
35
35
  "typeScriptVersion": "5.2"
36
36
  }