@forge/tunnel 5.5.3-next.2 → 5.5.3-next.20

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,137 @@
1
1
  # @forge/tunnel
2
2
 
3
+ ## 5.5.3-next.20
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [3d92b59]
8
+ - @forge/cli-shared@6.0.0-next.18
9
+ - @forge/bundler@4.19.3-next.19
10
+
11
+ ## 5.5.3-next.19
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies [6b41440]
16
+ - @forge/cli-shared@6.0.0-next.17
17
+ - @forge/bundler@4.19.3-next.18
18
+
19
+ ## 5.5.3-next.18
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies [f354267]
24
+ - @forge/cli-shared@6.0.0-next.16
25
+ - @forge/bundler@4.19.3-next.17
26
+
27
+ ## 5.5.3-next.17
28
+
29
+ ### Patch Changes
30
+
31
+ - a128084: Fix metrics publication for tunnel invocations
32
+ - Updated dependencies [a128084]
33
+ - @forge/runtime@5.10.2-next.0
34
+
35
+ ## 5.5.3-next.16
36
+
37
+ ### Patch Changes
38
+
39
+ - Updated dependencies [9c5836c]
40
+ - @forge/cli-shared@5.6.0-next.15
41
+ - @forge/bundler@4.19.3-next.16
42
+
43
+ ## 5.5.3-next.15
44
+
45
+ ### Patch Changes
46
+
47
+ - @forge/bundler@4.19.3-next.15
48
+ - @forge/cli-shared@5.6.0-next.14
49
+
50
+ ## 5.5.3-next.14
51
+
52
+ ### Patch Changes
53
+
54
+ - @forge/bundler@4.19.3-next.14
55
+ - @forge/cli-shared@5.6.0-next.13
56
+
57
+ ## 5.5.3-next.13
58
+
59
+ ### Patch Changes
60
+
61
+ - @forge/bundler@4.19.3-next.13
62
+ - @forge/cli-shared@5.6.0-next.12
63
+
64
+ ## 5.5.3-next.12
65
+
66
+ ### Patch Changes
67
+
68
+ - @forge/bundler@4.19.3-next.12
69
+ - @forge/cli-shared@5.6.0-next.11
70
+
71
+ ## 5.5.3-next.11
72
+
73
+ ### Patch Changes
74
+
75
+ - @forge/bundler@4.19.3-next.11
76
+ - @forge/cli-shared@5.6.0-next.10
77
+
78
+ ## 5.5.3-next.10
79
+
80
+ ### Patch Changes
81
+
82
+ - @forge/bundler@4.19.3-next.10
83
+ - @forge/cli-shared@5.6.0-next.9
84
+
85
+ ## 5.5.3-next.9
86
+
87
+ ### Patch Changes
88
+
89
+ - Updated dependencies [89b9453]
90
+ - @forge/cli-shared@5.6.0-next.8
91
+ - @forge/bundler@4.19.3-next.9
92
+
93
+ ## 5.5.3-next.8
94
+
95
+ ### Patch Changes
96
+
97
+ - @forge/bundler@4.19.3-next.8
98
+ - @forge/cli-shared@5.6.0-next.7
99
+
100
+ ## 5.5.3-next.7
101
+
102
+ ### Patch Changes
103
+
104
+ - @forge/bundler@4.19.3-next.7
105
+ - @forge/cli-shared@5.6.0-next.6
106
+
107
+ ## 5.5.3-next.6
108
+
109
+ ### Patch Changes
110
+
111
+ - Updated dependencies [238e7ab]
112
+ - @forge/cli-shared@5.6.0-next.5
113
+ - @forge/bundler@4.19.3-next.6
114
+
115
+ ## 5.5.3-next.5
116
+
117
+ ### Patch Changes
118
+
119
+ - @forge/bundler@4.19.3-next.5
120
+ - @forge/cli-shared@5.5.3-next.4
121
+
122
+ ## 5.5.3-next.4
123
+
124
+ ### Patch Changes
125
+
126
+ - @forge/bundler@4.19.3-next.4
127
+ - @forge/cli-shared@5.5.3-next.3
128
+
129
+ ## 5.5.3-next.3
130
+
131
+ ### Patch Changes
132
+
133
+ - @forge/bundler@4.19.3-next.3
134
+
3
135
  ## 5.5.3-next.2
4
136
 
5
137
  ### Patch Changes
@@ -49,7 +49,7 @@ class LocalInvocationService {
49
49
  const tunnelWarningTimeout = setTimeout(() => {
50
50
  this.logger.warn(cli_shared_1.Text.tunnel.invocationTimeout(timeout));
51
51
  }, timeout * 1000);
52
- const { body, metrics, success, error } = await (0, runtime_1.invoke)({
52
+ const { body, metrics, success, error, metricsCompressed } = await (0, runtime_1.invoke)({
53
53
  sandbox,
54
54
  xenInvocationRequest,
55
55
  invocationLimits,
@@ -58,7 +58,7 @@ class LocalInvocationService {
58
58
  clearTimeout(tunnelWarningTimeout);
59
59
  const reportMetrics = xenInvocationRequest.isFeatureFlagEnabled(runtime_1.XEN_RUNTIME_SHOULD_REPORT_METRICS);
60
60
  LocalInvocationService.printMetrics(reportMetrics, metrics, this.logger);
61
- return reportMetrics ? { body, metrics, success, error } : body;
61
+ return reportMetrics ? { body, metrics, success, error, metricsCompressed } : body;
62
62
  }
63
63
  static INTERNAL_METRICS = ['execute.setup-request-context', 'invoke.setup-isolate'];
64
64
  static printMetrics = (shouldReportMetrics, metrics, logger) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/tunnel",
3
- "version": "5.5.3-next.2",
3
+ "version": "5.5.3-next.20",
4
4
  "description": "Tunnel functionality for Forge CLI",
5
5
  "author": "Atlassian",
6
6
  "license": "UNLICENSED",
@@ -11,10 +11,10 @@
11
11
  "compile": "tsc -b -v"
12
12
  },
13
13
  "dependencies": {
14
- "@forge/bundler": "4.19.3-next.2",
15
- "@forge/cli-shared": "5.5.3-next.2",
14
+ "@forge/bundler": "4.19.3-next.19",
15
+ "@forge/cli-shared": "6.0.0-next.18",
16
16
  "@forge/csp": "3.3.0",
17
- "@forge/runtime": "5.10.1",
17
+ "@forge/runtime": "5.10.2-next.0",
18
18
  "chokidar": "^3.6.0",
19
19
  "cloudflared": "^0.5.2",
20
20
  "express": "^4.18.3",
@@ -29,7 +29,7 @@
29
29
  },
30
30
  "devDependencies": {
31
31
  "@atlassian/xen-test-util": "^4.2.0",
32
- "@forge/manifest": "7.9.0-next.1",
32
+ "@forge/manifest": "7.9.0-next.14",
33
33
  "@types/express": "^4.17.21",
34
34
  "@types/jest": "^29.5.12",
35
35
  "@types/node": "14.18.63",