@forge/events 2.1.4 → 2.1.5-next.1
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 +15 -0
- package/out/queue.js +2 -2
- package/package.json +3 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @forge/events
|
|
2
2
|
|
|
3
|
+
## 2.1.5-next.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- efff3f1: Remove uuid dependency
|
|
8
|
+
- Updated dependencies [7d660c1]
|
|
9
|
+
- @forge/api@7.2.0-next.1
|
|
10
|
+
|
|
11
|
+
## 2.1.5-next.0
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies [56e38e9]
|
|
16
|
+
- @forge/api@7.2.0-next.0
|
|
17
|
+
|
|
3
18
|
## 2.1.4
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/out/queue.js
CHANGED
|
@@ -4,7 +4,7 @@ exports.Queue = void 0;
|
|
|
4
4
|
const api_1 = require("@forge/api");
|
|
5
5
|
const queries_1 = require("./queries");
|
|
6
6
|
const validators_1 = require("./validators");
|
|
7
|
-
const
|
|
7
|
+
const crypto_1 = require("crypto");
|
|
8
8
|
const jobProgress_1 = require("./jobProgress");
|
|
9
9
|
class Queue {
|
|
10
10
|
queueParams;
|
|
@@ -17,7 +17,7 @@ class Queue {
|
|
|
17
17
|
async push(events) {
|
|
18
18
|
const validEvents = (0, validators_1.validatePushEvents)(events);
|
|
19
19
|
const queueName = this.queueParams.key;
|
|
20
|
-
const jobId = (0,
|
|
20
|
+
const jobId = (0, crypto_1.randomUUID)();
|
|
21
21
|
const pushRequest = {
|
|
22
22
|
queueName: queueName,
|
|
23
23
|
jobId: jobId,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/events",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.5-next.1",
|
|
4
4
|
"description": "Forge Async Event methods",
|
|
5
5
|
"author": "Atlassian",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
@@ -12,12 +12,10 @@
|
|
|
12
12
|
"compile": "tsc -b -v"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@types/node": "20.19.1"
|
|
16
|
-
"@types/uuid": "^9.0.8"
|
|
15
|
+
"@types/node": "20.19.1"
|
|
17
16
|
},
|
|
18
17
|
"dependencies": {
|
|
19
|
-
"@forge/api": "7.1
|
|
20
|
-
"uuid": "^9.0.1"
|
|
18
|
+
"@forge/api": "7.2.0-next.1"
|
|
21
19
|
},
|
|
22
20
|
"publishConfig": {
|
|
23
21
|
"registry": "https://packages.atlassian.com/api/npm/npm-public/"
|