@firebase/app-check 0.8.6-canary.e542f1dbd → 0.8.6-dataconnect-preview.d986d4bf2

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.
@@ -1,10 +1,8 @@
1
1
  import { _getProvider, getApp, _registerComponent, registerVersion } from '@firebase/app';
2
2
  import { Component } from '@firebase/component';
3
- import { __assign, __awaiter, __generator, __spreadArray, __makeTemplateObject } from 'tslib';
3
+ import { __assign, __awaiter, __generator, __spreadArray } from 'tslib';
4
4
  import { Deferred, ErrorFactory, isIndexedDBAvailable, uuidv4, getGlobal, base64, issuedAtTime, calculateBackoffMillis, getModularInstance } from '@firebase/util';
5
5
  import { Logger } from '@firebase/logger';
6
- import { trustedResourceUrl } from 'safevalues';
7
- import { safeScriptEl } from 'safevalues/dom';
8
6
 
9
7
  /**
10
8
  * @license
@@ -1158,7 +1156,7 @@ function internalFactory(appCheck) {
1158
1156
  }
1159
1157
 
1160
1158
  var name = "@firebase/app-check";
1161
- var version = "0.8.6-canary.e542f1dbd";
1159
+ var version = "0.8.6-dataconnect-preview.d986d4bf2";
1162
1160
 
1163
1161
  /**
1164
1162
  * @license
@@ -1176,6 +1174,8 @@ var version = "0.8.6-canary.e542f1dbd";
1176
1174
  * See the License for the specific language governing permissions and
1177
1175
  * limitations under the License.
1178
1176
  */
1177
+ var RECAPTCHA_URL = 'https://www.google.com/recaptcha/api.js';
1178
+ var RECAPTCHA_ENTERPRISE_URL = 'https://www.google.com/recaptcha/enterprise.js';
1179
1179
  function initializeV3(app, siteKey) {
1180
1180
  var initialized = new Deferred();
1181
1181
  var state = getStateReference(app);
@@ -1291,17 +1291,16 @@ function renderInvisibleWidget(app, siteKey, grecaptcha, container) {
1291
1291
  }
1292
1292
  function loadReCAPTCHAV3Script(onload) {
1293
1293
  var script = document.createElement('script');
1294
- safeScriptEl.setSrc(script, trustedResourceUrl(templateObject_1 || (templateObject_1 = __makeTemplateObject(["https://www.google.com/recaptcha/api.js"], ["https://www.google.com/recaptcha/api.js"]))));
1294
+ script.src = RECAPTCHA_URL;
1295
1295
  script.onload = onload;
1296
1296
  document.head.appendChild(script);
1297
1297
  }
1298
1298
  function loadReCAPTCHAEnterpriseScript(onload) {
1299
1299
  var script = document.createElement('script');
1300
- safeScriptEl.setSrc(script, trustedResourceUrl(templateObject_2 || (templateObject_2 = __makeTemplateObject(["https://www.google.com/recaptcha/enterprise.js"], ["https://www.google.com/recaptcha/enterprise.js"]))));
1300
+ script.src = RECAPTCHA_ENTERPRISE_URL;
1301
1301
  script.onload = onload;
1302
1302
  document.head.appendChild(script);
1303
- }
1304
- var templateObject_1, templateObject_2;
1303
+ }
1305
1304
 
1306
1305
  /**
1307
1306
  * @license