@aws-amplify/datastore-storage-adapter 1.2.3-webpack5.4 → 1.2.4-custom-pk.79

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 (80) hide show
  1. package/CHANGELOG.md +157 -0
  2. package/ExpoSQLiteAdapter/index.d.ts +1 -0
  3. package/ExpoSQLiteAdapter/index.js +7 -0
  4. package/SQLiteAdapter/index.d.ts +1 -0
  5. package/SQLiteAdapter/index.js +7 -0
  6. package/dist/aws-amplify-datastore-sqlite-adapter-expo.js +2509 -0
  7. package/dist/aws-amplify-datastore-sqlite-adapter-expo.js.map +1 -0
  8. package/dist/aws-amplify-datastore-sqlite-adapter-expo.min.js +2 -0
  9. package/dist/aws-amplify-datastore-sqlite-adapter-expo.min.js.map +1 -0
  10. package/dist/aws-amplify-datastore-storage-adapter.js +1227 -1158
  11. package/dist/aws-amplify-datastore-storage-adapter.js.map +1 -1
  12. package/dist/aws-amplify-datastore-storage-adapter.min.js +1 -1
  13. package/dist/aws-amplify-datastore-storage-adapter.min.js.map +1 -1
  14. package/lib/ExpoSQLiteAdapter/ExpoSQLiteAdapter.d.ts +3 -0
  15. package/lib/ExpoSQLiteAdapter/ExpoSQLiteAdapter.js +10 -0
  16. package/lib/ExpoSQLiteAdapter/ExpoSQLiteAdapter.js.map +1 -0
  17. package/lib/ExpoSQLiteAdapter/ExpoSQLiteDatabase.d.ts +17 -0
  18. package/lib/ExpoSQLiteAdapter/ExpoSQLiteDatabase.js +362 -0
  19. package/lib/ExpoSQLiteAdapter/ExpoSQLiteDatabase.js.map +1 -0
  20. package/lib/SQLiteAdapter/SQLiteAdapter.d.ts +3 -23
  21. package/lib/SQLiteAdapter/SQLiteAdapter.js +3 -580
  22. package/lib/SQLiteAdapter/SQLiteAdapter.js.map +1 -1
  23. package/lib/SQLiteAdapter/SQLiteDatabase.d.ts +8 -8
  24. package/lib/SQLiteAdapter/SQLiteDatabase.js +46 -42
  25. package/lib/SQLiteAdapter/SQLiteDatabase.js.map +1 -1
  26. package/lib/common/CommonSQLiteAdapter.d.ts +23 -0
  27. package/lib/common/CommonSQLiteAdapter.js +582 -0
  28. package/lib/common/CommonSQLiteAdapter.js.map +1 -0
  29. package/lib/{SQLiteAdapter → common}/SQLiteUtils.d.ts +3 -2
  30. package/lib/{SQLiteAdapter → common}/SQLiteUtils.js +54 -3
  31. package/lib/common/SQLiteUtils.js.map +1 -0
  32. package/lib/common/constants.d.ts +1 -0
  33. package/lib/common/constants.js +4 -0
  34. package/lib/common/constants.js.map +1 -0
  35. package/lib/common/types.d.ts +13 -0
  36. package/lib/common/types.js +3 -0
  37. package/lib/common/types.js.map +1 -0
  38. package/lib-esm/ExpoSQLiteAdapter/ExpoSQLiteAdapter.d.ts +3 -0
  39. package/lib-esm/ExpoSQLiteAdapter/ExpoSQLiteAdapter.js +5 -0
  40. package/lib-esm/ExpoSQLiteAdapter/ExpoSQLiteAdapter.js.map +1 -0
  41. package/lib-esm/ExpoSQLiteAdapter/ExpoSQLiteDatabase.d.ts +17 -0
  42. package/lib-esm/ExpoSQLiteAdapter/ExpoSQLiteDatabase.js +360 -0
  43. package/lib-esm/ExpoSQLiteAdapter/ExpoSQLiteDatabase.js.map +1 -0
  44. package/lib-esm/SQLiteAdapter/SQLiteAdapter.d.ts +3 -23
  45. package/lib-esm/SQLiteAdapter/SQLiteAdapter.js +3 -580
  46. package/lib-esm/SQLiteAdapter/SQLiteAdapter.js.map +1 -1
  47. package/lib-esm/SQLiteAdapter/SQLiteDatabase.d.ts +8 -8
  48. package/lib-esm/SQLiteAdapter/SQLiteDatabase.js +46 -42
  49. package/lib-esm/SQLiteAdapter/SQLiteDatabase.js.map +1 -1
  50. package/lib-esm/common/CommonSQLiteAdapter.d.ts +23 -0
  51. package/lib-esm/common/CommonSQLiteAdapter.js +580 -0
  52. package/lib-esm/common/CommonSQLiteAdapter.js.map +1 -0
  53. package/lib-esm/{SQLiteAdapter → common}/SQLiteUtils.d.ts +3 -2
  54. package/lib-esm/{SQLiteAdapter → common}/SQLiteUtils.js +52 -2
  55. package/lib-esm/common/SQLiteUtils.js.map +1 -0
  56. package/lib-esm/common/constants.d.ts +1 -0
  57. package/lib-esm/common/constants.js +2 -0
  58. package/lib-esm/common/constants.js.map +1 -0
  59. package/lib-esm/common/types.d.ts +13 -0
  60. package/lib-esm/common/types.js +1 -0
  61. package/lib-esm/common/types.js.map +1 -0
  62. package/package.json +13 -7
  63. package/src/ExpoSQLiteAdapter/ExpoSQLiteAdapter.ts +8 -0
  64. package/src/ExpoSQLiteAdapter/ExpoSQLiteDatabase.ts +282 -0
  65. package/src/SQLiteAdapter/SQLiteAdapter.ts +5 -475
  66. package/src/SQLiteAdapter/SQLiteDatabase.ts +49 -53
  67. package/src/common/CommonSQLiteAdapter.ts +479 -0
  68. package/src/{SQLiteAdapter → common}/SQLiteUtils.ts +66 -5
  69. package/src/common/constants.ts +1 -0
  70. package/src/common/types.ts +29 -0
  71. package/webpack.config.dev.js +2 -0
  72. package/lib/SQLiteAdapter/SQLiteUtils.js.map +0 -1
  73. package/lib/SQLiteAdapter/types.d.ts +0 -2
  74. package/lib/SQLiteAdapter/types.js +0 -28
  75. package/lib/SQLiteAdapter/types.js.map +0 -1
  76. package/lib-esm/SQLiteAdapter/SQLiteUtils.js.map +0 -1
  77. package/lib-esm/SQLiteAdapter/types.d.ts +0 -2
  78. package/lib-esm/SQLiteAdapter/types.js +0 -25
  79. package/lib-esm/SQLiteAdapter/types.js.map +0 -1
  80. package/src/SQLiteAdapter/types.ts +0 -31
