react-sqlite-hook
Advanced tools
Comparing version 1.0.0-beta.4 to 1.0.0
@@ -0,1 +1,8 @@ | ||
## 1.0.0 (2021-01-25) REFACTOR | ||
## Chore | ||
- Move to branch 2.9.x tag latest | ||
- @capacitor-community/sqlite@2.9.6 | ||
## 1.0.0-beta.4 (2021-01-14) REFACTOR | ||
@@ -84,2 +91,12 @@ | ||
## 0.0.9 (2021-01-25) | ||
### Chores | ||
- Has been moved to tag 'INITIAL' not maintained anymore | ||
### Bug Fixes | ||
- Update README | ||
## 0.0.8 (2021-01-13) | ||
@@ -86,0 +103,0 @@ |
{ | ||
"name": "react-sqlite-hook", | ||
"version": "1.0.0-beta.3", | ||
"version": "1.0.0-beta.4", | ||
"description": "React Hook for @Capacitor-community/sqlite plugin", | ||
@@ -48,8 +48,8 @@ "repository": { | ||
"@capacitor/core": "^2.4.6", | ||
"@capacitor-community/sqlite": "^2.9.0" | ||
"@capacitor-community/sqlite": "latest" | ||
}, | ||
"devDependencies": { | ||
"@capacitor-community/sqlite": "^2.9.0", | ||
"@capacitor-community/sqlite": "latest", | ||
"@capacitor/core": "^2.4.6", | ||
"@capacitor/docgen": "0.0.10", | ||
"@capacitor/docgen": "0.0.14", | ||
"@testing-library/react-hooks": "^3.4.2", | ||
@@ -56,0 +56,0 @@ "@types/jest": "^24.0.23", |
@@ -8,3 +8,3 @@ import { AvailableResult } from './util/models'; | ||
*/ | ||
interface SQLiteHook extends AvailableResult { | ||
export interface SQLiteHook extends AvailableResult { | ||
/** | ||
@@ -92,7 +92,7 @@ * Echo a value | ||
} | ||
interface MySet { | ||
export interface MySet { | ||
statement?: string; | ||
values?: any[]; | ||
} | ||
interface VersionUpgrade { | ||
export interface VersionUpgrade { | ||
fromVersion: number; | ||
@@ -99,0 +99,0 @@ toVersion: number; |
<p align="center"><br><img src="https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png" width="128" height="128" /></p> | ||
<h2 align="center">API HOOK DOCUMENTATION</h2> | ||
<p align="center"><strong><code>react-sqlite-hook</code></strong></p> | ||
<p align="center"><strong><code>react-sqlite-hook@latest</code></strong></p> | ||
<p align="center"> | ||
A React Hook to help Capacitor developpers to use <strong><code>@capacitor-community/sqlite</code></strong> plugin in React or Ionic/React applications</p> | ||
A React Hook to help Capacitor developpers to use <strong><code>@capacitor-community/sqlite@latest</code></strong> plugin in React or Ionic/React applications</p> | ||
@@ -7,0 +7,0 @@ |
{ | ||
"name": "react-sqlite-hook", | ||
"version": "1.0.0-beta.4", | ||
"version": "1.0.0", | ||
"description": "React Hook for @Capacitor-community/sqlite plugin", | ||
@@ -48,8 +48,8 @@ "repository": { | ||
"@capacitor/core": "^2.4.6", | ||
"@capacitor-community/sqlite": "^2.9.0" | ||
"@capacitor-community/sqlite": "latest" | ||
}, | ||
"devDependencies": { | ||
"@capacitor-community/sqlite": "^2.9.0", | ||
"@capacitor-community/sqlite": "latest", | ||
"@capacitor/core": "^2.4.6", | ||
"@capacitor/docgen": "0.0.10", | ||
"@capacitor/docgen": "0.0.14", | ||
"@testing-library/react-hooks": "^3.4.2", | ||
@@ -56,0 +56,0 @@ "@types/jest": "^24.0.23", |
<p align="center"><br><img src="https://avatars3.githubusercontent.com/u/16580653?v=4" width="128" height="128" /></p> | ||
<h3 align="center">React Hook for <code>@capacitor-community/sqlite</code> plugin</h3> | ||
<p align="center"><strong><code>react-sqlite-hook</code></strong></p><br> | ||
<p align="center"><strong><code>react-sqlite-hook@latest</code></strong></p><br> | ||
<br> | ||
<p align="center" style="font-size:50px;color:red"><strong>REFACTOR 🚀</strong></p><br> | ||
<p align="center"> | ||
A React Hook to help Capacitor developpers to use <strong><code>@capacitor-community/sqlite</code></strong> plugin in React or Ionic/React applications | ||
A React Hook to help Capacitor developpers to use <strong><code>@capacitor-community/sqlite@latest</code></strong> plugin in React or Ionic/React applications | ||
</p> | ||
@@ -17,3 +17,3 @@ | ||
<a href="https://www.npmjs.com/package/react-sqlite-hook"><img src="https://img.shields.io/npm/dw/react-sqlite-hook?style=flat-square" /></a> | ||
<a href="https://www.npmjs.com/package/react-sqlite-hook"><img src="https://img.shields.io/npm/v/react-sqlite-hook/refactor?style=flat-square" /></a> | ||
<a href="https://www.npmjs.com/package/react-sqlite-hook"><img src="https://img.shields.io/npm/v/react-sqlite-hook/latest?style=flat-square" /></a> | ||
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section --> | ||
@@ -23,3 +23,17 @@ <a href="#contributors-"><img src="https://img.shields.io/badge/all%20contributors-1-orange?style=flat-square" /></a> | ||
</p> | ||
<br> | ||
## @NEXT For Capacitor 3 🚧 (Master) | ||
The `Capacitor3`react-sqlite-hook interfacing the `@capacitor-community/sqlite@next` | ||
## @LATEST REFACTOR 🚀 (Move to branch 2.9.x) | ||
The `refactor` react-sqlite-hook interfacing the `@capacitor-community/sqlite@latest` | ||
## @INITIAL 🛑 (Move to branch 2.4.x) | ||
The `initial` react-sqlite-hook interfacing the `@capacitor-community/sqlite@initial`. !!! The MAINTAINANCE is now STOPPED !!! | ||
<br> | ||
## Maintainers | ||
@@ -35,6 +49,9 @@ | ||
```bash | ||
npm install --save @capacitor-community/sqlite@refactor | ||
npm install --save-dev react-sqlite-hook@refactor | ||
npm install --save @capacitor-community/sqlite@latest | ||
npm install --save-dev react-sqlite-hook@latest | ||
``` | ||
## Documentation | ||
- [API Hook](https://github.com/jepiqueau/react-sqlite-hook/tree/2.9.x/docs/APIHook.md) | ||
## Applications demonstrating the use of the plugin and the react hook | ||
@@ -49,3 +66,3 @@ | ||
- [Ionic/React_Usage_Documentation](https://github.com/capacitor-community/sqlite/blob/refactor/docs/Ionic-React-Usage.md) | ||
- [Ionic/React_Usage_Documentation](https://github.com/capacitor-community/sqlite/blob/2.9.x/docs/Ionic-React-Usage.md) | ||
@@ -52,0 +69,0 @@ |
@@ -11,6 +11,7 @@ import { useCallback, useMemo } from 'react'; | ||
export { SQLiteDBConnection } | ||
/** | ||
* SQLite Hook Interface | ||
*/ | ||
interface SQLiteHook extends AvailableResult { | ||
export interface SQLiteHook extends AvailableResult { | ||
/** | ||
@@ -105,3 +106,3 @@ * Echo a value | ||
interface MySet { | ||
export interface MySet { | ||
statement?: string; | ||
@@ -111,3 +112,3 @@ values?: any[]; | ||
interface VersionUpgrade { | ||
export interface VersionUpgrade { | ||
fromVersion: number; | ||
@@ -114,0 +115,0 @@ toVersion: number; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
61700
0
88
457