@react-native-firebase/app 23.8.3 → 23.8.4

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 +10 -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,28 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- var _exportNames = {
7
- getApp: true
8
- };
9
- Object.defineProperty(exports, "getApp", {
10
- enumerable: true,
11
- get: function () {
12
- return _app.getApp;
13
- }
14
- });
15
- var _app = require("firebase/app");
16
- var _lite = require("firebase/firestore/lite");
17
- Object.keys(_lite).forEach(function (key) {
18
- if (key === "default" || key === "__esModule") return;
19
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
20
- if (key in exports && exports[key] === _lite[key]) return;
21
- Object.defineProperty(exports, key, {
22
- enumerable: true,
23
- get: function () {
24
- return _lite[key];
25
- }
26
- });
27
- });
28
- //# sourceMappingURL=firebaseFirestore.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_app","require","_lite","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../../lib","sources":["internal/web/firebaseFirestore.ts"],"mappings":";;;;;;;;;;;;;;AAmBA,IAAAA,IAAA,GAAAC,OAAA;AACA,IAAAC,KAAA,GAAAD,OAAA;AAAAE,MAAA,CAAAC,IAAA,CAAAF,KAAA,EAAAG,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAK,OAAA,IAAAA,OAAA,CAAAL,GAAA,MAAAJ,KAAA,CAAAI,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAZ,KAAA,CAAAI,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -1,28 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- var _app = require("firebase/app");
7
- Object.keys(_app).forEach(function (key) {
8
- if (key === "default" || key === "__esModule") return;
9
- if (key in exports && exports[key] === _app[key]) return;
10
- Object.defineProperty(exports, key, {
11
- enumerable: true,
12
- get: function () {
13
- return _app[key];
14
- }
15
- });
16
- });
17
- var _functions = require("firebase/functions");
18
- Object.keys(_functions).forEach(function (key) {
19
- if (key === "default" || key === "__esModule") return;
20
- if (key in exports && exports[key] === _functions[key]) return;
21
- Object.defineProperty(exports, key, {
22
- enumerable: true,
23
- get: function () {
24
- return _functions[key];
25
- }
26
- });
27
- });
28
- //# sourceMappingURL=firebaseFunctions.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_app","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_functions"],"sourceRoot":"../../../../lib","sources":["internal/web/firebaseFunctions.ts"],"mappings":";;;;;AAmBA,IAAAA,IAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,IAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,IAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,IAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AACA,IAAAK,UAAA,GAAAT,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAO,UAAA,EAAAN,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAK,UAAA,CAAAL,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAC,UAAA,CAAAL,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -1,36 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- var _exportNames = {
7
- getApp: true,
8
- makeIDBAvailable: true
9
- };
10
- Object.defineProperty(exports, "getApp", {
11
- enumerable: true,
12
- get: function () {
13
- return _app.getApp;
14
- }
15
- });
16
- Object.defineProperty(exports, "makeIDBAvailable", {
17
- enumerable: true,
18
- get: function () {
19
- return _index.makeIDBAvailable;
20
- }
21
- });
22
- var _app = require("firebase/app");
23
- var _installations = require("firebase/installations");
24
- Object.keys(_installations).forEach(function (key) {
25
- if (key === "default" || key === "__esModule") return;
26
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
27
- if (key in exports && exports[key] === _installations[key]) return;
28
- Object.defineProperty(exports, key, {
29
- enumerable: true,
30
- get: function () {
31
- return _installations[key];
32
- }
33
- });
34
- });
35
- var _index = require("./memidb/index.js");
36
- //# sourceMappingURL=firebaseInstallations.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_app","require","_installations","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get","_index"],"sourceRoot":"../../../../lib","sources":["internal/web/firebaseInstallations.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAmBA,IAAAA,IAAA,GAAAC,OAAA;AAEA,IAAAC,cAAA,GAAAD,OAAA;AAAAE,MAAA,CAAAC,IAAA,CAAAF,cAAA,EAAAG,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAK,OAAA,IAAAA,OAAA,CAAAL,GAAA,MAAAJ,cAAA,CAAAI,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAZ,cAAA,CAAAI,GAAA;IAAA;EAAA;AAAA;AACA,IAAAS,MAAA,GAAAd,OAAA","ignoreList":[]}
@@ -1,36 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- var _exportNames = {
7
- getApp: true,
8
- makeIDBAvailable: true
9
- };
10
- Object.defineProperty(exports, "getApp", {
11
- enumerable: true,
12
- get: function () {
13
- return _app.getApp;
14
- }
15
- });
16
- Object.defineProperty(exports, "makeIDBAvailable", {
17
- enumerable: true,
18
- get: function () {
19
- return _index.makeIDBAvailable;
20
- }
21
- });
22
- var _app = require("firebase/app");
23
- var _remoteConfig = require("firebase/remote-config");
24
- Object.keys(_remoteConfig).forEach(function (key) {
25
- if (key === "default" || key === "__esModule") return;
26
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
27
- if (key in exports && exports[key] === _remoteConfig[key]) return;
28
- Object.defineProperty(exports, key, {
29
- enumerable: true,
30
- get: function () {
31
- return _remoteConfig[key];
32
- }
33
- });
34
- });
35
- var _index = require("./memidb/index.js");
36
- //# sourceMappingURL=firebaseRemoteConfig.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_app","require","_remoteConfig","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get","_index"],"sourceRoot":"../../../../lib","sources":["internal/web/firebaseRemoteConfig.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAmBA,IAAAA,IAAA,GAAAC,OAAA;AAEA,IAAAC,aAAA,GAAAD,OAAA;AAAAE,MAAA,CAAAC,IAAA,CAAAF,aAAA,EAAAG,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAK,OAAA,IAAAA,OAAA,CAAAL,GAAA,MAAAJ,aAAA,CAAAI,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAZ,aAAA,CAAAI,GAAA;IAAA;EAAA;AAAA;AACA,IAAAS,MAAA,GAAAd,OAAA","ignoreList":[]}
@@ -1,28 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- var _app = require("firebase/app");
7
- Object.keys(_app).forEach(function (key) {
8
- if (key === "default" || key === "__esModule") return;
9
- if (key in exports && exports[key] === _app[key]) return;
10
- Object.defineProperty(exports, key, {
11
- enumerable: true,
12
- get: function () {
13
- return _app[key];
14
- }
15
- });
16
- });
17
- var _storage = require("firebase/storage");
18
- Object.keys(_storage).forEach(function (key) {
19
- if (key === "default" || key === "__esModule") return;
20
- if (key in exports && exports[key] === _storage[key]) return;
21
- Object.defineProperty(exports, key, {
22
- enumerable: true,
23
- get: function () {
24
- return _storage[key];
25
- }
26
- });
27
- });
28
- //# sourceMappingURL=firebaseStorage.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_app","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_storage"],"sourceRoot":"../../../../lib","sources":["internal/web/firebaseStorage.ts"],"mappings":";;;;;AAmBA,IAAAA,IAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,IAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,IAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,IAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AACA,IAAAK,QAAA,GAAAT,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAO,QAAA,EAAAN,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAK,QAAA,CAAAL,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAC,QAAA,CAAAL,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -1,479 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _FDBKeyRange = _interopRequireDefault(require("./FDBKeyRange.js"));
8
- var _FDBObjectStore = _interopRequireDefault(require("./FDBObjectStore.js"));
9
- var _cmp = _interopRequireDefault(require("./lib/cmp.js"));
10
- var _errors = require("./lib/errors.js");
11
- var _extractKey = _interopRequireDefault(require("./lib/extractKey.js"));
12
- var _valueToKey = _interopRequireDefault(require("./lib/valueToKey.js"));
13
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
14
- const getEffectiveObjectStore = cursor => {
15
- if (cursor.source instanceof _FDBObjectStore.default) {
16
- return cursor.source;
17
- }
18
- return cursor.source.objectStore;
19
- };
20
-
21
- // This takes a key range, a list of lower bounds, and a list of upper bounds and combines them all into a single key
22
- // range. It does not handle gt/gte distinctions, because it doesn't really matter much anyway, since for next/prev
23
- // cursor iteration it'd also have to look at values to be precise, which would be complicated. This should get us 99%
24
- // of the way there.
25
- const makeKeyRange = (range, lowers, uppers) => {
26
- // Start with bounds from range
27
- let lower = range !== undefined ? range.lower : undefined;
28
- let upper = range !== undefined ? range.upper : undefined;
29
-
30
- // Augment with values from lowers and uppers
31
- for (const lowerTemp of lowers) {
32
- if (lowerTemp === undefined) {
33
- continue;
34
- }
35
- if (lower === undefined || (0, _cmp.default)(lower, lowerTemp) === 1) {
36
- lower = lowerTemp;
37
- }
38
- }
39
- for (const upperTemp of uppers) {
40
- if (upperTemp === undefined) {
41
- continue;
42
- }
43
- if (upper === undefined || (0, _cmp.default)(upper, upperTemp) === -1) {
44
- upper = upperTemp;
45
- }
46
- }
47
- if (lower !== undefined && upper !== undefined) {
48
- return _FDBKeyRange.default.bound(lower, upper);
49
- }
50
- if (lower !== undefined) {
51
- return _FDBKeyRange.default.lowerBound(lower);
52
- }
53
- if (upper !== undefined) {
54
- return _FDBKeyRange.default.upperBound(upper);
55
- }
56
- };
57
-
58
- // http://www.w3.org/TR/2015/REC-IndexedDB-20150108/#cursor
59
- class FDBCursor {
60
- _gotValue = false;
61
- _position = undefined; // Key of previously returned record
62
- _objectStorePosition = undefined;
63
- _keyOnly = false;
64
- _key = undefined;
65
- _primaryKey = undefined;
66
- constructor(source, range, direction = 'next', request, keyOnly = false) {
67
- this._range = range;
68
- this._source = source;
69
- this._direction = direction;
70
- this._request = request;
71
- this._keyOnly = keyOnly;
72
- }
73
-
74
- // Read only properties
75
- get source() {
76
- return this._source;
77
- }
78
- set source(val) {
79
- /* For babel */
80
- }
81
- get request() {
82
- return this._request;
83
- }
84
- set request(val) {
85
- /* For babel */
86
- }
87
- get direction() {
88
- return this._direction;
89
- }
90
- set direction(val) {
91
- /* For babel */
92
- }
93
- get key() {
94
- return this._key;
95
- }
96
- set key(val) {
97
- /* For babel */
98
- }
99
- get primaryKey() {
100
- return this._primaryKey;
101
- }
102
- set primaryKey(val) {
103
- /* For babel */
104
- }
105
-
106
- // https://w3c.github.io/IndexedDB/#iterate-a-cursor
107
- _iterate(key, primaryKey) {
108
- const sourceIsObjectStore = this.source instanceof _FDBObjectStore.default;
109
-
110
- // Can't use sourceIsObjectStore because TypeScript
111
- const records = this.source instanceof _FDBObjectStore.default ? this.source._rawObjectStore.records : this.source._rawIndex.records;
112
- let foundRecord;
113
- if (this.direction === 'next') {
114
- const range = makeKeyRange(this._range, [key, this._position], []);
115
- for (const record of records.values(range)) {
116
- const cmpResultKey = key !== undefined ? (0, _cmp.default)(record.key, key) : undefined;
117
- const cmpResultPosition = this._position !== undefined ? (0, _cmp.default)(record.key, this._position) : undefined;
118
- if (key !== undefined) {
119
- if (cmpResultKey === -1) {
120
- continue;
121
- }
122
- }
123
- if (primaryKey !== undefined) {
124
- if (cmpResultKey === -1) {
125
- continue;
126
- }
127
- const cmpResultPrimaryKey = (0, _cmp.default)(record.value, primaryKey);
128
- if (cmpResultKey === 0 && cmpResultPrimaryKey === -1) {
129
- continue;
130
- }
131
- }
132
- if (this._position !== undefined && sourceIsObjectStore) {
133
- if (cmpResultPosition !== 1) {
134
- continue;
135
- }
136
- }
137
- if (this._position !== undefined && !sourceIsObjectStore) {
138
- if (cmpResultPosition === -1) {
139
- continue;
140
- }
141
- if (cmpResultPosition === 0 && (0, _cmp.default)(record.value, this._objectStorePosition) !== 1) {
142
- continue;
143
- }
144
- }
145
- if (this._range !== undefined) {
146
- if (!this._range.includes(record.key)) {
147
- continue;
148
- }
149
- }
150
- foundRecord = record;
151
- break;
152
- }
153
- } else if (this.direction === 'nextunique') {
154
- // This could be done without iterating, if the range was defined slightly better (to handle gt/gte cases).
155
- // But the performance difference should be small, and that wouldn't work anyway for directions where the
156
- // value needs to be used (like next and prev).
157
- const range = makeKeyRange(this._range, [key, this._position], []);
158
- for (const record of records.values(range)) {
159
- if (key !== undefined) {
160
- if ((0, _cmp.default)(record.key, key) === -1) {
161
- continue;
162
- }
163
- }
164
- if (this._position !== undefined) {
165
- if ((0, _cmp.default)(record.key, this._position) !== 1) {
166
- continue;
167
- }
168
- }
169
- if (this._range !== undefined) {
170
- if (!this._range.includes(record.key)) {
171
- continue;
172
- }
173
- }
174
- foundRecord = record;
175
- break;
176
- }
177
- } else if (this.direction === 'prev') {
178
- const range = makeKeyRange(this._range, [], [key, this._position]);
179
- for (const record of records.values(range, 'prev')) {
180
- const cmpResultKey = key !== undefined ? (0, _cmp.default)(record.key, key) : undefined;
181
- const cmpResultPosition = this._position !== undefined ? (0, _cmp.default)(record.key, this._position) : undefined;
182
- if (key !== undefined) {
183
- if (cmpResultKey === 1) {
184
- continue;
185
- }
186
- }
187
- if (primaryKey !== undefined) {
188
- if (cmpResultKey === 1) {
189
- continue;
190
- }
191
- const cmpResultPrimaryKey = (0, _cmp.default)(record.value, primaryKey);
192
- if (cmpResultKey === 0 && cmpResultPrimaryKey === 1) {
193
- continue;
194
- }
195
- }
196
- if (this._position !== undefined && sourceIsObjectStore) {
197
- if (cmpResultPosition !== -1) {
198
- continue;
199
- }
200
- }
201
- if (this._position !== undefined && !sourceIsObjectStore) {
202
- if (cmpResultPosition === 1) {
203
- continue;
204
- }
205
- if (cmpResultPosition === 0 && (0, _cmp.default)(record.value, this._objectStorePosition) !== -1) {
206
- continue;
207
- }
208
- }
209
- if (this._range !== undefined) {
210
- if (!this._range.includes(record.key)) {
211
- continue;
212
- }
213
- }
214
- foundRecord = record;
215
- break;
216
- }
217
- } else if (this.direction === 'prevunique') {
218
- let tempRecord;
219
- const range = makeKeyRange(this._range, [], [key, this._position]);
220
- for (const record of records.values(range, 'prev')) {
221
- if (key !== undefined) {
222
- if ((0, _cmp.default)(record.key, key) === 1) {
223
- continue;
224
- }
225
- }
226
- if (this._position !== undefined) {
227
- if ((0, _cmp.default)(record.key, this._position) !== -1) {
228
- continue;
229
- }
230
- }
231
- if (this._range !== undefined) {
232
- if (!this._range.includes(record.key)) {
233
- continue;
234
- }
235
- }
236
- tempRecord = record;
237
- break;
238
- }
239
- if (tempRecord) {
240
- foundRecord = records.get(tempRecord.key);
241
- }
242
- }
243
- let result;
244
- if (!foundRecord) {
245
- this._key = undefined;
246
- if (!sourceIsObjectStore) {
247
- this._objectStorePosition = undefined;
248
- }
249
-
250
- // "this instanceof FDBCursorWithValue" would be better and not require (this as any), but causes runtime
251
- // error due to circular dependency.
252
- if (!this._keyOnly && this.toString() === '[object IDBCursorWithValue]') {
253
- this.value = undefined;
254
- }
255
- result = null;
256
- } else {
257
- this._position = foundRecord.key;
258
- if (!sourceIsObjectStore) {
259
- this._objectStorePosition = foundRecord.value;
260
- }
261
- this._key = foundRecord.key;
262
- if (sourceIsObjectStore) {
263
- this._primaryKey = structuredClone(foundRecord.key);
264
- if (!this._keyOnly && this.toString() === '[object IDBCursorWithValue]') {
265
- this.value = structuredClone(foundRecord.value);
266
- }
267
- } else {
268
- this._primaryKey = structuredClone(foundRecord.value);
269
- if (!this._keyOnly && this.toString() === '[object IDBCursorWithValue]') {
270
- if (this.source instanceof _FDBObjectStore.default) {
271
- // Can't use sourceIsObjectStore because TypeScript
272
- throw new Error('This should never happen');
273
- }
274
- const value = this.source.objectStore._rawObjectStore.getValue(foundRecord.value);
275
- this.value = structuredClone(value);
276
- }
277
- }
278
- this._gotValue = true;
279
- // eslint-disable-next-line @typescript-eslint/no-this-alias
280
- result = this;
281
- }
282
- return result;
283
- }
284
-
285
- // http://www.w3.org/TR/2015/REC-IndexedDB-20150108/#widl-IDBCursor-update-IDBRequest-any-value
286
- update(value) {
287
- if (value === undefined) {
288
- throw new TypeError();
289
- }
290
- const effectiveObjectStore = getEffectiveObjectStore(this);
291
- const effectiveKey = Object.hasOwn(this.source, '_rawIndex') ? this.primaryKey : this._position;
292
- const transaction = effectiveObjectStore.transaction;
293
- if (transaction._state !== 'active') {
294
- throw new _errors.TransactionInactiveError();
295
- }
296
- if (transaction.mode === 'readonly') {
297
- throw new _errors.ReadOnlyError();
298
- }
299
- if (effectiveObjectStore._rawObjectStore.deleted) {
300
- throw new _errors.InvalidStateError();
301
- }
302
- if (!(this.source instanceof _FDBObjectStore.default) && this.source._rawIndex.deleted) {
303
- throw new _errors.InvalidStateError();
304
- }
305
- if (!this._gotValue || !Object.hasOwn(this, 'value')) {
306
- throw new _errors.InvalidStateError();
307
- }
308
- const clone = structuredClone(value);
309
- if (effectiveObjectStore.keyPath !== null) {
310
- let tempKey;
311
- try {
312
- tempKey = (0, _extractKey.default)(effectiveObjectStore.keyPath, clone);
313
- } catch (_) {
314
- /* Handled immediately below */
315
- }
316
- if ((0, _cmp.default)(tempKey, effectiveKey) !== 0) {
317
- throw new _errors.DataError();
318
- }
319
- }
320
- const record = {
321
- key: effectiveKey,
322
- value: clone
323
- };
324
- return transaction._execRequestAsync({
325
- operation: effectiveObjectStore._rawObjectStore.storeRecord.bind(effectiveObjectStore._rawObjectStore, record, false, transaction._rollbackLog),
326
- source: this
327
- });
328
- }
329
-
330
- // http://www.w3.org/TR/2015/REC-IndexedDB-20150108/#widl-IDBCursor-advance-void-unsigned-long-count
331
- advance(count) {
332
- if (!Number.isInteger(count) || count <= 0) {
333
- throw new TypeError();
334
- }
335
- const effectiveObjectStore = getEffectiveObjectStore(this);
336
- const transaction = effectiveObjectStore.transaction;
337
- if (transaction._state !== 'active') {
338
- throw new _errors.TransactionInactiveError();
339
- }
340
- if (effectiveObjectStore._rawObjectStore.deleted) {
341
- throw new _errors.InvalidStateError();
342
- }
343
- if (!(this.source instanceof _FDBObjectStore.default) && this.source._rawIndex.deleted) {
344
- throw new _errors.InvalidStateError();
345
- }
346
- if (!this._gotValue) {
347
- throw new _errors.InvalidStateError();
348
- }
349
- if (this._request) {
350
- this._request.readyState = 'pending';
351
- }
352
- transaction._execRequestAsync({
353
- operation: () => {
354
- let result;
355
- for (let i = 0; i < count; i++) {
356
- result = this._iterate();
357
-
358
- // Not sure why this is needed
359
- if (!result) {
360
- break;
361
- }
362
- }
363
- return result;
364
- },
365
- request: this._request,
366
- source: this.source
367
- });
368
- this._gotValue = false;
369
- }
370
-
371
- // http://www.w3.org/TR/2015/REC-IndexedDB-20150108/#widl-IDBCursor-continue-void-any-key
372
- continue(key) {
373
- const effectiveObjectStore = getEffectiveObjectStore(this);
374
- const transaction = effectiveObjectStore.transaction;
375
- if (transaction._state !== 'active') {
376
- throw new _errors.TransactionInactiveError();
377
- }
378
- if (effectiveObjectStore._rawObjectStore.deleted) {
379
- throw new _errors.InvalidStateError();
380
- }
381
- if (!(this.source instanceof _FDBObjectStore.default) && this.source._rawIndex.deleted) {
382
- throw new _errors.InvalidStateError();
383
- }
384
- if (!this._gotValue) {
385
- throw new _errors.InvalidStateError();
386
- }
387
- if (key !== undefined) {
388
- key = (0, _valueToKey.default)(key);
389
- const cmpResult = (0, _cmp.default)(key, this._position);
390
- if (cmpResult <= 0 && (this.direction === 'next' || this.direction === 'nextunique') || cmpResult >= 0 && (this.direction === 'prev' || this.direction === 'prevunique')) {
391
- throw new _errors.DataError();
392
- }
393
- }
394
- if (this._request) {
395
- this._request.readyState = 'pending';
396
- }
397
- transaction._execRequestAsync({
398
- operation: this._iterate.bind(this, key),
399
- request: this._request,
400
- source: this.source
401
- });
402
- this._gotValue = false;
403
- }
404
-
405
- // hthttps://w3c.github.io/IndexedDB/#dom-idbcursor-continueprimarykey
406
- continuePrimaryKey(key, primaryKey) {
407
- const effectiveObjectStore = getEffectiveObjectStore(this);
408
- const transaction = effectiveObjectStore.transaction;
409
- if (transaction._state !== 'active') {
410
- throw new _errors.TransactionInactiveError();
411
- }
412
- if (effectiveObjectStore._rawObjectStore.deleted) {
413
- throw new _errors.InvalidStateError();
414
- }
415
- if (!(this.source instanceof _FDBObjectStore.default) && this.source._rawIndex.deleted) {
416
- throw new _errors.InvalidStateError();
417
- }
418
- if (this.source instanceof _FDBObjectStore.default || this.direction !== 'next' && this.direction !== 'prev') {
419
- throw new _errors.InvalidAccessError();
420
- }
421
- if (!this._gotValue) {
422
- throw new _errors.InvalidStateError();
423
- }
424
-
425
- // Not sure about this
426
- if (key === undefined || primaryKey === undefined) {
427
- throw new _errors.DataError();
428
- }
429
- key = (0, _valueToKey.default)(key);
430
- const cmpResult = (0, _cmp.default)(key, this._position);
431
- if (cmpResult === -1 && this.direction === 'next' || cmpResult === 1 && this.direction === 'prev') {
432
- throw new _errors.DataError();
433
- }
434
- const cmpResult2 = (0, _cmp.default)(primaryKey, this._objectStorePosition);
435
- if (cmpResult === 0) {
436
- if (cmpResult2 <= 0 && this.direction === 'next' || cmpResult2 >= 0 && this.direction === 'prev') {
437
- throw new _errors.DataError();
438
- }
439
- }
440
- if (this._request) {
441
- this._request.readyState = 'pending';
442
- }
443
- transaction._execRequestAsync({
444
- operation: this._iterate.bind(this, key, primaryKey),
445
- request: this._request,
446
- source: this.source
447
- });
448
- this._gotValue = false;
449
- }
450
- delete() {
451
- const effectiveObjectStore = getEffectiveObjectStore(this);
452
- const effectiveKey = Object.hasOwn(this.source, '_rawIndex') ? this.primaryKey : this._position;
453
- const transaction = effectiveObjectStore.transaction;
454
- if (transaction._state !== 'active') {
455
- throw new _errors.TransactionInactiveError();
456
- }
457
- if (transaction.mode === 'readonly') {
458
- throw new _errors.ReadOnlyError();
459
- }
460
- if (effectiveObjectStore._rawObjectStore.deleted) {
461
- throw new _errors.InvalidStateError();
462
- }
463
- if (!(this.source instanceof _FDBObjectStore.default) && this.source._rawIndex.deleted) {
464
- throw new _errors.InvalidStateError();
465
- }
466
- if (!this._gotValue || !Object.hasOwn(this, 'value')) {
467
- throw new _errors.InvalidStateError();
468
- }
469
- return transaction._execRequestAsync({
470
- operation: effectiveObjectStore._rawObjectStore.deleteRecord.bind(effectiveObjectStore._rawObjectStore, effectiveKey, transaction._rollbackLog),
471
- source: this
472
- });
473
- }
474
- toString() {
475
- return '[object IDBCursor]';
476
- }
477
- }
478
- var _default = exports.default = FDBCursor;
479
- //# sourceMappingURL=FDBCursor.js.map