@docaohuynh/ielts-api-utils 1.0.4 → 1.0.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.
- package/dist/index.js +2 -2
- package/dist/src/utils/time/delay.util.d.ts +1 -1
- package/package.json +11 -1
package/dist/index.js
CHANGED
|
@@ -5040,7 +5040,7 @@ var getCurrentDateStr = (overrideDateISO) => {
|
|
|
5040
5040
|
return getCurrentDate(overrideDateISO).toISOString().split("T")[0];
|
|
5041
5041
|
};
|
|
5042
5042
|
// src/utils/time/delay.util.ts
|
|
5043
|
-
var
|
|
5043
|
+
var delayInMilliseconds = (ms) => {
|
|
5044
5044
|
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
5045
5045
|
};
|
|
5046
5046
|
// src/utils/request/fetch.ts
|
|
@@ -7196,7 +7196,7 @@ export {
|
|
|
7196
7196
|
formatTranslateLanguage,
|
|
7197
7197
|
encryptText,
|
|
7198
7198
|
encrypt,
|
|
7199
|
-
|
|
7199
|
+
delayInMilliseconds,
|
|
7200
7200
|
decryptText,
|
|
7201
7201
|
decrypt,
|
|
7202
7202
|
decodeSignedPayload
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const delayInMilliseconds: (ms: number) => Promise<void>;
|
package/package.json
CHANGED
|
@@ -1,11 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docaohuynh/ielts-api-utils",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "Utilities for IELTS API",
|
|
5
5
|
"module": "index.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
8
|
"type": "module",
|
|
9
|
+
"typesVersions": {
|
|
10
|
+
"*": {
|
|
11
|
+
"*": ["dist/index.d.ts"]
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"types": "./dist/index.d.ts"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
9
19
|
"scripts": {
|
|
10
20
|
"build": "bun build index.ts --outdir dist --target node && tsc -p tsconfig.build.json"
|
|
11
21
|
},
|