@forge/tunnel 7.1.1-next.8 → 7.1.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
CHANGED
|
@@ -1,5 +1,89 @@
|
|
|
1
1
|
# @forge/tunnel
|
|
2
2
|
|
|
3
|
+
## 7.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 8e5bd63: Classify TUNNEL_PERMISSIONS_ERROR as a user error in tunnel analytics to prevent false positive SLO burns
|
|
8
|
+
- Updated dependencies [016ed9d]
|
|
9
|
+
- Updated dependencies [873db00]
|
|
10
|
+
- Updated dependencies [d9f80a3]
|
|
11
|
+
- Updated dependencies [47c4c75]
|
|
12
|
+
- Updated dependencies [d1767a0]
|
|
13
|
+
- Updated dependencies [71d0c4e]
|
|
14
|
+
- Updated dependencies [f9fba62]
|
|
15
|
+
- Updated dependencies [2b13c2e]
|
|
16
|
+
- Updated dependencies [f6607ca]
|
|
17
|
+
- Updated dependencies [aebfe3f]
|
|
18
|
+
- Updated dependencies [9afd5c3]
|
|
19
|
+
- Updated dependencies [ff4f2bf]
|
|
20
|
+
- @forge/cli-shared@9.4.0
|
|
21
|
+
- @forge/csp@6.3.1
|
|
22
|
+
- @forge/bundler@7.2.0
|
|
23
|
+
|
|
24
|
+
## 7.1.1-next.16
|
|
25
|
+
|
|
26
|
+
### Patch Changes
|
|
27
|
+
|
|
28
|
+
- @forge/bundler@7.2.0-next.16
|
|
29
|
+
- @forge/cli-shared@9.4.0-next.13
|
|
30
|
+
|
|
31
|
+
## 7.1.1-next.15
|
|
32
|
+
|
|
33
|
+
### Patch Changes
|
|
34
|
+
|
|
35
|
+
- Updated dependencies [47c4c75]
|
|
36
|
+
- @forge/cli-shared@9.4.0-next.12
|
|
37
|
+
- @forge/bundler@7.2.0-next.15
|
|
38
|
+
|
|
39
|
+
## 7.1.1-next.14
|
|
40
|
+
|
|
41
|
+
### Patch Changes
|
|
42
|
+
|
|
43
|
+
- Updated dependencies [d9f80a3]
|
|
44
|
+
- @forge/cli-shared@9.4.0-next.11
|
|
45
|
+
- @forge/bundler@7.2.0-next.14
|
|
46
|
+
|
|
47
|
+
## 7.1.1-next.13
|
|
48
|
+
|
|
49
|
+
### Patch Changes
|
|
50
|
+
|
|
51
|
+
- Updated dependencies [f6607ca]
|
|
52
|
+
- @forge/cli-shared@9.4.0-next.10
|
|
53
|
+
- @forge/bundler@7.2.0-next.13
|
|
54
|
+
|
|
55
|
+
## 7.1.1-next.12
|
|
56
|
+
|
|
57
|
+
### Patch Changes
|
|
58
|
+
|
|
59
|
+
- 8e5bd63: Classify TUNNEL_PERMISSIONS_ERROR as a user error in tunnel analytics to prevent false positive SLO burns
|
|
60
|
+
- @forge/bundler@7.2.0-next.12
|
|
61
|
+
- @forge/cli-shared@9.4.0-next.9
|
|
62
|
+
|
|
63
|
+
## 7.1.1-next.11
|
|
64
|
+
|
|
65
|
+
### Patch Changes
|
|
66
|
+
|
|
67
|
+
- Updated dependencies [aebfe3f]
|
|
68
|
+
- @forge/csp@6.3.1-next.1
|
|
69
|
+
- @forge/bundler@7.2.0-next.11
|
|
70
|
+
|
|
71
|
+
## 7.1.1-next.10
|
|
72
|
+
|
|
73
|
+
### Patch Changes
|
|
74
|
+
|
|
75
|
+
- Updated dependencies [873db00]
|
|
76
|
+
- @forge/csp@6.3.1-next.0
|
|
77
|
+
- @forge/bundler@7.2.0-next.10
|
|
78
|
+
|
|
79
|
+
## 7.1.1-next.9
|
|
80
|
+
|
|
81
|
+
### Patch Changes
|
|
82
|
+
|
|
83
|
+
- Updated dependencies [9afd5c3]
|
|
84
|
+
- @forge/cli-shared@9.4.0-next.8
|
|
85
|
+
- @forge/bundler@7.2.0-next.9
|
|
86
|
+
|
|
3
87
|
## 7.1.1-next.8
|
|
4
88
|
|
|
5
89
|
### Patch Changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tunnel-graphql-client.d.ts","sourceRoot":"","sources":["../../src/graphql/tunnel-graphql-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,OAAO,EACL,aAAa,EAGb,oBAAoB,EAGpB,kBAAkB,EAClB,cAAc,EAIf,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"tunnel-graphql-client.d.ts","sourceRoot":"","sources":["../../src/graphql/tunnel-graphql-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,OAAO,EACL,aAAa,EAGb,oBAAoB,EAGpB,kBAAkB,EAClB,cAAc,EAIf,MAAM,mBAAmB,CAAC;AAsB3B,qBAAa,sBAAuB,SAAQ,oBAAqB,YAAW,kBAAkB;IAC5F,OAAO,CAAC,MAAM,CAAC,cAAc,CAAiF;IAC9G,OAAO,CAAC,SAAS,CAAC,CAAS;gBAGzB,OAAO,EAAE,MAAM,EACf,EAAE,SAAS,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE;QAAE,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,UAAU,CAAC,EAAE,MAAM,CAAA;KAAE;IAMjG,aAAa,IAAI,cAAc;IAK/B,WAAW,IAAI,OAAO;CAG9B;AAWD,MAAM,WAAW,iBAAiB;IAChC,aAAa,CAAC,EAAE,GAAG,CAAC;IACpB,QAAQ,CAAC,EAAE;QACT,WAAW,EAAE,MAAM,CAAC;QACpB,SAAS,EAAE,GAAG,CAAC;KAChB,EAAE,CAAC;CACL;AAED,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACjC,EAAE,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC9B,GAAG,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CAChC;AAED,MAAM,WAAW,YAAY;IAC3B,WAAW,CAAC,KAAK,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC;IACzE,gBAAgB,CACd,KAAK,EAAE,MAAM,EACb,cAAc,EAAE,MAAM,EACtB,iBAAiB,EAAE,iBAAiB,GACnC,OAAO,CAAC,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC,CAAC;IACtC,aAAa,CAAC,KAAK,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACrE;AAED,qBAAa,mBAAoB,YAAW,YAAY;IAC1C,OAAO,CAAC,QAAQ,CAAC,aAAa;gBAAb,aAAa,EAAE,aAAa;IAEnD,WAAW,CAAC,KAAK,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC;IA2DxE,gBAAgB,CACpB,KAAK,EAAE,MAAM,EACb,cAAc,EAAE,MAAM,EACtB,iBAAiB,EAAE,iBAAiB,GACnC,OAAO,CAAC,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IA0C/B,aAAa,CAAC,KAAK,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAsC1E"}
|
|
@@ -6,12 +6,19 @@ const cli_shared_1 = require("@forge/cli-shared");
|
|
|
6
6
|
const path_1 = tslib_1.__importDefault(require("path"));
|
|
7
7
|
const fs_1 = tslib_1.__importDefault(require("fs"));
|
|
8
8
|
class CreateAppTunnelError extends cli_shared_1.GraphQlMutationError {
|
|
9
|
+
static userErrorCodes = ['TUNNEL_PERMISSIONS_ERROR'];
|
|
9
10
|
constructor(message, { requestId, code, statusCode }) {
|
|
10
11
|
super(cli_shared_1.Text.tunnel.error.create(message), { requestId, code, statusCode });
|
|
11
12
|
}
|
|
13
|
+
isUserError() {
|
|
14
|
+
if (CreateAppTunnelError.userErrorCodes.includes(this.getCode())) {
|
|
15
|
+
return true;
|
|
16
|
+
}
|
|
17
|
+
return super.isUserError();
|
|
18
|
+
}
|
|
12
19
|
}
|
|
13
20
|
class RegisterAppTunnelError extends cli_shared_1.GraphQlMutationError {
|
|
14
|
-
static userErrorCodes = ['ENVIRONMENT_MISMATCH', 'ENVIRONMENT_NOT_FOUND'];
|
|
21
|
+
static userErrorCodes = ['ENVIRONMENT_MISMATCH', 'ENVIRONMENT_NOT_FOUND', 'TUNNEL_PERMISSIONS_ERROR'];
|
|
15
22
|
errorCode;
|
|
16
23
|
constructor(message, { requestId, code, statusCode }) {
|
|
17
24
|
super(cli_shared_1.Text.tunnel.error.create(message), { requestId, code, statusCode });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/tunnel",
|
|
3
|
-
"version": "7.1.1
|
|
3
|
+
"version": "7.1.1",
|
|
4
4
|
"description": "Tunnel functionality for Forge CLI",
|
|
5
5
|
"author": "Atlassian",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
"compile": "tsc -b -v"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@forge/bundler": "7.2.0
|
|
15
|
-
"@forge/cli-shared": "9.4.0
|
|
16
|
-
"@forge/csp": "6.3.
|
|
14
|
+
"@forge/bundler": "7.2.0",
|
|
15
|
+
"@forge/cli-shared": "9.4.0",
|
|
16
|
+
"@forge/csp": "6.3.1",
|
|
17
17
|
"@forge/runtime": "7.0.0",
|
|
18
18
|
"@forge/util": "^3.0.0",
|
|
19
19
|
"cheerio": "^1.2.0",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@atlassian/xen-test-util": "^4.2.0",
|
|
36
|
-
"@forge/manifest": "13.3.1
|
|
36
|
+
"@forge/manifest": "13.3.1",
|
|
37
37
|
"@types/express": "^4.17.21",
|
|
38
38
|
"@types/jest": "^29.5.14",
|
|
39
39
|
"@types/node": "20.19.1",
|