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

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,92 @@
1
1
  # @forge/tunnel
2
2
 
3
+ ## 4.0.3-next.11
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [6ab8727]
8
+ - @forge/cli-shared@3.23.3-next.6
9
+ - @forge/bundler@4.15.3-next.10
10
+
11
+ ## 4.0.3-next.10
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies [4652a95]
16
+ - @forge/cli-shared@3.23.3-next.5
17
+ - @forge/bundler@4.15.3-next.9
18
+
19
+ ## 4.0.3-next.9
20
+
21
+ ### Patch Changes
22
+
23
+ - 9283082: Fix error options not being properly propagated always
24
+
25
+ ## 4.0.3-next.8
26
+
27
+ ### Patch Changes
28
+
29
+ - Updated dependencies [e343baf]
30
+ - @forge/runtime@5.4.0-next.4
31
+ - @forge/bundler@4.15.3-next.8
32
+
33
+ ## 4.0.3-next.7
34
+
35
+ ### Patch Changes
36
+
37
+ - c75e5ab: Bumping dependencies via Renovate:
38
+
39
+ - @atlassian/xen-test-util
40
+
41
+ - Updated dependencies [c75e5ab]
42
+ - @forge/bundler@4.15.3-next.7
43
+ - @forge/cli-shared@3.23.3-next.4
44
+
45
+ ## 4.0.3-next.6
46
+
47
+ ### Patch Changes
48
+
49
+ - Updated dependencies [1e9dae5]
50
+ - @forge/bundler@4.15.3-next.6
51
+
52
+ ## 4.0.3-next.5
53
+
54
+ ### Patch Changes
55
+
56
+ - Updated dependencies [5b82e7f]
57
+ - Updated dependencies [24921dc]
58
+ - @forge/bundler@4.15.3-next.5
59
+ - @forge/cli-shared@3.23.3-next.3
60
+ - @forge/runtime@5.4.0-next.3
61
+
62
+ ## 4.0.3-next.4
63
+
64
+ ### Patch Changes
65
+
66
+ - 882be11: Bumping dependencies via Renovate:
67
+
68
+ - @types/jest
69
+
70
+ - Updated dependencies [882be11]
71
+ - @forge/bundler@4.15.3-next.4
72
+ - @forge/cli-shared@3.23.3-next.2
73
+ - @forge/csp@3.1.6-next.0
74
+ - @forge/runtime@5.4.0-next.2
75
+
76
+ ## 4.0.3-next.3
77
+
78
+ ### Patch Changes
79
+
80
+ - Updated dependencies [a6f5ec0]
81
+ - @forge/bundler@4.15.3-next.3
82
+
83
+ ## 4.0.3-next.2
84
+
85
+ ### Patch Changes
86
+
87
+ - @forge/cli-shared@3.23.3-next.1
88
+ - @forge/bundler@4.15.3-next.2
89
+
3
90
  ## 4.0.3-next.1
4
91
 
5
92
  ### 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,EAA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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.1",
3
+ "version": "4.0.3-next.11",
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.10",
15
+ "@forge/cli-shared": "3.23.3-next.6",
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",