npm package diff

Package: @forge/api

Versions: 4.0.0-next.1 - 4.0.0-next.2

File: package/out/runtime/fetch-and-storage.js

Index: package/out/runtime/fetch-and-storage.js
===================================================================
--- package/out/runtime/fetch-and-storage.js
+++ package/out/runtime/fetch-and-storage.js
@@ -17,8 +17,11 @@
     }
 }
 exports.getFetchAPI = getFetchAPI;
 function getMetrics() {
+    if (global.api) {
+        return undefined;
+    }
     return (0, runtime_1.__getRuntime)().metrics;
 }
 exports.getMetrics = getMetrics;
 function getRequestStargate(provider) {