@hot-updater/firebase 0.21.9 → 0.21.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -182,7 +182,7 @@ const firebaseDatabase = (config, hooks) => {
182
182
 
183
183
  //#endregion
184
184
  //#region src/firebaseStorage.ts
185
- const firebaseStorage = (config, hooks) => (_) => {
185
+ const firebaseStorage = (config, hooks) => () => {
186
186
  let app;
187
187
  try {
188
188
  app = firebase_admin.app();
package/dist/index.d.cts CHANGED
@@ -1,9 +1,9 @@
1
1
  import * as _hot_updater_plugin_core0 from "@hot-updater/plugin-core";
2
- import { BasePluginArgs, DatabasePluginHooks, StoragePlugin, StoragePluginHooks } from "@hot-updater/plugin-core";
2
+ import { DatabasePluginHooks, StoragePlugin, StoragePluginHooks } from "@hot-updater/plugin-core";
3
3
  import * as admin from "firebase-admin";
4
4
 
5
5
  //#region src/firebaseDatabase.d.ts
6
- declare const firebaseDatabase: (config: admin.AppOptions, hooks?: DatabasePluginHooks) => (options: _hot_updater_plugin_core0.BasePluginArgs) => _hot_updater_plugin_core0.DatabasePlugin;
6
+ declare const firebaseDatabase: (config: admin.AppOptions, hooks?: DatabasePluginHooks) => () => _hot_updater_plugin_core0.DatabasePlugin;
7
7
  //#endregion
8
8
  //#region src/firebaseStorage.d.ts
9
9
  interface FirebaseStorageConfig extends admin.AppOptions {
@@ -13,6 +13,6 @@ interface FirebaseStorageConfig extends admin.AppOptions {
13
13
  */
14
14
  basePath?: string;
15
15
  }
16
- declare const firebaseStorage: (config: FirebaseStorageConfig, hooks?: StoragePluginHooks) => (_: BasePluginArgs) => StoragePlugin;
16
+ declare const firebaseStorage: (config: FirebaseStorageConfig, hooks?: StoragePluginHooks) => () => StoragePlugin;
17
17
  //#endregion
18
18
  export { FirebaseStorageConfig, firebaseDatabase, firebaseStorage };
package/dist/index.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  import * as _hot_updater_plugin_core0 from "@hot-updater/plugin-core";
2
- import { BasePluginArgs, DatabasePluginHooks, StoragePlugin, StoragePluginHooks } from "@hot-updater/plugin-core";
2
+ import { DatabasePluginHooks, StoragePlugin, StoragePluginHooks } from "@hot-updater/plugin-core";
3
3
  import * as admin from "firebase-admin";
4
4
 
5
5
  //#region src/firebaseDatabase.d.ts
6
- declare const firebaseDatabase: (config: admin.AppOptions, hooks?: DatabasePluginHooks) => (options: _hot_updater_plugin_core0.BasePluginArgs) => _hot_updater_plugin_core0.DatabasePlugin;
6
+ declare const firebaseDatabase: (config: admin.AppOptions, hooks?: DatabasePluginHooks) => () => _hot_updater_plugin_core0.DatabasePlugin;
7
7
  //#endregion
8
8
  //#region src/firebaseStorage.d.ts
9
9
  interface FirebaseStorageConfig extends admin.AppOptions {
@@ -13,6 +13,6 @@ interface FirebaseStorageConfig extends admin.AppOptions {
13
13
  */
14
14
  basePath?: string;
15
15
  }
16
- declare const firebaseStorage: (config: FirebaseStorageConfig, hooks?: StoragePluginHooks) => (_: BasePluginArgs) => StoragePlugin;
16
+ declare const firebaseStorage: (config: FirebaseStorageConfig, hooks?: StoragePluginHooks) => () => StoragePlugin;
17
17
  //#endregion
18
18
  export { FirebaseStorageConfig, firebaseDatabase, firebaseStorage };
package/dist/index.js CHANGED
@@ -155,7 +155,7 @@ const firebaseDatabase = (config, hooks) => {
155
155
 
156
156
  //#endregion
157
157
  //#region src/firebaseStorage.ts
158
- const firebaseStorage = (config, hooks) => (_) => {
158
+ const firebaseStorage = (config, hooks) => () => {
159
159
  let app;
160
160
  try {
161
161
  app = admin.app();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hot-updater/firebase",
3
3
  "type": "module",
4
- "version": "0.21.9",
4
+ "version": "0.21.11",
5
5
  "description": "React Native OTA solution for self-hosted",
6
6
  "main": "dist/index.cjs",
7
7
  "types": "dist/index.d.ts",
@@ -35,9 +35,9 @@
35
35
  ],
36
36
  "dependencies": {
37
37
  "firebase": "^11.3.1",
38
- "@hot-updater/cli-tools": "0.21.9",
39
- "@hot-updater/core": "0.21.9",
40
- "@hot-updater/plugin-core": "0.21.9"
38
+ "@hot-updater/plugin-core": "0.21.11",
39
+ "@hot-updater/core": "0.21.11",
40
+ "@hot-updater/cli-tools": "0.21.11"
41
41
  },
42
42
  "publishConfig": {
43
43
  "access": "public"
@@ -53,8 +53,8 @@
53
53
  "fkill": "^9.0.0",
54
54
  "hono": "^4.6.3",
55
55
  "mime": "^4.0.4",
56
- "@hot-updater/test-utils": "0.21.9",
57
- "@hot-updater/js": "0.21.9"
56
+ "@hot-updater/test-utils": "0.21.11",
57
+ "@hot-updater/js": "0.21.11"
58
58
  },
59
59
  "peerDependencies": {
60
60
  "firebase-admin": "*"