@_nazmiforreal/flutter-ota 0.1.21 → 0.1.22

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 (41) hide show
  1. package/bin/flutter-ota-linux-x64 +0 -0
  2. package/dart-src/packages/cli-tools/.dart_tool/package_config.json +460 -0
  3. package/dart-src/packages/cli-tools/.dart_tool/package_graph.json +707 -0
  4. package/dart-src/packages/cli-tools/lib/flutter_ota_kit_cli.dart +7 -4
  5. package/dart-src/packages/cli-tools/lib/src/commands/bundle.dart +95 -32
  6. package/dart-src/packages/cli-tools/lib/src/commands/channel.dart +28 -12
  7. package/dart-src/packages/cli-tools/lib/src/commands/config_command.dart +9 -4
  8. package/dart-src/packages/cli-tools/lib/src/commands/deploy.dart +29 -6
  9. package/dart-src/packages/cli-tools/lib/src/commands/doctor.dart +20 -32
  10. package/dart-src/packages/cli-tools/lib/src/commands/init.dart +40 -19
  11. package/dart-src/packages/cli-tools/lib/src/commands/keys.dart +7 -5
  12. package/dart-src/packages/cli-tools/lib/src/commands/migrate.dart +33 -22
  13. package/dart-src/packages/cli-tools/lib/src/commands/pocketbase.dart +256 -68
  14. package/dart-src/packages/cli-tools/lib/src/commands/rollback.dart +17 -11
  15. package/dart-src/packages/cli-tools/lib/src/commands/storage.dart +28 -12
  16. package/dart-src/packages/cli-tools/lib/src/config.dart +5 -6
  17. package/dart-src/packages/cli-tools/lib/src/operations.dart +1 -3
  18. package/dart-src/packages/cli-tools/lib/src/pocketbase/process_manager.dart +17 -16
  19. package/dart-src/packages/cli-tools/lib/src/runner.dart +3 -1
  20. package/dart-src/packages/cli-tools/lib/src/ui/ui.dart +8 -14
  21. package/dart-src/packages/cli-tools/pubspec.lock +590 -0
  22. package/dart-src/packages/cli-tools/test/mocks/mock_pocketbase_client.dart +7 -3
  23. package/dart-src/packages/cli-tools/test/pocketbase_schema_test.dart +13 -16
  24. package/dart-src/packages/core/CHANGELOG.md +15 -0
  25. package/dart-src/packages/core/lib/src/bundle.dart +3 -6
  26. package/dart-src/packages/core/pubspec.yaml +1 -1
  27. package/dart-src/plugins/aws/CHANGELOG.md +18 -0
  28. package/dart-src/plugins/aws/lib/src/aws_cloudfront_client.dart +1 -2
  29. package/dart-src/plugins/aws/pubspec.yaml +3 -3
  30. package/dart-src/plugins/cloudflare/CHANGELOG.md +18 -0
  31. package/dart-src/plugins/cloudflare/pubspec.yaml +3 -3
  32. package/dart-src/plugins/plugin-core/CHANGELOG.md +15 -0
  33. package/dart-src/plugins/plugin-core/pubspec.yaml +2 -2
  34. package/dart-src/plugins/pocketbase/CHANGELOG.md +18 -0
  35. package/dart-src/plugins/pocketbase/pubspec.yaml +3 -3
  36. package/dart-src/plugins/postgres/CHANGELOG.md +18 -0
  37. package/dart-src/plugins/postgres/pubspec.yaml +3 -3
  38. package/dart-src/plugins/supabase/CHANGELOG.md +18 -0
  39. package/dart-src/plugins/supabase/pubspec.yaml +3 -3
  40. package/package.json +2 -2
  41. package/scripts/postinstall.js +5 -1
