From 434aa8343fdcbb4d5002f934979913c099489bee Mon Sep 17 00:00:00 2001 From: altaf-creator Date: Sun, 16 Nov 2025 19:08:29 +0800 Subject: sdk, del --- .../esm/src/helpers/array-base64-translator.d.ts | 18 -------- .../dist/esm/src/helpers/externalizePayload.d.ts | 19 -------- .../dist/esm/src/helpers/extract-app-config.d.ts | 19 -------- .../dist/esm/src/helpers/is-console-message.d.ts | 18 -------- .../dist/esm/src/helpers/logToFirelog.d.ts | 30 ------------- .../messaging/dist/esm/src/helpers/logToScion.d.ts | 19 -------- .../dist/esm/src/helpers/migrate-old-database.d.ts | 51 ---------------------- .../messaging/dist/esm/src/helpers/register.d.ts | 23 ---------- .../dist/esm/src/helpers/registerDefaultSw.d.ts | 18 -------- .../messaging/dist/esm/src/helpers/sleep.d.ts | 18 -------- .../dist/esm/src/helpers/updateSwReg.d.ts | 18 -------- .../dist/esm/src/helpers/updateVapidKey.d.ts | 18 -------- 12 files changed, 269 deletions(-) delete mode 100644 frontend-old/node_modules/@firebase/messaging/dist/esm/src/helpers/array-base64-translator.d.ts delete mode 100644 frontend-old/node_modules/@firebase/messaging/dist/esm/src/helpers/externalizePayload.d.ts delete mode 100644 frontend-old/node_modules/@firebase/messaging/dist/esm/src/helpers/extract-app-config.d.ts delete mode 100644 frontend-old/node_modules/@firebase/messaging/dist/esm/src/helpers/is-console-message.d.ts delete mode 100644 frontend-old/node_modules/@firebase/messaging/dist/esm/src/helpers/logToFirelog.d.ts delete mode 100644 frontend-old/node_modules/@firebase/messaging/dist/esm/src/helpers/logToScion.d.ts delete mode 100644 frontend-old/node_modules/@firebase/messaging/dist/esm/src/helpers/migrate-old-database.d.ts delete mode 100644 frontend-old/node_modules/@firebase/messaging/dist/esm/src/helpers/register.d.ts delete mode 100644 frontend-old/node_modules/@firebase/messaging/dist/esm/src/helpers/registerDefaultSw.d.ts delete mode 100644 frontend-old/node_modules/@firebase/messaging/dist/esm/src/helpers/sleep.d.ts delete mode 100644 frontend-old/node_modules/@firebase/messaging/dist/esm/src/helpers/updateSwReg.d.ts delete mode 100644 frontend-old/node_modules/@firebase/messaging/dist/esm/src/helpers/updateVapidKey.d.ts (limited to 'frontend-old/node_modules/@firebase/messaging/dist/esm/src/helpers') diff --git a/frontend-old/node_modules/@firebase/messaging/dist/esm/src/helpers/array-base64-translator.d.ts b/frontend-old/node_modules/@firebase/messaging/dist/esm/src/helpers/array-base64-translator.d.ts deleted file mode 100644 index 27e3eab..0000000 --- a/frontend-old/node_modules/@firebase/messaging/dist/esm/src/helpers/array-base64-translator.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -/** - * @license - * Copyright 2017 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 declare function arrayToBase64(array: Uint8Array | ArrayBuffer): string; -export declare function base64ToArray(base64String: string): Uint8Array; diff --git a/frontend-old/node_modules/@firebase/messaging/dist/esm/src/helpers/externalizePayload.d.ts b/frontend-old/node_modules/@firebase/messaging/dist/esm/src/helpers/externalizePayload.d.ts deleted file mode 100644 index efc668b..0000000 --- a/frontend-old/node_modules/@firebase/messaging/dist/esm/src/helpers/externalizePayload.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -/** - * @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 { MessagePayload } from '../interfaces/public-types'; -import { MessagePayloadInternal } from '../interfaces/internal-message-payload'; -export declare function externalizePayload(internalPayload: MessagePayloadInternal): MessagePayload; diff --git a/frontend-old/node_modules/@firebase/messaging/dist/esm/src/helpers/extract-app-config.d.ts b/frontend-old/node_modules/@firebase/messaging/dist/esm/src/helpers/extract-app-config.d.ts deleted file mode 100644 index 306196f..0000000 --- a/frontend-old/node_modules/@firebase/messaging/dist/esm/src/helpers/extract-app-config.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -/** - * @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'; -import { AppConfig } from '../interfaces/app-config'; -export declare function extractAppConfig(app: FirebaseApp): AppConfig; diff --git a/frontend-old/node_modules/@firebase/messaging/dist/esm/src/helpers/is-console-message.d.ts b/frontend-old/node_modules/@firebase/messaging/dist/esm/src/helpers/is-console-message.d.ts deleted file mode 100644 index 3e53ab1..0000000 --- a/frontend-old/node_modules/@firebase/messaging/dist/esm/src/helpers/is-console-message.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -/** - * @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 { ConsoleMessageData } from '../interfaces/internal-message-payload'; -export declare function isConsoleMessage(data: unknown): data is ConsoleMessageData; diff --git a/frontend-old/node_modules/@firebase/messaging/dist/esm/src/helpers/logToFirelog.d.ts b/frontend-old/node_modules/@firebase/messaging/dist/esm/src/helpers/logToFirelog.d.ts deleted file mode 100644 index 64f04cc..0000000 --- a/frontend-old/node_modules/@firebase/messaging/dist/esm/src/helpers/logToFirelog.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * @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 { LogEvent, LogRequest } from '../interfaces/logging-types'; -import { MessagePayloadInternal } from '../interfaces/internal-message-payload'; -import { MessagingService } from '../messaging-service'; -export declare function startLoggingService(messaging: MessagingService): void; -/** - * - * @param messaging the messaging instance. - * @param offsetInMs this method execute after `offsetInMs` elapsed . - */ -export declare function _processQueue(messaging: MessagingService, offsetInMs: number): void; -export declare function _dispatchLogEvents(messaging: MessagingService): Promise; -export declare function stageLog(messaging: MessagingService, internalPayload: MessagePayloadInternal): Promise; -export declare function _createLogRequest(logEventQueue: LogEvent[]): LogRequest; -export declare function _mergeStrings(s1: string, s2: string): string; diff --git a/frontend-old/node_modules/@firebase/messaging/dist/esm/src/helpers/logToScion.d.ts b/frontend-old/node_modules/@firebase/messaging/dist/esm/src/helpers/logToScion.d.ts deleted file mode 100644 index 400d38c..0000000 --- a/frontend-old/node_modules/@firebase/messaging/dist/esm/src/helpers/logToScion.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -/** - * @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 { ConsoleMessageData, MessageType } from '../interfaces/internal-message-payload'; -import { MessagingService } from '../messaging-service'; -export declare function logToScion(messaging: MessagingService, messageType: MessageType, data: ConsoleMessageData): Promise; diff --git a/frontend-old/node_modules/@firebase/messaging/dist/esm/src/helpers/migrate-old-database.d.ts b/frontend-old/node_modules/@firebase/messaging/dist/esm/src/helpers/migrate-old-database.d.ts deleted file mode 100644 index f1e879b..0000000 --- a/frontend-old/node_modules/@firebase/messaging/dist/esm/src/helpers/migrate-old-database.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -/** - * @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 { TokenDetails } from '../interfaces/token-details'; -export interface V2TokenDetails { - fcmToken: string; - swScope: string; - vapidKey: string | Uint8Array; - subscription: PushSubscription; - fcmSenderId: string; - fcmPushSet: string; - createTime?: number; - endpoint?: string; - auth?: string; - p256dh?: string; -} -export interface V3TokenDetails { - fcmToken: string; - swScope: string; - vapidKey: Uint8Array; - fcmSenderId: string; - fcmPushSet: string; - endpoint: string; - auth: ArrayBuffer; - p256dh: ArrayBuffer; - createTime: number; -} -export interface V4TokenDetails { - fcmToken: string; - swScope: string; - vapidKey: Uint8Array; - fcmSenderId: string; - endpoint: string; - auth: ArrayBufferLike; - p256dh: ArrayBufferLike; - createTime: number; -} -export declare function migrateOldDatabase(senderId: string): Promise; diff --git a/frontend-old/node_modules/@firebase/messaging/dist/esm/src/helpers/register.d.ts b/frontend-old/node_modules/@firebase/messaging/dist/esm/src/helpers/register.d.ts deleted file mode 100644 index 0efe2cd..0000000 --- a/frontend-old/node_modules/@firebase/messaging/dist/esm/src/helpers/register.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -/** - * @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. - */ -export declare function registerMessagingInWindow(): void; -/** - * The messaging instance registered in sw is named differently than that of in client. This is - * because both `registerMessagingInWindow` and `registerMessagingInSw` would be called in - * `messaging-compat` and component with the same name can only be registered once. - */ -export declare function registerMessagingInSw(): void; diff --git a/frontend-old/node_modules/@firebase/messaging/dist/esm/src/helpers/registerDefaultSw.d.ts b/frontend-old/node_modules/@firebase/messaging/dist/esm/src/helpers/registerDefaultSw.d.ts deleted file mode 100644 index fe0618e..0000000 --- a/frontend-old/node_modules/@firebase/messaging/dist/esm/src/helpers/registerDefaultSw.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -/** - * @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 { MessagingService } from '../messaging-service'; -export declare function registerDefaultSw(messaging: MessagingService): Promise; diff --git a/frontend-old/node_modules/@firebase/messaging/dist/esm/src/helpers/sleep.d.ts b/frontend-old/node_modules/@firebase/messaging/dist/esm/src/helpers/sleep.d.ts deleted file mode 100644 index f51e6cd..0000000 --- a/frontend-old/node_modules/@firebase/messaging/dist/esm/src/helpers/sleep.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -/** - * @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. - */ -/** Returns a promise that resolves after given time passes. */ -export declare function sleep(ms: number): Promise; diff --git a/frontend-old/node_modules/@firebase/messaging/dist/esm/src/helpers/updateSwReg.d.ts b/frontend-old/node_modules/@firebase/messaging/dist/esm/src/helpers/updateSwReg.d.ts deleted file mode 100644 index 6e461e6..0000000 --- a/frontend-old/node_modules/@firebase/messaging/dist/esm/src/helpers/updateSwReg.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -/** - * @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 { MessagingService } from '../messaging-service'; -export declare function updateSwReg(messaging: MessagingService, swRegistration?: ServiceWorkerRegistration | undefined): Promise; diff --git a/frontend-old/node_modules/@firebase/messaging/dist/esm/src/helpers/updateVapidKey.d.ts b/frontend-old/node_modules/@firebase/messaging/dist/esm/src/helpers/updateVapidKey.d.ts deleted file mode 100644 index 293f9e6..0000000 --- a/frontend-old/node_modules/@firebase/messaging/dist/esm/src/helpers/updateVapidKey.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -/** - * @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 { MessagingService } from '../messaging-service'; -export declare function updateVapidKey(messaging: MessagingService, vapidKey?: string | undefined): Promise; -- cgit v1.2.3