@firebase/util 1.11.0-firebase-studio-sdk-integration.226be0bb1 → 1.11.0-firebase-studio-sdk-integration.9de25069c

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.
@@ -2132,7 +2132,12 @@ function getModularInstance(service) {
2132
2132
  function isCloudWorkstation(host) {
2133
2133
  return host.endsWith('.cloudworkstations.dev');
2134
2134
  }
2135
- async function testConnectionAlive(endpoint) {
2135
+ /**
2136
+ * Makes a fetch request to the given server.
2137
+ * Mostly used for forwarding cookies in Firebase Studio.
2138
+ * @public
2139
+ */
2140
+ async function pingServer(endpoint) {
2136
2141
  const result = await fetch(endpoint, {
2137
2142
  credentials: 'include'
2138
2143
  });
@@ -2214,6 +2219,7 @@ exports.issuedAtTime = issuedAtTime;
2214
2219
  exports.jsonEval = jsonEval;
2215
2220
  exports.map = map;
2216
2221
  exports.ordinal = ordinal;
2222
+ exports.pingServer = pingServer;
2217
2223
  exports.promiseWithTimeout = promiseWithTimeout;
2218
2224
  exports.querystring = querystring;
2219
2225
  exports.querystringDecode = querystringDecode;
@@ -2221,7 +2227,6 @@ exports.safeGet = safeGet;
2221
2227
  exports.stringLength = stringLength;
2222
2228
  exports.stringToByteArray = stringToByteArray;
2223
2229
  exports.stringify = stringify;
2224
- exports.testConnectionAlive = testConnectionAlive;
2225
2230
  exports.validateArgCount = validateArgCount;
2226
2231
  exports.validateCallback = validateCallback;
2227
2232
  exports.validateContextObject = validateContextObject;