@firebase/util 1.9.5-dataconnect-preview.323fdc1b8 → 1.9.5-passkey-preview.103ead202

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.
@@ -37,4 +37,3 @@ export * from './src/exponential_backoff';
37
37
  export * from './src/formatters';
38
38
  export * from './src/compat';
39
39
  export * from './src/global';
40
- export * from './src/fetch_provider';
@@ -37,4 +37,3 @@ export * from './src/exponential_backoff';
37
37
  export * from './src/formatters';
38
38
  export * from './src/compat';
39
39
  export * from './src/global';
40
- export * from './src/fetch_provider';
@@ -37,4 +37,3 @@ export * from './src/exponential_backoff';
37
37
  export * from './src/formatters';
38
38
  export * from './src/compat';
39
39
  export * from './src/global';
40
- export * from './src/fetch_provider';
@@ -2109,61 +2109,6 @@ function getModularInstance(service) {
2109
2109
  }
2110
2110
  }
2111
2111
 
2112
- /**
2113
- * @license
2114
- * Copyright 2023 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
- class FetchProvider {
2129
- static initialize(fetchImpl, headersImpl, responseImpl) {
2130
- this.fetchImpl = fetchImpl;
2131
- if (headersImpl) {
2132
- this.headersImpl = headersImpl;
2133
- }
2134
- if (responseImpl) {
2135
- this.responseImpl = responseImpl;
2136
- }
2137
- }
2138
- static fetch() {
2139
- if (this.fetchImpl) {
2140
- return this.fetchImpl;
2141
- }
2142
- if (typeof self !== 'undefined' && 'fetch' in self) {
2143
- return self.fetch;
2144
- }
2145
- throw new Error('Could not find fetch implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill');
2146
- }
2147
- static headers() {
2148
- if (this.headersImpl) {
2149
- return this.headersImpl;
2150
- }
2151
- if (typeof self !== 'undefined' && 'Headers' in self) {
2152
- return self.Headers;
2153
- }
2154
- throw new Error('Could not find Headers implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill');
2155
- }
2156
- static response() {
2157
- if (this.responseImpl) {
2158
- return this.responseImpl;
2159
- }
2160
- if (typeof self !== 'undefined' && 'Response' in self) {
2161
- return self.Response;
2162
- }
2163
- throw new Error('Could not find Response implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill');
2164
- }
2165
- }
2166
-
2167
2112
  /**
2168
2113
  * @license
2169
2114
  * Copyright 2017 Google LLC
@@ -2183,5 +2128,5 @@ class FetchProvider {
2183
2128
  // Overriding the constant (we should be the only ones doing this)
2184
2129
  CONSTANTS.NODE_CLIENT = true;
2185
2130
 
2186
- export { CONSTANTS, DecodeBase64StringError, Deferred, ErrorFactory, FetchProvider, 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, isElectron, isEmpty, isIE, isIndexedDBAvailable, isMobileCordova, isNode, isNodeSdk, isReactNative, isSafari, isUWP, isValidFormat, isValidTimestamp, issuedAtTime, jsonEval, map, ordinal, promiseWithTimeout, querystring, querystringDecode, safeGet, stringLength, stringToByteArray, stringify, uuidv4, validateArgCount, validateCallback, validateContextObject, validateIndexedDBOpenable, validateNamespace };
2131
+ 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, isElectron, isEmpty, isIE, isIndexedDBAvailable, isMobileCordova, isNode, isNodeSdk, isReactNative, isSafari, isUWP, isValidFormat, isValidTimestamp, issuedAtTime, jsonEval, map, ordinal, promiseWithTimeout, querystring, querystringDecode, safeGet, stringLength, stringToByteArray, stringify, uuidv4, validateArgCount, validateCallback, validateContextObject, validateIndexedDBOpenable, validateNamespace };
2187
2132
  //# sourceMappingURL=index.node.esm.js.map