@react-native-firebase/app 23.8.3 → 23.8.5

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.
Files changed (422) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/android/src/reactnative/java/io/invertase/firebase/app/ReactNativeFirebaseVersion.java +1 -1
  3. package/dist/module/internal/NativeFirebaseError.js +7 -7
  4. package/dist/module/internal/NativeFirebaseError.js.map +1 -1
  5. package/dist/module/version.js +1 -1
  6. package/dist/typescript/lib/FirebaseApp.d.ts.map +1 -0
  7. package/dist/typescript/lib/common/Base64.d.ts.map +1 -0
  8. package/dist/typescript/lib/common/MutatableParams.d.ts.map +1 -0
  9. package/dist/typescript/lib/common/ReferenceBase.d.ts.map +1 -0
  10. package/dist/typescript/lib/common/deeps.d.ts.map +1 -0
  11. package/dist/typescript/lib/common/id.d.ts.map +1 -0
  12. package/dist/typescript/lib/common/index.d.ts.map +1 -0
  13. package/dist/typescript/lib/common/path.d.ts.map +1 -0
  14. package/dist/typescript/lib/common/promise.d.ts.map +1 -0
  15. package/dist/typescript/lib/common/serialize.d.ts.map +1 -0
  16. package/dist/typescript/lib/common/unitTestUtils.d.ts.map +1 -0
  17. package/dist/typescript/lib/common/validate.d.ts.map +1 -0
  18. package/dist/typescript/lib/index.d.ts.map +1 -0
  19. package/dist/typescript/lib/internal/FirebaseModule.d.ts.map +1 -0
  20. package/dist/typescript/lib/internal/NativeFirebaseError.d.ts.map +1 -0
  21. package/dist/typescript/lib/internal/NativeModules.d.ts.map +1 -0
  22. package/dist/typescript/lib/internal/RNFBNativeEventEmitter.d.ts.map +1 -0
  23. package/dist/typescript/lib/internal/SharedEventEmitter.d.ts.map +1 -0
  24. package/dist/typescript/lib/internal/asyncStorage.d.ts.map +1 -0
  25. package/dist/typescript/lib/internal/constants.d.ts.map +1 -0
  26. package/dist/typescript/lib/internal/index.d.ts.map +1 -0
  27. package/dist/typescript/lib/internal/logger.d.ts.map +1 -0
  28. package/dist/typescript/lib/internal/nativeModule.android.d.ts.map +1 -0
  29. package/dist/typescript/lib/internal/nativeModule.d.ts.map +1 -0
  30. package/dist/typescript/lib/internal/nativeModule.ios.d.ts.map +1 -0
  31. package/dist/typescript/lib/internal/nativeModuleAndroidIos.d.ts.map +1 -0
  32. package/dist/typescript/lib/internal/nativeModuleWeb.d.ts.map +1 -0
  33. package/dist/typescript/lib/internal/nullSerialization.d.ts.map +1 -0
  34. package/dist/typescript/lib/internal/registry/app.d.ts.map +1 -0
  35. package/dist/typescript/lib/internal/registry/namespace.d.ts.map +1 -0
  36. package/dist/typescript/lib/internal/registry/nativeModule.d.ts.map +1 -0
  37. package/dist/typescript/lib/internal/web/RNFBAppModule.d.ts.map +1 -0
  38. package/dist/typescript/lib/internal/web/firebaseApp.d.ts.map +1 -0
  39. package/dist/typescript/lib/internal/web/firebaseAppCheck.d.ts.map +1 -0
  40. package/dist/typescript/lib/internal/web/firebaseAuth.d.ts.map +1 -0
  41. package/dist/typescript/lib/internal/web/firebaseDatabase.d.ts.map +1 -0
  42. package/dist/typescript/lib/internal/web/firebaseFirestore.d.ts.map +1 -0
  43. package/dist/typescript/lib/internal/web/firebaseFunctions.d.ts.map +1 -0
  44. package/dist/typescript/lib/internal/web/firebaseInstallations.d.ts.map +1 -0
  45. package/dist/typescript/lib/internal/web/firebaseRemoteConfig.d.ts.map +1 -0
  46. package/dist/typescript/lib/internal/web/firebaseStorage.d.ts.map +1 -0
  47. package/dist/typescript/lib/internal/web/utils.d.ts.map +1 -0
  48. package/dist/typescript/{commonjs/lib → lib}/modular.d.ts +1 -1
  49. package/dist/typescript/lib/modular.d.ts.map +1 -0
  50. package/dist/typescript/lib/namespaced.d.ts.map +1 -0
  51. package/dist/typescript/lib/types/app.d.ts.map +1 -0
  52. package/dist/typescript/{module/lib → lib}/types/internal.d.ts +1 -1
  53. package/dist/typescript/lib/types/internal.d.ts.map +1 -0
  54. package/dist/typescript/lib/utils/UtilsStatics.d.ts.map +1 -0
  55. package/dist/typescript/lib/utils/index.d.ts.map +1 -0
  56. package/dist/typescript/lib/version.d.ts +2 -0
  57. package/dist/typescript/lib/version.d.ts.map +1 -0
  58. package/ios/RNFBApp/RNFBVersion.m +1 -1
  59. package/lib/internal/NativeFirebaseError.ts +7 -7
  60. package/lib/types/internal.ts +1 -1
  61. package/lib/version.ts +1 -1
  62. package/package.json +20 -57
  63. package/dist/commonjs/FirebaseApp.js +0 -85
  64. package/dist/commonjs/FirebaseApp.js.map +0 -1
  65. package/dist/commonjs/common/Base64.js +0 -106
  66. package/dist/commonjs/common/Base64.js.map +0 -1
  67. package/dist/commonjs/common/MutatableParams.js +0 -50
  68. package/dist/commonjs/common/MutatableParams.js.map +0 -1
  69. package/dist/commonjs/common/ReferenceBase.js +0 -49
  70. package/dist/commonjs/common/ReferenceBase.js.map +0 -1
  71. package/dist/commonjs/common/deeps.js +0 -82
  72. package/dist/commonjs/common/deeps.js.map +0 -1
  73. package/dist/commonjs/common/id.js +0 -88
  74. package/dist/commonjs/common/id.js.map +0 -1
  75. package/dist/commonjs/common/index.js +0 -799
  76. package/dist/commonjs/common/index.js.map +0 -1
  77. package/dist/commonjs/common/path.js +0 -133
  78. package/dist/commonjs/common/path.js.map +0 -1
  79. package/dist/commonjs/common/promise.js +0 -65
  80. package/dist/commonjs/common/promise.js.map +0 -1
  81. package/dist/commonjs/common/serialize.js +0 -48
  82. package/dist/commonjs/common/serialize.js.map +0 -1
  83. package/dist/commonjs/common/unitTestUtils.js +0 -54
  84. package/dist/commonjs/common/unitTestUtils.js.map +0 -1
  85. package/dist/commonjs/common/validate.js +0 -236
  86. package/dist/commonjs/common/validate.js.map +0 -1
  87. package/dist/commonjs/index.js +0 -42
  88. package/dist/commonjs/index.js.map +0 -1
  89. package/dist/commonjs/internal/FirebaseModule.js +0 -63
  90. package/dist/commonjs/internal/FirebaseModule.js.map +0 -1
  91. package/dist/commonjs/internal/NativeFirebaseError.js +0 -92
  92. package/dist/commonjs/internal/NativeFirebaseError.js.map +0 -1
  93. package/dist/commonjs/internal/NativeModules.js +0 -6
  94. package/dist/commonjs/internal/NativeModules.js.map +0 -1
  95. package/dist/commonjs/internal/RNFBNativeEventEmitter.js +0 -118
  96. package/dist/commonjs/internal/RNFBNativeEventEmitter.js.map +0 -1
  97. package/dist/commonjs/internal/SharedEventEmitter.js +0 -26
  98. package/dist/commonjs/internal/SharedEventEmitter.js.map +0 -1
  99. package/dist/commonjs/internal/asyncStorage.js +0 -83
  100. package/dist/commonjs/internal/asyncStorage.js.map +0 -1
  101. package/dist/commonjs/internal/constants.js +0 -27
  102. package/dist/commonjs/internal/constants.js.map +0 -1
  103. package/dist/commonjs/internal/index.js +0 -109
  104. package/dist/commonjs/internal/index.js.map +0 -1
  105. package/dist/commonjs/internal/logger.js +0 -256
  106. package/dist/commonjs/internal/logger.js.map +0 -1
  107. package/dist/commonjs/internal/nativeModule.android.js +0 -19
  108. package/dist/commonjs/internal/nativeModule.android.js.map +0 -1
  109. package/dist/commonjs/internal/nativeModule.ios.js +0 -19
  110. package/dist/commonjs/internal/nativeModule.ios.js.map +0 -1
  111. package/dist/commonjs/internal/nativeModule.js +0 -19
  112. package/dist/commonjs/internal/nativeModule.js.map +0 -1
  113. package/dist/commonjs/internal/nativeModuleAndroidIos.js +0 -51
  114. package/dist/commonjs/internal/nativeModuleAndroidIos.js.map +0 -1
  115. package/dist/commonjs/internal/nativeModuleWeb.js +0 -52
  116. package/dist/commonjs/internal/nativeModuleWeb.js.map +0 -1
  117. package/dist/commonjs/internal/nullSerialization.js +0 -162
  118. package/dist/commonjs/internal/nullSerialization.js.map +0 -1
  119. package/dist/commonjs/internal/registry/app.js +0 -238
  120. package/dist/commonjs/internal/registry/app.js.map +0 -1
  121. package/dist/commonjs/internal/registry/namespace.js +0 -269
  122. package/dist/commonjs/internal/registry/namespace.js.map +0 -1
  123. package/dist/commonjs/internal/registry/nativeModule.js +0 -224
  124. package/dist/commonjs/internal/registry/nativeModule.js.map +0 -1
  125. package/dist/commonjs/internal/web/RNFBAppModule.js +0 -273
  126. package/dist/commonjs/internal/web/RNFBAppModule.js.map +0 -1
  127. package/dist/commonjs/internal/web/firebaseApp.js +0 -17
  128. package/dist/commonjs/internal/web/firebaseApp.js.map +0 -1
  129. package/dist/commonjs/internal/web/firebaseAppCheck.js +0 -36
  130. package/dist/commonjs/internal/web/firebaseAppCheck.js.map +0 -1
  131. package/dist/commonjs/internal/web/firebaseAuth.js +0 -28
  132. package/dist/commonjs/internal/web/firebaseAuth.js.map +0 -1
  133. package/dist/commonjs/internal/web/firebaseDatabase.js +0 -28
  134. package/dist/commonjs/internal/web/firebaseDatabase.js.map +0 -1
  135. package/dist/commonjs/internal/web/firebaseFirestore.js +0 -28
  136. package/dist/commonjs/internal/web/firebaseFirestore.js.map +0 -1
  137. package/dist/commonjs/internal/web/firebaseFunctions.js +0 -28
  138. package/dist/commonjs/internal/web/firebaseFunctions.js.map +0 -1
  139. package/dist/commonjs/internal/web/firebaseInstallations.js +0 -36
  140. package/dist/commonjs/internal/web/firebaseInstallations.js.map +0 -1
  141. package/dist/commonjs/internal/web/firebaseRemoteConfig.js +0 -36
  142. package/dist/commonjs/internal/web/firebaseRemoteConfig.js.map +0 -1
  143. package/dist/commonjs/internal/web/firebaseStorage.js +0 -28
  144. package/dist/commonjs/internal/web/firebaseStorage.js.map +0 -1
  145. package/dist/commonjs/internal/web/memidb/FDBCursor.js +0 -479
  146. package/dist/commonjs/internal/web/memidb/FDBCursor.js.map +0 -1
  147. package/dist/commonjs/internal/web/memidb/FDBCursorWithValue.js +0 -19
  148. package/dist/commonjs/internal/web/memidb/FDBCursorWithValue.js.map +0 -1
  149. package/dist/commonjs/internal/web/memidb/FDBDatabase.js +0 -163
  150. package/dist/commonjs/internal/web/memidb/FDBDatabase.js.map +0 -1
  151. package/dist/commonjs/internal/web/memidb/FDBFactory.js +0 -264
  152. package/dist/commonjs/internal/web/memidb/FDBFactory.js.map +0 -1
  153. package/dist/commonjs/internal/web/memidb/FDBIndex.js +0 -191
  154. package/dist/commonjs/internal/web/memidb/FDBIndex.js.map +0 -1
  155. package/dist/commonjs/internal/web/memidb/FDBKeyRange.js +0 -78
  156. package/dist/commonjs/internal/web/memidb/FDBKeyRange.js.map +0 -1
  157. package/dist/commonjs/internal/web/memidb/FDBObjectStore.js +0 -383
  158. package/dist/commonjs/internal/web/memidb/FDBObjectStore.js.map +0 -1
  159. package/dist/commonjs/internal/web/memidb/FDBOpenDBRequest.js +0 -17
  160. package/dist/commonjs/internal/web/memidb/FDBOpenDBRequest.js.map +0 -1
  161. package/dist/commonjs/internal/web/memidb/FDBRequest.js +0 -41
  162. package/dist/commonjs/internal/web/memidb/FDBRequest.js.map +0 -1
  163. package/dist/commonjs/internal/web/memidb/FDBTransaction.js +0 -221
  164. package/dist/commonjs/internal/web/memidb/FDBTransaction.js.map +0 -1
  165. package/dist/commonjs/internal/web/memidb/FDBVersionChangeEvent.js +0 -20
  166. package/dist/commonjs/internal/web/memidb/FDBVersionChangeEvent.js.map +0 -1
  167. package/dist/commonjs/internal/web/memidb/LICENSE +0 -208
  168. package/dist/commonjs/internal/web/memidb/index.js +0 -45
  169. package/dist/commonjs/internal/web/memidb/index.js.map +0 -1
  170. package/dist/commonjs/internal/web/memidb/lib/Database.js +0 -38
  171. package/dist/commonjs/internal/web/memidb/lib/Database.js.map +0 -1
  172. package/dist/commonjs/internal/web/memidb/lib/FakeDOMStringList.js +0 -78
  173. package/dist/commonjs/internal/web/memidb/lib/FakeDOMStringList.js.map +0 -1
  174. package/dist/commonjs/internal/web/memidb/lib/FakeEvent.js +0 -45
  175. package/dist/commonjs/internal/web/memidb/lib/FakeEvent.js.map +0 -1
  176. package/dist/commonjs/internal/web/memidb/lib/FakeEventTarget.js +0 -111
  177. package/dist/commonjs/internal/web/memidb/lib/FakeEventTarget.js.map +0 -1
  178. package/dist/commonjs/internal/web/memidb/lib/Index.js +0 -164
  179. package/dist/commonjs/internal/web/memidb/lib/Index.js.map +0 -1
  180. package/dist/commonjs/internal/web/memidb/lib/KeyGenerator.js +0 -29
  181. package/dist/commonjs/internal/web/memidb/lib/KeyGenerator.js.map +0 -1
  182. package/dist/commonjs/internal/web/memidb/lib/ObjectStore.js +0 -180
  183. package/dist/commonjs/internal/web/memidb/lib/ObjectStore.js.map +0 -1
  184. package/dist/commonjs/internal/web/memidb/lib/RecordStore.js +0 -141
  185. package/dist/commonjs/internal/web/memidb/lib/RecordStore.js.map +0 -1
  186. package/dist/commonjs/internal/web/memidb/lib/binarySearch.js +0 -86
  187. package/dist/commonjs/internal/web/memidb/lib/binarySearch.js.map +0 -1
  188. package/dist/commonjs/internal/web/memidb/lib/canInjectKey.js +0 -30
  189. package/dist/commonjs/internal/web/memidb/lib/canInjectKey.js.map +0 -1
  190. package/dist/commonjs/internal/web/memidb/lib/cmp.js +0 -85
  191. package/dist/commonjs/internal/web/memidb/lib/cmp.js.map +0 -1
  192. package/dist/commonjs/internal/web/memidb/lib/enforceRange.js +0 -20
  193. package/dist/commonjs/internal/web/memidb/lib/enforceRange.js.map +0 -1
  194. package/dist/commonjs/internal/web/memidb/lib/errors.js +0 -95
  195. package/dist/commonjs/internal/web/memidb/lib/errors.js.map +0 -1
  196. package/dist/commonjs/internal/web/memidb/lib/extractKey.js +0 -46
  197. package/dist/commonjs/internal/web/memidb/lib/extractKey.js.map +0 -1
  198. package/dist/commonjs/internal/web/memidb/lib/scheduling.js +0 -37
  199. package/dist/commonjs/internal/web/memidb/lib/scheduling.js.map +0 -1
  200. package/dist/commonjs/internal/web/memidb/lib/types.js +0 -6
  201. package/dist/commonjs/internal/web/memidb/lib/types.js.map +0 -1
  202. package/dist/commonjs/internal/web/memidb/lib/validateKeyPath.js +0 -51
  203. package/dist/commonjs/internal/web/memidb/lib/validateKeyPath.js.map +0 -1
  204. package/dist/commonjs/internal/web/memidb/lib/valueToKey.js +0 -62
  205. package/dist/commonjs/internal/web/memidb/lib/valueToKey.js.map +0 -1
  206. package/dist/commonjs/internal/web/memidb/lib/valueToKeyRange.js +0 -26
  207. package/dist/commonjs/internal/web/memidb/lib/valueToKeyRange.js.map +0 -1
  208. package/dist/commonjs/internal/web/structuredClone/index.js +0 -239
  209. package/dist/commonjs/internal/web/structuredClone/index.js.map +0 -1
  210. package/dist/commonjs/internal/web/utils.js +0 -59
  211. package/dist/commonjs/internal/web/utils.js.map +0 -1
  212. package/dist/commonjs/modular.js +0 -190
  213. package/dist/commonjs/modular.js.map +0 -1
  214. package/dist/commonjs/namespaced.js +0 -35
  215. package/dist/commonjs/namespaced.js.map +0 -1
  216. package/dist/commonjs/package.json +0 -1
  217. package/dist/commonjs/types/app.js +0 -139
  218. package/dist/commonjs/types/app.js.map +0 -1
  219. package/dist/commonjs/types/internal.js +0 -6
  220. package/dist/commonjs/types/internal.js.map +0 -1
  221. package/dist/commonjs/utils/UtilsStatics.js +0 -59
  222. package/dist/commonjs/utils/UtilsStatics.js.map +0 -1
  223. package/dist/commonjs/utils/index.js +0 -94
  224. package/dist/commonjs/utils/index.js.map +0 -1
  225. package/dist/commonjs/version.js +0 -9
  226. package/dist/commonjs/version.js.map +0 -1
  227. package/dist/typescript/commonjs/lib/FirebaseApp.d.ts.map +0 -1
  228. package/dist/typescript/commonjs/lib/common/Base64.d.ts.map +0 -1
  229. package/dist/typescript/commonjs/lib/common/MutatableParams.d.ts.map +0 -1
  230. package/dist/typescript/commonjs/lib/common/ReferenceBase.d.ts.map +0 -1
  231. package/dist/typescript/commonjs/lib/common/deeps.d.ts.map +0 -1
  232. package/dist/typescript/commonjs/lib/common/id.d.ts.map +0 -1
  233. package/dist/typescript/commonjs/lib/common/index.d.ts.map +0 -1
  234. package/dist/typescript/commonjs/lib/common/path.d.ts.map +0 -1
  235. package/dist/typescript/commonjs/lib/common/promise.d.ts.map +0 -1
  236. package/dist/typescript/commonjs/lib/common/serialize.d.ts.map +0 -1
  237. package/dist/typescript/commonjs/lib/common/unitTestUtils.d.ts.map +0 -1
  238. package/dist/typescript/commonjs/lib/common/validate.d.ts.map +0 -1
  239. package/dist/typescript/commonjs/lib/index.d.ts.map +0 -1
  240. package/dist/typescript/commonjs/lib/internal/FirebaseModule.d.ts.map +0 -1
  241. package/dist/typescript/commonjs/lib/internal/NativeFirebaseError.d.ts.map +0 -1
  242. package/dist/typescript/commonjs/lib/internal/NativeModules.d.ts.map +0 -1
  243. package/dist/typescript/commonjs/lib/internal/RNFBNativeEventEmitter.d.ts.map +0 -1
  244. package/dist/typescript/commonjs/lib/internal/SharedEventEmitter.d.ts.map +0 -1
  245. package/dist/typescript/commonjs/lib/internal/asyncStorage.d.ts.map +0 -1
  246. package/dist/typescript/commonjs/lib/internal/constants.d.ts.map +0 -1
  247. package/dist/typescript/commonjs/lib/internal/index.d.ts.map +0 -1
  248. package/dist/typescript/commonjs/lib/internal/logger.d.ts.map +0 -1
  249. package/dist/typescript/commonjs/lib/internal/nativeModule.android.d.ts.map +0 -1
  250. package/dist/typescript/commonjs/lib/internal/nativeModule.d.ts.map +0 -1
  251. package/dist/typescript/commonjs/lib/internal/nativeModule.ios.d.ts.map +0 -1
  252. package/dist/typescript/commonjs/lib/internal/nativeModuleAndroidIos.d.ts.map +0 -1
  253. package/dist/typescript/commonjs/lib/internal/nativeModuleWeb.d.ts.map +0 -1
  254. package/dist/typescript/commonjs/lib/internal/nullSerialization.d.ts.map +0 -1
  255. package/dist/typescript/commonjs/lib/internal/registry/app.d.ts.map +0 -1
  256. package/dist/typescript/commonjs/lib/internal/registry/namespace.d.ts.map +0 -1
  257. package/dist/typescript/commonjs/lib/internal/registry/nativeModule.d.ts.map +0 -1
  258. package/dist/typescript/commonjs/lib/internal/web/RNFBAppModule.d.ts.map +0 -1
  259. package/dist/typescript/commonjs/lib/internal/web/firebaseApp.d.ts.map +0 -1
  260. package/dist/typescript/commonjs/lib/internal/web/firebaseAppCheck.d.ts.map +0 -1
  261. package/dist/typescript/commonjs/lib/internal/web/firebaseAuth.d.ts.map +0 -1
  262. package/dist/typescript/commonjs/lib/internal/web/firebaseDatabase.d.ts.map +0 -1
  263. package/dist/typescript/commonjs/lib/internal/web/firebaseFirestore.d.ts.map +0 -1
  264. package/dist/typescript/commonjs/lib/internal/web/firebaseFunctions.d.ts.map +0 -1
  265. package/dist/typescript/commonjs/lib/internal/web/firebaseInstallations.d.ts.map +0 -1
  266. package/dist/typescript/commonjs/lib/internal/web/firebaseRemoteConfig.d.ts.map +0 -1
  267. package/dist/typescript/commonjs/lib/internal/web/firebaseStorage.d.ts.map +0 -1
  268. package/dist/typescript/commonjs/lib/internal/web/utils.d.ts.map +0 -1
  269. package/dist/typescript/commonjs/lib/modular.d.ts.map +0 -1
  270. package/dist/typescript/commonjs/lib/namespaced.d.ts.map +0 -1
  271. package/dist/typescript/commonjs/lib/types/app.d.ts.map +0 -1
  272. package/dist/typescript/commonjs/lib/types/internal.d.ts +0 -101
  273. package/dist/typescript/commonjs/lib/types/internal.d.ts.map +0 -1
  274. package/dist/typescript/commonjs/lib/utils/UtilsStatics.d.ts.map +0 -1
  275. package/dist/typescript/commonjs/lib/utils/index.d.ts.map +0 -1
  276. package/dist/typescript/commonjs/lib/version.d.ts +0 -2
  277. package/dist/typescript/commonjs/lib/version.d.ts.map +0 -1
  278. package/dist/typescript/commonjs/package.json +0 -1
  279. package/dist/typescript/module/lib/FirebaseApp.d.ts +0 -21
  280. package/dist/typescript/module/lib/FirebaseApp.d.ts.map +0 -1
  281. package/dist/typescript/module/lib/common/Base64.d.ts +0 -23
  282. package/dist/typescript/module/lib/common/Base64.d.ts.map +0 -1
  283. package/dist/typescript/module/lib/common/MutatableParams.d.ts +0 -10
  284. package/dist/typescript/module/lib/common/MutatableParams.d.ts.map +0 -1
  285. package/dist/typescript/module/lib/common/ReferenceBase.d.ts +0 -12
  286. package/dist/typescript/module/lib/common/ReferenceBase.d.ts.map +0 -1
  287. package/dist/typescript/module/lib/common/deeps.d.ts +0 -19
  288. package/dist/typescript/module/lib/common/deeps.d.ts.map +0 -1
  289. package/dist/typescript/module/lib/common/id.d.ts +0 -12
  290. package/dist/typescript/module/lib/common/id.d.ts.map +0 -1
  291. package/dist/typescript/module/lib/common/index.d.ts +0 -33
  292. package/dist/typescript/module/lib/common/index.d.ts.map +0 -1
  293. package/dist/typescript/module/lib/common/path.d.ts +0 -51
  294. package/dist/typescript/module/lib/common/path.d.ts.map +0 -1
  295. package/dist/typescript/module/lib/common/promise.d.ts +0 -12
  296. package/dist/typescript/module/lib/common/promise.d.ts.map +0 -1
  297. package/dist/typescript/module/lib/common/serialize.d.ts +0 -4
  298. package/dist/typescript/module/lib/common/serialize.d.ts.map +0 -1
  299. package/dist/typescript/module/lib/common/unitTestUtils.d.ts +0 -4
  300. package/dist/typescript/module/lib/common/unitTestUtils.d.ts.map +0 -1
  301. package/dist/typescript/module/lib/common/validate.d.ts +0 -100
  302. package/dist/typescript/module/lib/common/validate.d.ts.map +0 -1
  303. package/dist/typescript/module/lib/index.d.ts +0 -4
  304. package/dist/typescript/module/lib/index.d.ts.map +0 -1
  305. package/dist/typescript/module/lib/internal/FirebaseModule.d.ts +0 -17
  306. package/dist/typescript/module/lib/internal/FirebaseModule.d.ts.map +0 -1
  307. package/dist/typescript/module/lib/internal/NativeFirebaseError.d.ts +0 -20
  308. package/dist/typescript/module/lib/internal/NativeFirebaseError.d.ts.map +0 -1
  309. package/dist/typescript/module/lib/internal/NativeModules.d.ts +0 -83
  310. package/dist/typescript/module/lib/internal/NativeModules.d.ts.map +0 -1
  311. package/dist/typescript/module/lib/internal/RNFBNativeEventEmitter.d.ts +0 -13
  312. package/dist/typescript/module/lib/internal/RNFBNativeEventEmitter.d.ts.map +0 -1
  313. package/dist/typescript/module/lib/internal/SharedEventEmitter.d.ts +0 -4
  314. package/dist/typescript/module/lib/internal/SharedEventEmitter.d.ts.map +0 -1
  315. package/dist/typescript/module/lib/internal/asyncStorage.d.ts +0 -10
  316. package/dist/typescript/module/lib/internal/asyncStorage.d.ts.map +0 -1
  317. package/dist/typescript/module/lib/internal/constants.d.ts +0 -5
  318. package/dist/typescript/module/lib/internal/constants.d.ts.map +0 -1
  319. package/dist/typescript/module/lib/internal/index.d.ts +0 -12
  320. package/dist/typescript/module/lib/internal/index.d.ts.map +0 -1
  321. package/dist/typescript/module/lib/internal/logger.d.ts +0 -83
  322. package/dist/typescript/module/lib/internal/logger.d.ts.map +0 -1
  323. package/dist/typescript/module/lib/internal/nativeModule.android.d.ts +0 -3
  324. package/dist/typescript/module/lib/internal/nativeModule.android.d.ts.map +0 -1
  325. package/dist/typescript/module/lib/internal/nativeModule.d.ts +0 -3
  326. package/dist/typescript/module/lib/internal/nativeModule.d.ts.map +0 -1
  327. package/dist/typescript/module/lib/internal/nativeModule.ios.d.ts +0 -3
  328. package/dist/typescript/module/lib/internal/nativeModule.ios.d.ts.map +0 -1
  329. package/dist/typescript/module/lib/internal/nativeModuleAndroidIos.d.ts +0 -10
  330. package/dist/typescript/module/lib/internal/nativeModuleAndroidIos.d.ts.map +0 -1
  331. package/dist/typescript/module/lib/internal/nativeModuleWeb.d.ts +0 -3
  332. package/dist/typescript/module/lib/internal/nativeModuleWeb.d.ts.map +0 -1
  333. package/dist/typescript/module/lib/internal/nullSerialization.d.ts +0 -16
  334. package/dist/typescript/module/lib/internal/nullSerialization.d.ts.map +0 -1
  335. package/dist/typescript/module/lib/internal/registry/app.d.ts +0 -47
  336. package/dist/typescript/module/lib/internal/registry/app.d.ts.map +0 -1
  337. package/dist/typescript/module/lib/internal/registry/namespace.d.ts +0 -26
  338. package/dist/typescript/module/lib/internal/registry/namespace.d.ts.map +0 -1
  339. package/dist/typescript/module/lib/internal/registry/nativeModule.d.ts +0 -17
  340. package/dist/typescript/module/lib/internal/registry/nativeModule.d.ts.map +0 -1
  341. package/dist/typescript/module/lib/internal/web/RNFBAppModule.d.ts +0 -139
  342. package/dist/typescript/module/lib/internal/web/RNFBAppModule.d.ts.map +0 -1
  343. package/dist/typescript/module/lib/internal/web/firebaseApp.d.ts +0 -2
  344. package/dist/typescript/module/lib/internal/web/firebaseApp.d.ts.map +0 -1
  345. package/dist/typescript/module/lib/internal/web/firebaseAppCheck.d.ts +0 -5
  346. package/dist/typescript/module/lib/internal/web/firebaseAppCheck.d.ts.map +0 -1
  347. package/dist/typescript/module/lib/internal/web/firebaseAuth.d.ts +0 -3
  348. package/dist/typescript/module/lib/internal/web/firebaseAuth.d.ts.map +0 -1
  349. package/dist/typescript/module/lib/internal/web/firebaseDatabase.d.ts +0 -3
  350. package/dist/typescript/module/lib/internal/web/firebaseDatabase.d.ts.map +0 -1
  351. package/dist/typescript/module/lib/internal/web/firebaseFirestore.d.ts +0 -3
  352. package/dist/typescript/module/lib/internal/web/firebaseFirestore.d.ts.map +0 -1
  353. package/dist/typescript/module/lib/internal/web/firebaseFunctions.d.ts +0 -3
  354. package/dist/typescript/module/lib/internal/web/firebaseFunctions.d.ts.map +0 -1
  355. package/dist/typescript/module/lib/internal/web/firebaseInstallations.d.ts +0 -5
  356. package/dist/typescript/module/lib/internal/web/firebaseInstallations.d.ts.map +0 -1
  357. package/dist/typescript/module/lib/internal/web/firebaseRemoteConfig.d.ts +0 -5
  358. package/dist/typescript/module/lib/internal/web/firebaseRemoteConfig.d.ts.map +0 -1
  359. package/dist/typescript/module/lib/internal/web/firebaseStorage.d.ts +0 -3
  360. package/dist/typescript/module/lib/internal/web/firebaseStorage.d.ts.map +0 -1
  361. package/dist/typescript/module/lib/internal/web/utils.d.ts +0 -13
  362. package/dist/typescript/module/lib/internal/web/utils.d.ts.map +0 -1
  363. package/dist/typescript/module/lib/modular.d.ts +0 -95
  364. package/dist/typescript/module/lib/modular.d.ts.map +0 -1
  365. package/dist/typescript/module/lib/namespaced.d.ts +0 -5
  366. package/dist/typescript/module/lib/namespaced.d.ts.map +0 -1
  367. package/dist/typescript/module/lib/types/app.d.ts +0 -561
  368. package/dist/typescript/module/lib/types/app.d.ts.map +0 -1
  369. package/dist/typescript/module/lib/types/internal.d.ts.map +0 -1
  370. package/dist/typescript/module/lib/utils/UtilsStatics.d.ts +0 -4
  371. package/dist/typescript/module/lib/utils/UtilsStatics.d.ts.map +0 -1
  372. package/dist/typescript/module/lib/utils/index.d.ts +0 -4
  373. package/dist/typescript/module/lib/utils/index.d.ts.map +0 -1
  374. package/dist/typescript/module/lib/version.d.ts +0 -2
  375. package/dist/typescript/module/lib/version.d.ts.map +0 -1
  376. /package/dist/typescript/{commonjs/lib → lib}/FirebaseApp.d.ts +0 -0
  377. /package/dist/typescript/{commonjs/lib → lib}/common/Base64.d.ts +0 -0
  378. /package/dist/typescript/{commonjs/lib → lib}/common/MutatableParams.d.ts +0 -0
  379. /package/dist/typescript/{commonjs/lib → lib}/common/ReferenceBase.d.ts +0 -0
  380. /package/dist/typescript/{commonjs/lib → lib}/common/deeps.d.ts +0 -0
  381. /package/dist/typescript/{commonjs/lib → lib}/common/id.d.ts +0 -0
  382. /package/dist/typescript/{commonjs/lib → lib}/common/index.d.ts +0 -0
  383. /package/dist/typescript/{commonjs/lib → lib}/common/path.d.ts +0 -0
  384. /package/dist/typescript/{commonjs/lib → lib}/common/promise.d.ts +0 -0
  385. /package/dist/typescript/{commonjs/lib → lib}/common/serialize.d.ts +0 -0
  386. /package/dist/typescript/{commonjs/lib → lib}/common/unitTestUtils.d.ts +0 -0
  387. /package/dist/typescript/{commonjs/lib → lib}/common/validate.d.ts +0 -0
  388. /package/dist/typescript/{commonjs/lib → lib}/index.d.ts +0 -0
  389. /package/dist/typescript/{commonjs/lib → lib}/internal/FirebaseModule.d.ts +0 -0
  390. /package/dist/typescript/{commonjs/lib → lib}/internal/NativeFirebaseError.d.ts +0 -0
  391. /package/dist/typescript/{commonjs/lib → lib}/internal/NativeModules.d.ts +0 -0
  392. /package/dist/typescript/{commonjs/lib → lib}/internal/RNFBNativeEventEmitter.d.ts +0 -0
  393. /package/dist/typescript/{commonjs/lib → lib}/internal/SharedEventEmitter.d.ts +0 -0
  394. /package/dist/typescript/{commonjs/lib → lib}/internal/asyncStorage.d.ts +0 -0
  395. /package/dist/typescript/{commonjs/lib → lib}/internal/constants.d.ts +0 -0
  396. /package/dist/typescript/{commonjs/lib → lib}/internal/index.d.ts +0 -0
  397. /package/dist/typescript/{commonjs/lib → lib}/internal/logger.d.ts +0 -0
  398. /package/dist/typescript/{commonjs/lib → lib}/internal/nativeModule.android.d.ts +0 -0
  399. /package/dist/typescript/{commonjs/lib → lib}/internal/nativeModule.d.ts +0 -0
  400. /package/dist/typescript/{commonjs/lib → lib}/internal/nativeModule.ios.d.ts +0 -0
  401. /package/dist/typescript/{commonjs/lib → lib}/internal/nativeModuleAndroidIos.d.ts +0 -0
  402. /package/dist/typescript/{commonjs/lib → lib}/internal/nativeModuleWeb.d.ts +0 -0
  403. /package/dist/typescript/{commonjs/lib → lib}/internal/nullSerialization.d.ts +0 -0
  404. /package/dist/typescript/{commonjs/lib → lib}/internal/registry/app.d.ts +0 -0
  405. /package/dist/typescript/{commonjs/lib → lib}/internal/registry/namespace.d.ts +0 -0
  406. /package/dist/typescript/{commonjs/lib → lib}/internal/registry/nativeModule.d.ts +0 -0
  407. /package/dist/typescript/{commonjs/lib → lib}/internal/web/RNFBAppModule.d.ts +0 -0
  408. /package/dist/typescript/{commonjs/lib → lib}/internal/web/firebaseApp.d.ts +0 -0
  409. /package/dist/typescript/{commonjs/lib → lib}/internal/web/firebaseAppCheck.d.ts +0 -0
  410. /package/dist/typescript/{commonjs/lib → lib}/internal/web/firebaseAuth.d.ts +0 -0
  411. /package/dist/typescript/{commonjs/lib → lib}/internal/web/firebaseDatabase.d.ts +0 -0
  412. /package/dist/typescript/{commonjs/lib → lib}/internal/web/firebaseFirestore.d.ts +0 -0
  413. /package/dist/typescript/{commonjs/lib → lib}/internal/web/firebaseFunctions.d.ts +0 -0
  414. /package/dist/typescript/{commonjs/lib → lib}/internal/web/firebaseInstallations.d.ts +0 -0
  415. /package/dist/typescript/{commonjs/lib → lib}/internal/web/firebaseRemoteConfig.d.ts +0 -0
  416. /package/dist/typescript/{commonjs/lib → lib}/internal/web/firebaseStorage.d.ts +0 -0
  417. /package/dist/typescript/{commonjs/lib → lib}/internal/web/utils.d.ts +0 -0
  418. /package/dist/typescript/{commonjs/lib → lib}/namespaced.d.ts +0 -0
  419. /package/dist/typescript/{commonjs/lib → lib}/types/app.d.ts +0 -0
  420. /package/dist/typescript/{commonjs/lib → lib}/utils/UtilsStatics.d.ts +0 -0
  421. /package/dist/typescript/{commonjs/lib → lib}/utils/index.d.ts +0 -0
  422. /package/dist/typescript/{module/package.json → package.json} +0 -0
