@firebase/util 1.11.0-canary.058afa280 → 1.11.0-canary.0e1276649

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,30 @@ 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 host is a cloud workstation or not.
2130
+ * @public
2131
+ */
2132
+ function isCloudWorkstation(host) {
2133
+ return host.endsWith('.cloudworkstations.dev');
2134
+ }
2135
+
2112
2136
  exports.CONSTANTS = CONSTANTS;
2113
2137
  exports.DecodeBase64StringError = DecodeBase64StringError;
2114
2138
  exports.Deferred = Deferred;
@@ -2146,6 +2170,7 @@ exports.getUA = getUA;
2146
2170
  exports.isAdmin = isAdmin;
2147
2171
  exports.isBrowser = isBrowser;
2148
2172
  exports.isBrowserExtension = isBrowserExtension;
2173
+ exports.isCloudWorkstation = isCloudWorkstation;
2149
2174
  exports.isCloudflareWorker = isCloudflareWorker;
2150
2175
  exports.isElectron = isElectron;
2151
2176
  exports.isEmpty = isEmpty;