npm package diff

Package: @forge/kvs

Versions: 0.1.1-next.0 - 0.1.1-next.1

Modified: package/out/index.js

Index: package/out/index.js
===================================================================
--- package/out/index.js
+++ package/out/index.js
@@ -1,15 +1,14 @@
 "use strict";
 Object.defineProperty(exports, "__esModule", { value: true });
 exports.kvs = exports.Filter = exports.FilterConditions = exports.WhereConditions = void 0;
 const tslib_1 = require("tslib");
-const api_1 = require("@forge/api");
 const kvs_1 = require("./kvs");
 const storage_api_1 = require("./storage-api");
 function getFetchClient() {
-    const { kvs } = (0, api_1.__getRuntime)();
-    if (kvs?.url && kvs?.host) {
-        const { proxy, kvs, tracing } = (0, api_1.__getRuntime)();
+    const runtime = global.__forge_runtime__;
+    if (runtime?.kvs?.url && runtime?.kvs?.host) {
+        const { proxy, kvs, tracing } = runtime;
         return async function (path, options) {
             return await global.__forge_fetch__({ type: 'kvs' }, path, {
                 ...options,
                 headers: {

Modified: package/package.json

Index: package/package.json
===================================================================
--- package/package.json
+++ package/package.json
@@ -1,7 +1,7 @@
 {
   "name": "@forge/kvs",
-  "version": "0.1.1-next.0",
+  "version": "0.1.1-next.1",
   "description": "Forge Key Value Store SDK",
   "author": "Atlassian",
   "license": "SEE LICENSE IN LICENSE.txt",
   "main": "out/index.js",