@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.
package/dist/index.cjs.js CHANGED
@@ -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
  });
@@ -2195,6 +2200,7 @@ exports.issuedAtTime = issuedAtTime;
2195
2200
  exports.jsonEval = jsonEval;
2196
2201
  exports.map = map;
2197
2202
  exports.ordinal = ordinal;
2203
+ exports.pingServer = pingServer;
2198
2204
  exports.promiseWithTimeout = promiseWithTimeout;
2199
2205
  exports.querystring = querystring;
2200
2206
  exports.querystringDecode = querystringDecode;
@@ -2202,7 +2208,6 @@ exports.safeGet = safeGet;
2202
2208
  exports.stringLength = stringLength;
2203
2209
  exports.stringToByteArray = stringToByteArray;
2204
2210
  exports.stringify = stringify;
2205
- exports.testConnectionAlive = testConnectionAlive;
2206
2211
  exports.validateArgCount = validateArgCount;
2207
2212
  exports.validateCallback = validateCallback;
2208
2213
  exports.validateContextObject = validateContextObject;