@types/ali-oss 6.16.5 → 6.16.6
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.
- ali-oss/README.md +1 -1
- ali-oss/index.d.ts +12 -0
- 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/aliyun/os
|
|
|
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: Wed,
|
|
11
|
+
* Last updated: Wed, 19 Oct 2022 01:02:56 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: none
|
|
14
14
|
|
ali-oss/index.d.ts
CHANGED
|
@@ -697,6 +697,8 @@ declare namespace OSS {
|
|
|
697
697
|
|
|
698
698
|
signatureUrl(name: string, options?: SignatureUrlOptions): string;
|
|
699
699
|
|
|
700
|
+
asyncSignatureUrl(name: string, options?: SignatureUrlOptions): Promise<string>;
|
|
701
|
+
|
|
700
702
|
putACL(name: string, acl: ACLType, options?: RequestOptions): Promise<NormalSuccessResponse>;
|
|
701
703
|
|
|
702
704
|
restore(name: string, options?: RequestOptions): Promise<NormalSuccessResponse>;
|
|
@@ -789,6 +791,11 @@ declare namespace OSS {
|
|
|
789
791
|
* Create a signature url for directly download.
|
|
790
792
|
*/
|
|
791
793
|
signatureUrl(name: string, options?: { expires?: string | undefined; timeout?: string | undefined }): string;
|
|
794
|
+
|
|
795
|
+
/**
|
|
796
|
+
* Basically the same as signatureUrl, if refreshSTSToken is configured asyncSignatureUrl will refresh stsToken
|
|
797
|
+
*/
|
|
798
|
+
asyncSignatureUrl(name: string, options?: SignatureUrlOptions): Promise<string>;
|
|
792
799
|
}
|
|
793
800
|
}
|
|
794
801
|
|
|
@@ -1053,6 +1060,11 @@ declare class OSS {
|
|
|
1053
1060
|
*/
|
|
1054
1061
|
signatureUrl(name: string, options?: OSS.SignatureUrlOptions): string;
|
|
1055
1062
|
|
|
1063
|
+
/**
|
|
1064
|
+
* Basically the same as signatureUrl, if refreshSTSToken is configured asyncSignatureUrl will refresh stsToken
|
|
1065
|
+
*/
|
|
1066
|
+
asyncSignatureUrl(name: string, options?: OSS.SignatureUrlOptions): Promise<string>;
|
|
1067
|
+
|
|
1056
1068
|
/**
|
|
1057
1069
|
* Set object's ACL.
|
|
1058
1070
|
*/
|
ali-oss/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/ali-oss",
|
|
3
|
-
"version": "6.16.
|
|
3
|
+
"version": "6.16.6",
|
|
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",
|
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
},
|
|
21
21
|
"scripts": {},
|
|
22
22
|
"dependencies": {},
|
|
23
|
-
"typesPublisherContentHash": "
|
|
23
|
+
"typesPublisherContentHash": "35b69f2a9a18d514c5a34b690011aa7be171cad5d2b29909b233e8f61f3e6a0c",
|
|
24
24
|
"typeScriptVersion": "4.1"
|
|
25
25
|
}
|