package/CHANGELOG.md CHANGED
@@ -3,6 +3,163 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.3.6](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore-storage-adapter@1.3.5...@aws-amplify/datastore-storage-adapter@1.3.6) (2022-07-21)
7
+
8
+ **Note:** Version bump only for package @aws-amplify/datastore-storage-adapter
9
+
10
+
11
+
12
+
13
+
14
+ ## [1.3.5](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore-storage-adapter@1.3.4...@aws-amplify/datastore-storage-adapter@1.3.5) (2022-07-07)
15
+
16
+ **Note:** Version bump only for package @aws-amplify/datastore-storage-adapter
17
+
18
+
19
+
20
+
21
+
22
+ ## [1.3.4](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore-storage-adapter@1.3.3...@aws-amplify/datastore-storage-adapter@1.3.4) (2022-06-18)
23
+
24
+ **Note:** Version bump only for package @aws-amplify/datastore-storage-adapter
25
+
26
+
27
+
28
+
29
+
30
+ ## [1.3.3](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore-storage-adapter@1.3.2...@aws-amplify/datastore-storage-adapter@1.3.3) (2022-06-15)
31
+
32
+
33
+ ### Bug Fixes
34
+
35
+ * Add module declaration files for datastore-storage-adapter ([#9922](https://github.com/aws-amplify/amplify-js/issues/9922)) ([88b6a1e](https://github.com/aws-amplify/amplify-js/commit/88b6a1e82445c359c930ae40a9028ab250870d74))
36
+ * **@aws-amplify/datastore:** adds missing fields to items sent through observe/observeQuery ([#9973](https://github.com/aws-amplify/amplify-js/issues/9973)) ([ca2a11b](https://github.com/aws-amplify/amplify-js/commit/ca2a11b5bc987e71ce3344058a4886bf067cb17b))
37
+
38
+
39
+
40
+
41
+
42
+ ## [1.3.2](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore-storage-adapter@1.3.1...@aws-amplify/datastore-storage-adapter@1.3.2) (2022-05-24)
43
+
44
+ **Note:** Version bump only for package @aws-amplify/datastore-storage-adapter
45
+
46
+
47
+
48
+
49
+
50
+ ## [1.3.1](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore-storage-adapter@1.3.0...@aws-amplify/datastore-storage-adapter@1.3.1) (2022-05-23)
51
+
52
+
53
+ ### Bug Fixes
54
+
55
+ * **@aws-amplify/datastore-storage-adapter:** remove extra, invalid sqlite mutations again ([#9921](https://github.com/aws-amplify/amplify-js/issues/9921)) ([00923cf](https://github.com/aws-amplify/amplify-js/commit/00923cfaeafcee97a0f54cc6aa04724f7155e75d))
56
+
57
+
58
+
59
+
60
+
61
+ # [1.3.0](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore-storage-adapter@1.2.13...@aws-amplify/datastore-storage-adapter@1.3.0) (2022-05-12)
62
+
63
+
64
+ ### Features
65
+
66
+ * Added ExpoSQLiteAdapter and Code Sharing for common files ([#9581](https://github.com/aws-amplify/amplify-js/issues/9581)) ([a8ed3c2](https://github.com/aws-amplify/amplify-js/commit/a8ed3c2fad0c780c8782e1729414afd51ff6b155))
67
+
68
+
69
+
70
+
71
+
72
+ ## [1.2.13](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore-storage-adapter@1.2.12...@aws-amplify/datastore-storage-adapter@1.2.13) (2022-05-03)
73
+
74
+
75
+ ### Bug Fixes
76
+
77
+ * **@aws-amplify/datastore-storage-adapter:** SQLite adapter NULL handling and mutation queue management bugs ([#9813](https://github.com/aws-amplify/amplify-js/issues/9813)) ([fe691fd](https://github.com/aws-amplify/amplify-js/commit/fe691fd4f67adc6ac973dd12ca056563d0720d69))
78
+
79
+
80
+
81
+
82
+
83
+ ## [1.2.12](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore-storage-adapter@1.2.11...@aws-amplify/datastore-storage-adapter@1.2.12) (2022-04-14)
84
+
85
+ **Note:** Version bump only for package @aws-amplify/datastore-storage-adapter
86
+
87
+
88
+
89
+
90
+
91
+ ## [1.2.11](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore-storage-adapter@1.2.10...@aws-amplify/datastore-storage-adapter@1.2.11) (2022-04-04)
92
+
93
+ **Note:** Version bump only for package @aws-amplify/datastore-storage-adapter
94
+
95
+
96
+
97
+
98
+
99
+ ## [1.2.10](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore-storage-adapter@1.2.9...@aws-amplify/datastore-storage-adapter@1.2.10) (2022-03-28)
100
+
101
+ **Note:** Version bump only for package @aws-amplify/datastore-storage-adapter
102
+
103
+
104
+
105
+
106
+
107
+ ## [1.2.9](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore-storage-adapter@1.2.8...@aws-amplify/datastore-storage-adapter@1.2.9) (2022-03-22)
108
+
109
+ **Note:** Version bump only for package @aws-amplify/datastore-storage-adapter
110
+
111
+
112
+
113
+
114
+
115
+ ## [1.2.8](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore-storage-adapter@1.2.7...@aws-amplify/datastore-storage-adapter@1.2.8) (2022-03-10)
116
+
117
+ **Note:** Version bump only for package @aws-amplify/datastore-storage-adapter
118
+
119
+
120
+
121
+
122
+
123
+ ## [1.2.7](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore-storage-adapter@1.2.6...@aws-amplify/datastore-storage-adapter@1.2.7) (2022-02-28)
124
+
125
+ **Note:** Version bump only for package @aws-amplify/datastore-storage-adapter
126
+
127
+
128
+
129
+
130
+
131
+ ## [1.2.6](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore-storage-adapter@1.2.5...@aws-amplify/datastore-storage-adapter@1.2.6) (2022-02-03)
132
+
133
+ **Note:** Version bump only for package @aws-amplify/datastore-storage-adapter
134
+
135
+
136
+
137
+
138
+
139
+ ## [1.2.5](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore-storage-adapter@1.2.4...@aws-amplify/datastore-storage-adapter@1.2.5) (2022-01-27)
140
+
141
+ **Note:** Version bump only for package @aws-amplify/datastore-storage-adapter
142
+
143
+
144
+
145
+
146
+
147
+ ## [1.2.4](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore-storage-adapter@1.2.3...@aws-amplify/datastore-storage-adapter@1.2.4) (2022-01-07)
148
+
149
+ **Note:** Version bump only for package @aws-amplify/datastore-storage-adapter
150
+
151
+
152
+
153
+
154
+
155
+ ## [1.2.3](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore-storage-adapter@1.2.2...@aws-amplify/datastore-storage-adapter@1.2.3) (2021-12-16)
156
+
157
+ **Note:** Version bump only for package @aws-amplify/datastore-storage-adapter
158
+
159
+
160
+
161
+
162
+
6
163
  ## [1.2.2](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore-storage-adapter@1.2.1...@aws-amplify/datastore-storage-adapter@1.2.2) (2021-12-03)
7
164
 
8
165
  **Note:** Version bump only for package @aws-amplify/datastore-storage-adapter
@@ -0,0 +1 @@
1
+ declare module '@aws-amplify/datastore-storage-adapter/ExpoSQLiteAdapter';
@@ -0,0 +1,7 @@
1
+ 'use strict';
2
+
3
+ if (process.env.NODE_ENV === 'production') {
4
+ module.exports = require('../dist/aws-amplify-datastore-sqlite-adapter-expo.min.js');
5
+ } else {
6
+ module.exports = require('../dist/aws-amplify-datastore-sqlite-adapter-expo.js');
7
+ }
@@ -0,0 +1 @@
1
+ declare module '@aws-amplify/datastore-storage-adapter/SQLiteAdapter';
@@ -0,0 +1,7 @@
1
+ 'use strict';
2
+
3
+ if (process.env.NODE_ENV === 'production') {
4
+ module.exports = require('../dist/aws-amplify-datastore-storage-adapter.min.js');
5
+ } else {
6
+ module.exports = require('../dist/aws-amplify-datastore-storage-adapter.js');
7
+ }