@@ -0,0 +1,590 @@
1
+ # Generated by pub
2
+ # See https://dart.dev/tools/pub/glossary#lockfile
3
+ packages:
4
+ _fe_analyzer_shared:
5
+ dependency: transitive
6
+ description:
7
+ name: _fe_analyzer_shared
8
+ sha256: fe18c7e37d5acb3b43224fa255281dec007970d6fd01f6d76fcd88ed3777a117
9
+ url: "https://pub.dev"
10
+ source: hosted
11
+ version: "107.0.0"
12
+ analyzer:
13
+ dependency: transitive
14
+ description:
15
+ name: analyzer
16
+ sha256: f2dde9e50c23fc95b846b4ef334e98c3ae8c0effd5d2453b02fc9fb3f8939791
17
+ url: "https://pub.dev"
18
+ source: hosted
19
+ version: "14.3.0"
20
+ archive:
21
+ dependency: "direct main"
22
+ description:
23
+ name: archive
24
+ sha256: ace891da0862b0e4cabbb064ee3fd87b2728b898949fdb366d83fe98342c9f19
25
+ url: "https://pub.dev"
26
+ source: hosted
27
+ version: "4.2.0"
28
+ args:
29
+ dependency: "direct main"
30
+ description:
31
+ name: args
32
+ sha256: d0481093c50b1da8910eb0bb301626d4d8eb7284aa739614d2b394ee09e3ea04
33
+ url: "https://pub.dev"
34
+ source: hosted
35
+ version: "2.7.0"
36
+ asn1lib:
37
+ dependency: transitive
38
+ description:
39
+ name: asn1lib
40
+ sha256: "9a8f69025044eb466b9b60ef3bc3ac99b4dc6c158ae9c56d25eeccf5bc56d024"
41
+ url: "https://pub.dev"
42
+ source: hosted
43
+ version: "1.6.5"
44
+ async:
45
+ dependency: transitive
46
+ description:
47
+ name: async
48
+ sha256: e2eb0491ba5ddb6177742d2da23904574082139b07c1e33b8503b9f46f3e1a37
49
+ url: "https://pub.dev"
50
+ source: hosted
51
+ version: "2.13.1"
52
+ boolean_selector:
53
+ dependency: transitive
54
+ description:
55
+ name: boolean_selector
56
+ sha256: "8aab1771e1243a5063b8b0ff68042d67334e3feab9e95b9490f9a6ebf73b42ea"
57
+ url: "https://pub.dev"
58
+ source: hosted
59
+ version: "2.1.2"
60
+ buffer:
61
+ dependency: transitive
62
+ description:
63
+ name: buffer
64
+ sha256: "389da2ec2c16283c8787e0adaede82b1842102f8c8aae2f49003a766c5c6b3d1"
65
+ url: "https://pub.dev"
66
+ source: hosted
67
+ version: "1.2.3"
68
+ charcode:
69
+ dependency: transitive
70
+ description:
71
+ name: charcode
72
+ sha256: fb0f1107cac15a5ea6ef0a6ef71a807b9e4267c713bb93e00e92d737cc8dbd8a
73
+ url: "https://pub.dev"
74
+ source: hosted
75
+ version: "1.4.0"
76
+ cli_config:
77
+ dependency: transitive
78
+ description:
79
+ name: cli_config
80
+ sha256: ac20a183a07002b700f0c25e61b7ee46b23c309d76ab7b7640a028f18e4d99ec
81
+ url: "https://pub.dev"
82
+ source: hosted
83
+ version: "0.2.0"
84
+ clock:
85
+ dependency: transitive
86
+ description:
87
+ name: clock
88
+ sha256: e51d50bca3217c9a9fa2b41a30e4a38971133f5f9ec7a3d57bae095007f1d28e
89
+ url: "https://pub.dev"
90
+ source: hosted
91
+ version: "1.1.3"
92
+ collection:
93
+ dependency: "direct main"
94
+ description:
95
+ name: collection
96
+ sha256: "2f5709ae4d3d59dd8f7cd309b4e023046b57d8a6c82130785d2b0e5868084e76"
97
+ url: "https://pub.dev"
98
+ source: hosted
99
+ version: "1.19.1"
100
+ convert:
101
+ dependency: transitive
102
+ description:
103
+ name: convert
104
+ sha256: b30acd5944035672bc15c6b7a8b47d773e41e2f17de064350988c5d02adb1c68
105
+ url: "https://pub.dev"
106
+ source: hosted
107
+ version: "3.1.2"
108
+ coverage:
109
+ dependency: transitive
110
+ description:
111
+ name: coverage
112
+ sha256: "956a3de0725ca232ad353565a8290d3357592bf4250f6f298a185e2d949c5d3d"
113
+ url: "https://pub.dev"
114
+ source: hosted
115
+ version: "1.15.1"
116
+ crypto:
117
+ dependency: "direct main"
118
+ description:
119
+ name: crypto
120
+ sha256: c8ea0233063ba03258fbcf2ca4d6dadfefe14f02fab57702265467a19f27fadf
121
+ url: "https://pub.dev"
122
+ source: hosted
123
+ version: "3.0.7"
124
+ cryptography:
125
+ dependency: "direct main"
126
+ description:
127
+ name: cryptography
128
+ sha256: "3eda3029d34ec9095a27a198ac9785630fe525c0eb6a49f3d575272f8e792ef0"
129
+ url: "https://pub.dev"
130
+ source: hosted
131
+ version: "2.9.0"
132
+ dart_jsonwebtoken:
133
+ dependency: transitive
134
+ description:
135
+ name: dart_jsonwebtoken
136
+ sha256: ad84e60181696513d04d5f2078e0bbc20365b911f46f647797317414bdc88fbe
137
+ url: "https://pub.dev"
138
+ source: hosted
139
+ version: "3.4.1"
140
+ ffi:
141
+ dependency: transitive
142
+ description:
143
+ name: ffi
144
+ sha256: "6d7fd89431262d8f3125e81b50d3847a091d846eafcd4fdb88dd06f36d705a45"
145
+ url: "https://pub.dev"
146
+ source: hosted
147
+ version: "2.2.0"
148
+ file:
149
+ dependency: transitive
150
+ description:
151
+ name: file
152
+ sha256: a3b4f84adafef897088c160faf7dfffb7696046cb13ae90b508c2cbc95d3b8d4
153
+ url: "https://pub.dev"
154
+ source: hosted
155
+ version: "7.0.1"
156
+ flutter_ota_kit_aws:
157
+ dependency: "direct main"
158
+ description:
159
+ path: "../../plugins/aws"
160
+ relative: true
161
+ source: path
162
+ version: "0.1.10"
163
+ flutter_ota_kit_cloudflare:
164
+ dependency: "direct main"
165
+ description:
166
+ path: "../../plugins/cloudflare"
167
+ relative: true
168
+ source: path
169
+ version: "0.1.10"
170
+ flutter_ota_kit_core:
171
+ dependency: "direct main"
172
+ description:
173
+ path: "../core"
174
+ relative: true
175
+ source: path
176
+ version: "0.1.8"
177
+ flutter_ota_kit_plugin_core:
178
+ dependency: "direct main"
179
+ description:
180
+ path: "../../plugins/plugin-core"
181
+ relative: true
182
+ source: path
183
+ version: "0.0.10"
184
+ flutter_ota_kit_pocketbase:
185
+ dependency: "direct main"
186
+ description:
187
+ path: "../../plugins/pocketbase"
188
+ relative: true
189
+ source: path
190
+ version: "0.1.7"
191
+ flutter_ota_kit_postgres:
192
+ dependency: "direct main"
193
+ description:
194
+ path: "../../plugins/postgres"
195
+ relative: true
196
+ source: path
197
+ version: "0.1.10"
198
+ flutter_ota_kit_supabase:
199
+ dependency: "direct main"
200
+ description:
201
+ path: "../../plugins/supabase"
202
+ relative: true
203
+ source: path
204
+ version: "0.1.11"
205
+ frontend_server_client:
206
+ dependency: transitive
207
+ description:
208
+ name: frontend_server_client
209
+ sha256: f64a0333a82f30b0cca061bc3d143813a486dc086b574bfb233b7c1372427694
210
+ url: "https://pub.dev"
211
+ source: hosted
212
+ version: "4.0.0"
213
+ functions_client:
214
+ dependency: transitive
215
+ description:
216
+ name: functions_client
217
+ sha256: "931e822688d2e97867b2300e2fdbb08c9db73f8653fc83efc7a259d2e0cca769"
218
+ url: "https://pub.dev"
219
+ source: hosted
220
+ version: "2.7.1"
221
+ glob:
222
+ dependency: transitive
223
+ description:
224
+ name: glob
225
+ sha256: "218aeb56050c714f62a3182775320dfa04602b55074873e24e31bbd39bda96fb"
226
+ url: "https://pub.dev"
227
+ source: hosted
228
+ version: "2.2.0"
229
+ gotrue:
230
+ dependency: transitive
231
+ description:
232
+ name: gotrue
233
+ sha256: cd73a6de4198baca71341177bed233673d7965aca2a0257ab5561feb2abdaf59
234
+ url: "https://pub.dev"
235
+ source: hosted
236
+ version: "2.27.2"
237
+ http:
238
+ dependency: "direct main"
239
+ description:
240
+ name: http
241
+ sha256: "87721a4a50b19c7f1d49001e51409bddc46303966ce89a65af4f4e6004896412"
242
+ url: "https://pub.dev"
243
+ source: hosted
244
+ version: "1.6.0"
245
+ http_multi_server:
246
+ dependency: transitive
247
+ description:
248
+ name: http_multi_server
249
+ sha256: aa6199f908078bb1c5efb8d8638d4ae191aac11b311132c3ef48ce352fb52ef8
250
+ url: "https://pub.dev"
251
+ source: hosted
252
+ version: "3.2.2"
253
+ http_parser:
254
+ dependency: transitive
255
+ description:
256
+ name: http_parser
257
+ sha256: "178d74305e7866013777bab2c3d8726205dc5a4dd935297175b19a23a2e66571"
258
+ url: "https://pub.dev"
259
+ source: hosted
260
+ version: "4.1.2"
261
+ io:
262
+ dependency: transitive
263
+ description:
264
+ name: io
265
+ sha256: "2635216ca6a737e60de577ffa1a48a0bec76ca8a62917cfc1bb88c14c570646f"
266
+ url: "https://pub.dev"
267
+ source: hosted
268
+ version: "1.1.0"
269
+ logging:
270
+ dependency: transitive
271
+ description:
272
+ name: logging
273
+ sha256: c8245ada5f1717ed44271ed1c26b8ce85ca3228fd2ffdb75468ab01979309d61
274
+ url: "https://pub.dev"
275
+ source: hosted
276
+ version: "1.3.0"
277
+ matcher:
278
+ dependency: transitive
279
+ description:
280
+ name: matcher
281
+ sha256: "31bd099b47c10cd1aeb55146a2d46ce0277630ecef3f7dae54ad7873f36696cd"
282
+ url: "https://pub.dev"
283
+ source: hosted
284
+ version: "0.12.20"
285
+ meta:
286
+ dependency: transitive
287
+ description:
288
+ name: meta
289
+ sha256: "307249ce4ff29d58a18e97f6345f539382eb9c9c29ecda628900f31de0443dd9"
290
+ url: "https://pub.dev"
291
+ source: hosted
292
+ version: "1.19.0"
293
+ mime:
294
+ dependency: transitive
295
+ description:
296
+ name: mime
297
+ sha256: bd47de35f07e27267e69c8c8b22edf9473bfee170a60d60fcc93730c5144b7f6
298
+ url: "https://pub.dev"
299
+ source: hosted
300
+ version: "2.1.0"
301
+ node_preamble:
302
+ dependency: transitive
303
+ description:
304
+ name: node_preamble
305
+ sha256: "6e7eac89047ab8a8d26cf16127b5ed26de65209847630400f9aefd7cd5c730db"
306
+ url: "https://pub.dev"
307
+ source: hosted
308
+ version: "2.0.2"
309
+ package_config:
310
+ dependency: transitive
311
+ description:
312
+ name: package_config
313
+ sha256: ffcf4cf3d6c0b74ac43708d9f56625506e8a68aa935abe9d267a7330f320eb5d
314
+ url: "https://pub.dev"
315
+ source: hosted
316
+ version: "3.0.0"
317
+ path:
318
+ dependency: "direct main"
319
+ description:
320
+ name: path
321
+ sha256: "75cca69d1490965be98c73ceaea117e8a04dd21217b37b292c9ddbec0d955bc5"
322
+ url: "https://pub.dev"
323
+ source: hosted
324
+ version: "1.9.1"
325
+ pointycastle:
326
+ dependency: transitive
327
+ description:
328
+ name: pointycastle
329
+ sha256: "92aa3841d083cc4b0f4709b5c74fd6409a3e6ba833ffc7dc6a8fee096366acf5"
330
+ url: "https://pub.dev"
331
+ source: hosted
332
+ version: "4.0.0"
333
+ pool:
334
+ dependency: transitive
335
+ description:
336
+ name: pool
337
+ sha256: "4177f68c237ea2128d1bee66ac17b2ce05ba3dbaafcbdd54c5d40a39d0b6b11c"
338
+ url: "https://pub.dev"
339
+ source: hosted
340
+ version: "1.5.3"
341
+ posix:
342
+ dependency: transitive
343
+ description:
344
+ name: posix
345
+ sha256: bc1bad54ad2b735816e31f8d4600cfde6c7839975085ddfbca48b6c9f7c4044e
346
+ url: "https://pub.dev"
347
+ source: hosted
348
+ version: "6.5.2"
349
+ postgres:
350
+ dependency: "direct main"
351
+ description:
352
+ name: postgres
353
+ sha256: "123de5cbadc56a7e8d9fa485c780b6b56940b4081f4c74f3a5578682757c299b"
354
+ url: "https://pub.dev"
355
+ source: hosted
356
+ version: "3.5.12"
357
+ postgrest:
358
+ dependency: transitive
359
+ description:
360
+ name: postgrest
361
+ sha256: b7f957273ba6a1c26cefa987ac524f4138e9ab7542fbb9e6abdfddacb9895a21
362
+ url: "https://pub.dev"
363
+ source: hosted
364
+ version: "2.9.1"
365
+ pub_semver:
366
+ dependency: transitive
367
+ description:
368
+ name: pub_semver
369
+ sha256: "261236774e8b1d69cfc6b9eabbc96c40f25e7a2d6b171f3385d4f65d5734fb24"
370
+ url: "https://pub.dev"
371
+ source: hosted
372
+ version: "2.2.1"
373
+ realtime_client:
374
+ dependency: transitive
375
+ description:
376
+ name: realtime_client
377
+ sha256: ff731ce21fd775e0d7accfb1eaccdcf47b687610720822ba8b9fd8f5bccb2bd9
378
+ url: "https://pub.dev"
379
+ source: hosted
380
+ version: "2.13.0"
381
+ shelf:
382
+ dependency: "direct main"
383
+ description:
384
+ name: shelf
385
+ sha256: e7dd780a7ffb623c57850b33f43309312fc863fb6aa3d276a754bb299839ef12
386
+ url: "https://pub.dev"
387
+ source: hosted
388
+ version: "1.4.2"
389
+ shelf_packages_handler:
390
+ dependency: transitive
391
+ description:
392
+ name: shelf_packages_handler
393
+ sha256: "89f967eca29607c933ba9571d838be31d67f53f6e4ee15147d5dc2934fee1b1e"
394
+ url: "https://pub.dev"
395
+ source: hosted
396
+ version: "3.0.2"
397
+ shelf_static:
398
+ dependency: transitive
399
+ description:
400
+ name: shelf_static
401
+ sha256: c87c3875f91262785dade62d135760c2c69cb217ac759485334c5857ad89f6e3
402
+ url: "https://pub.dev"
403
+ source: hosted
404
+ version: "1.1.3"
405
+ shelf_web_socket:
406
+ dependency: transitive
407
+ description:
408
+ name: shelf_web_socket
409
+ sha256: "3632775c8e90d6c9712f883e633716432a27758216dfb61bd86a8321c0580925"
410
+ url: "https://pub.dev"
411
+ source: hosted
412
+ version: "3.0.0"
413
+ source_map_stack_trace:
414
+ dependency: transitive
415
+ description:
416
+ name: source_map_stack_trace
417
+ sha256: c0713a43e323c3302c2abe2a1cc89aa057a387101ebd280371d6a6c9fa68516b
418
+ url: "https://pub.dev"
419
+ source: hosted
420
+ version: "2.1.2"
421
+ source_maps:
422
+ dependency: transitive
423
+ description:
424
+ name: source_maps
425
+ sha256: "14c2945847669b44089bb1222f66873d7ff7103c58911917f2a63c5a62327898"
426
+ url: "https://pub.dev"
427
+ source: hosted
428
+ version: "0.10.14"
429
+ source_span:
430
+ dependency: transitive
431
+ description:
432
+ name: source_span
433
+ sha256: "56a02f1f4cd1a2d96303c0144c93bd6d909eea6bee6bf5a0e0b685edbd4c47ab"
434
+ url: "https://pub.dev"
435
+ source: hosted
436
+ version: "1.10.2"
437
+ stack_trace:
438
+ dependency: transitive
439
+ description:
440
+ name: stack_trace
441
+ sha256: "277654b3034d17ac6f9f1cb5595db011b1d5d41e8806866db28e0abaa101c490"
442
+ url: "https://pub.dev"
443
+ source: hosted
444
+ version: "1.12.2"
445
+ storage_client:
446
+ dependency: transitive
447
+ description:
448
+ name: storage_client
449
+ sha256: b16aaaadcef812fda31fca056f50fb3485afe64f94e5d537d30f485ed55dec5e
450
+ url: "https://pub.dev"
451
+ source: hosted
452
+ version: "2.8.0"
453
+ stream_channel:
454
+ dependency: transitive
455
+ description:
456
+ name: stream_channel
457
+ sha256: "969e04c80b8bcdf826f8f16579c7b14d780458bd97f56d107d3950fdbeef059d"
458
+ url: "https://pub.dev"
459
+ source: hosted
460
+ version: "2.1.4"
461
+ string_scanner:
462
+ dependency: transitive
463
+ description:
464
+ name: string_scanner
465
+ sha256: "921cd31725b72fe181906c6a94d987c78e3b98c2e205b397ea399d4054872b43"
466
+ url: "https://pub.dev"
467
+ source: hosted
468
+ version: "1.4.1"
469
+ supabase:
470
+ dependency: transitive
471
+ description:
472
+ name: supabase
473
+ sha256: "0645becf76f49d2633d8ec9bfd78ab98dce42de6899da8fa1f069c2c836d5d23"
474
+ url: "https://pub.dev"
475
+ source: hosted
476
+ version: "2.16.1"
477
+ supabase_common:
478
+ dependency: transitive
479
+ description:
480
+ name: supabase_common
481
+ sha256: a7961a44953cf8d9da049381fc3377516348255042fbb12b9d4f8540816f2fe9
482
+ url: "https://pub.dev"
483
+ source: hosted
484
+ version: "0.1.2"
485
+ term_glyph:
486
+ dependency: transitive
487
+ description:
488
+ name: term_glyph
489
+ sha256: "7f554798625ea768a7518313e58f83891c7f5024f88e46e7182a4558850a4b8e"
490
+ url: "https://pub.dev"
491
+ source: hosted
492
+ version: "1.2.2"
493
+ test:
494
+ dependency: "direct dev"
495
+ description:
496
+ name: test
497
+ sha256: de5d145b0afff7921e5e788a880f52d7e5f3ae24068a202f6fd3b58e4ba26323
498
+ url: "https://pub.dev"
499
+ source: hosted
500
+ version: "1.32.0"
501
+ test_api:
502
+ dependency: transitive
503
+ description:
504
+ name: test_api
505
+ sha256: "0a10344e901e5b2e63819567951cb6a06673ed6b84f40462188ff5a0c41f371f"
506
+ url: "https://pub.dev"
507
+ source: hosted
508
+ version: "0.7.14"
509
+ test_core:
510
+ dependency: transitive
511
+ description:
512
+ name: test_core
513
+ sha256: "80f3fb49087454e07e7e07c67578cfdd156c8c3a5227d8b3f47c7b2d019c2e93"
514
+ url: "https://pub.dev"
515
+ source: hosted
516
+ version: "0.6.20"
517
+ typed_data:
518
+ dependency: transitive
519
+ description:
520
+ name: typed_data
521
+ sha256: f9049c039ebfeb4cf7a7104a675823cd72dba8297f264b6637062516699fa006
522
+ url: "https://pub.dev"
523
+ source: hosted
524
+ version: "1.4.0"
525
+ vm_service:
526
+ dependency: transitive
527
+ description:
528
+ name: vm_service
529
+ sha256: "5f37239c4851efcef929cea7824e76df7f2f0970aef85d66bbc430afa40e72f0"
530
+ url: "https://pub.dev"
531
+ source: hosted
532
+ version: "15.3.0"
533
+ watcher:
534
+ dependency: transitive
535
+ description:
536
+ name: watcher
537
+ sha256: "1398c9f081a753f9226febe8900fce8f7d0a67163334e1c94a2438339d79d635"
538
+ url: "https://pub.dev"
539
+ source: hosted
540
+ version: "1.2.1"
541
+ web:
542
+ dependency: transitive
543
+ description:
544
+ name: web
545
+ sha256: "868d88a33d8a87b18ffc05f9f030ba328ffefba92d6c127917a2ba740f9cfe4a"
546
+ url: "https://pub.dev"
547
+ source: hosted
548
+ version: "1.1.1"
549
+ web_socket:
550
+ dependency: transitive
551
+ description:
552
+ name: web_socket
553
+ sha256: "34d64019aa8e36bf9842ac014bb5d2f5586ca73df5e4d9bf5c936975cae6982c"
554
+ url: "https://pub.dev"
555
+ source: hosted
556
+ version: "1.0.1"
557
+ web_socket_channel:
558
+ dependency: transitive
559
+ description:
560
+ name: web_socket_channel
561
+ sha256: d645757fb0f4773d602444000a8131ff5d48c9e47adfe9772652dd1a4f2d45c8
562
+ url: "https://pub.dev"
563
+ source: hosted
564
+ version: "3.0.3"
565
+ webkit_inspection_protocol:
566
+ dependency: transitive
567
+ description:
568
+ name: webkit_inspection_protocol
569
+ sha256: "87d3f2333bb240704cd3f1c6b5b7acd8a10e7f0bc28c28dcf14e782014f4a572"
570
+ url: "https://pub.dev"
571
+ source: hosted
572
+ version: "1.2.1"
573
+ yaml:
574
+ dependency: transitive
575
+ description:
576
+ name: yaml
577
+ sha256: f67cdd8e07d3c6329146aaef1ba043542b3134c12489f553ca9a7435d1068aea
578
+ url: "https://pub.dev"
579
+ source: hosted
580
+ version: "3.1.4"
581
+ yet_another_json_isolate:
582
+ dependency: transitive
583
+ description:
584
+ name: yet_another_json_isolate
585
+ sha256: eaa26beb5990b25a49d942374fd5a0c5aa67a837e03b14b4c26134aaa1ed01a9
586
+ url: "https://pub.dev"
587
+ source: hosted
588
+ version: "2.1.1"
589
+ sdks:
590
+ dart: ">=3.13.2 <4.0.0"
@@ -226,8 +226,9 @@ class MockPocketBaseClient implements PocketBaseClient {
226
226
  Future<void> deleteAdmin(String id) async {}
227
227
 
228
228
  @override
229
- Future<List<Map<String, dynamic>>> exportCollection(String collection) async =>
230
- [];
229
+ Future<List<Map<String, dynamic>>> exportCollection(
230
+ String collection,
231
+ ) async => [];
231
232
 
232
233
  @override
233
234
  Future<void> importCollection(
@@ -247,7 +248,10 @@ class MockPocketBaseClient implements PocketBaseClient {
247
248
 
248
249
  @override
249
250
  Future<Map<String, dynamic>> listLogs({
250
- String? filter, String? sort, int page = 1, int perPage = 30,
251
+ String? filter,
252
+ String? sort,
253
+ int page = 1,
254
+ int perPage = 30,
251
255
  }) async => {'items': [], 'totalItems': 0};
252
256
 
253
257
  @override
@@ -80,22 +80,19 @@ void main() {
80
80
  await mock.stop();
81
81
  });
82
82
 
83
- test(
84
- 'schema installer creates all five collections on a fresh PB',
85
- () async {
86
- final installer = PocketBaseSchemaInstaller(
87
- url: mock.baseUrl,
88
- adminEmail: 'admin@x.com',
89
- adminPassword: 'secret',
90
- );
91
- final result = await installer.install();
92
- expect(mock.authCalled, isTrue);
93
- expect(mock.lastAuthEmail, 'admin@x.com');
94
- expect(result.created, containsAll(_allCollections));
95
- expect(result.skipped, isEmpty);
96
- expect(mock.createdCollections, containsAll(_allCollections));
97
- },
98
- );
83
+ test('schema installer creates all five collections on a fresh PB', () async {
84
+ final installer = PocketBaseSchemaInstaller(
85
+ url: mock.baseUrl,
86
+ adminEmail: 'admin@x.com',
87
+ adminPassword: 'secret',
88
+ );
89
+ final result = await installer.install();
90
+ expect(mock.authCalled, isTrue);
91
+ expect(mock.lastAuthEmail, 'admin@x.com');
92
+ expect(result.created, containsAll(_allCollections));
93
+ expect(result.skipped, isEmpty);
94
+ expect(mock.createdCollections, containsAll(_allCollections));
95
+ });
99
96
 
100
97
  test('schema installer skips collections that already exist', () async {
101
98
  mock.existingCollections = _allCollections;
@@ -1,3 +1,18 @@
1
+ ## 0.1.8
2
+
3
+ - Release 2026-09-10
4
+
5
+ ## 0.1.8
6
+
7
+ - Automated release 2026-09-10
8
+
9
+ ## 0.1.7
10
+
11
+ - Added comprehensive documentation for all public APIs.
12
+ - Improved `Bundle` equality and hashCode implementation.
13
+ - Fixed `toSqlJson()` nullable field handling.
14
+ - Added `semver` exports to barrel file.
15
+
1
16
  ## 0.1.6
2
17
 
3
18
  - Added `gitCommitHash` field to `UpdateInfo` for commit tracking.
@@ -178,19 +178,16 @@ class Bundle {
178
178
  if (targetAppVersion != null) 'target_app_version': targetAppVersion,
179
179
  if (fingerprintHash != null) 'fingerprint_hash': fingerprintHash,
180
180
  if (metadata != null) 'metadata': metadata!.toJson(),
181
- if (manifestStorageUri != null)
182
- 'manifest_storage_uri': manifestStorageUri,
181
+ if (manifestStorageUri != null) 'manifest_storage_uri': manifestStorageUri,
183
182
  if (manifestFileHash != null) 'manifest_file_hash': manifestFileHash,
184
183
  if (assetBaseStorageUri != null)
185
184
  'asset_base_storage_uri': assetBaseStorageUri,
186
185
  if (patches != null) 'patches': patches!.map((p) => p.toJson()).toList(),
187
186
  if (patchBaseBundleId != null) 'patch_base_bundle_id': patchBaseBundleId,
188
- if (patchBaseFileHash != null)
189
- 'patch_base_file_hash': patchBaseFileHash,
187
+ if (patchBaseFileHash != null) 'patch_base_file_hash': patchBaseFileHash,
190
188
  if (patchFileHashLegacy != null) 'patch_file_hash': patchFileHashLegacy,
191
189
  if (patchStorageUri != null) 'patch_storage_uri': patchStorageUri,
192
- if (rolloutCohortCount != null)
193
- 'rollout_cohort_count': rolloutCohortCount,
190
+ if (rolloutCohortCount != null) 'rollout_cohort_count': rolloutCohortCount,
194
191
  if (targetCohorts != null) 'target_cohorts': targetCohorts,
195
192
  };
196
193
 
@@ -1,6 +1,6 @@
1
1
  name: flutter_ota_kit_core
2
2
  description: Core data model, rollout cohorts, and shared utilities for flutter_ota_kit — Dart translation of hot-updater's packages/core.
3
- version: 0.1.6
3
+ version: 0.1.8
4
4
  homepage: https://github.com/HYPER12755/flutter-ota-kit
5
5
  repository: https://github.com/HYPER12755/flutter-ota-kit
6
6
  issue_tracker: https://github.com/HYPER12755/flutter-ota-kit/issues