@forge/bundler 4.4.0-next.4 → 4.4.0-next.5
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 +8 -0
- package/out/stubs/wrapper.js +3 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/out/stubs/wrapper.js
CHANGED
|
@@ -121,12 +121,13 @@ const adapter = (name) => {
|
|
|
121
121
|
catch (err) {
|
|
122
122
|
emitErrorEvent(err);
|
|
123
123
|
emitFailedFooterEvent();
|
|
124
|
+
const errorName = (0, api_1.isForgePlatformError)(err) ? err.name : api_1.FUNCTION_ERR;
|
|
124
125
|
return {
|
|
125
126
|
success: false,
|
|
126
127
|
error: {
|
|
127
128
|
errorMessage: err.message,
|
|
128
|
-
errorType:
|
|
129
|
-
isHostedCodeError: (0, api_1.isHostedCodeError)(
|
|
129
|
+
errorType: errorName,
|
|
130
|
+
isHostedCodeError: (0, api_1.isHostedCodeError)(errorName),
|
|
130
131
|
stack: (err.stack || '').split('\n'),
|
|
131
132
|
serviceKey: err.serviceKey
|
|
132
133
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/bundler",
|
|
3
|
-
"version": "4.4.0-next.
|
|
3
|
+
"version": "4.4.0-next.5",
|
|
4
4
|
"description": "Default bundler for Forge apps",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"author": "Atlassian",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"@babel/plugin-proposal-optional-chaining": "^7.16.7",
|
|
19
19
|
"@babel/plugin-transform-react-jsx": "^7.16.7",
|
|
20
20
|
"@babel/preset-typescript": "^7.16.7",
|
|
21
|
-
"@forge/api": "2.11.0-next.
|
|
21
|
+
"@forge/api": "2.11.0-next.3",
|
|
22
22
|
"@forge/babel-plugin-transform-ui": "1.1.0",
|
|
23
23
|
"@forge/cli-shared": "3.5.1",
|
|
24
24
|
"@forge/lint": "3.2.14-next.0",
|