@@ -1,85 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _index = require("./common/index.js");
8
- var _nativeModule = require("./internal/registry/nativeModule.js");
9
- /*
10
- * Copyright (c) 2016-present Invertase Limited & Contributors
11
- *
12
- * Licensed under the Apache License, Version 2.0 (the "License");
13
- * you may not use this library except in compliance with the License.
14
- * You may obtain a copy of the License at
15
- *
16
- * http://www.apache.org/licenses/LICENSE-2.0
17
- *
18
- * Unless required by applicable law or agreed to in writing, software
19
- * distributed under the License is distributed on an "AS IS" BASIS,
20
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21
- * See the License for the specific language governing permissions and
22
- * limitations under the License.
23
- *
24
- */
25
-
26
- class FirebaseApp {
27
- constructor(options, appConfig, fromNative, deleteApp) {
28
- const {
29
- name = '[DEFAULT]',
30
- automaticDataCollectionEnabled
31
- } = appConfig;
32
- this._name = name;
33
- this._deleted = false;
34
- this._deleteApp = deleteApp;
35
- this._options = Object.assign({}, options);
36
- this._automaticDataCollectionEnabled = !!automaticDataCollectionEnabled;
37
- if (fromNative) {
38
- this._initialized = true;
39
- this._nativeInitialized = true;
40
- } else {
41
- this._initialized = false;
42
- this._nativeInitialized = false;
43
- }
44
- }
45
- get name() {
46
- return this._name;
47
- }
48
- get options() {
49
- return Object.assign({}, this._options);
50
- }
51
- get automaticDataCollectionEnabled() {
52
- return this._automaticDataCollectionEnabled;
53
- }
54
- set automaticDataCollectionEnabled(enabled) {
55
- this._checkDestroyed();
56
- (0, _nativeModule.getAppModule)().setAutomaticDataCollectionEnabled(this.name, enabled);
57
- this._automaticDataCollectionEnabled = enabled;
58
- }
59
- _checkDestroyed() {
60
- if (this._deleted) {
61
- throw new Error(`Firebase App named '${this._name}' already deleted`);
62
- }
63
- }
64
- extendApp(extendedProps) {
65
- (0, _index.warnIfNotModularCall)(arguments);
66
- this._checkDestroyed();
67
- Object.assign(this, extendedProps);
68
- }
69
- delete() {
70
- (0, _index.warnIfNotModularCall)(arguments, 'deleteApp()');
71
- this._checkDestroyed();
72
- return this._deleteApp();
73
- }
74
- toString() {
75
- (0, _index.warnIfNotModularCall)(arguments, '.name property');
76
- return this.name;
77
- }
78
-
79
- // For backward compatibility - utils method added by registry
80
- utils() {
81
- throw new Error('utils() should be added by registry');
82
- }
83
- }
84
- exports.default = FirebaseApp;
85
- //# sourceMappingURL=FirebaseApp.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_index","require","_nativeModule","FirebaseApp","constructor","options","appConfig","fromNative","deleteApp","name","automaticDataCollectionEnabled","_name","_deleted","_deleteApp","_options","Object","assign","_automaticDataCollectionEnabled","_initialized","_nativeInitialized","enabled","_checkDestroyed","getAppModule","setAutomaticDataCollectionEnabled","Error","extendApp","extendedProps","warnIfNotModularCall","arguments","delete","toString","utils","exports","default"],"sourceRoot":"../../lib","sources":["FirebaseApp.ts"],"mappings":";;;;;;AAgBA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,aAAA,GAAAD,OAAA;AAjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAKe,MAAME,WAAW,CAAgD;EAS9EC,WAAWA,CACTC,OAA+C,EAC/CC,SAAgD,EAChDC,UAAmB,EACnBC,SAA8B,EAC9B;IACA,MAAM;MAAEC,IAAI,GAAG,WAAW;MAAEC;IAA+B,CAAC,GAAGJ,SAAS;IAExE,IAAI,CAACK,KAAK,GA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EAEAG,MAAMA,CAAA,EAAkB;IACtB,IAAAF,2BAAoB,EAACC,SAAS,EAAE,aAAa,CAAC;IAC9C,IAAI,CAACP,eAAe,CAAC,CAAC;IACtB,OAAO,IAAI,CAACR,UAAU,CAAC,CAAC;EAC1B;EAEAiB,QAAQA,CAAA,EAAW;IACjB,IAAAH,2BAAoB,EAACC,SAAS,EAAE,gBAAgB,CAAC;IACjD,OAAO,IAAI,CAACnB,IAAI;EAClB;;EAEA;EACAsB,KAAKA,CAAA,EAAiB;IACpB,MAAM,IAAIP,KAAK,CAAC,qCAAqC,CAAC;EACxD;AACF;AAACQ,OAAA,CAAAC,OAAA,GAAA9B,WAAA","ignoreList":[]}
@@ -1,106 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _binaryToBase = _interopRequireDefault(require("react-native/Libraries/Utilities/binaryToBase64"));
8
- var _promise = require("./promise.js");
9
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
10
- /*
11
- * Copyright (c) 2016-present Invertase Limited & Contributors
12
- *
13
- * Licensed under the Apache License, Version 2.0 (the "License");
14
- * you may not use this library except in compliance with the License.
15
- * You may obtain a copy of the License at
16
- *
17
- * http://www.apache.org/licenses/LICENSE-2.0
18
- *
19
- * Unless required by applicable law or agreed to in writing, software
20
- * distributed under the License is distributed on an "AS IS" BASIS,
21
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22
- * See the License for the specific language governing permissions and
23
- * limitations under the License.
24
- *
25
- */
26
-
27
- // @ts-expect-error - No type declarations available
28
-
29
- const CHARS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
30
-
31
- /**
32
- * window.btoa
33
- */
34
- function btoa(input) {
35
- let map;
36
- let i = 0;
37
- let block = 0;
38
- let output = '';
39
- for (block = 0, i = 0, map = CHARS; input.charAt(i | 0) || (map = '=', i % 1); output += map.charAt(63 & block >> 8 - i % 1 * 8)) {
40
- const charCode = input.charCodeAt(i += 3 / 4);
41
- if (charCode > 0xff) {
42
- throw new Error("'RNFirebase.Base64.btoa' failed: The string to be encoded contains characters outside of the Latin1 range.");
43
- }
44
- block = block << 8 | charCode;
45
- }
46
- return output;
47
- }
48
-
49
- /**
50
- * window.atob
51
- */
52
- function atob(input) {
53
- let i = 0;
54
- let bc = 0;
55
- let bs = 0;
56
- let buffer;
57
- let output = '';
58
- const str = input.replace(/[=]+$/, '');
59
- if (str.length % 4 === 1) {
60
- throw new Error("'RNFirebase.Base64.atob' failed: The string to be decoded is not correctly encoded.");
61
- }
62
- for (bc = 0, bs = 0, i = 0; buffer = str.charAt(i++); ~buffer && (bs = bc % 4 ? bs * 64 + buffer : buffer, bc++ % 4) ? output += String.fromCharCode(255 & bs >> (-2 * bc & 6)) : 0) {
63
- buffer = CHARS.indexOf(buffer);
64
- }
65
- return output;
66
- }
67
- /**
68
- * Converts a Blob, ArrayBuffer or Uint8Array to a base64 string.
69
- */
70
- function fromData(data) {
71
- if (data instanceof Blob) {
72
- const fileReader = new FileReader();
73
- const {
74
- resolve,
75
- reject,
76
- promise
77
- } = (0, _promise.promiseDefer)();
78
- fileReader.readAsDataURL(data);
79
- fileReader.onloadend = () => {
80
- if (fileReader?.result) {
81
- resolve?.({
82
- string: fileReader.result,
83
- format: 'data_url'
84
- });
85
- }
86
- };
87
- fileReader.onerror = event => {
88
- fileReader?.abort();
89
- reject?.(event);
90
- };
91
- return promise;
92
- }
93
- if (data instanceof ArrayBuffer || data instanceof Uint8Array) {
94
- return Promise.resolve({
95
- string: (0, _binaryToBase.default)(data),
96
- format: 'base64'
97
- });
98
- }
99
- throw new Error("'RNFirebase.Base64.fromData' failed: Unknown data type.");
100
- }
101
- var _default = exports.default = {
102
- btoa,
103
- atob,
104
- fromData
105
- };
106
- //# sourceMappingURL=Base64.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_binaryToBase","_interopRequireDefault","require","_promise","e","__esModule","default","CHARS","btoa","input","map","i","block","output","charAt","charCode","charCodeAt","Error","atob","bc","bs","buffer","str","replace","length","String","fromCharCode","indexOf","fromData","data","Blob","fileReader","FileReader","resolve","reject","promise","promiseDefer","readAsDataURL","onloadend","result","string","format","onerror","event","abort","ArrayBuffer","Uint8Array","Promise","binaryToBase64","_default","exports"],"sourceRoot":"../../../lib","sources":["common/Base64.ts"],"mappings":";;;;;;AAkBA,IAAAA,aAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,QAAA,GAAAD,OAAA;AAAyC,SAAAD,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAnBzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAIA,MAAMG,KAAK,GAAG,mEAAmE;;AAEjF;AACA;AACA;AACA,SAASC,IAAIA,CAACC,KAAa,EAAU;EACnC,IAAIC,GAAG;EACP,IAAIC,CAAC,GAAG,CAAC;EACT,IAAIC,KAAK,GAAG,CAAC;EACb,IAAIC,MAAM,GAAG,EAAE;EAEf,KACED,KAAK,GAAG,CAAC,EAAED,CAAC,GAAG,CAAC,EAAED,GAAG,GAAGH,KAAK,EAC7BE,KAAK,CAACK,MAAM,CAACH,CAAC,GAAG,CAAC,CAAC,KAAMD,GAAG,GAAG,GAAG,EAAGC,CAAC,GAAG,CAAC,CAAC,EAC3CE,MAAM,IAAIH,GAAG,CAACI,MAAM,CAAC,EAAE,GAAIF,KAAK,IAAK,CAAC,GAAID,CAAC,GAAG,CAAC,GAAI,CAAG,CAAC,EACvD;IACA,MAAMI,QAAQ,GAAGN,KAAK,CAACO,UAAU,CAAEL,CAAC,IAAI,CAAC,GAAG,CAAE,CAAC;IAE/C,IAAII,QAAQ,GAAG,IAAI,EAAE;MACnB,MAAM,IAAIE,KAAK,CACb,4GACF,CA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U,CAACM,aAAa,CAACR,IAAI,CAAC;IAE9BE,UAAU,CAACO,SAAS,GAAG,MAAM;MAC3B,IAAIP,UAAU,EAAEQ,MAAM,EAAE;QACtBN,OAAO,GAAG;UAAEO,MAAM,EAAET,UAAU,CAACQ,MAAM;UAAEE,MAAM,EAAE;QAAW,CAAC,CAAC;MAC9D;IACF,CAAC;IAEDV,UAAU,CAACW,OAAO,GAAGC,KAAK,IAAI;MAC5BZ,UAAU,EAAEa,KAAK,CAAC,CAAC;MACnBV,MAAM,GAAGS,KAAK,CAAC;IACjB,CAAC;IAED,OAAOR,OAAO;EAChB;EAEA,IAAIN,IAAI,YAAYgB,WAAW,IAAIhB,IAAI,YAAYiB,UAAU,EAAE;IAC7D,OAAOC,OAAO,CAACd,OAAO,CAAC;MACrBO,MAAM,EAAE,IAAAQ,qBAAc,EAACnB,IAAI,CAAC;MAC5BY,MAAM,EAAE;IACV,CAAC,CAAC;EACJ;EAEA,MAAM,IAAIxB,KAAK,CAAC,yDAAyD,CAAC;AAC5E;AAAC,IAAAgC,QAAA,GAAAC,OAAA,CAAA5C,OAAA,GAEc;EACbE,IAAI;EACJU,IAAI;EACJU;AACF,CAAC","ignoreList":[]}
@@ -1,50 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _deeps = require("./deeps.js");
8
- /*
9
- * Copyright (c) 2016-present Invertase Limited & Contributors
10
- *
11
- * Licensed under the Apache License, Version 2.0 (the "License");
12
- * you may not use this library except in compliance with the License.
13
- * You may obtain a copy of the License at
14
- *
15
- * http://www.apache.org/licenses/LICENSE-2.0
16
- *
17
- * Unless required by applicable law or agreed to in writing, software
18
- * distributed under the License is distributed on an "AS IS" BASIS,
19
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20
- * See the License for the specific language governing permissions and
21
- * limitations under the License.
22
- *
23
- */
24
-
25
- class MutatableParams {
26
- constructor(parentInstance) {
27
- if (parentInstance) {
28
- this._mutatableParams = parentInstance._mutatableParams;
29
- this._parentInstance = parentInstance;
30
- } else {
31
- this._mutatableParams = {};
32
- this._parentInstance = this;
33
- }
34
- }
35
- set(param, value) {
36
- (0, _deeps.deepSet)(this._mutatableParams, param, value);
37
- return this._parentInstance;
38
- }
39
- get(param) {
40
- return (0, _deeps.deepGet)(this._mutatableParams, param, '.');
41
- }
42
- toJSON() {
43
- return Object.assign({}, this._mutatableParams);
44
- }
45
- validate() {
46
- // do nothing
47
- }
48
- }
49
- exports.default = MutatableParams;
50
- //# sourceMappingURL=MutatableParams.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_deeps","require","MutatableParams","constructor","parentInstance","_mutatableParams","_parentInstance","set","param","value","deepSet","get","deepGet","toJSON","Object","assign","validate","exports","default"],"sourceRoot":"../../../lib","sources":["common/MutatableParams.ts"],"mappings":";;;;;;AAiBA,IAAAA,MAAA,GAAAC,OAAA;AAjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAIe,MAAMC,eAAe,CAAC;EAInCC,WAAWA,CAACC,cAAgC,EAAE;IAC5C,IAAIA,cAAc,EAAE;MAClB,IAAI,CAACC,gBAAgB,GAAGD,cAAc,CAACC,gBAAgB;MACvD,IAAI,CAACC,eAAe,GAAGF,cAAc;IACvC,CAAC,MAAM;MACL,IAAI,CAACC,gBAAgB,GAAG,CAAC,CAAC;MAC1B,IAAI,CAACC,eAAe,GAAG,IAAI;IAC7B;EACF;EAEAC,GAAGA,CAACC,KAAa,EAAEC,KAAc,EAAmB;IAClD,IAAAC,cAAO,EAAC,IAAI,CAACL,gBAAgB,EAAEG,KAAK,EAAEC,KAAK,CAAC;IAC5C,OAAO,IAAI,CAACH,eAAe;EAC7B;EAEAK,GAAGA,CAAcH,KAAa,EAAiB;IAC7C,OAAO,IAAAI,cAAO,EAAI,IAAI,CAACP,gBAAgB,EAAEG,KAAK,EAAE,GAAG,CAAC;EACtD;EAEAK,MAAMA,CAAA,EAA4B;IAChC,OAAOC,MAAM,CAACC,MAAM,CAAC,CAAC,CAAC,EAAE,IAAI,CAACV,gBAAgB,CAAC;EACjD;EAEAW,QAAQA,CAAA,EAAS;IACf;EAAA;AAEJ;AAACC,OAAA,CAAAC,OAAA,GAAAhB,eAAA","ignoreList":[]}
@@ -1,49 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- /*
8
- * Copyright (c) 2016-present Invertase Limited & Contributors
9
- *
10
- * Licensed under the Apache License, Version 2.0 (the "License");
11
- * you may not use this library except in compliance with the License.
12
- * You may obtain a copy of the License at
13
- *
14
- * http://www.apache.org/licenses/LICENSE-2.0
15
- *
16
- * Unless required by applicable law or agreed to in writing, software
17
- * distributed under the License is distributed on an "AS IS" BASIS,
18
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
- * See the License for the specific language governing permissions and
20
- * limitations under the License.
21
- *
22
- */
23
-
24
- class ReferenceBase {
25
- constructor(_path) {
26
- let path = _path;
27
- if (path) {
28
- path = path.length > 1 && path.endsWith('/') ? path.substring(0, path.length - 1) : path;
29
- if (path.startsWith('/') && path.length > 1) {
30
- path = path.substring(1, path.length);
31
- }
32
- } else {
33
- path = '/';
34
- }
35
- this.path = path;
36
- }
37
-
38
- /**
39
- * The last part of a Reference's path (after the last '/')
40
- * The key of a root Reference is null.
41
- * @type {String}
42
- * {@link https://firebase.google.com/docs/reference/js/firebase.database.Reference#key}
43
- */
44
- get key() {
45
- return this.path === '/' ? null : this.path.substring(this.path.lastIndexOf('/') + 1);
46
- }
47
- }
48
- exports.default = ReferenceBase;
49
- //# sourceMappingURL=ReferenceBase.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["ReferenceBase","constructor","_path","path","length","endsWith","substring","startsWith","key","lastIndexOf","exports","default"],"sourceRoot":"../../../lib","sources":["common/ReferenceBase.ts"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEe,MAAMA,aAAa,CAAC;EAGjCC,WAAWA,CAACC,KAAa,EAAE;IACzB,IAAIC,IAAI,GAAGD,KAAK;IAEhB,IAAIC,IAAI,EAAE;MACRA,IAAI,GAAGA,IAAI,CAACC,MAAM,GAAG,CAAC,IAAID,IAAI,CAACE,QAAQ,CAAC,GAAG,CAAC,GAAGF,IAAI,CAACG,SAAS,CAAC,CAAC,EAAEH,IAAI,CAACC,MAAM,GAAG,CAAC,CAAC,GAAGD,IAAI;MACxF,IAAIA,IAAI,CAACI,UAAU,CAAC,GAAG,CAAC,IAAIJ,IAAI,CAACC,MAAM,GAAG,CAAC,EAAE;QAC3CD,IAAI,GAAGA,IAAI,CAACG,SAAS,CAAC,CAAC,EAAEH,IAAI,CAACC,MAAM,CAAC;MACvC;IACF,CAAC,MAAM;MACLD,IAAI,GAAG,GAAG;IACZ;IAEA,IAAI,CAACA,IAAI,GAAGA,IAAI;EAClB;;EAEA;AACF;AACA;AACA;AACA;AACA;EACE,IAAIK,GAAGA,CAAA,EAAkB;IACvB,OAAO,IAAI,CAACL,IAAI,KAAK,GAAG,GAAG,IAAI,GAAG,IAAI,CAACA,IAAI,CAACG,SAAS,CAAC,IAAI,CAACH,IAAI,CAACM,WAAW,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;EACvF;AACF;AAACC,OAAA,CAAAC,OAAA,GAAAX,aAAA","ignoreList":[]}
@@ -1,82 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.deepGet = deepGet;
7
- exports.deepSet = deepSet;
8
- var _validate = require("./validate.js");
9
- /*
10
- * Copyright (c) 2016-present Invertase Limited & Contributors
11
- *
12
- * Licensed under the Apache License, Version 2.0 (the "License");
13
- * you may not use this library except in compliance with the License.
14
- * You may obtain a copy of the License at
15
- *
16
- * http://www.apache.org/licenses/LICENSE-2.0
17
- *
18
- * Unless required by applicable law or agreed to in writing, software
19
- * distributed under the License is distributed on an "AS IS" BASIS,
20
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21
- * See the License for the specific language governing permissions and
22
- * limitations under the License.
23
- *
24
- */
25
-
26
- /**
27
- * Deep get a value from an object.
28
- * @website https://github.com/Salakar/deeps
29
- * @param object
30
- * @param path
31
- * @param joiner
32
- * @returns {*}
33
- */
34
- function deepGet(object, path, joiner = '/') {
35
- if (!(0, _validate.isObject)(object) && !Array.isArray(object)) {
36
- return undefined;
37
- }
38
- const keys = path.split(joiner);
39
- let i = 0;
40
- let tmp = object;
41
- const len = keys.length;
42
- while (i < len) {
43
- const key = keys[i++];
44
- if (!tmp || !Object.hasOwnProperty.call(tmp, key)) {
45
- return undefined;
46
- }
47
- tmp = tmp[key];
48
- }
49
- return tmp;
50
- }
51
-
52
- /**
53
- * Deep set a value
54
- * @param object
55
- * @param path
56
- * @param value
57
- * @param initPaths
58
- * @param joiner
59
- */
60
- function deepSet(object, path, value, initPaths = true, joiner = '.') {
61
- if (!(0, _validate.isObject)(object)) {
62
- return false;
63
- }
64
- const keys = path.split(joiner);
65
- let i = 0;
66
- let _object = object;
67
- const len = keys.length - 1;
68
- while (i < len) {
69
- const key = keys[i++];
70
- if (initPaths && !Object.hasOwnProperty.call(object, key)) {
71
- _object[key] = {};
72
- }
73
- _object = _object[key];
74
- }
75
- if ((0, _validate.isObject)(_object) || (0, _validate.isArray)(_object) && !Number.isNaN(keys[i])) {
76
- _object[keys[i]] = value;
77
- } else {
78
- return false;
79
- }
80
- return true;
81
- }
82
- //# sourceMappingURL=deeps.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_validate","require","deepGet","object","path","joiner","isObject","Array","isArray","undefined","keys","split","i","tmp","len","length","key","Object","hasOwnProperty","call","deepSet","value","initPaths","_object","Number","isNaN"],"sourceRoot":"../../../lib","sources":["common/deeps.ts"],"m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AAGJ,IAAI,CAACK,MAAM,GAAG,CAAC;EAE3B,OAAOH,CAAC,GAAGE,GAAG,EAAE;IACd,MAAME,GAAG,GAAGN,IAAI,CAACE,CAAC,EAAE,CAAE;IACtB,IAAIU,SAAS,IAAI,CAACL,MAAM,CAACC,cAAc,CAACC,IAAI,CAAChB,MAAM,EAAEa,GAAG,CAAC,EAAE;MACxDO,OAAO,CAA6BP,GAAG,CAAC,GAAG,CAAC,CAAC;IAChD;IACAO,OAAO,GAAIA,OAAO,CAA6BP,GAAG,CAAC;EACrD;EAEA,IAAI,IAAAV,kBAAQ,EAACiB,OAAO,CAAC,IAAK,IAAAf,iBAAO,EAACe,OAAO,CAAC,IAAI,CAACC,MAAM,CAACC,KAAK,CAACf,IAAI,CAACE,CAAC,CAAC,CAAE,EAAE;IACpEW,OAAO,CAA6Bb,IAAI,CAACE,CAAC,CAAC,CAAE,GAAGS,KAAK;EACxD,CAAC,MAAM;IACL,OAAO,KAAK;EACd;EAEA,OAAO,IAAI;AACb","ignoreList":[]}
@@ -1,88 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.generateDatabaseId = generateDatabaseId;
7
- exports.generateFirestoreId = generateFirestoreId;
8
- /*
9
- * Copyright (c) 2016-present Invertase Limited & Contributors
10
- *
11
- * Licensed under the Apache License, Version 2.0 (the "License");
12
- * you may not use this library except in compliance with the License.
13
- * You may obtain a copy of the License at
14
- *
15
- * http://www.apache.org/licenses/LICENSE-2.0
16
- *
17
- * Unless required by applicable law or agreed to in writing, software
18
- * distributed under the License is distributed on an "AS IS" BASIS,
19
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20
- * See the License for the specific language governing permissions and
21
- * limitations under the License.
22
- *
23
- */
24
-
25
- const PUSH_CHARS = '-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz';
26
- const AUTO_ID_CHARS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
27
-
28
- // timestamp of last push, used to prevent local collisions if you push twice in one ms.
29
- let lastPushTime = 0;
30
-
31
- // we generate 72-bits of randomness which get turned into 12 characters and appended to the
32
- // timestamp to prevent collisions with other clients. We store the last characters we
33
- // generated because in the event of a collision, we'll use those same characters except
34
- // "incremented" by one.
35
- const lastRandChars = [];
36
-
37
- /**
38
- * Generate a firebase id - for use with ref().push(val, cb) - e.g. -KXMr7k2tXUFQqiaZRY4'
39
- * @param serverTimeOffset - pass in server time offset from native side
40
- * @returns {string}
41
- */
42
- function generateDatabaseId(serverTimeOffset = 0) {
43
- const timeStampChars = new Array(8);
44
- let now = new Date().getTime() + serverTimeOffset;
45
- const duplicateTime = now === lastPushTime;
46
- lastPushTime = now;
47
- for (let i = 7; i >= 0; i -= 1) {
48
- timeStampChars[i] = PUSH_CHARS.charAt(now % 64);
49
- now = Math.floor(now / 64);
50
- }
51
- if (now !== 0) {
52
- throw new Error('We should have converted the entire timestamp.');
53
- }
54
- let id = timeStampChars.join('');
55
- if (!duplicateTime) {
56
- for (let i = 0; i < 12; i += 1) {
57
- lastRandChars[i] = Math.floor(Math.random() * 64);
58
- }
59
- } else {
60
- // if the timestamp hasn't changed since last push,
61
- // use the same random number, but increment it by 1.
62
- let i;
63
- for (i = 11; i >= 0 && lastRandChars[i] === 63; i -= 1) {
64
- lastRandChars[i] = 0;
65
- }
66
- lastRandChars[i] += 1;
67
- }
68
- for (let i = 0; i < 12; i++) {
69
- id += PUSH_CHARS.charAt(lastRandChars[i]);
70
- }
71
- if (id.length !== 20) {
72
- throw new Error('Length should be 20.');
73
- }
74
- return id;
75
- }
76
-
77
- /**
78
- * Generate a firestore auto id for use with collection/document .add()
79
- * @return {string}
80
- */
81
- function generateFirestoreId() {
82
- let autoId = '';
83
- for (let i = 0; i < 20; i++) {
84
- autoId += AUTO_ID_CHARS.charAt(Math.floor(Math.random() * AUTO_ID_CHARS.length));
85
- }
86
- return autoId;
87
- }
88
- //# sourceMappingURL=id.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["PUSH_CHARS","AUTO_ID_CHARS","lastPushTime","lastRandChars","generateDatabaseId","serverTimeOffset","timeStampChars","Array","now","Date","getTime","duplicateTime","i","charAt","Math","floor","Error","id","join","random","length","generateFirestoreId","autoId"],"sourceRoot":"../../../lib","sources":["common/id.ts"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,MAAMA,UAAU,GAAG,kEAAkE;AAErF,MAAMC,aAAa,GAAG,gEAAgE;;AAEtF;AACA,IAAIC,YAAY,GAAG,CAAC;;AAEpB;AACA;AACA;AACA;AACA,MAAMC,aAAuB,GAAG,EAAE;;AAElC;AACA;AACA;AACA;AACA;AACO,SAASC,kBAAkBA,CAACC,gBAAwB,GAAG,CAAC,EAAU;EACvE,MAAMC,cAAc,GAAG,IAAIC,KAAK,CAAC,CAAC,CAAC;EACnC,IAAIC,GAAG,GAAG,IAAIC,IAAI,CAAC,CAAC,CAACC,OAAO,CAAC,CAAC,GAAGL,gBAAgB;EACjD,MAAMM,aAAa,GAAGH,GAAG,KAAKN,YAAY;EAE1CA,YAAY,GAAGM,GAAG;EAElB,KAAK,IAAII,CAAC,GAAG,CAAC,EAAEA,CAAC,IAAI,CAAC,EAAEA,CAAC,IAAI,CAAC,EAAE;IAC9BN,cAAc,CAACM,CAAC,CAAC,GAAGZ,UAAU,CAACa,MAAM,CAACL,GAAG,GAAG,EAAE,CAAC;IAC/CA,GAAG,GAAGM,IAAI,CAACC,KAAK,CAACP,GAAG,GAAG,EAAE,CAAC;EAC5B;EAEA,IAAIA,GAAG,KAAK,CAAC,EAAE;IACb,MAAM,IAAIQ,KAAK,CAAC,gDAAgD,CAAC;EACnE;EAEA,IAAIC,EAAE,GAAGX,cAAc,CAACY,IAAI,CAAC,EAAE,CAAC;EAEhC,IAAI,CAACP,a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