-
Notifications
You must be signed in to change notification settings - Fork 926
Tree-Shake RemoteStore #3705
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tree-Shake RemoteStore #3705
Conversation
💥 No ChangesetLatest commit: 101f28c Merging this PR will not cause any packages to be released. If these changes should not cause updates to packages in this repo, this is fine 🙂 If these changes should be published to npm, you need to add a changeset. This PR includes no changesetsWhen changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types Click here to learn what changesets are, and how to add one. Click here if you're a maintainer who wants to add a changeset to this PR |
Size Analysis ReportAffected Products
|
Type | Base (caed9c0) | Head (59c201b) | Diff |
---|---|---|---|
size | ? | 8.90 kB | ? (?) |
size_with_ext_deps | ? | 17.3 kB | ? (?) |
Dependencies
Type | Base (caed9c0) | Head (59c201b) | Diff |
---|---|---|---|
functions | ? | Click to show 52 depsbroadcastFidChange bufferToBase64UrlSafe callFidChangeCallbacks clearTimedOutRequest closeBroadcastChannel completeInstallationRegistration createInstallationRequest deleteInstallationRequest deleteInstallations encode extractAppConfig extractAuthTokenInfoFromResponse fetchAuthTokenFromServer fidChanged generateAuthTokenRequest generateFid getAuthorizationHeader getBroadcastChannel getDbPromise getDeleteEndpoint getErrorFromResponse getExpiresInFromResponseExpiresIn getGenerateAuthTokenEndpoint getHeaders getHeadersWithAuth getId getInstallationEntry getInstallationsEndpoint getKey getMissingValueError getToken hasAuthTokenRequestTimedOut hasInstallationRequestTimedOut isAuthTokenExpired isAuthTokenValid isEntryRegistered isServerError makeAuthTokenRequestInProgressEntry refreshAuthToken registerInstallation registerInstallations remove retryIfServerError set sleep triggerRegistrationIfNecessary update updateAuthTokenRequest updateInstallationRequest updateOrCreateInstallationEntry waitUntilAuthTokenRequest waitUntilFidRegistration |
? |
variables | ? | Click to show 23 depsDATABASE_NAME DATABASE_VERSION ERROR_DESCRIPTION_MAP ERROR_FACTORY INSTALLATIONS_API_URL INSTALLATIONS_NAME INSTALLATIONS_NAME_INTERNAL INTERNAL_AUTH_VERSION INVALID_FID OBJECT_STORE_NAME PACKAGE_VERSION PENDING_TIMEOUT_MS SERVICE SERVICE_NAME TOKEN_EXPIRATION_BUFFER VALID_FID_PATTERN broadcastChannel dbPromise fidChangeCallbacks internalFactory name publicFactory version |
? |
External Dependencies
Module | Base (caed9c0) | Head (59c201b) | Diff |
---|---|---|---|
@firebase/util |
? | ErrorFactory FirebaseError |
? |
idb |
? | openDb |
? |
@firebase/app-exp |
? | _getProvider _registerComponent registerVersion |
? |
@firebase/component |
? | Component |
? |
getId
Size
Type | Base (caed9c0) | Head (59c201b) | Diff |
---|---|---|---|
size | ? | 8.34 kB | ? (?) |
size_with_ext_deps | ? | 16.8 kB | ? (?) |
Dependencies
Type | Base (caed9c0) | Head (59c201b) | Diff |
---|---|---|---|
functions | ? | Click to show 49 depsbroadcastFidChange bufferToBase64UrlSafe callFidChangeCallbacks clearTimedOutRequest closeBroadcastChannel completeInstallationRegistration createInstallationRequest encode extractAppConfig extractAuthTokenInfoFromResponse fetchAuthTokenFromServer fidChanged generateAuthTokenRequest generateFid getAuthorizationHeader getBroadcastChannel getDbPromise getErrorFromResponse getExpiresInFromResponseExpiresIn getGenerateAuthTokenEndpoint getHeaders getHeadersWithAuth getId getInstallationEntry getInstallationsEndpoint getKey getMissingValueError getToken hasAuthTokenRequestTimedOut hasInstallationRequestTimedOut isAuthTokenExpired isAuthTokenValid isEntryRegistered isServerError makeAuthTokenRequestInProgressEntry refreshAuthToken registerInstallation registerInstallations remove retryIfServerError set sleep triggerRegistrationIfNecessary update updateAuthTokenRequest updateInstallationRequest updateOrCreateInstallationEntry waitUntilAuthTokenRequest waitUntilFidRegistration |
? |
variables | ? | Click to show 23 depsDATABASE_NAME DATABASE_VERSION ERROR_DESCRIPTION_MAP ERROR_FACTORY INSTALLATIONS_API_URL INSTALLATIONS_NAME INSTALLATIONS_NAME_INTERNAL INTERNAL_AUTH_VERSION INVALID_FID OBJECT_STORE_NAME PACKAGE_VERSION PENDING_TIMEOUT_MS SERVICE SERVICE_NAME TOKEN_EXPIRATION_BUFFER VALID_FID_PATTERN broadcastChannel dbPromise fidChangeCallbacks internalFactory name publicFactory version |
? |
External Dependencies
Module | Base (caed9c0) | Head (59c201b) | Diff |
---|---|---|---|
@firebase/util |
? | ErrorFactory FirebaseError |
? |
idb |
? | openDb |
? |
@firebase/app-exp |
? | _getProvider _registerComponent registerVersion |
? |
@firebase/component |
? | Component |
? |
getInstallations
Size
Type | Base (caed9c0) | Head (59c201b) | Diff |
---|---|---|---|
size | ? | 8.43 kB | ? (?) |
size_with_ext_deps | ? | 16.9 kB | ? (?) |
Dependencies
Type | Base (caed9c0) | Head (59c201b) | Diff |
---|---|---|---|
functions | ? | Click to show 50 depsbroadcastFidChange bufferToBase64UrlSafe callFidChangeCallbacks clearTimedOutRequest closeBroadcastChannel completeInstallationRegistration createInstallationRequest encode extractAppConfig extractAuthTokenInfoFromResponse fetchAuthTokenFromServer fidChanged generateAuthTokenRequest generateFid getAuthorizationHeader getBroadcastChannel getDbPromise getErrorFromResponse getExpiresInFromResponseExpiresIn getGenerateAuthTokenEndpoint getHeaders getHeadersWithAuth getId getInstallationEntry getInstallations getInstallationsEndpoint getKey getMissingValueError getToken hasAuthTokenRequestTimedOut hasInstallationRequestTimedOut isAuthTokenExpired isAuthTokenValid isEntryRegistered isServerError makeAuthTokenRequestInProgressEntry refreshAuthToken registerInstallation registerInstallations remove retryIfServerError set sleep triggerRegistrationIfNecessary update updateAuthTokenRequest updateInstallationRequest updateOrCreateInstallationEntry waitUntilAuthTokenRequest waitUntilFidRegistration |
? |
variables | ? | Click to show 23 depsDATABASE_NAME DATABASE_VERSION ERROR_DESCRIPTION_MAP ERROR_FACTORY INSTALLATIONS_API_URL INSTALLATIONS_NAME INSTALLATIONS_NAME_INTERNAL INTERNAL_AUTH_VERSION INVALID_FID OBJECT_STORE_NAME PACKAGE_VERSION PENDING_TIMEOUT_MS SERVICE SERVICE_NAME TOKEN_EXPIRATION_BUFFER VALID_FID_PATTERN broadcastChannel dbPromise fidChangeCallbacks internalFactory name publicFactory version |
? |
External Dependencies
Module | Base (caed9c0) | Head (59c201b) | Diff |
---|---|---|---|
@firebase/util |
? | ErrorFactory FirebaseError |
? |
idb |
? | openDb |
? |
@firebase/app-exp |
? | _getProvider _registerComponent registerVersion |
? |
@firebase/component |
? | Component |
? |
getToken
Size
Type | Base (caed9c0) | Head (59c201b) | Diff |
---|---|---|---|
size | ? | 8.35 kB | ? (?) |
size_with_ext_deps | ? | 16.8 kB | ? (?) |
Dependencies
Type | Base (caed9c0) | Head (59c201b) | Diff |
---|---|---|---|
functions | ? | Click to show 49 depsbroadcastFidChange bufferToBase64UrlSafe callFidChangeCallbacks clearTimedOutRequest closeBroadcastChannel completeInstallationRegistration createInstallationRequest encode extractAppConfig extractAuthTokenInfoFromResponse fetchAuthTokenFromServer fidChanged generateAuthTokenRequest generateFid getAuthorizationHeader getBroadcastChannel getDbPromise getErrorFromResponse getExpiresInFromResponseExpiresIn getGenerateAuthTokenEndpoint getHeaders getHeadersWithAuth getId getInstallationEntry getInstallationsEndpoint getKey getMissingValueError getToken hasAuthTokenRequestTimedOut hasInstallationRequestTimedOut isAuthTokenExpired isAuthTokenValid isEntryRegistered isServerError makeAuthTokenRequestInProgressEntry refreshAuthToken registerInstallation registerInstallations remove retryIfServerError set sleep triggerRegistrationIfNecessary update updateAuthTokenRequest updateInstallationRequest updateOrCreateInstallationEntry waitUntilAuthTokenRequest waitUntilFidRegistration |
? |
variables | ? | Click to show 23 depsDATABASE_NAME DATABASE_VERSION ERROR_DESCRIPTION_MAP ERROR_FACTORY INSTALLATIONS_API_URL INSTALLATIONS_NAME INSTALLATIONS_NAME_INTERNAL INTERNAL_AUTH_VERSION INVALID_FID OBJECT_STORE_NAME PACKAGE_VERSION PENDING_TIMEOUT_MS SERVICE SERVICE_NAME TOKEN_EXPIRATION_BUFFER VALID_FID_PATTERN broadcastChannel dbPromise fidChangeCallbacks internalFactory name publicFactory version |
? |
External Dependencies
Module | Base (caed9c0) | Head (59c201b) | Diff |
---|---|---|---|
@firebase/util |
? | ErrorFactory FirebaseError |
? |
idb |
? | openDb |
? |
@firebase/app-exp |
? | _getProvider _registerComponent registerVersion |
? |
@firebase/component |
? | Component |
? |
onIdChange
Size
Type | Base (caed9c0) | Head (59c201b) | Diff |
---|---|---|---|
size | ? | 8.60 kB | ? (?) |
size_with_ext_deps | ? | 17.0 kB | ? (?) |
Dependencies
Type | Base (caed9c0) | Head (59c201b) | Diff |
---|---|---|---|
functions | ? | Click to show 52 depsaddCallback broadcastFidChange bufferToBase64UrlSafe callFidChangeCallbacks clearTimedOutRequest closeBroadcastChannel completeInstallationRegistration createInstallationRequest encode extractAppConfig extractAuthTokenInfoFromResponse fetchAuthTokenFromServer fidChanged generateAuthTokenRequest generateFid getAuthorizationHeader getBroadcastChannel getDbPromise getErrorFromResponse getExpiresInFromResponseExpiresIn getGenerateAuthTokenEndpoint getHeaders getHeadersWithAuth getId getInstallationEntry getInstallationsEndpoint getKey getMissingValueError getToken hasAuthTokenRequestTimedOut hasInstallationRequestTimedOut isAuthTokenExpired isAuthTokenValid isEntryRegistered isServerError makeAuthTokenRequestInProgressEntry onIdChange refreshAuthToken registerInstallation registerInstallations remove removeCallback retryIfServerError set sleep triggerRegistrationIfNecessary update updateAuthTokenRequest updateInstallationRequest updateOrCreateInstallationEntry waitUntilAuthTokenRequest waitUntilFidRegistration |
? |
variables | ? | Click to show 23 depsDATABASE_NAME DATABASE_VERSION ERROR_DESCRIPTION_MAP ERROR_FACTORY INSTALLATIONS_API_URL INSTALLATIONS_NAME INSTALLATIONS_NAME_INTERNAL INTERNAL_AUTH_VERSION INVALID_FID OBJECT_STORE_NAME PACKAGE_VERSION PENDING_TIMEOUT_MS SERVICE SERVICE_NAME TOKEN_EXPIRATION_BUFFER VALID_FID_PATTERN broadcastChannel dbPromise fidChangeCallbacks internalFactory name publicFactory version |
? |
External Dependencies
Module | Base (caed9c0) | Head (59c201b) | Diff |
---|---|---|---|
@firebase/util |
? | ErrorFactory FirebaseError |
? |
idb |
? | openDb |
? |
@firebase/app-exp |
? | _getProvider _registerComponent registerVersion |
? |
@firebase/component |
? | Component |
? |
Test Logs
@@ -37,7 +37,13 @@ import { | |||
newSyncEngine, | |||
SyncEngine | |||
} from './sync_engine'; | |||
import { RemoteStore } from '../remote/remote_store'; | |||
import { | |||
fillWritePipeline, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove if this lint error is correct.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a lint error about a un-used import.
Binary Size ReportAffected SDKs
Test Logs |
This is purely mechanical change with no logic changes.
Goal is to make diff of #3568 smaller.