@firebase/installations
Advanced tools
Comparing version 0.2.0 to 0.2.1-0
@@ -12,3 +12,3 @@ 'use strict'; | ||
var version = "0.2.0"; | ||
var version = "0.2.1-0"; | ||
@@ -1068,4 +1068,3 @@ /** | ||
return [4 /*yield*/, update(appConfig, function (oldEntry) { | ||
if (oldEntry && | ||
oldEntry.registrationStatus === 0 /* NOT_STARTED */) { | ||
if (oldEntry && oldEntry.registrationStatus === 0 /* NOT_STARTED */) { | ||
// Delete the unregistered entry without sending a deleteInstallation request. | ||
@@ -1115,19 +1114,2 @@ return undefined; | ||
*/ | ||
/** | ||
* @license | ||
* Copyright 2019 Google Inc. | ||
* | ||
* 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 registerInstallations(instance) { | ||
@@ -1134,0 +1116,0 @@ var installationsName = 'installations'; |
import firebase from '@firebase/app'; | ||
import * as tslib_1 from 'tslib'; | ||
import { __awaiter, __generator, __spread, __assign } from 'tslib'; | ||
@@ -7,3 +6,3 @@ import { ErrorFactory, FirebaseError } from '@firebase/util'; | ||
var version = "0.2.0"; | ||
var version = "0.2.1-0"; | ||
@@ -1063,4 +1062,3 @@ /** | ||
return [4 /*yield*/, update(appConfig, function (oldEntry) { | ||
if (oldEntry && | ||
oldEntry.registrationStatus === 0 /* NOT_STARTED */) { | ||
if (oldEntry && oldEntry.registrationStatus === 0 /* NOT_STARTED */) { | ||
// Delete the unregistered entry without sending a deleteInstallation request. | ||
@@ -1110,19 +1108,2 @@ return undefined; | ||
*/ | ||
/** | ||
* @license | ||
* Copyright 2019 Google Inc. | ||
* | ||
* 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 registerInstallations(instance) { | ||
@@ -1129,0 +1110,0 @@ var installationsName = 'installations'; |
@@ -5,3 +5,3 @@ import firebase from '@firebase/app'; | ||
const version = "0.2.0"; | ||
const version = "0.2.1-0"; | ||
@@ -830,4 +830,3 @@ /** | ||
const entry = await update(appConfig, (oldEntry) => { | ||
if (oldEntry && | ||
oldEntry.registrationStatus === 0 /* NOT_STARTED */) { | ||
if (oldEntry && oldEntry.registrationStatus === 0 /* NOT_STARTED */) { | ||
// Delete the unregistered entry without sending a deleteInstallation request. | ||
@@ -871,19 +870,2 @@ return undefined; | ||
*/ | ||
/** | ||
* @license | ||
* Copyright 2019 Google Inc. | ||
* | ||
* 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 registerInstallations(instance) { | ||
@@ -890,0 +872,0 @@ const installationsName = 'installations'; |
{ | ||
"name": "@firebase/installations", | ||
"version": "0.2.0", | ||
"version": "0.2.1-0", | ||
"main": "dist/index.cjs.js", | ||
@@ -26,4 +26,4 @@ "module": "dist/index.esm.js", | ||
"@types/chai-as-promised": "7.1.0", | ||
"@types/mocha": "5.2.6", | ||
"@types/sinon": "7.0.11", | ||
"@types/mocha": "5.2.7", | ||
"@types/sinon": "7.0.13", | ||
"@types/sinon-chai": "3.2.2", | ||
@@ -34,17 +34,17 @@ "chai": "4.2.0", | ||
"mocha": "6.1.4", | ||
"rollup": "1.11.0", | ||
"rollup-plugin-commonjs": "9.3.4", | ||
"rollup": "1.17.0", | ||
"rollup-plugin-commonjs": "10.0.1", | ||
"rollup-plugin-json": "4.0.0", | ||
"rollup-plugin-node-resolve": "4.2.3", | ||
"rollup-plugin-typescript2": "0.21.0", | ||
"rollup-plugin-node-resolve": "5.2.0", | ||
"rollup-plugin-typescript2": "0.22.0", | ||
"rollup-plugin-uglify": "6.0.2", | ||
"sinon": "7.3.2", | ||
"sinon-chai": "3.3.0", | ||
"tslint": "5.16.0", | ||
"typescript": "3.4.5", | ||
"tslint": "5.18.0", | ||
"typescript": "3.5.3", | ||
"eslint": "5.16.0", | ||
"@typescript-eslint/parser": "1.10.2", | ||
"@typescript-eslint/eslint-plugin": "1.10.2", | ||
"@typescript-eslint/eslint-plugin-tslint": "1.10.2", | ||
"eslint-plugin-import": "2.17.3" | ||
"@typescript-eslint/parser": "1.12.0", | ||
"@typescript-eslint/eslint-plugin": "1.12.0", | ||
"@typescript-eslint/eslint-plugin-tslint": "1.12.0", | ||
"eslint-plugin-import": "2.18.0" | ||
}, | ||
@@ -56,7 +56,7 @@ "peerDependencies": { | ||
"dependencies": { | ||
"@firebase/installations-types": "0.1.1", | ||
"@firebase/util": "0.2.21", | ||
"@firebase/installations-types": "0.1.2-0", | ||
"@firebase/util": "0.2.22-0", | ||
"idb": "3.0.2", | ||
"tslib": "1.9.3" | ||
"tslib": "1.10.0" | ||
} | ||
} |
@@ -33,20 +33,12 @@ /** | ||
const entry = await update( | ||
appConfig, | ||
( | ||
oldEntry?: InstallationEntry | ||
): | ||
| InProgressInstallationEntry | ||
| RegisteredInstallationEntry | ||
| undefined => { | ||
if ( | ||
oldEntry && | ||
oldEntry.registrationStatus === RequestStatus.NOT_STARTED | ||
) { | ||
// Delete the unregistered entry without sending a deleteInstallation request. | ||
return undefined; | ||
} | ||
return oldEntry; | ||
const entry = await update(appConfig, (oldEntry?: InstallationEntry): | ||
| InProgressInstallationEntry | ||
| RegisteredInstallationEntry | ||
| undefined => { | ||
if (oldEntry && oldEntry.registrationStatus === RequestStatus.NOT_STARTED) { | ||
// Delete the unregistered entry without sending a deleteInstallation request. | ||
return undefined; | ||
} | ||
); | ||
return oldEntry; | ||
}); | ||
@@ -53,0 +45,0 @@ if (entry) { |
@@ -6,4 +6,2 @@ { | ||
"resolveJsonModule": true, | ||
"strict": true, | ||
"noUnusedLocals": true, | ||
@@ -10,0 +8,0 @@ "noUnusedParameters": true, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 35 instances in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 35 instances in 1 package
1296182
312
8045
+ Added@firebase/installations-types@0.1.2-0(transitive)
+ Added@firebase/util@0.2.22-0(transitive)
+ Addedtslib@1.10.0(transitive)
- Removed@firebase/installations-types@0.1.1(transitive)
- Removed@firebase/util@0.2.21(transitive)
- Removedtslib@1.9.3(transitive)
Updated@firebase/util@0.2.22-0
Updatedtslib@1.10.0