react-sqlite-hook
Advanced tools
Comparing version 2.1.4 to 2.1.5
@@ -0,1 +1,7 @@ | ||
## 2.1.5 (2021-12-19) | ||
### Bug Fixes | ||
- Fix README.md and some comments | ||
## 2.1.4 (2021-12-19) | ||
@@ -2,0 +8,0 @@ |
{ | ||
"name": "react-sqlite-hook", | ||
"version": "2.1.3", | ||
"version": "2.1.4", | ||
"description": "React Hook for @Capacitor-community/sqlite plugin", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -113,3 +113,3 @@ import { AvailableResult } from './util/models'; | ||
* @returns Promise<capNCDatabasePathResult> | ||
* @since 3.3.3-1 | ||
* @since 2.1.4 | ||
*/ | ||
@@ -122,3 +122,3 @@ getNCDatabasePath(folderPath: string, database: string): Promise<capNCDatabasePathResult>; | ||
* @returns Promise<SQLiteDBConnection> | ||
* @since 3.3.3-1 | ||
* @since 2.1.4 | ||
*/ | ||
@@ -130,3 +130,3 @@ createNCConnection(databasePath: string, version?: number): Promise<SQLiteDBConnection>; | ||
* @returns Promise<SQLiteDBConnection> | ||
* @since 3.3.3-1 | ||
* @since 2.1.4 | ||
*/ | ||
@@ -138,3 +138,3 @@ retrieveNCConnection(databasePath: string): Promise<SQLiteDBConnection>; | ||
* @returns Promise<void> | ||
* @since 3.3.3-1 | ||
* @since 2.1.4 | ||
*/ | ||
@@ -146,3 +146,3 @@ closeNCConnection(databasePath: string): Promise<void>; | ||
* @returns Promise<Result> | ||
* @since 3.3.3-1 | ||
* @since 2.1.4 | ||
*/ | ||
@@ -154,3 +154,3 @@ isNCConnection(databasePath: string): Promise<Result>; | ||
* @returns Promise<Result> | ||
* @since 3.3.3-1 | ||
* @since 2.1.4 | ||
*/ | ||
@@ -157,0 +157,0 @@ isNCDatabase(databasePath: string): Promise<Result>; |
@@ -467,3 +467,3 @@ import { useCallback, useMemo, useEffect } from 'react'; | ||
* @returns Promise<capNCDatabasePathResult> | ||
* @since 3.3.3-1 | ||
* @since 2.1.4 | ||
*/ | ||
@@ -496,2 +496,3 @@ const getNCDatabasePath = useCallback(async (folderPath, database) => { | ||
* @param version number optional | ||
* @since 2.1.4 | ||
*/ | ||
@@ -520,2 +521,3 @@ const createNCConnection = useCallback(async (databasePath, version) => { | ||
* @param databasePath string | ||
* @since 2.1.4 | ||
*/ | ||
@@ -544,2 +546,3 @@ const retrieveNCConnection = useCallback(async (databasePath) => { | ||
* @param databasePath string | ||
* @since 2.1.4 | ||
*/ | ||
@@ -563,2 +566,3 @@ const closeNCConnection = useCallback(async (databasePath) => { | ||
* @param databasePath | ||
* @since 2.1.4 | ||
*/ | ||
@@ -587,2 +591,3 @@ const isNCConnection = useCallback(async (databasePath) => { | ||
* @param databasePath | ||
* @since 2.1.4 | ||
*/ | ||
@@ -589,0 +594,0 @@ const isNCDatabase = useCallback(async (databasePath) => { |
{ | ||
"name": "react-sqlite-hook", | ||
"version": "2.1.4", | ||
"version": "2.1.5", | ||
"description": "React Hook for @Capacitor-community/sqlite plugin", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -80,2 +80,8 @@ <p align="center"><br><img src="https://avatars3.githubusercontent.com/u/16580653?v=4" width="128" height="128" /></p> | ||
| saveToStore | ❌ | ❌ | ❌ | ✅ | | ||
| getNCDatabasePath | ✅ | ✅ | ❌ | ❌ | | ||
| createNCConnection | ✅ | ✅ | ❌ | ❌ | | ||
| closeNCConnection | ✅ | ✅ | ❌ | ❌ | | ||
| retrieveNCConnection | ✅ | ✅ | ❌ | ❌ | | ||
| isNCConnection | ✅ | ✅ | ❌ | ❌ | | ||
| isNCDatabase | ✅ | ✅ | ❌ | ❌ | | ||
@@ -82,0 +88,0 @@ |
@@ -121,3 +121,3 @@ import { useCallback, useMemo, useEffect } from 'react'; | ||
* @returns Promise<capNCDatabasePathResult> | ||
* @since 3.3.3-1 | ||
* @since 2.1.4 | ||
*/ | ||
@@ -130,3 +130,3 @@ getNCDatabasePath(folderPath: string, database: string): Promise<capNCDatabasePathResult>; | ||
* @returns Promise<SQLiteDBConnection> | ||
* @since 3.3.3-1 | ||
* @since 2.1.4 | ||
*/ | ||
@@ -138,3 +138,3 @@ createNCConnection(databasePath: string, version?: number): Promise<SQLiteDBConnection>; | ||
* @returns Promise<SQLiteDBConnection> | ||
* @since 3.3.3-1 | ||
* @since 2.1.4 | ||
*/ | ||
@@ -146,3 +146,3 @@ retrieveNCConnection(databasePath: string): Promise<SQLiteDBConnection>; | ||
* @returns Promise<void> | ||
* @since 3.3.3-1 | ||
* @since 2.1.4 | ||
*/ | ||
@@ -154,3 +154,3 @@ closeNCConnection(databasePath: string): Promise<void>; | ||
* @returns Promise<Result> | ||
* @since 3.3.3-1 | ||
* @since 2.1.4 | ||
*/ | ||
@@ -162,3 +162,3 @@ isNCConnection(databasePath: string): Promise<Result>; | ||
* @returns Promise<Result> | ||
* @since 3.3.3-1 | ||
* @since 2.1.4 | ||
*/ | ||
@@ -718,3 +718,3 @@ isNCDatabase(databasePath: string): Promise<Result>; | ||
* @returns Promise<capNCDatabasePathResult> | ||
* @since 3.3.3-1 | ||
* @since 2.1.4 | ||
*/ | ||
@@ -747,2 +747,3 @@ const getNCDatabasePath = useCallback(async (folderPath: string, database: string): Promise<capNCDatabasePathResult> => { | ||
* @param version number optional | ||
* @since 2.1.4 | ||
*/ | ||
@@ -771,2 +772,3 @@ const createNCConnection = useCallback(async (databasePath: string, version?: number) | ||
* @param databasePath string | ||
* @since 2.1.4 | ||
*/ | ||
@@ -793,2 +795,3 @@ const retrieveNCConnection = useCallback(async (databasePath: string): Promise<SQLiteDBConnection> => { | ||
* @param databasePath string | ||
* @since 2.1.4 | ||
*/ | ||
@@ -810,2 +813,3 @@ const closeNCConnection = useCallback(async (databasePath: string): Promise<void> => { | ||
* @param databasePath | ||
* @since 2.1.4 | ||
*/ | ||
@@ -832,2 +836,3 @@ const isNCConnection = useCallback(async (databasePath: string): Promise<Result> => { | ||
* @param databasePath | ||
* @since 2.1.4 | ||
*/ | ||
@@ -834,0 +839,0 @@ const isNCDatabase = useCallback(async (databasePath: string): Promise<Result> => { |
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
124273
2177
136