@forge/tunnel 4.0.3-next.8 → 4.0.3

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,116 @@
1
1
  # @forge/tunnel
2
2
 
3
+ ## 4.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 882be11: Bumping dependencies via Renovate:
8
+
9
+ - @types/jest
10
+
11
+ - 9283082: Fix error options not being properly propagated always
12
+ - c75e5ab: Bumping dependencies via Renovate:
13
+
14
+ - @atlassian/xen-test-util
15
+
16
+ - Updated dependencies [e343baf]
17
+ - Updated dependencies [a6f5ec0]
18
+ - Updated dependencies [5b82e7f]
19
+ - Updated dependencies [0940631]
20
+ - Updated dependencies [0d49d8f]
21
+ - Updated dependencies [d36502b]
22
+ - Updated dependencies [4652a95]
23
+ - Updated dependencies [24921dc]
24
+ - Updated dependencies [882be11]
25
+ - Updated dependencies [a272b88]
26
+ - Updated dependencies [c0394cd]
27
+ - Updated dependencies [c75e5ab]
28
+ - Updated dependencies [6ab8727]
29
+ - Updated dependencies [1e9dae5]
30
+ - Updated dependencies [32fa518]
31
+ - @forge/runtime@5.4.0
32
+ - @forge/bundler@4.15.3
33
+ - @forge/cli-shared@3.23.3
34
+ - @forge/csp@3.1.6
35
+
36
+ ## 4.0.3-next.19
37
+
38
+ ### Patch Changes
39
+
40
+ - @forge/bundler@4.15.3-next.18
41
+
42
+ ## 4.0.3-next.18
43
+
44
+ ### Patch Changes
45
+
46
+ - @forge/cli-shared@3.23.3-next.10
47
+ - @forge/bundler@4.15.3-next.17
48
+
49
+ ## 4.0.3-next.17
50
+
51
+ ### Patch Changes
52
+
53
+ - @forge/bundler@4.15.3-next.16
54
+
55
+ ## 4.0.3-next.16
56
+
57
+ ### Patch Changes
58
+
59
+ - @forge/cli-shared@3.23.3-next.9
60
+ - @forge/bundler@4.15.3-next.15
61
+
62
+ ## 4.0.3-next.15
63
+
64
+ ### Patch Changes
65
+
66
+ - Updated dependencies [c0394cd]
67
+ - @forge/bundler@4.15.3-next.14
68
+
69
+ ## 4.0.3-next.14
70
+
71
+ ### Patch Changes
72
+
73
+ - Updated dependencies [0d49d8f]
74
+ - @forge/cli-shared@3.23.3-next.8
75
+ - @forge/bundler@4.15.3-next.13
76
+
77
+ ## 4.0.3-next.13
78
+
79
+ ### Patch Changes
80
+
81
+ - Updated dependencies [a272b88]
82
+ - @forge/bundler@4.15.3-next.12
83
+
84
+ ## 4.0.3-next.12
85
+
86
+ ### Patch Changes
87
+
88
+ - Updated dependencies [0940631]
89
+ - @forge/cli-shared@3.23.3-next.7
90
+ - @forge/bundler@4.15.3-next.11
91
+
92
+ ## 4.0.3-next.11
93
+
94
+ ### Patch Changes
95
+
96
+ - Updated dependencies [6ab8727]
97
+ - @forge/cli-shared@3.23.3-next.6
98
+ - @forge/bundler@4.15.3-next.10
99
+
100
+ ## 4.0.3-next.10
101
+
102
+ ### Patch Changes
103
+
104
+ - Updated dependencies [4652a95]
105
+ - @forge/cli-shared@3.23.3-next.5
106
+ - @forge/bundler@4.15.3-next.9
107
+
108
+ ## 4.0.3-next.9
109
+
110
+ ### Patch Changes
111
+
112
+ - 9283082: Fix error options not being properly propagated always
113
+
3
114
  ## 4.0.3-next.8
4
115
 
5
116
  ### Patch Changes
@@ -8,12 +8,14 @@ interface LambdaError {
8
8
  metrics?: {
9
9
  [key: string]: any;
10
10
  }[];
11
+ options?: unknown;
11
12
  }
12
13
  interface InvokeFunctionErrors extends Error {
13
14
  serviceKey?: string;
14
15
  metrics?: {
15
16
  [key: string]: any;
16
17
  }[];
18
+ options?: unknown;
17
19
  }
18
20
  export declare const toLambdaError: (error: InvokeFunctionErrors) => LambdaError;
19
21
  export declare const getRequestId: (request: any, value?: string) => string;
@@ -1 +1 @@
1
- {"version":3,"file":"invocation-utils.d.ts","sourceRoot":"","sources":["../../src/util/invocation-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0BAA0B,EAK3B,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G,CAAA;KAAE,EAAE,CAAC;IACnC,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,UAAU,oBAAqB,SAAQ,KAAK;IAC1C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,EAAE,CAAC;IACnC,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,aAAa,UAAW,oBAAoB,KAAG,WAS3D,CAAC;AAEF,eAAO,MAAM,YAAY,YAAa,GAAG,qBAAsB,MAU9D,CAAC;AAEF,eAAO,MAAM,gBAAgB,YAAa,MAAM,WAAW,GAAG,KAAG,MAGhE,CAAC;AAMF,eAAO,MAAM,eAAe,QAAO,MAOlC,CAAC;AAEF,eAAO,MAAM,gBAAgB,UAAW,UAAU,KAAG,MAUpD,CAAC;AAEF,eAAO,MAAM,WAAW,UAAW,MAAM,KAAG,0BAY3C,CAAC"}
@@ -8,7 +8,8 @@ const toLambdaError = (error) => {
8
8
  errorType: error.name,
9
9
  stack: (error.stack || '').split('\n'),
10
10
  serviceKey: error.serviceKey,
11
- metrics: error.metrics
11
+ metrics: error.metrics,
12
+ options: error.options
12
13
  };
13
14
  };
14
15
  exports.toLambdaError = toLambdaError;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/tunnel",
3
- "version": "4.0.3-next.8",
3
+ "version": "4.0.3",
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.15.3-next.8",
15
- "@forge/cli-shared": "3.23.3-next.4",
16
- "@forge/csp": "3.1.6-next.0",
17
- "@forge/runtime": "5.4.0-next.4",
14
+ "@forge/bundler": "4.15.3",
15
+ "@forge/cli-shared": "3.23.3",
16
+ "@forge/csp": "3.1.6",
17
+ "@forge/runtime": "5.4.0",
18
18
  "express": "^4.18.2",
19
19
  "express-intercept": "^1.1.0",
20
20
  "http-proxy-middleware": "^2.0.6",
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "devDependencies": {
29
29
  "@atlassian/xen-test-util": "^4.2.0",
30
- "@forge/manifest": "5.5.3-next.3",
30
+ "@forge/manifest": "5.5.3",
31
31
  "@types/express": "^4.17.21",
32
32
  "@types/jest": "^29.5.12",
33
33
  "@types/node": "14.18.63",