@firebase/util 1.10.3 → 1.11.0-auth-redirect-credentials.82faa0828

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.d.ts CHANGED
@@ -36,3 +36,4 @@ export * from './src/exponential_backoff';
36
36
  export * from './src/formatters';
37
37
  export * from './src/compat';
38
38
  export * from './src/global';
39
+ export * from './src/url';
@@ -1,3 +1,5 @@
1
+ import { getDefaultsFromPostinstall } from './postinstall.mjs';
2
+
1
3
  /**
2
4
  * @license
3
5
  * Copyright 2017 Google LLC
@@ -550,7 +552,8 @@ const getDefaultsFromCookie = () => {
550
552
  */
551
553
  const getDefaults = () => {
552
554
  try {
553
- return (getDefaultsFromGlobal() ||
555
+ return (getDefaultsFromPostinstall() ||
556
+ getDefaultsFromGlobal() ||
554
557
  getDefaultsFromEnvVariable() ||
555
558
  getDefaultsFromCookie());
556
559
  }
@@ -2102,5 +2105,25 @@ function getModularInstance(service) {
2102
2105
  }
2103
2106
  }
2104
2107
 
2105
- export { CONSTANTS, DecodeBase64StringError, Deferred, ErrorFactory, FirebaseError, MAX_VALUE_MILLIS, RANDOM_FACTOR, Sha1, areCookiesEnabled, assert, assertionError, async, base64, base64Decode, base64Encode, base64urlEncodeWithoutPadding, calculateBackoffMillis, contains, createMockUserToken, createSubscribe, decode, deepCopy, deepEqual, deepExtend, errorPrefix, extractQuerystring, getDefaultAppConfig, getDefaultEmulatorHost, getDefaultEmulatorHostnameAndPort, getDefaults, getExperimentalSetting, getGlobal, getModularInstance, getUA, isAdmin, isBrowser, isBrowserExtension, isCloudflareWorker, isElectron, isEmpty, isIE, isIndexedDBAvailable, isMobileCordova, isNode, isNodeSdk, isReactNative, isSafari, isUWP, isValidFormat, isValidTimestamp, isWebWorker, issuedAtTime, jsonEval, map, ordinal, promiseWithTimeout, querystring, querystringDecode, safeGet, stringLength, stringToByteArray, stringify, validateArgCount, validateCallback, validateContextObject, validateIndexedDBOpenable, validateNamespace };
2108
+ /**
2109
+ * @license
2110
+ * Copyright 2025 Google LLC
2111
+ *
2112
+ * Licensed under the Apache License, Version 2.0 (the "License");
2113
+ * you may not use this file except in compliance with the License.
2114
+ * You may obtain a copy of the License at
2115
+ *
2116
+ * http://www.apache.org/licenses/LICENSE-2.0
2117
+ *
2118
+ * Unless required by applicable law or agreed to in writing, software
2119
+ * distributed under the License is distributed on an "AS IS" BASIS,
2120
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2121
+ * See the License for the specific language governing permissions and
2122
+ * limitations under the License.
2123
+ */
2124
+ function isCloudWorkstation(url) {
2125
+ return url.endsWith('.cloudworkstations.dev');
2126
+ }
2127
+
2128
+ export { CONSTANTS, DecodeBase64StringError, Deferred, ErrorFactory, FirebaseError, MAX_VALUE_MILLIS, RANDOM_FACTOR, Sha1, areCookiesEnabled, assert, assertionError, async, base64, base64Decode, base64Encode, base64urlEncodeWithoutPadding, calculateBackoffMillis, contains, createMockUserToken, createSubscribe, decode, deepCopy, deepEqual, deepExtend, errorPrefix, extractQuerystring, getDefaultAppConfig, getDefaultEmulatorHost, getDefaultEmulatorHostnameAndPort, getDefaults, getExperimentalSetting, getGlobal, getModularInstance, getUA, isAdmin, isBrowser, isBrowserExtension, isCloudWorkstation, isCloudflareWorker, isElectron, isEmpty, isIE, isIndexedDBAvailable, isMobileCordova, isNode, isNodeSdk, isReactNative, isSafari, isUWP, isValidFormat, isValidTimestamp, isWebWorker, issuedAtTime, jsonEval, map, ordinal, promiseWithTimeout, querystring, querystringDecode, safeGet, stringLength, stringToByteArray, stringify, validateArgCount, validateCallback, validateContextObject, validateIndexedDBOpenable, validateNamespace };
2106
2129
  //# sourceMappingURL=index.esm2017.js.map