@thainanluiz/tssuper 0.0.10 → 0.0.11
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/CHANGELOG.md +12 -0
- package/FUNCTIONS.md +18 -0
- package/README.md +2 -2
- package/package.json +4 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
This document summarizes the updates and changes made to the TSSUPER project.
|
|
4
4
|
|
|
5
|
+
## [0.0.11] - 2024-07-10
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- **fixedRepeater function**:
|
|
10
|
+
|
|
11
|
+
- Repeats a function for a fixed amount of time.
|
|
12
|
+
|
|
13
|
+
### Links
|
|
14
|
+
|
|
15
|
+
- [Version 0.0.11 on npm](https://www.npmjs.com/package/@thainanluiz/tssuper/v/0.0.11)
|
|
16
|
+
|
|
5
17
|
## [0.0.10] - 2024-07-10
|
|
6
18
|
|
|
7
19
|
### Added
|
package/FUNCTIONS.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Current Functions Available
|
|
2
2
|
|
|
3
|
+
## 0.0.11
|
|
4
|
+
|
|
5
|
+
- [fixedRepeater](https://github.com/thainanluiz/TSSuper/blob/main/examples/delay/fixedRepeater.ts) ({ callback: Function, ms: number, times: number })
|
|
6
|
+
|
|
7
|
+
Repeats a function for a fixed amount of time.
|
|
8
|
+
|
|
9
|
+
### Parameters
|
|
10
|
+
|
|
11
|
+
- `callback`: Function to be repeated.
|
|
12
|
+
- `ms`: Time in milliseconds to repeat the function.
|
|
13
|
+
- `times`: Number of times to repeat the function.
|
|
14
|
+
|
|
15
|
+
### Returns
|
|
16
|
+
|
|
17
|
+
Returns a promise that resolves when the function is done repeating.
|
|
18
|
+
|
|
19
|
+
<br>
|
|
20
|
+
|
|
3
21
|
## 0.0.10
|
|
4
22
|
|
|
5
23
|
- [fixedDelay](https://github.com/thainanluiz/TSSuper/blob/main/examples/delay/fixedDelay.ts) ({ ms: number, breakAt: number, returnElapsed: boolean })
|
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@ How to install
|
|
|
11
11
|
npm i @thainanluiz/tssuper
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
-
Package available [here] | current stable version [
|
|
14
|
+
Package available [here] | current stable version [0.0.11] | current version [0.0.11]
|
|
15
15
|
|
|
16
16
|
<br>
|
|
17
17
|
|
|
@@ -30,7 +30,7 @@ The entire [changelog here] <br>
|
|
|
30
30
|
|
|
31
31
|
[here]: https://www.npmjs.com/package/@thainanluiz/tssuper
|
|
32
32
|
[1.0.0]: https://www.npmjs.com/package/@thainanluiz/tssuper/v/1.0.0
|
|
33
|
-
[0.0.
|
|
33
|
+
[0.0.11]: https://www.npmjs.com/package/@thainanluiz/tssuper/v/0.0.11
|
|
34
34
|
[functions]: https://github.com/thainanluiz/TSSuper/blob/main/FUNCTIONS.md
|
|
35
35
|
[examples]: https://github.com/thainanluiz/TSSuper/blob/main/examples/
|
|
36
36
|
[changelog here]: https://github.com/thainanluiz/TSSuper/blob/main/CHANGELOG.md
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thainanluiz/tssuper",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.11",
|
|
4
4
|
"description": "Simple add-on for TypeScript",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -33,5 +33,8 @@
|
|
|
33
33
|
"ts-jest": "^29.1.4",
|
|
34
34
|
"tsup": "^8.1.0",
|
|
35
35
|
"typescript": "^5.4.5"
|
|
36
|
+
},
|
|
37
|
+
"dependencies": {
|
|
38
|
+
"ulid": "^2.3.0"
|
|
36
39
|
}
|
|
37
40
|
}
|