@forge/tunnel 4.0.3-next.1 → 4.0.3-next.10

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,84 @@
1
1
  # @forge/tunnel
2
2
 
3
+ ## 4.0.3-next.10
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [4652a95]
8
+ - @forge/cli-shared@3.23.3-next.5
9
+ - @forge/bundler@4.15.3-next.9
10
+
11
+ ## 4.0.3-next.9
12
+
13
+ ### Patch Changes
14
+
15
+ - 9283082: Fix error options not being properly propagated always
16
+
17
+ ## 4.0.3-next.8
18
+
19
+ ### Patch Changes
20
+
21
+ - Updated dependencies [e343baf]
22
+ - @forge/runtime@5.4.0-next.4
23
+ - @forge/bundler@4.15.3-next.8
24
+
25
+ ## 4.0.3-next.7
26
+
27
+ ### Patch Changes
28
+
29
+ - c75e5ab: Bumping dependencies via Renovate:
30
+
31
+ - @atlassian/xen-test-util
32
+
33
+ - Updated dependencies [c75e5ab]
34
+ - @forge/bundler@4.15.3-next.7
35
+ - @forge/cli-shared@3.23.3-next.4
36
+
37
+ ## 4.0.3-next.6
38
+
39
+ ### Patch Changes
40
+
41
+ - Updated dependencies [1e9dae5]
42
+ - @forge/bundler@4.15.3-next.6
43
+
44
+ ## 4.0.3-next.5
45
+
46
+ ### Patch Changes
47
+
48
+ - Updated dependencies [5b82e7f]
49
+ - Updated dependencies [24921dc]
50
+ - @forge/bundler@4.15.3-next.5
51
+ - @forge/cli-shared@3.23.3-next.3
52
+ - @forge/runtime@5.4.0-next.3
53
+
54
+ ## 4.0.3-next.4
55
+
56
+ ### Patch Changes
57
+
58
+ - 882be11: Bumping dependencies via Renovate:
59
+
60
+ - @types/jest
61
+
62
+ - Updated dependencies [882be11]
63
+ - @forge/bundler@4.15.3-next.4
64
+ - @forge/cli-shared@3.23.3-next.2
65
+ - @forge/csp@3.1.6-next.0
66
+ - @forge/runtime@5.4.0-next.2
67
+
68
+ ## 4.0.3-next.3
69
+
70
+ ### Patch Changes
71
+
72
+ - Updated dependencies [a6f5ec0]
73
+ - @forge/bundler@4.15.3-next.3
74
+
75
+ ## 4.0.3-next.2
76
+
77
+ ### Patch Changes
78
+
79
+ - @forge/cli-shared@3.23.3-next.1
80
+ - @forge/bundler@4.15.3-next.2
81
+
3
82
  ## 4.0.3-next.1
4
83
 
5
84
  ### 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,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5C,UAAU,WAAW;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,EAAE,CAAC;CACpC;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;CACpC;AAED,eAAO,MAAM,aAAa,UAAW,oBAAoB,KAAG,WAQ3D,CAAC;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AUpD,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.1",
3
+ "version": "4.0.3-next.10",
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.1",
15
- "@forge/cli-shared": "3.23.3-next.0",
16
- "@forge/csp": "3.1.5",
17
- "@forge/runtime": "5.4.0-next.1",
14
+ "@forge/bundler": "4.15.3-next.9",
15
+ "@forge/cli-shared": "3.23.3-next.5",
16
+ "@forge/csp": "3.1.6-next.0",
17
+ "@forge/runtime": "5.4.0-next.4",
18
18
  "express": "^4.18.2",
19
19
  "express-intercept": "^1.1.0",
20
20
  "http-proxy-middleware": "^2.0.6",
@@ -26,10 +26,10 @@
26
26
  "webpack-dev-server": "^4.15.1"
27
27
  },
28
28
  "devDependencies": {
29
- "@atlassian/xen-test-util": "^3.1.3",
30
- "@forge/manifest": "5.5.3-next.0",
29
+ "@atlassian/xen-test-util": "^4.2.0",
30
+ "@forge/manifest": "5.5.3-next.3",
31
31
  "@types/express": "^4.17.21",
32
- "@types/jest": "^29.5.11",
32
+ "@types/jest": "^29.5.12",
33
33
  "@types/node": "14.18.63",
34
34
  "@types/supertest": "^2.0.16",
35
35
  "@types/tmp": "^0.2.6",