@forge/bundler 4.8.0-next.13 → 4.8.0-next.14

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,17 @@
1
1
  # @forge/bundler
2
2
 
3
+ ## 4.8.0-next.14
4
+
5
+ ### Minor Changes
6
+
7
+ - f7f52209: Experimental integration (refactoring)
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [f7f52209]
12
+ - @forge/api@2.16.0-next.2
13
+ - @forge/runtime@4.4.0-next.3
14
+
3
15
  ## 4.8.0-next.13
4
16
 
5
17
  ### Patch Changes
@@ -22,8 +22,8 @@ const adapter = (name) => {
22
22
  const context = (0, runtime_1.setupRequestContext)({ meta: lambdaEvent._meta, handler: lambdaEvent.handler });
23
23
  const metricsCollector = new runtime_1.MetricsCollector(new runtime_1.InMemoryMetrics({ runtime: 'nodejs' }));
24
24
  const metrics = metricsCollector.metrics();
25
- const rmsStoreUrl = lambdaEvent._meta.rmsStoreUrl;
26
- const runtime = Object.assign(Object.assign({ proxy: lambdaEvent._meta.proxy, contextAri: lambdaEvent._meta.contextAri, appContext: lambdaEvent._meta.appContext, allowedEgress: (_a = lambdaEvent._meta.fetchAllowList) !== null && _a !== void 0 ? _a : [], lambdaContext: lambdaContext }, (rmsStoreUrl && { rmsStoreUrl })), { metrics });
25
+ const rms = lambdaEvent._meta.rms;
26
+ const runtime = Object.assign(Object.assign({ proxy: lambdaEvent._meta.proxy, contextAri: lambdaEvent._meta.contextAri, appContext: lambdaEvent._meta.appContext, allowedEgress: (_a = lambdaEvent._meta.fetchAllowList) !== null && _a !== void 0 ? _a : [], lambdaContext: lambdaContext }, (rms && { rms })), { metrics });
27
27
  global.__forge_runtime__ = runtime;
28
28
  for (const { key, value } of (_b = lambdaEvent.variables) !== null && _b !== void 0 ? _b : []) {
29
29
  process.env[key] = value;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/bundler",
3
- "version": "4.8.0-next.13",
3
+ "version": "4.8.0-next.14",
4
4
  "description": "Default bundler for Forge apps",
5
5
  "license": "UNLICENSED",
6
6
  "author": "Atlassian",
@@ -18,11 +18,11 @@
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.16.0-next.1",
21
+ "@forge/api": "2.16.0-next.2",
22
22
  "@forge/babel-plugin-transform-ui": "1.1.2",
23
23
  "@forge/cli-shared": "3.12.0-next.7",
24
24
  "@forge/lint": "3.5.0-next.8",
25
- "@forge/runtime": "4.4.0-next.2",
25
+ "@forge/runtime": "4.4.0-next.3",
26
26
  "@forge/util": "1.2.3",
27
27
  "assert": "^1.1.1",
28
28
  "babel-loader": "^8.2.3",