@firebase/util 1.11.0-20250226175635 → 1.11.0-auth-redirect-credentials.b424e5897

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
@@ -2109,6 +2109,29 @@ function getModularInstance(service) {
2109
2109
  }
2110
2110
  }
2111
2111
 
2112
+ /**
2113
+ * @license
2114
+ * Copyright 2025 Google LLC
2115
+ *
2116
+ * Licensed under the Apache License, Version 2.0 (the "License");
2117
+ * you may not use this file except in compliance with the License.
2118
+ * You may obtain a copy of the License at
2119
+ *
2120
+ * http://www.apache.org/licenses/LICENSE-2.0
2121
+ *
2122
+ * Unless required by applicable law or agreed to in writing, software
2123
+ * distributed under the License is distributed on an "AS IS" BASIS,
2124
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2125
+ * See the License for the specific language governing permissions and
2126
+ * limitations under the License.
2127
+ */
2128
+ /**
2129
+ * Checks whether a host url is a cloud workstation.
2130
+ */
2131
+ function isCloudWorkstation(url) {
2132
+ return url.endsWith('.cloudworkstations.dev');
2133
+ }
2134
+
2112
2135
  exports.CONSTANTS = CONSTANTS;
2113
2136
  exports.DecodeBase64StringError = DecodeBase64StringError;
2114
2137
  exports.Deferred = Deferred;
@@ -2146,6 +2169,7 @@ exports.getUA = getUA;
2146
2169
  exports.isAdmin = isAdmin;
2147
2170
  exports.isBrowser = isBrowser;
2148
2171
  exports.isBrowserExtension = isBrowserExtension;
2172
+ exports.isCloudWorkstation = isCloudWorkstation;
2149
2173
  exports.isCloudflareWorker = isCloudflareWorker;
2150
2174
  exports.isElectron = isElectron;
2151
2175
  exports.isEmpty = isEmpty;