@firebase/firestore 3.8.3-canary.ad4007425 → 3.8.3-canary.b5f86b1a3

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 (70) hide show
  1. package/dist/firestore/src/platform/browser/serializer.d.ts +0 -8
  2. package/dist/firestore/src/platform/browser/text_serializer.d.ts +24 -0
  3. package/dist/firestore/src/platform/browser_lite/text_serializer.d.ts +17 -0
  4. package/dist/firestore/src/platform/node/serializer.d.ts +0 -10
  5. package/dist/firestore/src/platform/node/text_serializer.d.ts +26 -0
  6. package/dist/firestore/src/platform/node_lite/text_serializer.d.ts +17 -0
  7. package/dist/firestore/src/platform/rn/serializer.d.ts +1 -1
  8. package/dist/firestore/src/platform/rn/text_serializer.d.ts +17 -0
  9. package/dist/firestore/src/platform/rn_lite/text_serializer.d.ts +17 -0
  10. package/dist/firestore/src/platform/serializer.d.ts +0 -8
  11. package/dist/firestore/src/platform/text_serializer.d.ts +24 -0
  12. package/dist/index.cjs.js +37 -5
  13. package/dist/index.cjs.js.map +1 -1
  14. package/dist/index.esm2017.js +37 -5
  15. package/dist/index.esm2017.js.map +1 -1
  16. package/dist/index.esm5.js +17 -4
  17. package/dist/index.esm5.js.map +1 -1
  18. package/dist/index.node.cjs.js +31 -14
  19. package/dist/index.node.cjs.js.map +1 -1
  20. package/dist/index.node.mjs +31 -14
  21. package/dist/index.node.mjs.map +1 -1
  22. package/dist/index.rn.js +37 -5
  23. package/dist/index.rn.js.map +1 -1
  24. package/dist/lite/firestore/src/platform/browser/serializer.d.ts +0 -8
  25. package/dist/lite/firestore/src/platform/browser/text_serializer.d.ts +24 -0
  26. package/dist/lite/firestore/src/platform/browser_lite/text_serializer.d.ts +17 -0
  27. package/dist/lite/firestore/src/platform/node/serializer.d.ts +0 -10
  28. package/dist/lite/firestore/src/platform/node/text_serializer.d.ts +26 -0
  29. package/dist/lite/firestore/src/platform/node_lite/text_serializer.d.ts +17 -0
  30. package/dist/lite/firestore/src/platform/rn/serializer.d.ts +1 -1
  31. package/dist/lite/firestore/src/platform/rn/text_serializer.d.ts +17 -0
  32. package/dist/lite/firestore/src/platform/rn_lite/text_serializer.d.ts +17 -0
  33. package/dist/lite/firestore/src/platform/serializer.d.ts +0 -8
  34. package/dist/lite/firestore/src/platform/text_serializer.d.ts +24 -0
  35. package/dist/lite/index.browser.esm2017.js +2 -2
  36. package/dist/lite/index.browser.esm2017.js.map +1 -1
  37. package/dist/lite/index.browser.esm5.js +2 -2
  38. package/dist/lite/index.browser.esm5.js.map +1 -1
  39. package/dist/lite/index.cjs.js +2 -2
  40. package/dist/lite/index.cjs.js.map +1 -1
  41. package/dist/lite/index.node.cjs.js +2 -2
  42. package/dist/lite/index.node.cjs.js.map +1 -1
  43. package/dist/lite/index.node.mjs +2 -2
  44. package/dist/lite/index.node.mjs.map +1 -1
  45. package/dist/lite/index.rn.esm2017.js +2 -2
  46. package/dist/lite/index.rn.esm2017.js.map +1 -1
  47. package/dist/lite/packages/firestore/src/platform/browser/serializer.d.ts +0 -8
  48. package/dist/lite/packages/firestore/src/platform/browser/text_serializer.d.ts +24 -0
  49. package/dist/lite/packages/firestore/src/platform/browser_lite/text_serializer.d.ts +17 -0
  50. package/dist/lite/packages/firestore/src/platform/node/serializer.d.ts +0 -10
  51. package/dist/lite/packages/firestore/src/platform/node/text_serializer.d.ts +26 -0
  52. package/dist/lite/packages/firestore/src/platform/node_lite/text_serializer.d.ts +17 -0
  53. package/dist/lite/packages/firestore/src/platform/rn/serializer.d.ts +1 -1
  54. package/dist/lite/packages/firestore/src/platform/rn/text_serializer.d.ts +17 -0
  55. package/dist/lite/packages/firestore/src/platform/rn_lite/text_serializer.d.ts +17 -0
  56. package/dist/lite/packages/firestore/src/platform/serializer.d.ts +0 -8
  57. package/dist/lite/packages/firestore/src/platform/text_serializer.d.ts +24 -0
  58. package/dist/packages/firestore/dist/index.esm2017.d.ts +14 -1
  59. package/dist/packages/firestore/src/platform/browser/serializer.d.ts +0 -8
  60. package/dist/packages/firestore/src/platform/browser/text_serializer.d.ts +24 -0
  61. package/dist/packages/firestore/src/platform/browser_lite/text_serializer.d.ts +17 -0
  62. package/dist/packages/firestore/src/platform/node/serializer.d.ts +0 -10
  63. package/dist/packages/firestore/src/platform/node/text_serializer.d.ts +26 -0
  64. package/dist/packages/firestore/src/platform/node_lite/text_serializer.d.ts +17 -0
  65. package/dist/packages/firestore/src/platform/rn/serializer.d.ts +1 -1
  66. package/dist/packages/firestore/src/platform/rn/text_serializer.d.ts +17 -0
  67. package/dist/packages/firestore/src/platform/rn_lite/text_serializer.d.ts +17 -0
  68. package/dist/packages/firestore/src/platform/serializer.d.ts +0 -8
  69. package/dist/packages/firestore/src/platform/text_serializer.d.ts +24 -0
  70. package/package.json +9 -9
@@ -18,11 +18,3 @@
18
18
  import { DatabaseId } from '../../core/database_info';
19
19
  import { JsonProtoSerializer } from '../../remote/serializer';
20
20
  export declare function newSerializer(databaseId: DatabaseId): JsonProtoSerializer;
21
- /**
22
- * An instance of the Platform's 'TextEncoder' implementation.
23
- */
24
- export declare function newTextEncoder(): TextEncoder;
25
- /**
26
- * An instance of the Platform's 'TextDecoder' implementation.
27
- */
28
- export declare function newTextDecoder(): TextDecoder;
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2023 Google LLC
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ /**
18
+ * An instance of the Platform's 'TextEncoder' implementation.
19
+ */
20
+ export declare function newTextEncoder(): TextEncoder;
21
+ /**
22
+ * An instance of the Platform's 'TextDecoder' implementation.
23
+ */
24
+ export declare function newTextDecoder(): TextDecoder;
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2023 Google LLC
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ export * from '../browser/text_serializer';
@@ -14,17 +14,7 @@
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- /// <reference types="node" />
18
17
  /** Return the Platform-specific serializer monitor. */
19
- import { TextDecoder, TextEncoder } from 'util';
20
18
  import { DatabaseId } from '../../core/database_info';
21
19
  import { JsonProtoSerializer } from '../../remote/serializer';
22
20
  export declare function newSerializer(databaseId: DatabaseId): JsonProtoSerializer;
23
- /**
24
- * An instance of the Platform's 'TextEncoder' implementation.
25
- */
26
- export declare function newTextEncoder(): TextEncoder;
27
- /**
28
- * An instance of the Platform's 'TextDecoder' implementation.
29
- */
30
- export declare function newTextDecoder(): TextDecoder;
@@ -0,0 +1,26 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2023 Google LLC
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ /// <reference types="node" />
18
+ import { TextDecoder, TextEncoder } from 'util';
19
+ /**
20
+ * An instance of the Platform's 'TextEncoder' implementation.
21
+ */
22
+ export declare function newTextEncoder(): TextEncoder;
23
+ /**
24
+ * An instance of the Platform's 'TextDecoder' implementation.
25
+ */
26
+ export declare function newTextDecoder(): TextDecoder;
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2023 Google LLC
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ export * from '../browser_lite/text_serializer';
@@ -14,4 +14,4 @@
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- export { newSerializer, newTextEncoder, newTextDecoder } from '../browser/serializer';
17
+ export { newSerializer } from '../browser/serializer';
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2023 Google LLC
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ export { newTextEncoder, newTextDecoder } from '../browser/text_serializer';
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2023 Google LLC
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ export * from '../browser_lite/text_serializer';
@@ -17,11 +17,3 @@
17
17
  import { DatabaseId } from '../core/database_info';
