Deployed the page to Github Pages.
This commit is contained in:
parent
1d79754e93
commit
2c89899458
62797 changed files with 6551425 additions and 15279 deletions
5
node_modules/@firebase/performance-compat/README.md
generated
vendored
Normal file
5
node_modules/@firebase/performance-compat/README.md
generated
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
# @firebase/performance-compat
|
||||
|
||||
This is the compat package that recreates the v8 APIs.
|
||||
|
||||
**This package is not intended for direct usage, and should only be used via the officially supported [firebase](https://www.npmjs.com/package/firebase) package.**
|
73
node_modules/@firebase/performance-compat/dist/esm/index.esm2017.js
generated
vendored
Normal file
73
node_modules/@firebase/performance-compat/dist/esm/index.esm2017.js
generated
vendored
Normal file
|
@ -0,0 +1,73 @@
|
|||
import firebase from '@firebase/app-compat';
|
||||
import { Component } from '@firebase/component';
|
||||
import { trace } from '@firebase/performance';
|
||||
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2020 Google LLC
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
class PerformanceCompatImpl {
|
||||
constructor(app, _delegate) {
|
||||
this.app = app;
|
||||
this._delegate = _delegate;
|
||||
}
|
||||
get instrumentationEnabled() {
|
||||
return this._delegate.instrumentationEnabled;
|
||||
}
|
||||
set instrumentationEnabled(val) {
|
||||
this._delegate.instrumentationEnabled = val;
|
||||
}
|
||||
get dataCollectionEnabled() {
|
||||
return this._delegate.dataCollectionEnabled;
|
||||
}
|
||||
set dataCollectionEnabled(val) {
|
||||
this._delegate.dataCollectionEnabled = val;
|
||||
}
|
||||
trace(traceName) {
|
||||
return trace(this._delegate, traceName);
|
||||
}
|
||||
}
|
||||
|
||||
const name = "@firebase/performance-compat";
|
||||
const version = "0.2.10";
|
||||
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2020 Google LLC
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
function registerPerformanceCompat(firebaseInstance) {
|
||||
firebaseInstance.INTERNAL.registerComponent(new Component('performance-compat', performanceFactory, "PUBLIC" /* ComponentType.PUBLIC */));
|
||||
firebaseInstance.registerVersion(name, version);
|
||||
}
|
||||
function performanceFactory(container) {
|
||||
const app = container.getProvider('app-compat').getImmediate();
|
||||
// The following call will always succeed.
|
||||
const performance = container.getProvider('performance').getImmediate();
|
||||
return new PerformanceCompatImpl(app, performance);
|
||||
}
|
||||
registerPerformanceCompat(firebase);
|
||||
//# sourceMappingURL=index.esm2017.js.map
|
1
node_modules/@firebase/performance-compat/dist/esm/index.esm2017.js.map
generated
vendored
Normal file
1
node_modules/@firebase/performance-compat/dist/esm/index.esm2017.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"index.esm2017.js","sources":["../../src/performance.ts","../../src/index.ts"],"sourcesContent":["/**\n * @license\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n trace,\n FirebasePerformance,\n // The PerformanceTrace type has not changed between modular and non-modular packages.\n PerformanceTrace\n} from '@firebase/performance';\nimport { FirebasePerformance as FirebasePerformanceCompat } from '@firebase/performance-types';\nimport { FirebaseApp, _FirebaseService } from '@firebase/app-compat';\n\nexport class PerformanceCompatImpl\n implements FirebasePerformanceCompat, _FirebaseService\n{\n constructor(\n public app: FirebaseApp,\n readonly _delegate: FirebasePerformance\n ) {}\n\n get instrumentationEnabled(): boolean {\n return this._delegate.instrumentationEnabled;\n }\n\n set instrumentationEnabled(val: boolean) {\n this._delegate.instrumentationEnabled = val;\n }\n\n get dataCollectionEnabled(): boolean {\n return this._delegate.dataCollectionEnabled;\n }\n\n set dataCollectionEnabled(val: boolean) {\n this._delegate.dataCollectionEnabled = val;\n }\n\n trace(traceName: string): PerformanceTrace {\n return trace(this._delegate, traceName);\n }\n}\n","/**\n * @license\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport firebase, { _FirebaseNamespace } from '@firebase/app-compat';\nimport {\n Component,\n ComponentContainer,\n ComponentType\n} from '@firebase/component';\nimport { PerformanceCompatImpl } from './performance';\nimport { name as packageName, version } from '../package.json';\nimport { FirebasePerformance as FirebasePerformanceCompat } from '@firebase/performance-types';\n\nfunction registerPerformanceCompat(firebaseInstance: _FirebaseNamespace): void {\n firebaseInstance.INTERNAL.registerComponent(\n new Component(\n 'performance-compat',\n performanceFactory,\n ComponentType.PUBLIC\n )\n );\n\n firebaseInstance.registerVersion(packageName, version);\n}\n\nfunction performanceFactory(\n container: ComponentContainer\n): PerformanceCompatImpl {\n const app = container.getProvider('app-compat').getImmediate();\n // The following call will always succeed.\n const performance = container.getProvider('performance').getImmediate();\n\n return new PerformanceCompatImpl(app, performance);\n}\n\nregisterPerformanceCompat(firebase as _FirebaseNamespace);\n\ndeclare module '@firebase/app-compat' {\n interface FirebaseNamespace {\n performance: {\n (app?: FirebaseApp): FirebasePerformanceCompat;\n };\n }\n interface FirebaseApp {\n performance(): FirebasePerformanceCompat;\n }\n}\n"],"names":["packageName"],"mappings":";;;;AAAA;;;;;;;;;;;;;;;AAeG;MAWU,qBAAqB,CAAA;IAGhC,WACS,CAAA,GAAgB,EACd,SAA8B,EAAA;QADhC,IAAG,CAAA,GAAA,GAAH,GAAG,CAAa;QACd,IAAS,CAAA,SAAA,GAAT,SAAS,CAAqB;KACrC;AAEJ,IAAA,IAAI,sBAAsB,GAAA;AACxB,QAAA,OAAO,IAAI,CAAC,SAAS,CAAC,sBAAsB,CAAC;KAC9C;IAED,IAAI,sBAAsB,CAAC,GAAY,EAAA;AACrC,QAAA,IAAI,CAAC,SAAS,CAAC,sBAAsB,GAAG,GAAG,CAAC;KAC7C;AAED,IAAA,IAAI,qBAAqB,GAAA;AACvB,QAAA,OAAO,IAAI,CAAC,SAAS,CAAC,qBAAqB,CAAC;KAC7C;IAED,IAAI,qBAAqB,CAAC,GAAY,EAAA;AACpC,QAAA,IAAI,CAAC,SAAS,CAAC,qBAAqB,GAAG,GAAG,CAAC;KAC5C;AAED,IAAA,KAAK,CAAC,SAAiB,EAAA;QACrB,OAAO,KAAK,CAAC,IAAI,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;KACzC;AACF;;;;;ACrDD;;;;;;;;;;;;;;;AAeG;AAYH,SAAS,yBAAyB,CAAC,gBAAoC,EAAA;AACrE,IAAA,gBAAgB,CAAC,QAAQ,CAAC,iBAAiB,CACzC,IAAI,SAAS,CACX,oBAAoB,EACpB,kBAAkB,EAAA,QAAA,4BAEnB,CACF,CAAC;AAEF,IAAA,gBAAgB,CAAC,eAAe,CAACA,IAAW,EAAE,OAAO,CAAC,CAAC;AACzD,CAAC;AAED,SAAS,kBAAkB,CACzB,SAA6B,EAAA;IAE7B,MAAM,GAAG,GAAG,SAAS,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC,YAAY,EAAE,CAAC;;IAE/D,MAAM,WAAW,GAAG,SAAS,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC,YAAY,EAAE,CAAC;AAExE,IAAA,OAAO,IAAI,qBAAqB,CAAC,GAAG,EAAE,WAAW,CAAC,CAAC;AACrD,CAAC;AAED,yBAAyB,CAAC,QAA8B,CAAC"}
|
1
node_modules/@firebase/performance-compat/dist/esm/package.json
generated
vendored
Normal file
1
node_modules/@firebase/performance-compat/dist/esm/package.json
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"type":"module"}
|
27
node_modules/@firebase/performance-compat/dist/esm/src/index.d.ts
generated
vendored
Normal file
27
node_modules/@firebase/performance-compat/dist/esm/src/index.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,27 @@
|
|||
/**
|
||||
* @license
|
||||
* Copyright 2020 Google LLC
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import { FirebasePerformance as FirebasePerformanceCompat } from '@firebase/performance-types';
|
||||
declare module '@firebase/app-compat' {
|
||||
interface FirebaseNamespace {
|
||||
performance: {
|
||||
(app?: FirebaseApp): FirebasePerformanceCompat;
|
||||
};
|
||||
}
|
||||
interface FirebaseApp {
|
||||
performance(): FirebasePerformanceCompat;
|
||||
}
|
||||
}
|
29
node_modules/@firebase/performance-compat/dist/esm/src/performance.d.ts
generated
vendored
Normal file
29
node_modules/@firebase/performance-compat/dist/esm/src/performance.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,29 @@
|
|||
/**
|
||||
* @license
|
||||
* Copyright 2020 Google LLC
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import { FirebasePerformance, PerformanceTrace } from '@firebase/performance';
|
||||
import { FirebasePerformance as FirebasePerformanceCompat } from '@firebase/performance-types';
|
||||
import { FirebaseApp, _FirebaseService } from '@firebase/app-compat';
|
||||
export declare class PerformanceCompatImpl implements FirebasePerformanceCompat, _FirebaseService {
|
||||
app: FirebaseApp;
|
||||
readonly _delegate: FirebasePerformance;
|
||||
constructor(app: FirebaseApp, _delegate: FirebasePerformance);
|
||||
get instrumentationEnabled(): boolean;
|
||||
set instrumentationEnabled(val: boolean);
|
||||
get dataCollectionEnabled(): boolean;
|
||||
set dataCollectionEnabled(val: boolean);
|
||||
trace(traceName: string): PerformanceTrace;
|
||||
}
|
17
node_modules/@firebase/performance-compat/dist/esm/src/performance.test.d.ts
generated
vendored
Normal file
17
node_modules/@firebase/performance-compat/dist/esm/src/performance.test.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
/**
|
||||
* @license
|
||||
* Copyright 2020 Google LLC
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import '../test/setup';
|
17
node_modules/@firebase/performance-compat/dist/esm/test/setup.d.ts
generated
vendored
Normal file
17
node_modules/@firebase/performance-compat/dist/esm/test/setup.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
/**
|
||||
* @license
|
||||
* Copyright 2019 Google LLC
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
export {};
|
21
node_modules/@firebase/performance-compat/dist/esm/test/util.d.ts
generated
vendored
Normal file
21
node_modules/@firebase/performance-compat/dist/esm/test/util.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
/**
|
||||
* @license
|
||||
* Copyright 2019 Google LLC
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import { FirebaseApp } from '@firebase/app-compat';
|
||||
import { FirebasePerformance, PerformanceTrace } from '@firebase/performance';
|
||||
export declare function getFakeApp(): FirebaseApp;
|
||||
export declare function getFakeModularPerformance(): FirebasePerformance;
|
||||
export declare function getFakeModularPerformanceTrace(): PerformanceTrace;
|
79
node_modules/@firebase/performance-compat/dist/index.cjs.js
generated
vendored
Normal file
79
node_modules/@firebase/performance-compat/dist/index.cjs.js
generated
vendored
Normal file
|
@ -0,0 +1,79 @@
|
|||
'use strict';
|
||||
|
||||
var firebase = require('@firebase/app-compat');
|
||||
var component = require('@firebase/component');
|
||||
var performance = require('@firebase/performance');
|
||||
|
||||
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
||||
|
||||
var firebase__default = /*#__PURE__*/_interopDefaultLegacy(firebase);
|
||||
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2020 Google LLC
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
class PerformanceCompatImpl {
|
||||
constructor(app, _delegate) {
|
||||
this.app = app;
|
||||
this._delegate = _delegate;
|
||||
}
|
||||
get instrumentationEnabled() {
|
||||
return this._delegate.instrumentationEnabled;
|
||||
}
|
||||
set instrumentationEnabled(val) {
|
||||
this._delegate.instrumentationEnabled = val;
|
||||
}
|
||||
get dataCollectionEnabled() {
|
||||
return this._delegate.dataCollectionEnabled;
|
||||
}
|
||||
set dataCollectionEnabled(val) {
|
||||
this._delegate.dataCollectionEnabled = val;
|
||||
}
|
||||
trace(traceName) {
|
||||
return performance.trace(this._delegate, traceName);
|
||||
}
|
||||
}
|
||||
|
||||
const name = "@firebase/performance-compat";
|
||||
const version = "0.2.10";
|
||||
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2020 Google LLC
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
function registerPerformanceCompat(firebaseInstance) {
|
||||
firebaseInstance.INTERNAL.registerComponent(new component.Component('performance-compat', performanceFactory, "PUBLIC" /* ComponentType.PUBLIC */));
|
||||
firebaseInstance.registerVersion(name, version);
|
||||
}
|
||||
function performanceFactory(container) {
|
||||
const app = container.getProvider('app-compat').getImmediate();
|
||||
// The following call will always succeed.
|
||||
const performance = container.getProvider('performance').getImmediate();
|
||||
return new PerformanceCompatImpl(app, performance);
|
||||
}
|
||||
registerPerformanceCompat(firebase__default["default"]);
|
||||
//# sourceMappingURL=index.cjs.js.map
|
1
node_modules/@firebase/performance-compat/dist/index.cjs.js.map
generated
vendored
Normal file
1
node_modules/@firebase/performance-compat/dist/index.cjs.js.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"index.cjs.js","sources":["../src/performance.ts","../src/index.ts"],"sourcesContent":["/**\n * @license\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n trace,\n FirebasePerformance,\n // The PerformanceTrace type has not changed between modular and non-modular packages.\n PerformanceTrace\n} from '@firebase/performance';\nimport { FirebasePerformance as FirebasePerformanceCompat } from '@firebase/performance-types';\nimport { FirebaseApp, _FirebaseService } from '@firebase/app-compat';\n\nexport class PerformanceCompatImpl\n implements FirebasePerformanceCompat, _FirebaseService\n{\n constructor(\n public app: FirebaseApp,\n readonly _delegate: FirebasePerformance\n ) {}\n\n get instrumentationEnabled(): boolean {\n return this._delegate.instrumentationEnabled;\n }\n\n set instrumentationEnabled(val: boolean) {\n this._delegate.instrumentationEnabled = val;\n }\n\n get dataCollectionEnabled(): boolean {\n return this._delegate.dataCollectionEnabled;\n }\n\n set dataCollectionEnabled(val: boolean) {\n this._delegate.dataCollectionEnabled = val;\n }\n\n trace(traceName: string): PerformanceTrace {\n return trace(this._delegate, traceName);\n }\n}\n","/**\n * @license\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport firebase, { _FirebaseNamespace } from '@firebase/app-compat';\nimport {\n Component,\n ComponentContainer,\n ComponentType\n} from '@firebase/component';\nimport { PerformanceCompatImpl } from './performance';\nimport { name as packageName, version } from '../package.json';\nimport { FirebasePerformance as FirebasePerformanceCompat } from '@firebase/performance-types';\n\nfunction registerPerformanceCompat(firebaseInstance: _FirebaseNamespace): void {\n firebaseInstance.INTERNAL.registerComponent(\n new Component(\n 'performance-compat',\n performanceFactory,\n ComponentType.PUBLIC\n )\n );\n\n firebaseInstance.registerVersion(packageName, version);\n}\n\nfunction performanceFactory(\n container: ComponentContainer\n): PerformanceCompatImpl {\n const app = container.getProvider('app-compat').getImmediate();\n // The following call will always succeed.\n const performance = container.getProvider('performance').getImmediate();\n\n return new PerformanceCompatImpl(app, performance);\n}\n\nregisterPerformanceCompat(firebase as _FirebaseNamespace);\n\ndeclare module '@firebase/app-compat' {\n interface FirebaseNamespace {\n performance: {\n (app?: FirebaseApp): FirebasePerformanceCompat;\n };\n }\n interface FirebaseApp {\n performance(): FirebasePerformanceCompat;\n }\n}\n"],"names":["trace","Component","packageName","firebase"],"mappings":";;;;;;;;;;AAAA;;;;;;;;;;;;;;;AAeG;MAWU,qBAAqB,CAAA;IAGhC,WACS,CAAA,GAAgB,EACd,SAA8B,EAAA;QADhC,IAAG,CAAA,GAAA,GAAH,GAAG,CAAa;QACd,IAAS,CAAA,SAAA,GAAT,SAAS,CAAqB;KACrC;AAEJ,IAAA,IAAI,sBAAsB,GAAA;AACxB,QAAA,OAAO,IAAI,CAAC,SAAS,CAAC,sBAAsB,CAAC;KAC9C;IAED,IAAI,sBAAsB,CAAC,GAAY,EAAA;AACrC,QAAA,IAAI,CAAC,SAAS,CAAC,sBAAsB,GAAG,GAAG,CAAC;KAC7C;AAED,IAAA,IAAI,qBAAqB,GAAA;AACvB,QAAA,OAAO,IAAI,CAAC,SAAS,CAAC,qBAAqB,CAAC;KAC7C;IAED,IAAI,qBAAqB,CAAC,GAAY,EAAA;AACpC,QAAA,IAAI,CAAC,SAAS,CAAC,qBAAqB,GAAG,GAAG,CAAC;KAC5C;AAED,IAAA,KAAK,CAAC,SAAiB,EAAA;QACrB,OAAOA,iBAAK,CAAC,IAAI,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;KACzC;AACF;;;;;ACrDD;;;;;;;;;;;;;;;AAeG;AAYH,SAAS,yBAAyB,CAAC,gBAAoC,EAAA;AACrE,IAAA,gBAAgB,CAAC,QAAQ,CAAC,iBAAiB,CACzC,IAAIC,mBAAS,CACX,oBAAoB,EACpB,kBAAkB,EAAA,QAAA,4BAEnB,CACF,CAAC;AAEF,IAAA,gBAAgB,CAAC,eAAe,CAACC,IAAW,EAAE,OAAO,CAAC,CAAC;AACzD,CAAC;AAED,SAAS,kBAAkB,CACzB,SAA6B,EAAA;IAE7B,MAAM,GAAG,GAAG,SAAS,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC,YAAY,EAAE,CAAC;;IAE/D,MAAM,WAAW,GAAG,SAAS,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC,YAAY,EAAE,CAAC;AAExE,IAAA,OAAO,IAAI,qBAAqB,CAAC,GAAG,EAAE,WAAW,CAAC,CAAC;AACrD,CAAC;AAED,yBAAyB,CAACC,4BAA8B,CAAC;;"}
|
35
node_modules/@firebase/performance-compat/dist/src/index.d.ts
generated
vendored
Normal file
35
node_modules/@firebase/performance-compat/dist/src/index.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,35 @@
|
|||
/**
|
||||
* @license
|
||||
* Copyright 2020 Google LLC
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import { FirebasePerformance as FirebasePerformanceCompat } from '@firebase/performance-types';
|
||||
declare module '@firebase/app-compat' {
|
||||
interface FirebaseNamespace {
|
||||
performance: {
|
||||
(app?: FirebaseApp): FirebasePerformanceCompat;
|
||||
};
|
||||
}
|
||||
interface FirebaseApp {
|
||||
performance(): FirebasePerformanceCompat;
|
||||
}
|
||||
}
|
||||
|
||||
import { FirebaseApp as FirebaseAppCompat } from "@firebase/app-compat";
|
||||
import { type FirebasePerformance, type PerformanceSettings, type PerformanceTrace } from "@firebase/performance";
|
||||
declare module "@firebase/performance" {
|
||||
function getPerformance(app?: FirebaseAppCompat): FirebasePerformance;
|
||||
function initializePerformance(app: FirebaseAppCompat, settings?: PerformanceSettings): FirebasePerformance;
|
||||
function trace(performance: FirebasePerformanceCompat, name: string): PerformanceTrace;
|
||||
}
|
29
node_modules/@firebase/performance-compat/dist/src/performance.d.ts
generated
vendored
Normal file
29
node_modules/@firebase/performance-compat/dist/src/performance.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,29 @@
|
|||
/**
|
||||
* @license
|
||||
* Copyright 2020 Google LLC
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import { FirebasePerformance, PerformanceTrace } from '@firebase/performance';
|
||||
import { FirebasePerformance as FirebasePerformanceCompat } from '@firebase/performance-types';
|
||||
import { FirebaseApp, _FirebaseService } from '@firebase/app-compat';
|
||||
export declare class PerformanceCompatImpl implements FirebasePerformanceCompat, _FirebaseService {
|
||||
app: FirebaseApp;
|
||||
readonly _delegate: FirebasePerformance;
|
||||
constructor(app: FirebaseApp, _delegate: FirebasePerformance);
|
||||
get instrumentationEnabled(): boolean;
|
||||
set instrumentationEnabled(val: boolean);
|
||||
get dataCollectionEnabled(): boolean;
|
||||
set dataCollectionEnabled(val: boolean);
|
||||
trace(traceName: string): PerformanceTrace;
|
||||
}
|
17
node_modules/@firebase/performance-compat/dist/src/performance.test.d.ts
generated
vendored
Normal file
17
node_modules/@firebase/performance-compat/dist/src/performance.test.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
/**
|
||||
* @license
|
||||
* Copyright 2020 Google LLC
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import '../test/setup';
|
17
node_modules/@firebase/performance-compat/dist/test/setup.d.ts
generated
vendored
Normal file
17
node_modules/@firebase/performance-compat/dist/test/setup.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
/**
|
||||
* @license
|
||||
* Copyright 2019 Google LLC
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
export {};
|
21
node_modules/@firebase/performance-compat/dist/test/util.d.ts
generated
vendored
Normal file
21
node_modules/@firebase/performance-compat/dist/test/util.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
/**
|
||||
* @license
|
||||
* Copyright 2019 Google LLC
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import { FirebaseApp } from '@firebase/app-compat';
|
||||
import { FirebasePerformance, PerformanceTrace } from '@firebase/performance';
|
||||
export declare function getFakeApp(): FirebaseApp;
|
||||
export declare function getFakeModularPerformance(): FirebasePerformance;
|
||||
export declare function getFakeModularPerformanceTrace(): PerformanceTrace;
|
71
node_modules/@firebase/performance-compat/package.json
generated
vendored
Normal file
71
node_modules/@firebase/performance-compat/package.json
generated
vendored
Normal file
|
@ -0,0 +1,71 @@
|
|||
{
|
||||
"name": "@firebase/performance-compat",
|
||||
"version": "0.2.10",
|
||||
"description": "The compatibility package of Firebase Performance",
|
||||
"author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
|
||||
"main": "dist/index.cjs.js",
|
||||
"browser": "dist/esm/index.esm2017.js",
|
||||
"module": "dist/esm/index.esm2017.js",
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./dist/src/index.d.ts",
|
||||
"require": "./dist/index.cjs.js",
|
||||
"default": "./dist/esm/index.esm2017.js"
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
"scripts": {
|
||||
"lint": "eslint -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
|
||||
"lint:fix": "eslint --fix -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
|
||||
"build": "rollup -c",
|
||||
"build:release": "rollup -c rollup.config.release.js && yarn add-compat-overloads",
|
||||
"build:deps": "lerna run --scope @firebase/performance-compat --include-dependencies build",
|
||||
"dev": "rollup -c -w",
|
||||
"test": "run-p --npm-path npm lint test:all",
|
||||
"test:all": "run-p --npm-path npm test:browser",
|
||||
"test:ci": "node ../../scripts/run_tests_in_ci.js -s test:all",
|
||||
"test:browser": "karma start",
|
||||
"test:browser:debug": "karma start --browsers Chrome --auto-watch",
|
||||
"trusted-type-check": "tsec -p tsconfig.json --noEmit",
|
||||
"prettier": "prettier --write '{src,test}/**/*.{js,ts}'",
|
||||
"add-compat-overloads": "ts-node-script ../../scripts/build/create-overloads.ts -i ../performance/dist/src/index.d.ts -o dist/src/index.d.ts -a -r FirebasePerformance:FirebasePerformanceCompat -r FirebaseApp:FirebaseAppCompat --moduleToEnhance @firebase/performance"
|
||||
},
|
||||
"license": "Apache-2.0",
|
||||
"peerDependencies": {
|
||||
"@firebase/app-compat": "0.x"
|
||||
},
|
||||
"dependencies": {
|
||||
"@firebase/performance": "0.6.10",
|
||||
"@firebase/performance-types": "0.2.2",
|
||||
"@firebase/util": "1.10.1",
|
||||
"@firebase/logger": "0.4.3",
|
||||
"@firebase/component": "0.6.10",
|
||||
"tslib": "^2.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"rollup": "2.79.1",
|
||||
"@rollup/plugin-json": "4.1.0",
|
||||
"rollup-plugin-replace": "2.2.0",
|
||||
"rollup-plugin-typescript2": "0.31.2",
|
||||
"typescript": "4.7.4",
|
||||
"@firebase/app-compat": "0.2.44"
|
||||
},
|
||||
"repository": {
|
||||
"directory": "packages/performance-compat",
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/firebase/firebase-js-sdk.git"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/firebase/firebase-js-sdk/issues"
|
||||
},
|
||||
"typings": "dist/src/index.d.ts",
|
||||
"nyc": {
|
||||
"extension": [
|
||||
".ts"
|
||||
],
|
||||
"reportDir": "./coverage/node"
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue