strata-storage 2.7.1 → 2.8.0

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 (101) hide show
  1. package/AI-INTEGRATION-GUIDE.md +5 -1
  2. package/LICENSE +21 -35
  3. package/README.md +15 -13
  4. package/dist/LICENSE +21 -35
  5. package/dist/README.md +15 -13
  6. package/dist/adapters/capacitor/FilesystemAdapter.d.ts +0 -1
  7. package/dist/adapters/capacitor/PreferencesAdapter.d.ts +0 -1
  8. package/dist/adapters/capacitor/SecureAdapter.d.ts +0 -1
  9. package/dist/adapters/capacitor/SqliteAdapter.d.ts +0 -1
  10. package/dist/adapters/capacitor/index.d.ts +0 -1
  11. package/dist/adapters/web/CacheAdapter.d.ts +0 -1
  12. package/dist/adapters/web/CookieAdapter.d.ts +0 -1
  13. package/dist/adapters/web/IndexedDBAdapter.d.ts +0 -1
  14. package/dist/adapters/web/LocalStorageAdapter.d.ts +0 -1
  15. package/dist/adapters/web/MemoryAdapter.d.ts +0 -1
  16. package/dist/adapters/web/SessionStorageAdapter.d.ts +0 -1
  17. package/dist/adapters/web/URLAdapter.d.ts +0 -1
  18. package/dist/adapters/web/index.d.ts +0 -1
  19. package/dist/capacitor.d.ts +0 -1
  20. package/dist/config/support.d.ts +0 -1
  21. package/dist/core/AdapterRegistry.d.ts +0 -1
  22. package/dist/core/BaseAdapter.d.ts +0 -1
  23. package/dist/core/Strata.d.ts +0 -1
  24. package/dist/features/compression/index.d.ts +0 -1
  25. package/dist/features/compression.d.ts +0 -1
  26. package/dist/features/encryption/index.d.ts +0 -1
  27. package/dist/features/encryption.d.ts +0 -1
  28. package/dist/features/integrity.d.ts +0 -1
  29. package/dist/features/migration.d.ts +0 -1
  30. package/dist/features/observer/index.d.ts +0 -1
  31. package/dist/features/observer.d.ts +0 -1
  32. package/dist/features/query/index.d.ts +0 -1
  33. package/dist/features/query.d.ts +0 -1
  34. package/dist/features/sync/index.d.ts +0 -1
  35. package/dist/features/sync.d.ts +0 -1
  36. package/dist/features/ttl/index.d.ts +0 -1
  37. package/dist/features/ttl.d.ts +0 -1
  38. package/dist/firebase.d.ts +0 -1
  39. package/dist/index.d.ts +0 -1
  40. package/dist/integrations/angular/index.d.ts +0 -1
  41. package/dist/integrations/index.d.ts +0 -1
  42. package/dist/integrations/react/index.d.ts +0 -1
  43. package/dist/integrations/vue/index.d.ts +0 -1
  44. package/dist/package.json +9 -4
  45. package/dist/plugin/definitions.d.ts +0 -1
  46. package/dist/plugin/index.d.ts +0 -1
  47. package/dist/plugin/web.d.ts +0 -1
  48. package/dist/types/index.d.ts +0 -1
  49. package/dist/utils/errors.d.ts +0 -1
  50. package/dist/utils/index.d.ts +0 -1
  51. package/dist/utils/logger.d.ts +0 -1
  52. package/package.json +15 -5
  53. package/android/AGENTS.md +0 -66
  54. package/android/CLAUDE.md +0 -122
  55. package/dist/adapters/capacitor/FilesystemAdapter.d.ts.map +0 -1
  56. package/dist/adapters/capacitor/PreferencesAdapter.d.ts.map +0 -1
  57. package/dist/adapters/capacitor/SecureAdapter.d.ts.map +0 -1
  58. package/dist/adapters/capacitor/SqliteAdapter.d.ts.map +0 -1
  59. package/dist/adapters/capacitor/index.d.ts.map +0 -1
  60. package/dist/adapters/web/CacheAdapter.d.ts.map +0 -1
  61. package/dist/adapters/web/CookieAdapter.d.ts.map +0 -1
  62. package/dist/adapters/web/IndexedDBAdapter.d.ts.map +0 -1
  63. package/dist/adapters/web/LocalStorageAdapter.d.ts.map +0 -1
  64. package/dist/adapters/web/MemoryAdapter.d.ts.map +0 -1
  65. package/dist/adapters/web/SessionStorageAdapter.d.ts.map +0 -1
  66. package/dist/adapters/web/URLAdapter.d.ts.map +0 -1
  67. package/dist/adapters/web/index.d.ts.map +0 -1
  68. package/dist/capacitor.d.ts.map +0 -1
  69. package/dist/config/support.d.ts.map +0 -1
  70. package/dist/core/AdapterRegistry.d.ts.map +0 -1
  71. package/dist/core/BaseAdapter.d.ts.map +0 -1
  72. package/dist/core/Strata.d.ts.map +0 -1
  73. package/dist/features/compression/index.d.ts.map +0 -1
  74. package/dist/features/compression.d.ts.map +0 -1
  75. package/dist/features/encryption/index.d.ts.map +0 -1
  76. package/dist/features/encryption.d.ts.map +0 -1
  77. package/dist/features/integrity.d.ts.map +0 -1
  78. package/dist/features/migration.d.ts.map +0 -1
  79. package/dist/features/observer/index.d.ts.map +0 -1
  80. package/dist/features/observer.d.ts.map +0 -1
  81. package/dist/features/query/index.d.ts.map +0 -1
  82. package/dist/features/query.d.ts.map +0 -1
  83. package/dist/features/sync/index.d.ts.map +0 -1
  84. package/dist/features/sync.d.ts.map +0 -1
  85. package/dist/features/ttl/index.d.ts.map +0 -1
  86. package/dist/features/ttl.d.ts.map +0 -1
  87. package/dist/firebase.d.ts.map +0 -1
  88. package/dist/index.d.ts.map +0 -1
  89. package/dist/integrations/angular/index.d.ts.map +0 -1
  90. package/dist/integrations/index.d.ts.map +0 -1
  91. package/dist/integrations/react/index.d.ts.map +0 -1
  92. package/dist/integrations/vue/index.d.ts.map +0 -1
  93. package/dist/plugin/definitions.d.ts.map +0 -1
  94. package/dist/plugin/index.d.ts.map +0 -1
  95. package/dist/plugin/web.d.ts.map +0 -1
  96. package/dist/types/index.d.ts.map +0 -1
  97. package/dist/utils/errors.d.ts.map +0 -1
  98. package/dist/utils/index.d.ts.map +0 -1
  99. package/dist/utils/logger.d.ts.map +0 -1
  100. package/ios/AGENTS.md +0 -59
  101. package/ios/CLAUDE.md +0 -106