18
18
  import { JsonProtoSerializer } from '../remote/serializer';
19
19
  export declare function newSerializer(databaseId: DatabaseId): JsonProtoSerializer;
20
- /**
21
- * An instance of the Platform's 'TextEncoder' implementation.
22
- */
23
- export declare function newTextEncoder(): TextEncoder;
24
- /**
25
- * An instance of the Platform's 'TextDecoder' implementation.
26
- */
27
- export declare function newTextDecoder(): TextDecoder;
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2023 Google LLC
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ /**
18
+ * An instance of the Platform's 'TextEncoder' implementation.
19
+ */
20
+ export declare function newTextEncoder(): TextEncoder;
21
+ /**
22
+ * An instance of the Platform's 'TextDecoder' implementation.
23
+ */
24
+ export declare function newTextDecoder(): TextDecoder;
package/dist/index.cjs.js CHANGED
@@ -70,7 +70,7 @@ v.MOCK_USER = new v("mock-user");
70
70
  * See the License for the specific language governing permissions and
71
71
  * limitations under the License.
72
72
  */
73
- let P = "9.17.1-canary.ad4007425";
73
+ let P = "9.17.1-canary.b5f86b1a3";
74
74
 
75
75
  /**
76
76
  * @license
@@ -13253,7 +13253,20 @@ function Iu() {
13253
13253
  }
13254
13254
 
13255
13255
  /**
13256
- * An instance of the Platform's 'TextEncoder' implementation.
13256
+ * @license
13257
+ * Copyright 2017 Google LLC
13258
+ *
13259
+ * Licensed under the Apache License, Version 2.0 (the "License");
13260
+ * you may not use this file except in compliance with the License.
13261
+ * You may obtain a copy of the License at
13262
+ *
13263
+ * http://www.apache.org/licenses/LICENSE-2.0
13264
+ *
13265
+ * Unless required by applicable law or agreed to in writing, software
13266
+ * distributed under the License is distributed on an "AS IS" BASIS,
13267
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13268
+ * See the License for the specific language governing permissions and
13269
+ * limitations under the License.
13257
13270
  */
13258
13271
  /**
13259
13272
  * A helper for running delayed tasks following an exponential backoff curve
@@ -16870,7 +16883,26 @@ function xa(t, e) {
16870
16883
  if (t instanceof ArrayBuffer) return ha(new Uint8Array(t), e);
16871
16884
  if (t instanceof ReadableStream) return t.getReader();
16872
16885
  throw new Error("Source of `toByteStreamReader` has to be a ArrayBuffer or ReadableStream");
16873
- }(n), e);
16886
+ }
16887
+ /**
16888
+ * @license
16889
+ * Copyright 2023 Google LLC
16890
+ *
16891
+ * Licensed under the Apache License, Version 2.0 (the "License");
16892
+ * you may not use this file except in compliance with the License.
16893
+ * You may obtain a copy of the License at
16894
+ *
16895
+ * http://www.apache.org/licenses/LICENSE-2.0
16896
+ *
16897
+ * Unless required by applicable law or agreed to in writing, software
16898
+ * distributed under the License is distributed on an "AS IS" BASIS,
16899
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16900
+ * See the License for the specific language governing permissions and
16901
+ * limitations under the License.
16902
+ */
16903
+ /**
16904
+ * An instance of the Platform's 'TextEncoder' implementation.
16905
+ */ (n), e);
16874
16906
  }
16875
16907
  /**
16876
16908
  * @license
@@ -20690,9 +20722,9 @@ function yf(t, e) {
20690
20722
  return s = Object.assign({
20691
20723
  useFetchStreams: e
20692
20724
  }, s), r._setSettings(s), r;
20693
- }), "PUBLIC").setMultipleInstances(!0)), app.registerVersion(b, "3.8.3-canary.ad4007425", t),
20725
+ }), "PUBLIC").setMultipleInstances(!0)), app.registerVersion(b, "3.8.3-canary.b5f86b1a3", t),
20694
20726
  // BUILD_TARGET will be replaced by values like esm5, esm2017, cjs5, etc during the compilation
20695
- app.registerVersion(b, "3.8.3-canary.ad4007425", "cjs2017");
20727
+ app.registerVersion(b, "3.8.3-canary.b5f86b1a3", "cjs2017");
20696
20728
  }();
20697
20729
 
20698
20730
  exports.AbstractUserDataWriter = Vl;