@firebase/installations
Advanced tools
Comparing version 0.2.0-canary.7ab551f to 0.2.0-canary.8032d55
@@ -12,3 +12,3 @@ 'use strict'; | ||
var version = "0.2.0-canary.7ab551f"; | ||
var version = "0.2.0-canary.8032d55"; | ||
@@ -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. | ||
@@ -1072,0 +1071,0 @@ return undefined; |
@@ -6,3 +6,3 @@ import firebase from '@firebase/app'; | ||
var version = "0.2.0-canary.7ab551f"; | ||
var version = "0.2.0-canary.8032d55"; | ||
@@ -1062,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. | ||
@@ -1066,0 +1065,0 @@ return undefined; |
@@ -5,3 +5,3 @@ import firebase from '@firebase/app'; | ||
const version = "0.2.0-canary.7ab551f"; | ||
const version = "0.2.0-canary.8032d55"; | ||
@@ -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. | ||
@@ -834,0 +833,0 @@ return undefined; |
{ | ||
"name": "@firebase/installations", | ||
"version": "0.2.0-canary.7ab551f", | ||
"version": "0.2.0-canary.8032d55", | ||
"main": "dist/index.cjs.js", | ||
@@ -36,3 +36,3 @@ "module": "dist/index.esm.js", | ||
"rollup-plugin-json": "4.0.0", | ||
"rollup-plugin-node-resolve": "4.2.4", | ||
"rollup-plugin-node-resolve": "5.2.0", | ||
"rollup-plugin-typescript2": "0.22.0", | ||
@@ -51,8 +51,8 @@ "rollup-plugin-uglify": "6.0.2", | ||
"peerDependencies": { | ||
"@firebase/app": "0.4.10-canary.7ab551f", | ||
"@firebase/app-types": "0.4.0-canary.7ab551f" | ||
"@firebase/app": "0.4.10-canary.8032d55", | ||
"@firebase/app-types": "0.4.0-canary.8032d55" | ||
}, | ||
"dependencies": { | ||
"@firebase/installations-types": "0.1.1-canary.7ab551f", | ||
"@firebase/util": "0.2.21-canary.7ab551f", | ||
"@firebase/installations-types": "0.1.1-canary.8032d55", | ||
"@firebase/util": "0.2.21-canary.8032d55", | ||
"idb": "3.0.2", | ||
@@ -59,0 +59,0 @@ "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
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
676720
7539
+ Added@firebase/app@0.4.10-canary.8032d55(transitive)
+ Added@firebase/app-types@0.4.0-canary.8032d55(transitive)
+ Added@firebase/installations-types@0.1.1-canary.8032d55(transitive)
+ Added@firebase/logger@0.1.18-canary.8032d55(transitive)
+ Added@firebase/util@0.2.21-canary.8032d55(transitive)
- Removed@firebase/app@0.4.10-canary.7ab551f(transitive)
- Removed@firebase/app-types@0.4.0-canary.7ab551f(transitive)
- Removed@firebase/installations-types@0.1.1-canary.7ab551f(transitive)
- Removed@firebase/logger@0.1.18-canary.7ab551f(transitive)
- Removed@firebase/util@0.2.21-canary.7ab551f(transitive)