@@ -1,6 +1,6 @@
1
1
  # AI Integration Guide - strata-storage
2
2
 
3
- Quick reference for AI development agents (Claude Code, Cursor, Copilot, etc.) to integrate `strata-storage` into web and mobile projects. Current version: **2.7.0**.
3
+ Quick reference for AI development agents (Claude Code, Cursor, Copilot, etc.) to integrate `strata-storage` into web and mobile projects. Current version: **2.7.1**.
4
4
 
5
5
  ## Installation
6
6
 
@@ -333,3 +333,7 @@ Full documentation lives at **https://stratastorage-docs.aoneahsan.com**:
333
333
  - [Recovery & Integrity](https://stratastorage-docs.aoneahsan.com/api/features/recovery)
334
334
  - [Changelog](https://stratastorage-docs.aoneahsan.com/reference/changelog)
335
335
  - Machine-readable: [`/llms.txt`](https://stratastorage-docs.aoneahsan.com/llms.txt) · [`/llms-full.txt`](https://stratastorage-docs.aoneahsan.com/llms-full.txt)
336
+
337
+ ---
338
+
339
+ Developed with ❤️ by the **Strata Storage Team** — maintained by [Ahsan Mahmood](https://aoneahsan.com). Questions or integration help: **aoneahsan@gmail.com**.
package/LICENSE CHANGED
@@ -1,35 +1,21 @@
1
- Copyright 2024 Ahsan Mahmood
2
-
3
- Licensed under the Apache License, Version 2.0 (the "License");
4
- you may not use this file except in compliance with the License.
5
- You may obtain a copy of the License at
6
-
7
- http://www.apache.org/licenses/LICENSE-2.0
8
-
9
- Unless required by applicable law or agreed to in writing, software
10
- distributed under the License is distributed on an "AS IS" BASIS,
11
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- See the License for the specific language governing permissions and
13
- limitations under the License.
14
-
15
- ================================================================================
16
-
17
- Full Apache License 2.0 text: https://www.apache.org/licenses/LICENSE-2.0.txt
18
-
19
- ================================================================================
20
-
21
- Additional Terms:
22
-
23
- 1. Attribution Requirement:
24
- You must retain all copyright notices and this license in any distribution.
25
-
26
- 2. Contribution Agreement:
27
- Any contributions submitted for inclusion shall be under the same license.
28
-
29
- 3. Name and Trademark:
30
- "Strata Storage" name may not be used for derivative works without permission.
31
-
32
- 4. Patent Grant:
33
- This license includes express patent grants from contributors.
34
-
35
- For the complete license terms and plain English explanation, see LICENSE.md
1
+ MIT License
2
+
3
+ Copyright (c) 2024-2026 Ahsan Mahmood
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -5,12 +5,12 @@
5
5
  - **[AI Integration Guide](./AI-INTEGRATION-GUIDE.md)** — quick reference for AI development agents (Claude Code, Cursor, Copilot).
6
6
 
7
7
  [![npm version](https://img.shields.io/npm/v/strata-storage.svg)](https://www.npmjs.com/package/strata-storage)
8
- [![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](LICENSE)
8
+ [![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
9
9
  [![TypeScript](https://img.shields.io/badge/TypeScript-strict-blue.svg)](https://www.typescriptlang.org/)
10
10
  [![Platform](https://img.shields.io/badge/platform-Web%20%7C%20iOS%20%7C%20Android-lightgrey.svg)](https://stratastorage.aoneahsan.com)
11
11
 
12
- - **Version:** `2.7.1`
13
- - **License:** Apache-2.0
12
+ - **Version:** `2.8.0`
13
+ - **License:** MIT
14
14
  - **Node.js:** `>= 24.13.0`
15
15
  - **Module format:** ESM only
16
16
 
@@ -478,24 +478,24 @@ Optional peer dependencies (install only the ones you use): `react >= 19.2.3`, `
478
478
 
479
479
  ## Documentation
480
480
 
481
- 📚 **Full documentation: [stratastorage-docs.aoneahsan.com](https://stratastorage-docs.aoneahsan.com)**
482
- 🤖 **For AI agents: [stratastorage-docs.aoneahsan.com/ai](https://stratastorage-docs.aoneahsan.com/ai)** (plus [`/llms.txt`](https://stratastorage-docs.aoneahsan.com/llms.txt) and [`/llms-full.txt`](https://stratastorage-docs.aoneahsan.com/llms-full.txt))
481
+ 📚 **Docs:** browse in-repo in [`./docs`](./docs/intro.md) · hosted at [stratastorage-docs.aoneahsan.com](https://stratastorage-docs.aoneahsan.com)
482
+ 🤖 **For AI agents:** [`AI-INTEGRATION-GUIDE.md`](./AI-INTEGRATION-GUIDE.md) · hosted [/ai](https://stratastorage-docs.aoneahsan.com/ai) · [`/llms.txt`](https://stratastorage-docs.aoneahsan.com/llms.txt)
483
483
 
484
484
  ### Getting Started
485
- - [Installation](https://stratastorage-docs.aoneahsan.com/installation) · [Quick Start](https://stratastorage-docs.aoneahsan.com/quick-start) · [Configuration](https://stratastorage-docs.aoneahsan.com/configuration)
485
+ - [Introduction](./docs/intro.md) · [Installation](./docs/installation.md) · [Quick Start](./docs/quick-start.md) · [Configuration](./docs/configuration.md)
486
486
 
487
487
  ### API
488
- - [API Reference](https://stratastorage-docs.aoneahsan.com/api) · [Core (`Strata`)](https://stratastorage-docs.aoneahsan.com/api/core/strata) · [Types](https://stratastorage-docs.aoneahsan.com/api/core/types) · [Errors](https://stratastorage-docs.aoneahsan.com/api/core/errors)
489
- - [All adapters](https://stratastorage-docs.aoneahsan.com/api/adapters) — web (localStorage, IndexedDB, cookies, Cache, URL, …) + Capacitor (Preferences, Secure, SQLite, Filesystem) + remote (Firebase)
488
+ - [API Reference](./docs/api/README.md) · [Core (`Strata`)](./docs/api/core/strata.md) · [Types](./docs/api/core/types.md) · [Errors](./docs/api/core/errors.md)
489
+ - [All adapters](./docs/api/adapters/README.md) — web (localStorage, IndexedDB, cookies, Cache, URL, …) + Capacitor (Preferences, Secure, SQLite, Filesystem) + remote (Firebase)
490
490
 
491
491
  ### Features
492
- - [Encryption](https://stratastorage-docs.aoneahsan.com/guides/features/encryption) · [Compression](https://stratastorage-docs.aoneahsan.com/guides/features/compression) · [TTL](https://stratastorage-docs.aoneahsan.com/api/features/ttl) · [Sync](https://stratastorage-docs.aoneahsan.com/guides/features/sync) · [Queries](https://stratastorage-docs.aoneahsan.com/guides/features/queries) · [Migrations](https://stratastorage-docs.aoneahsan.com/guides/features/migrations) · [Recovery & Integrity](https://stratastorage-docs.aoneahsan.com/api/features/recovery)
492
+ - [Encryption](./docs/guides/features/encryption.md) · [Compression](./docs/guides/features/compression.md) · [TTL](./docs/api/features/ttl.md) · [Sync](./docs/guides/features/sync.md) · [Queries](./docs/guides/features/queries.md) · [Migrations](./docs/guides/features/migrations.md) · [Recovery & Integrity](./docs/api/features/recovery.md)
493
493
 
494
494
  ### Platforms
495
- - [Web](https://stratastorage-docs.aoneahsan.com/guides/platforms/web) · [iOS](https://stratastorage-docs.aoneahsan.com/guides/platforms/ios) · [Android](https://stratastorage-docs.aoneahsan.com/guides/platforms/android) · [Capacitor](https://stratastorage-docs.aoneahsan.com/guides/platforms/capacitor) · [Firebase](https://stratastorage-docs.aoneahsan.com/guides/platforms/firebase)
495
+ - [Web](./docs/guides/platforms/web.md) · [iOS](./docs/guides/platforms/ios.md) · [Android](./docs/guides/platforms/android.md) · [Capacitor](./docs/guides/platforms/capacitor.md) · [Firebase](./docs/guides/platforms/firebase.md)
496
496
 
497
497
  ### Examples & Reference
498
- - [Examples](https://stratastorage-docs.aoneahsan.com/examples) · [Changelog](https://stratastorage-docs.aoneahsan.com/reference/changelog) · [FAQ](https://stratastorage-docs.aoneahsan.com/reference/faq) · [Troubleshooting](https://stratastorage-docs.aoneahsan.com/reference/troubleshooting) · [Migration](https://stratastorage-docs.aoneahsan.com/migration)
498
+ - [Examples](./docs/examples/README.md) · [Changelog](./docs/reference/changelog.md) · [FAQ](./docs/reference/faq.md) · [Troubleshooting](./docs/reference/troubleshooting.md) · [Migration](./docs/migration.md)
499
499
 
500
500
  ## Contributing
501
501
 
@@ -503,7 +503,7 @@ Contributions are welcome — please read the [Contributing Guide](./.github/CON
503
503
 
504
504
  ## License
505
505
 
506
- Apache License 2.0 — see [LICENSE](LICENSE). Free for commercial use, modification, and distribution with patent protection; attribution required; provided without warranty.
506
+ MIT License — see [LICENSE](LICENSE). Free for commercial and non-commercial use, modification, distribution, and sublicensing; the only condition is keeping the copyright and license notice; provided without warranty.
507
507
 
508
508
  ## Author
509
509
 
@@ -529,7 +529,9 @@ Apache License 2.0 — see [LICENSE](LICENSE). Free for commercial use, modifica
529
529
 
530
530
  ---
531
531
 
532
- Made by [Ahsan Mahmood](https://aoneahsan.com). **One API. Every Storage. Everywhere.**
532
+ Developed with ❤️ by the **Strata Storage Team** — maintained by [Ahsan Mahmood](https://aoneahsan.com) · aoneahsan@gmail.com.
533
+
534
+ **One API. Every Storage. Everywhere.**
533
535
 
534
536
  <!-- project-links:start -->
535
537
  ## Links
package/dist/LICENSE CHANGED
@@ -1,35 +1,21 @@
1
- Copyright 2024 Ahsan Mahmood
2
-
3
- Licensed under the Apache License, Version 2.0 (the "License");
4
- you may not use this file except in compliance with the License.
5
- You may obtain a copy of the License at
6
-
7
- http://www.apache.org/licenses/LICENSE-2.0
8
-
9
- Unless required by applicable law or agreed to in writing, software
10
- distributed under the License is distributed on an "AS IS" BASIS,
11
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- See the License for the specific language governing permissions and
13
- limitations under the License.
14
-
15
- ================================================================================
16
-
17
- Full Apache License 2.0 text: https://www.apache.org/licenses/LICENSE-2.0.txt
18
-
19
- ================================================================================
20
-
21
- Additional Terms:
22
-
23
- 1. Attribution Requirement:
24
- You must retain all copyright notices and this license in any distribution.
25
-
26
- 2. Contribution Agreement:
27
- Any contributions submitted for inclusion shall be under the same license.
28
-
29
- 3. Name and Trademark:
30
- "Strata Storage" name may not be used for derivative works without permission.
31
-
32
- 4. Patent Grant:
33
- This license includes express patent grants from contributors.
34
-
35
- For the complete license terms and plain English explanation, see LICENSE.md
1
+ MIT License
2
+
3
+ Copyright (c) 2024-2026 Ahsan Mahmood
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/dist/README.md CHANGED
@@ -5,12 +5,12 @@
5
5
  - **[AI Integration Guide](./AI-INTEGRATION-GUIDE.md)** — quick reference for AI development agents (Claude Code, Cursor, Copilot).
6
6
 
7
7
  [![npm version](https://img.shields.io/npm/v/strata-storage.svg)](https://www.npmjs.com/package/strata-storage)
8
- [![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](LICENSE)
8
+ [![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
9
9
  [![TypeScript](https://img.shields.io/badge/TypeScript-strict-blue.svg)](https://www.typescriptlang.org/)
10
10
  [![Platform](https://img.shields.io/badge/platform-Web%20%7C%20iOS%20%7C%20Android-lightgrey.svg)](https://stratastorage.aoneahsan.com)
11
11
 
12
- - **Version:** `2.7.1`
13
- - **License:** Apache-2.0
12
+ - **Version:** `2.8.0`
13
+ - **License:** MIT
14
14
  - **Node.js:** `>= 24.13.0`
15
15
  - **Module format:** ESM only
16
16
 
@@ -478,24 +478,24 @@ Optional peer dependencies (install only the ones you use): `react >= 19.2.3`, `
478
478
 
479
479
  ## Documentation
480
480
 
481
- 📚 **Full documentation: [stratastorage-docs.aoneahsan.com](https://stratastorage-docs.aoneahsan.com)**
482
- 🤖 **For AI agents: [stratastorage-docs.aoneahsan.com/ai](https://stratastorage-docs.aoneahsan.com/ai)** (plus [`/llms.txt`](https://stratastorage-docs.aoneahsan.com/llms.txt) and [`/llms-full.txt`](https://stratastorage-docs.aoneahsan.com/llms-full.txt))
481
+ 📚 **Docs:** browse in-repo in [`./docs`](./docs/intro.md) · hosted at [stratastorage-docs.aoneahsan.com](https://stratastorage-docs.aoneahsan.com)
482
+ 🤖 **For AI agents:** [`AI-INTEGRATION-GUIDE.md`](./AI-INTEGRATION-GUIDE.md) · hosted [/ai](https://stratastorage-docs.aoneahsan.com/ai) · [`/llms.txt`](https://stratastorage-docs.aoneahsan.com/llms.txt)
483
483
 
484
484
  ### Getting Started
485
- - [Installation](https://stratastorage-docs.aoneahsan.com/installation) · [Quick Start](https://stratastorage-docs.aoneahsan.com/quick-start) · [Configuration](https://stratastorage-docs.aoneahsan.com/configuration)
485
+ - [Introduction](./docs/intro.md) · [Installation](./docs/installation.md) · [Quick Start](./docs/quick-start.md) · [Configuration](./docs/configuration.md)
486
486
 
487
487
  ### API
488
- - [API Reference](https://stratastorage-docs.aoneahsan.com/api) · [Core (`Strata`)](https://stratastorage-docs.aoneahsan.com/api/core/strata) · [Types](https://stratastorage-docs.aoneahsan.com/api/core/types) · [Errors](https://stratastorage-docs.aoneahsan.com/api/core/errors)
489
- - [All adapters](https://stratastorage-docs.aoneahsan.com/api/adapters) — web (localStorage, IndexedDB, cookies, Cache, URL, …) + Capacitor (Preferences, Secure, SQLite, Filesystem) + remote (Firebase)
488
+ - [API Reference](./docs/api/README.md) · [Core (`Strata`)](./docs/api/core/strata.md) · [Types](./docs/api/core/types.md) · [Errors](./docs/api/core/errors.md)
489
+ - [All adapters](./docs/api/adapters/README.md) — web (localStorage, IndexedDB, cookies, Cache, URL, …) + Capacitor (Preferences, Secure, SQLite, Filesystem) + remote (Firebase)
490
490
 
491
491
  ### Features
492
- - [Encryption](https://stratastorage-docs.aoneahsan.com/guides/features/encryption) · [Compression](https://stratastorage-docs.aoneahsan.com/guides/features/compression) · [TTL](https://stratastorage-docs.aoneahsan.com/api/features/ttl) · [Sync](https://stratastorage-docs.aoneahsan.com/guides/features/sync) · [Queries](https://stratastorage-docs.aoneahsan.com/guides/features/queries) · [Migrations](https://stratastorage-docs.aoneahsan.com/guides/features/migrations) · [Recovery & Integrity](https://stratastorage-docs.aoneahsan.com/api/features/recovery)
492
+ - [Encryption](./docs/guides/features/encryption.md) · [Compression](./docs/guides/features/compression.md) · [TTL](./docs/api/features/ttl.md) · [Sync](./docs/guides/features/sync.md) · [Queries](./docs/guides/features/queries.md) · [Migrations](./docs/guides/features/migrations.md) · [Recovery & Integrity](./docs/api/features/recovery.md)
493
493
 
494
494
  ### Platforms
495
- - [Web](https://stratastorage-docs.aoneahsan.com/guides/platforms/web) · [iOS](https://stratastorage-docs.aoneahsan.com/guides/platforms/ios) · [Android](https://stratastorage-docs.aoneahsan.com/guides/platforms/android) · [Capacitor](https://stratastorage-docs.aoneahsan.com/guides/platforms/capacitor) · [Firebase](https://stratastorage-docs.aoneahsan.com/guides/platforms/firebase)
495
+ - [Web](./docs/guides/platforms/web.md) · [iOS](./docs/guides/platforms/ios.md) · [Android](./docs/guides/platforms/android.md) · [Capacitor](./docs/guides/platforms/capacitor.md) · [Firebase](./docs/guides/platforms/firebase.md)
496
496
 
497
497
  ### Examples & Reference
498
- - [Examples](https://stratastorage-docs.aoneahsan.com/examples) · [Changelog](https://stratastorage-docs.aoneahsan.com/reference/changelog) · [FAQ](https://stratastorage-docs.aoneahsan.com/reference/faq) · [Troubleshooting](https://stratastorage-docs.aoneahsan.com/reference/troubleshooting) · [Migration](https://stratastorage-docs.aoneahsan.com/migration)
498
+ - [Examples](./docs/examples/README.md) · [Changelog](./docs/reference/changelog.md) · [FAQ](./docs/reference/faq.md) · [Troubleshooting](./docs/reference/troubleshooting.md) · [Migration](./docs/migration.md)
499
499
 
500
500
  ## Contributing
501
501
 
@@ -503,7 +503,7 @@ Contributions are welcome — please read the [Contributing Guide](./.github/CON
503
503
 
504
504
  ## License
505
505
 
506
- Apache License 2.0 — see [LICENSE](LICENSE). Free for commercial use, modification, and distribution with patent protection; attribution required; provided without warranty.
506
+ MIT License — see [LICENSE](LICENSE). Free for commercial and non-commercial use, modification, distribution, and sublicensing; the only condition is keeping the copyright and license notice; provided without warranty.
507
507
 
508
508
  ## Author
509
509
 
@@ -529,7 +529,9 @@ Apache License 2.0 — see [LICENSE](LICENSE). Free for commercial use, modifica
529
529
 
530
530
  ---
531
531
 
532
- Made by [Ahsan Mahmood](https://aoneahsan.com). **One API. Every Storage. Everywhere.**
532
+ Developed with ❤️ by the **Strata Storage Team** — maintained by [Ahsan Mahmood](https://aoneahsan.com) · aoneahsan@gmail.com.
533
+
534
+ **One API. Every Storage. Everywhere.**
533
535
 
534
536
  <!-- project-links:start -->
535
537
  ## Links
@@ -43,4 +43,3 @@ export declare class FilesystemAdapter extends BaseAdapter {
43
43
  */
44
44
  size(detailed?: boolean): Promise<SizeInfo>;
45
45
  }
46
- //# sourceMappingURL=FilesystemAdapter.d.ts.map
@@ -43,4 +43,3 @@ export declare class PreferencesAdapter extends BaseAdapter {
43
43
  */
44
44
  size(detailed?: boolean): Promise<SizeInfo>;
45
45
  }
46
- //# sourceMappingURL=PreferencesAdapter.d.ts.map
@@ -66,4 +66,3 @@ export declare class SecureAdapter extends BaseAdapter {
66
66
  */
67
67
  getEncryptedPreference(key: string, fileName?: string): Promise<unknown>;
68
68
  }
69
- //# sourceMappingURL=SecureAdapter.d.ts.map
@@ -86,4 +86,3 @@ export declare class SqliteAdapter extends BaseAdapter {
86
86
  */
87
87
  transaction(): Promise<Transaction>;
88
88
  }
89
- //# sourceMappingURL=SqliteAdapter.d.ts.map
@@ -6,4 +6,3 @@ export { PreferencesAdapter } from "./PreferencesAdapter.js";
6
6
  export { SqliteAdapter } from "./SqliteAdapter.js";
7
7
  export { SecureAdapter } from "./SecureAdapter.js";
8
8
  export { FilesystemAdapter } from "./FilesystemAdapter.js";
9
- //# sourceMappingURL=index.d.ts.map
@@ -88,4 +88,3 @@ export declare class CacheAdapter extends BaseAdapter {
88
88
  */
89
89
  private isQuotaError;
90
90
  }
91
- //# sourceMappingURL=CacheAdapter.d.ts.map
@@ -110,4 +110,3 @@ export declare class CookieAdapter extends BaseAdapter {
110
110
  private getAllCookies;
111
111
  }
112
112
  export {};
113
- //# sourceMappingURL=CookieAdapter.d.ts.map
@@ -82,4 +82,3 @@ export declare class IndexedDBAdapter extends BaseAdapter {
82
82
  */
83
83
  private isQuotaError;
84
84
  }
85
- //# sourceMappingURL=IndexedDBAdapter.d.ts.map
@@ -91,4 +91,3 @@ export declare class LocalStorageAdapter extends BaseAdapter {
91
91
  */
92
92
  protected isQuotaError(error: unknown): boolean;
93
93
  }
94
- //# sourceMappingURL=LocalStorageAdapter.d.ts.map
@@ -97,4 +97,3 @@ export declare class MemoryAdapter extends BaseAdapter {
97
97
  */
98
98
  close(): Promise<void>;
99
99
  }
100
- //# sourceMappingURL=MemoryAdapter.d.ts.map
@@ -74,4 +74,3 @@ export declare class SessionStorageAdapter extends LocalStorageAdapter {
74
74
  */
75
75
  subscribe(callback: import("../../types/index.js").SubscriptionCallback): import("../../types/index.js").UnsubscribeFunction;
76
76
  }
77
- //# sourceMappingURL=SessionStorageAdapter.d.ts.map
@@ -56,4 +56,3 @@ export declare class URLAdapter extends BaseAdapter {
56
56
  private snapshotParams;
57
57
  private handleExternalChange;
58
58
  }
59
- //# sourceMappingURL=URLAdapter.d.ts.map
@@ -8,4 +8,3 @@ export { IndexedDBAdapter } from "./IndexedDBAdapter.js";
8
8
  export { CookieAdapter } from "./CookieAdapter.js";
9
9
  export { CacheAdapter } from "./CacheAdapter.js";
10
10
  export { URLAdapter, type URLAdapterConfig } from "./URLAdapter.js";
11
- //# sourceMappingURL=index.d.ts.map
@@ -17,4 +17,3 @@ export declare function isCapacitorEnvironment(): boolean;
17
17
  * Get Capacitor-specific storage types
18
18
  */
19
19
  export declare function getCapacitorStorageTypes(): string[];
20
- //# sourceMappingURL=capacitor.d.ts.map
@@ -7,4 +7,3 @@ export declare const SUPPORT_CONFIG: {
7
7
  readonly label: "Support the Project";
8
8
  readonly description: "Help us keep strata-storage free and improving";
9
9
  };
10
- //# sourceMappingURL=support.d.ts.map
@@ -49,4 +49,3 @@ export declare class AdapterRegistry {
49
49
  */
50
50
  closeAll(): Promise<void>;
51
51
  }
52
- //# sourceMappingURL=AdapterRegistry.d.ts.map
@@ -100,4 +100,3 @@ export declare abstract class BaseAdapter implements StorageAdapter {
100
100
  abstract remove(key: string): Promise<void>;
101
101
  abstract keys(pattern?: string | RegExp): Promise<string[]>;
102
102
  }
103
- //# sourceMappingURL=BaseAdapter.d.ts.map
@@ -375,4 +375,3 @@ export declare class Strata {
375
375
  private startAutoBackup;
376
376
  private selectAdapter;
377
377
  }
378
- //# sourceMappingURL=Strata.d.ts.map
@@ -1,2 +1 @@
1
1
  export * from "../compression.js";
2
- //# sourceMappingURL=index.d.ts.map
@@ -81,4 +81,3 @@ export declare class CompressionManager {
81
81
  */
82
82
  getSavingsPercentage(compressedData: CompressedData): number;
83
83
  }
84
- //# sourceMappingURL=compression.d.ts.map
@@ -1,2 +1 @@
1
1
  export * from "../encryption.js";
2
- //# sourceMappingURL=index.d.ts.map
@@ -118,4 +118,3 @@ export declare class EncryptionManager {
118
118
  */
119
119
  hash(data: string): Promise<string>;
120
120
  }
121
- //# sourceMappingURL=encryption.d.ts.map
@@ -13,4 +13,3 @@ export declare function computeChecksum(value: unknown): string;
13
13
  * stored (nothing to verify) so this is safe to call unconditionally.
14
14
  */
15
15
  export declare function verifyChecksum(value: unknown, expected: string | undefined): boolean;
16
- //# sourceMappingURL=integrity.d.ts.map
@@ -14,4 +14,3 @@ export declare class MigrationManager {
14
14
  private getCurrentVersion;
15
15
  private setVersion;
16
16
  }
17
- //# sourceMappingURL=migration.d.ts.map
@@ -1,2 +1 @@
1
1
  export * from "../observer.js";
2
- //# sourceMappingURL=index.d.ts.map
@@ -17,4 +17,3 @@ export declare class StorageObserver {
17
17
  */
18
18
  clear(): void;
19
19
  }
20
- //# sourceMappingURL=observer.d.ts.map
@@ -1,2 +1 @@
1
1
  export * from "../query.js";
2
- //# sourceMappingURL=index.d.ts.map
@@ -79,4 +79,3 @@ export declare class QueryEngine {
79
79
  * Create a query engine instance
80
80
  */
81
81
  export declare function createQueryEngine(): QueryEngine;
82
- //# sourceMappingURL=query.d.ts.map
@@ -1,2 +1 @@
1
1
  export * from "../sync.js";
2
- //# sourceMappingURL=index.d.ts.map
@@ -100,4 +100,3 @@ export declare class SyncManager extends EventEmitter {
100
100
  * Create a sync manager instance
101
101
  */
102
102
  export declare function createSyncManager(config?: SyncConfig): SyncManager;
103
- //# sourceMappingURL=sync.d.ts.map
@@ -1,2 +1 @@
1
1
  export * from "../ttl.js";
2
- //# sourceMappingURL=index.d.ts.map
@@ -121,4 +121,3 @@ export declare class TTLManager extends EventEmitter {
121
121
  * Create a TTL manager instance
122
122
  */
123
123
  export declare function createTTLManager(config?: TTLConfig): TTLManager;
124
- //# sourceMappingURL=ttl.d.ts.map
@@ -23,4 +23,3 @@ export declare function enableFirebaseSync(storage: Strata, config: FirebaseSync
23
23
  * Check if Firebase is available in the environment
24
24
  */
25
25
  export declare function isFirebaseAvailable(): Promise<boolean>;
26
- //# sourceMappingURL=firebase.d.ts.map
package/dist/index.d.ts CHANGED
@@ -55,4 +55,3 @@ declare const storage: Strata;
55
55
  declare function ensureInitialized(): Promise<void>;
56
56
  export { storage, ensureInitialized };
57
57
  export default storage;
58
- //# sourceMappingURL=index.d.ts.map
@@ -155,4 +155,3 @@ export declare class StrataModule {
155
155
  */
156
156
  export declare function provideStrata(instanceOrConfig?: Strata | StrataConfig): Provider[];
157
157
  export type { Strata, StrataConfig, StorageOptions, StorageChange };
158
- //# sourceMappingURL=index.d.ts.map
@@ -12,4 +12,3 @@
12
12
  * Angular:
13
13
  * import { StrataModule, StrataService } from 'strata-storage/angular';
14
14
  */
15
- //# sourceMappingURL=index.d.ts.map
@@ -72,4 +72,3 @@ export declare function useStorageTTL(key: string, options?: StorageOptions): {
72
72
  persist: () => Promise<void>;
73
73
  };
74
74
  export {};
75
- //# sourceMappingURL=index.d.ts.map
@@ -100,4 +100,3 @@ export declare function createStrataComposables(strata: Strata): {
100
100
  };
101
101
  };
102
102
  export type { Strata, StrataConfig, StorageOptions };
103
- //# sourceMappingURL=index.d.ts.map
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "strata-storage",
3
- "version": "2.7.1",
3
+ "version": "2.8.0",
4
4
  "description": "Zero-dependency universal storage plugin providing a unified API for all storage operations across web, Android, and iOS platforms",
5
5
  "type": "module",
6
6
  "main": "./index.js",
@@ -32,14 +32,19 @@
32
32
  },
33
33
  "./package.json": "./package.json"
34
34
  },
35
- "author": "Ahsan Mahmood",
36
- "license": "Apache-2.0",
35
+ "author": {
36
+ "name": "Ahsan Mahmood",
37
+ "email": "aoneahsan@gmail.com",
38
+ "url": "https://aoneahsan.com"
39
+ },
40
+ "license": "MIT",
37
41
  "repository": {
38
42
  "type": "git",
39
43
  "url": "https://github.com/aoneahsan/strata-storage.git"
40
44
  },
41
45
  "bugs": {
42
- "url": "https://stratastorage.aoneahsan.com/contact"
46
+ "url": "https://stratastorage.aoneahsan.com/contact",
47
+ "email": "aoneahsan@gmail.com"
43
48
  },
44
49
  "homepage": "https://stratastorage.aoneahsan.com",
45
50
  "keywords": [
@@ -242,4 +242,3 @@ export interface MigrationOptions {
242
242
  keys?: string[];
243
243
  transform?: (value: unknown) => unknown;
244
244
  }
245
- //# sourceMappingURL=definitions.d.ts.map
@@ -6,4 +6,3 @@
6
6
  import type { StrataStoragePlugin } from "./definitions.js";
7
7
  export declare const StrataStorage: StrataStoragePlugin;
8
8
  export * from "./definitions.js";
9
- //# sourceMappingURL=index.d.ts.map
@@ -38,4 +38,3 @@ export declare class StrataStorageWeb implements StrataStoragePlugin {
38
38
  */
39
39
  private getSuggestion;
40
40
  }
41
- //# sourceMappingURL=web.d.ts.map
@@ -832,4 +832,3 @@ export interface TTLConfig {
832
832
  */
833
833
  onExpire?: (keys: string[]) => void;
834
834
  }
835
- //# sourceMappingURL=index.d.ts.map
@@ -96,4 +96,3 @@ export declare class NotFoundError extends StrataError {
96
96
  * Check if error is a quota exceeded error
97
97
  */
98
98
  export declare function isQuotaError(error: unknown): boolean;
99
- //# sourceMappingURL=errors.d.ts.map
@@ -182,4 +182,3 @@ export declare function serializeValue(value: unknown): string;
182
182
  */
183
183
  export declare function deserializeValue(value: string): unknown;
184
184
  export declare function createError(message: string, code?: string, details?: unknown): Error;
185
- //# sourceMappingURL=index.d.ts.map
@@ -28,4 +28,3 @@ export declare const logger: {
28
28
  * so the package stays free of import-time side effects (`sideEffects: false`).
29
29
  */
30
30
  export declare function exposeLogLevelControls(): void;
31
- //# sourceMappingURL=logger.d.ts.map