@firebase/remote-config
Advanced tools
Comparing version 0.4.10-canary.1f1ba3fee to 0.4.10-canary.274e9a56e
@@ -8,3 +8,3 @@ import { _getProvider, getApp, _registerComponent, registerVersion, SDK_VERSION } from '@firebase/app'; | ||
const name = "@firebase/remote-config"; | ||
const version = "0.4.10-canary.1f1ba3fee"; | ||
const version = "0.4.10-canary.274e9a56e"; | ||
@@ -767,2 +767,8 @@ /** | ||
class RemoteConfig { | ||
get fetchTimeMillis() { | ||
return this._storageCache.getLastSuccessfulFetchTimestampMillis() || -1; | ||
} | ||
get lastFetchStatus() { | ||
return this._storageCache.getLastFetchStatus() || 'no-fetch-yet'; | ||
} | ||
constructor( | ||
@@ -806,8 +812,2 @@ // Required by FirebaseServiceFactory interface. | ||
} | ||
get fetchTimeMillis() { | ||
return this._storageCache.getLastSuccessfulFetchTimestampMillis() || -1; | ||
} | ||
get lastFetchStatus() { | ||
return this._storageCache.getLastFetchStatus() || 'no-fetch-yet'; | ||
} | ||
} | ||
@@ -814,0 +814,0 @@ |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -60,3 +60,3 @@ /** | ||
*/ | ||
export declare type ValueSource = 'static' | 'default' | 'remote'; | ||
export type ValueSource = 'static' | 'default' | 'remote'; | ||
/** | ||
@@ -118,3 +118,3 @@ * Wraps a value with metadata and type-safe getters. | ||
*/ | ||
export declare type FetchStatus = 'no-fetch-yet' | 'success' | 'failure' | 'throttle'; | ||
export type FetchStatus = 'no-fetch-yet' | 'success' | 'failure' | 'throttle'; | ||
/** | ||
@@ -125,3 +125,3 @@ * Defines levels of Remote Config logging. | ||
*/ | ||
export declare type LogLevel = 'debug' | 'error' | 'silent'; | ||
export type LogLevel = 'debug' | 'error' | 'silent'; | ||
declare module '@firebase/component' { | ||
@@ -128,0 +128,0 @@ interface NameServiceMapping { |
import '@firebase/installations'; | ||
export declare function registerRemoteConfig(): void; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -42,3 +42,3 @@ /** | ||
*/ | ||
declare type ProjectNamespaceKeyFieldValue = 'active_config' | 'active_config_etag' | 'last_fetch_status' | 'last_successful_fetch_timestamp_millis' | 'last_successful_fetch_response' | 'settings' | 'throttle_metadata'; | ||
type ProjectNamespaceKeyFieldValue = 'active_config' | 'active_config_etag' | 'last_fetch_status' | 'last_successful_fetch_timestamp_millis' | 'last_successful_fetch_response' | 'settings' | 'throttle_metadata'; | ||
export declare function openDatabase(): Promise<IDBDatabase>; | ||
@@ -45,0 +45,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -12,3 +12,3 @@ 'use strict'; | ||
const name = "@firebase/remote-config"; | ||
const version = "0.4.10-canary.1f1ba3fee"; | ||
const version = "0.4.10-canary.274e9a56e"; | ||
@@ -771,2 +771,8 @@ /** | ||
class RemoteConfig { | ||
get fetchTimeMillis() { | ||
return this._storageCache.getLastSuccessfulFetchTimestampMillis() || -1; | ||
} | ||
get lastFetchStatus() { | ||
return this._storageCache.getLastFetchStatus() || 'no-fetch-yet'; | ||
} | ||
constructor( | ||
@@ -810,8 +816,2 @@ // Required by FirebaseServiceFactory interface. | ||
} | ||
get fetchTimeMillis() { | ||
return this._storageCache.getLastSuccessfulFetchTimestampMillis() || -1; | ||
} | ||
get lastFetchStatus() { | ||
return this._storageCache.getLastFetchStatus() || 'no-fetch-yet'; | ||
} | ||
} | ||
@@ -818,0 +818,0 @@ |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -60,3 +60,3 @@ /** | ||
*/ | ||
export declare type ValueSource = 'static' | 'default' | 'remote'; | ||
export type ValueSource = 'static' | 'default' | 'remote'; | ||
/** | ||
@@ -118,3 +118,3 @@ * Wraps a value with metadata and type-safe getters. | ||
*/ | ||
export declare type FetchStatus = 'no-fetch-yet' | 'success' | 'failure' | 'throttle'; | ||
export type FetchStatus = 'no-fetch-yet' | 'success' | 'failure' | 'throttle'; | ||
/** | ||
@@ -125,3 +125,3 @@ * Defines levels of Remote Config logging. | ||
*/ | ||
export declare type LogLevel = 'debug' | 'error' | 'silent'; | ||
export type LogLevel = 'debug' | 'error' | 'silent'; | ||
declare module '@firebase/component' { | ||
@@ -128,0 +128,0 @@ interface NameServiceMapping { |
import '@firebase/installations'; | ||
export declare function registerRemoteConfig(): void; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -42,3 +42,3 @@ /** | ||
*/ | ||
declare type ProjectNamespaceKeyFieldValue = 'active_config' | 'active_config_etag' | 'last_fetch_status' | 'last_successful_fetch_timestamp_millis' | 'last_successful_fetch_response' | 'settings' | 'throttle_metadata'; | ||
type ProjectNamespaceKeyFieldValue = 'active_config' | 'active_config_etag' | 'last_fetch_status' | 'last_successful_fetch_timestamp_millis' | 'last_successful_fetch_response' | 'settings' | 'throttle_metadata'; | ||
export declare function openDatabase(): Promise<IDBDatabase>; | ||
@@ -45,0 +45,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
{ | ||
"name": "@firebase/remote-config", | ||
"version": "0.4.10-canary.1f1ba3fee", | ||
"version": "0.4.10-canary.274e9a56e", | ||
"description": "The Remote Config package of the Firebase JS SDK", | ||
@@ -40,9 +40,9 @@ "author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)", | ||
"peerDependencies": { | ||
"@firebase/app": "0.10.15-canary.1f1ba3fee" | ||
"@firebase/app": "0.10.15-canary.274e9a56e" | ||
}, | ||
"dependencies": { | ||
"@firebase/installations": "0.6.10-canary.1f1ba3fee", | ||
"@firebase/logger": "0.4.3-canary.1f1ba3fee", | ||
"@firebase/util": "1.10.1-canary.1f1ba3fee", | ||
"@firebase/component": "0.6.10-canary.1f1ba3fee", | ||
"@firebase/installations": "0.6.10-canary.274e9a56e", | ||
"@firebase/logger": "0.4.3-canary.274e9a56e", | ||
"@firebase/util": "1.10.1-canary.274e9a56e", | ||
"@firebase/component": "0.6.10-canary.274e9a56e", | ||
"tslib": "^2.1.0" | ||
@@ -52,6 +52,6 @@ }, | ||
"devDependencies": { | ||
"@firebase/app": "0.10.15-canary.1f1ba3fee", | ||
"@firebase/app": "0.10.15-canary.274e9a56e", | ||
"rollup": "2.79.1", | ||
"rollup-plugin-typescript2": "0.31.2", | ||
"typescript": "4.7.4" | ||
"typescript": "5.5.4" | ||
}, | ||
@@ -58,0 +58,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
361728
+ Added@firebase/app@0.10.15-canary.274e9a56e(transitive)
+ Added@firebase/component@0.6.10-canary.274e9a56e(transitive)
+ Added@firebase/installations@0.6.10-canary.274e9a56e(transitive)
+ Added@firebase/logger@0.4.3-canary.274e9a56e(transitive)
+ Added@firebase/util@1.10.1-canary.274e9a56e(transitive)
- Removed@firebase/app@0.10.15-canary.1f1ba3fee(transitive)
- Removed@firebase/component@0.6.10-canary.1f1ba3fee(transitive)
- Removed@firebase/installations@0.6.10-canary.1f1ba3fee(transitive)
- Removed@firebase/logger@0.4.3-canary.1f1ba3fee(transitive)
- Removed@firebase/util@1.10.1-canary.1f1ba3fee(transitive)