@fto-consult/expo-ui 8.20.4 → 8.20.6

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fto-consult/expo-ui",
3
- "version": "8.20.4",
3
+ "version": "8.20.6",
4
4
  "description": "Bibliothèque de composants UI Expo,react-native",
5
5
  "scripts": {
6
6
  "clear-npx-cache": "npx clear-npx-cache",
@@ -69,7 +69,6 @@
69
69
  "dependencies": {
70
70
  "@emotion/react": "^11.11.1",
71
71
  "@faker-js/faker": "^8.0.2",
72
- "@fto-consult/common": "^4.20.8",
73
72
  "@fto-consult/node-utils": "^1.4.7",
74
73
  "apexcharts": "^3.45.2",
75
74
  "crypto-browserify": "^3.12.0",
@@ -39,11 +39,9 @@ export class SQLiteSession {
39
39
  debug(`Opening sqlite database ${dbName} for session storage`);
40
40
  this.openingPromise = new Promise((resolve,reject)=>{
41
41
  return SQLite.openDatabaseAsync(dbName).then((db)=>{
42
- return db.execAsync(`
43
- CREATE TABLE IF NOT EXISTS ${SESSION_TABLE} (id INTEGER PRIMARY KEY NOT NULL, key TEXT, value TEXT);
44
- `).then((d)=>{
45
- this.db = db;
46
- this.hasInit = true;
42
+ return db.execAsync(`CREATE TABLE IF NOT EXISTS ${SESSION_TABLE} (id INTEGER PRIMARY KEY NOT NULL, key TEXT, value TEXT);`).then((d)=>{
43
+ this.db = db;
44
+ this.hasInit = true;
47
45
  return this.getAll().then((()=>{
48
46
  resolve(db);
49
47
  }));