Skip to content

Commit 69d6959

Browse files
committed
add web plugin
1 parent 69c74b0 commit 69d6959

File tree

7 files changed

+1151
-1017
lines changed

7 files changed

+1151
-1017
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
## 2.0.5 (2021-08-18) CAPACITOR 3 LATEST
2+
3+
### Chore
4+
5+
- update to @capacitor/core 3.1.2
6+
- update to @capacitor-community/sqlite 3.1.3-web.3
7+
8+
### Added Features
9+
10+
- add `getCapacitorSQLite` method
11+
- add Web platform
12+
13+
### Bug Fixes
14+
15+
- Fix readme & changelog
16+
117
## 2.0.4 (2021-07-15) CAPACITOR 3 LATEST
218

319
### Bug Fixes

README.md

Lines changed: 26 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<p align="center"><br><img src="https://avatars3.githubusercontent.com/u/16580653?v=4" width="128" height="128" /></p>
22

3-
<h3 align="center">Vue Hook for @capacitor-community/sqlite</h3>
3+
<h3 align="center">Vue Hook for @capacitor-community/sqlite@web</h3>
44
<p align="center"><strong><code>vue-sqlite-hook@latest</code></strong></p>
55
<br>
66
<p align="center" style="font-size:50px;color:red"><strong>Capacitor 3</strong></p><br>
77
<p align="center">
8-
A Vue Hook to help Capacitor developpers to use <strong><code>@capacitor-community/sqlite@latest</code></strong> plugin in Vue or Ionic/Vue applications
8+
A Vue Hook to help Capacitor developpers to use <strong><code>@capacitor-community/sqlite@web</code></strong> plugin in Vue or Ionic/Vue applications
99
</p>
1010
<br>
1111
<p align="center">
@@ -20,11 +20,11 @@
2020
</p>
2121
<br>
2222

23-
## @NEXT For Capacitor 3 (Master)
23+
## @LATEST For Capacitor 3 (Main)
2424

25-
The `Capacitor3` vue-sqlite-hook interfacing the `@capacitor-community/sqlite@latest`
25+
The `Capacitor3` vue-sqlite-hook interfacing the `@capacitor-community/sqlite@web`
2626

27-
## @LATEST REFACTOR 🚀 (Move to branch 2.9.x)
27+
## @REFACTOR REFACTOR 🚀 (Move to branch 2.9.x)
2828

2929
The `refactor` vue-sqlite-hook interfacing the `@capacitor-community/sqlite@refactor` !!! The MAINTAINANCE is now STOPPED !!!
3030

@@ -44,43 +44,44 @@ The `initial` vue-sqlite-hook interfacing the `@capacitor-community/sqlite@initi
4444
## Installation
4545

4646
```bash
47-
npm install --save @capacitor-community/sqlite@next
48-
npm install --save-dev vue-sqlite-hook@next
47+
npm install --save @capacitor-community/sqlite@web
48+
npm install --save-dev vue-sqlite-hook
4949
```
5050

5151
## Supported methods
5252

5353
| Name | Android | iOS | Electron | Web |
5454
| :-------------------------- | :------ | :-- | :------- | :-- |
55-
| echo ||| 🚧 ||
56-
| getPlatform ||| 🚧 ||
57-
| addUpgradeStatement ||| 🚧 ||
58-
| createConnection ||| 🚧 ||
59-
| retrieveConnection ||| 🚧 ||
60-
| retrieveAllConnections ||| 🚧 ||
61-
| closeConnection ||| 🚧 ||
62-
| closeAllConnections ||| 🚧 ||
63-
| isConnection ||| 🚧 ||
64-
| isDatabase ||| 🚧 ||
65-
| getDatabaseList ||| 🚧 ||
55+
| echo ||| 🚧 ||
56+
| getPlatform ||| 🚧 ||
57+
| getCapacitorSQLite ||| 🚧 ||
58+
| addUpgradeStatement ||| 🚧 ||
59+
| createConnection ||| 🚧 ||
60+
| retrieveConnection ||| 🚧 ||
61+
| retrieveAllConnections ||| 🚧 ||
62+
| closeConnection ||| 🚧 ||
63+
| closeAllConnections ||| 🚧 ||
64+
| isConnection ||| 🚧 ||
65+
| isDatabase ||| 🚧 ||
66+
| getDatabaseList ||| 🚧 ||
6667
| addSQLiteSuffix ||| 🚧 ||
6768
| deleteOldDatabases ||| 🚧 ||
68-
| importFromJson ||| 🚧 | |
69-
| isJsonValid ||| 🚧 | |
70-
| copyFromAssets ||| 🚧 | |
71-
| checkConnectionsConsistency ||| 🚧 | |
69+
| importFromJson ||| 🚧 | |
70+
| isJsonValid ||| 🚧 | |
71+
| copyFromAssets ||| 🚧 | |
72+
| checkConnectionsConsistency ||| 🚧 | |
7273
| isSecretStored ||| 🚧 ||
7374
| setEncryptionSecret ||| 🚧 ||
7475
| changeEncryptionSecret ||| 🚧 ||
75-
| removeListeners ||| 🚧 | |
76+
| removeListeners ||| 🚧 | |
7677

7778

7879
## Supported listeners
7980

8081
| Name | Android | iOS | Electron | Web |
8182
| :--------------- | :------ | :-- | :------- | :-- |
82-
| onProgressImport ||| 🚧 | |
83-
| onProgressExport ||| 🚧 | |
83+
| onProgressImport ||| 🚧 | |
84+
| onProgressExport ||| 🚧 | |
8485

8586

8687
## Documentation

docs/APIHook.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
* [`echo(...)`](#echo)
1313
* [`getPlatform()`](#getplatform)
14+
* [`getCapacitorSQLite()`](#getcapacitorsqlite)
1415
* [`addUpgradeStatement(...)`](#addupgradestatement)
1516
* [`createConnection(...)`](#createconnection)
1617
* [`isConnection(...)`](#isconnection)
@@ -77,6 +78,21 @@ Get platform
7778
--------------------
7879

7980

81+
### getCapacitorSQLite()
82+
83+
```typescript
84+
getCapacitorSQLite() => Promise<{ plugin: any; }>
85+
```
86+
87+
Get CapacitorSQLite plugin
88+
89+
**Returns:** <code>Promise&lt;{ plugin: any; }&gt;</code>
90+
91+
**Since:** 2.0.5
92+
93+
--------------------
94+
95+
8096
### addUpgradeStatement(...)
8197

8298
```typescript

0 commit comments

Comments
 (0)