@capacitor-community/sqlite
Advanced tools
Comparing version 5.5.1-2 to 5.5.1-3
@@ -1271,3 +1271,3 @@ /** | ||
*/ | ||
getMigratableDbList(folderPath: string): Promise<capSQLiteValues>; | ||
getMigratableDbList(folderPath?: string): Promise<capSQLiteValues>; | ||
/** | ||
@@ -1337,3 +1337,3 @@ * Add SQLIte Suffix to existing databases | ||
getDatabaseList(): Promise<capSQLiteValues>; | ||
getMigratableDbList(folderPath: string): Promise<capSQLiteValues>; | ||
getMigratableDbList(folderPath?: string): Promise<capSQLiteValues>; | ||
addSQLiteSuffix(folderPath?: string, dbNameList?: string[]): Promise<void>; | ||
@@ -1340,0 +1340,0 @@ deleteOldDatabases(folderPath?: string, dbNameList?: string[]): Promise<void>; |
@@ -398,8 +398,6 @@ //import { Capacitor } from '@capacitor/core'; | ||
async getMigratableDbList(folderPath) { | ||
if (!folderPath || folderPath.length === 0) { | ||
return Promise.reject('You must provide a folder path'); | ||
} | ||
const path = folderPath ? folderPath : 'default'; | ||
try { | ||
const res = await this.sqlite.getMigratableDbList({ | ||
folderPath: folderPath, | ||
folderPath: path, | ||
}); | ||
@@ -406,0 +404,0 @@ return Promise.resolve(res); |
@@ -404,8 +404,6 @@ 'use strict'; | ||
async getMigratableDbList(folderPath) { | ||
if (!folderPath || folderPath.length === 0) { | ||
return Promise.reject('You must provide a folder path'); | ||
} | ||
const path = folderPath ? folderPath : 'default'; | ||
try { | ||
const res = await this.sqlite.getMigratableDbList({ | ||
folderPath: folderPath, | ||
folderPath: path, | ||
}); | ||
@@ -412,0 +410,0 @@ return Promise.resolve(res); |
@@ -401,8 +401,6 @@ var capacitorCapacitorSQLite = (function (exports, core) { | ||
async getMigratableDbList(folderPath) { | ||
if (!folderPath || folderPath.length === 0) { | ||
return Promise.reject('You must provide a folder path'); | ||
} | ||
const path = folderPath ? folderPath : 'default'; | ||
try { | ||
const res = await this.sqlite.getMigratableDbList({ | ||
folderPath: folderPath, | ||
folderPath: path, | ||
}); | ||
@@ -409,0 +407,0 @@ return Promise.resolve(res); |
{ | ||
"name": "@capacitor-community/sqlite", | ||
"version": "5.5.1-2", | ||
"version": "5.5.1-3", | ||
"description": "Community plugin for native & electron SQLite databases", | ||
@@ -5,0 +5,0 @@ "main": "dist/plugin.cjs.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
2011478
15250