@capawesome/capacitor-libsql 0.1.1 → 0.2.0

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.swift CHANGED
@@ -3,14 +3,14 @@ import PackageDescription
3
3
 
4
4
  let package = Package(
5
5
  name: "CapawesomeCapacitorLibsql",
6
- platforms: [.iOS(.v14)],
6
+ platforms: [.iOS(.v15)],
7
7
  products: [
8
8
  .library(
9
9
  name: "CapawesomeCapacitorLibsql",
10
10
  targets: ["LibsqlPlugin"])
11
11
  ],
12
12
  dependencies: [
13
- .package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "7.0.0"),
13
+ .package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "8.0.0"),
14
14
  .package(url: "https://github.com/tursodatabase/libsql-swift", from: "0.1.1")
15
15
  ],
16
16
  targets: [
package/README.md CHANGED
@@ -8,6 +8,13 @@ Capacitor plugin for [libSQL](https://docs.turso.tech/libsql) databases.[^1]
8
8
  </a>
9
9
  </div>
10
10
 
11
+ ## Compatibility
12
+
13
+ | Plugin Version | Capacitor Version | Status |
14
+ | -------------- | ----------------- | -------------- |
15
+ | 0.2.x | >=8.x.x | Active support |
16
+ | 0.1.x | 7.x.x | Deprecated |
17
+
11
18
  ## Installation
12
19
 
13
20
  ```bash
@@ -15,6 +22,16 @@ npm install @capawesome/capacitor-libsql
15
22
  npx cap sync
16
23
  ```
17
24
 
25
+ ### Android
26
+
27
+ #### Variables
28
+
29
+ If needed, you can define the following project variable in your app's `variables.gradle` file to change the default version of the dependency:
30
+
31
+ - `$libsqlVersion` version of `tech.turso.libsql:libsql` (default: `0.1.2`)
32
+
33
+ This can be useful if you encounter dependency conflicts with other plugins in your project.
34
+
18
35
  ## Usage
19
36
 
20
37
  ```typescript
@@ -1,19 +1,21 @@
1
+ import org.jetbrains.kotlin.gradle.dsl.JvmTarget
2
+
1
3
  ext {
2
4
  junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.2'
3
- androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.7.0'
4
- androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.2.1'
5
- androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.6.1'
6
- libsqlVersion = project.hasProperty('libsqlVersion') ? rootProject.ext.libsqlVersion : '0.1.0'
5
+ androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.7.1'
6
+ androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.3.0'
7
+ androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.7.0'
8
+ libsqlVersion = project.hasProperty('libsqlVersion') ? rootProject.ext.libsqlVersion : '0.1.2'
7
9
  }
8
10
 
9
11
  buildscript {
10
- ext.kotlin_version = project.hasProperty("kotlin_version") ? rootProject.ext.kotlin_version : '1.9.25'
12
+ ext.kotlin_version = project.hasProperty("kotlin_version") ? rootProject.ext.kotlin_version : '2.2.20'
11
13
  repositories {
12
14
  google()
13
15
  mavenCentral()
14
16
  }
15
17
  dependencies {
16
- classpath 'com.android.tools.build:gradle:8.7.2'
18
+ classpath 'com.android.tools.build:gradle:8.13.0'
17
19
  classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
18
20
  }
19
21
  }
@@ -22,11 +24,11 @@ apply plugin: 'com.android.library'
22
24
  apply plugin: 'org.jetbrains.kotlin.android'
23
25
 
24
26
  android {
25
- namespace "io.capawesome.capacitorjs.plugins.libsql"
26
- compileSdk project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 35
27
+ namespace = "io.capawesome.capacitorjs.plugins.libsql"
28
+ compileSdk = project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 36
27
29
  defaultConfig {
28
- minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 23
29
- targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 35
30
+ minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 24
31
+ targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 36
30
32
  versionCode 1
31
33
  versionName "1.0"
32
34
  testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
@@ -38,14 +40,17 @@ android {
38
40
  }
39
41
  }
40
42
  lintOptions {
41
- abortOnError false
43
+ abortOnError = false
42
44
  }
43
45
  compileOptions {
44
46
  sourceCompatibility JavaVersion.VERSION_21
45
47
  targetCompatibility JavaVersion.VERSION_21
46
48
  }
47
- kotlinOptions {
48
- jvmTarget = '21'
49
+ }
50
+
51
+ kotlin {
52
+ compilerOptions {
53
+ jvmTarget = JvmTarget.JVM_21
49
54
  }
50
55
  }
51
56
 
@@ -187,7 +187,7 @@ public class LibsqlPlugin extends Plugin {
187
187
 
188
188
  @PluginMethod
189
189
  public void sync(PluginCall call) {
190
- rejectCallAsUnavailable(call);
190
+ rejectCallAsUnimplemented(call);
191
191
  }
192
192
 
193
193
  private void rejectCall(@NonNull PluginCall call, @NonNull Exception exception) {
@@ -199,8 +199,8 @@ public class LibsqlPlugin extends Plugin {
199
199
  call.reject(message);
200
200
  }
201
201
 
202
- private void rejectCallAsUnavailable(@NonNull PluginCall call) {
203
- call.unimplemented("Not available on this platform.");
202
+ private void rejectCallAsUnimplemented(@NonNull PluginCall call) {
203
+ call.unimplemented("Not implemented on this platform.");
204
204
  }
205
205
 
206
206
  private void resolveCall(@NonNull PluginCall call) {
@@ -284,4 +284,4 @@ export interface SyncOptions {
284
284
  /**
285
285
  * @since 0.0.0
286
286
  */
287
- export declare type Value = string | number | null;
287
+ export type Value = string | number | null;
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.cjs.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst Libsql = registerPlugin('Libsql', {\n web: () => import('./web').then(m => new m.LibsqlWeb()),\n});\nexport * from './definitions';\nexport { Libsql };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\nexport class LibsqlWeb extends WebPlugin {\n async beginTransaction(options) {\n console.log('beginTransaction', options);\n throw this.unimplemented('Not implemented on web.');\n }\n async commitTransaction(options) {\n console.log('commitTransaction', options);\n throw this.unimplemented('Not implemented on web.');\n }\n async connect(options) {\n console.log('connect', options);\n throw this.unimplemented('Not implemented on web.');\n }\n async execute(options) {\n console.log('execute', options);\n throw this.unimplemented('Not implemented on web.');\n }\n async executeBatch(options) {\n console.log('executeBatch', options);\n throw this.unimplemented('Not implemented on web.');\n }\n async query(options) {\n console.log('query', options);\n throw this.unimplemented('Not implemented on web.');\n }\n async rollbackTransaction(options) {\n console.log('rollbackTransaction', options);\n throw this.unimplemented('Not implemented on web.');\n }\n async sync(options) {\n console.log('sync', options);\n throw this.unimplemented('Not implemented on web.');\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["registerPlugin","WebPlugin"],"mappings":";;;;AACK,MAAC,MAAM,GAAGA,mBAAc,CAAC,QAAQ,EAAE;AACxC,IAAI,GAAG,EAAE,MAAM,mDAAe,CAAC,IAAI,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,SAAS,EAAE,CAAC;AAC3D,CAAC;;ACFM,MAAM,SAAS,SAASC,cAAS,CAAC;AACzC,IAAI,MAAM,gBAAgB,CAAC,OAAO,EAAE;AACpC,QAAQ,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,OAAO,CAAC;AAChD,QAAQ,MAAM,IAAI,CAAC,aAAa,CAAC,yBAAyB,CAAC;AAC3D;AACA,IAAI,MAAM,iBAAiB,CAAC,OAAO,EAAE;AACrC,QAAQ,OAAO,CAAC,GAAG,CAAC,mBAAmB,EAAE,OAAO,CAAC;AACjD,QAAQ,MAAM,IAAI,CAAC,aAAa,CAAC,yBAAyB,CAAC;AAC3D;AACA,IAAI,MAAM,OAAO,CAAC,OAAO,EAAE;AAC3B,QAAQ,OAAO,CAAC,GAAG,CAAC,SAAS,EAAE,OAAO,CAAC;AACvC,QAAQ,MAAM,IAAI,CAAC,aAAa,CAAC,yBAAyB,CAAC;AAC3D;AACA,IAAI,MAAM,OAAO,CAAC,OAAO,EAAE;AAC3B,QAAQ,OAAO,CAAC,GAAG,CAAC,SAAS,EAAE,OAAO,CAAC;AACvC,QAAQ,MAAM,IAAI,CAAC,aAAa,CAAC,yBAAyB,CAAC;AAC3D;AACA,IAAI,MAAM,YAAY,CAAC,OAAO,EAAE;AAChC,QAAQ,OAAO,CAAC,GAAG,CAAC,cAAc,EAAE,OAAO,CAAC;AAC5C,QAAQ,MAAM,IAAI,CAAC,aAAa,CAAC,yBAAyB,CAAC;AAC3D;AACA,IAAI,MAAM,KAAK,CAAC,OAAO,EAAE;AACzB,QAAQ,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE,OAAO,CAAC;AACrC,QAAQ,MAAM,IAAI,CAAC,aAAa,CAAC,yBAAyB,CAAC;AAC3D;AACA,IAAI,MAAM,mBAAmB,CAAC,OAAO,EAAE;AACvC,QAAQ,OAAO,CAAC,GAAG,CAAC,qBAAqB,EAAE,OAAO,CAAC;AACnD,QAAQ,MAAM,IAAI,CAAC,aAAa,CAAC,yBAAyB,CAAC;AAC3D;AACA,IAAI,MAAM,IAAI,CAAC,OAAO,EAAE;AACxB,QAAQ,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;AACpC,QAAQ,MAAM,IAAI,CAAC,aAAa,CAAC,yBAAyB,CAAC;AAC3D;AACA;;;;;;;;;"}
1
+ {"version":3,"file":"plugin.cjs.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst Libsql = registerPlugin('Libsql', {\n web: () => import('./web').then(m => new m.LibsqlWeb()),\n});\nexport * from './definitions';\nexport { Libsql };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\nexport class LibsqlWeb extends WebPlugin {\n async beginTransaction(options) {\n console.log('beginTransaction', options);\n throw this.unimplemented('Not implemented on web.');\n }\n async commitTransaction(options) {\n console.log('commitTransaction', options);\n throw this.unimplemented('Not implemented on web.');\n }\n async connect(options) {\n console.log('connect', options);\n throw this.unimplemented('Not implemented on web.');\n }\n async execute(options) {\n console.log('execute', options);\n throw this.unimplemented('Not implemented on web.');\n }\n async executeBatch(options) {\n console.log('executeBatch', options);\n throw this.unimplemented('Not implemented on web.');\n }\n async query(options) {\n console.log('query', options);\n throw this.unimplemented('Not implemented on web.');\n }\n async rollbackTransaction(options) {\n console.log('rollbackTransaction', options);\n throw this.unimplemented('Not implemented on web.');\n }\n async sync(options) {\n console.log('sync', options);\n throw this.unimplemented('Not implemented on web.');\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["registerPlugin","WebPlugin"],"mappings":";;;;AACK,MAAC,MAAM,GAAGA,mBAAc,CAAC,QAAQ,EAAE;AACxC,IAAI,GAAG,EAAE,MAAM,mDAAe,CAAC,IAAI,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,SAAS,EAAE,CAAC;AAC3D,CAAC;;ACFM,MAAM,SAAS,SAASC,cAAS,CAAC;AACzC,IAAI,MAAM,gBAAgB,CAAC,OAAO,EAAE;AACpC,QAAQ,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,OAAO,CAAC;AAChD,QAAQ,MAAM,IAAI,CAAC,aAAa,CAAC,yBAAyB,CAAC;AAC3D,IAAI;AACJ,IAAI,MAAM,iBAAiB,CAAC,OAAO,EAAE;AACrC,QAAQ,OAAO,CAAC,GAAG,CAAC,mBAAmB,EAAE,OAAO,CAAC;AACjD,QAAQ,MAAM,IAAI,CAAC,aAAa,CAAC,yBAAyB,CAAC;AAC3D,IAAI;AACJ,IAAI,MAAM,OAAO,CAAC,OAAO,EAAE;AAC3B,QAAQ,OAAO,CAAC,GAAG,CAAC,SAAS,EAAE,OAAO,CAAC;AACvC,QAAQ,MAAM,IAAI,CAAC,aAAa,CAAC,yBAAyB,CAAC;AAC3D,IAAI;AACJ,IAAI,MAAM,OAAO,CAAC,OAAO,EAAE;AAC3B,QAAQ,OAAO,CAAC,GAAG,CAAC,SAAS,EAAE,OAAO,CAAC;AACvC,QAAQ,MAAM,IAAI,CAAC,aAAa,CAAC,yBAAyB,CAAC;AAC3D,IAAI;AACJ,IAAI,MAAM,YAAY,CAAC,OAAO,EAAE;AAChC,QAAQ,OAAO,CAAC,GAAG,CAAC,cAAc,EAAE,OAAO,CAAC;AAC5C,QAAQ,MAAM,IAAI,CAAC,aAAa,CAAC,yBAAyB,CAAC;AAC3D,IAAI;AACJ,IAAI,MAAM,KAAK,CAAC,OAAO,EAAE;AACzB,QAAQ,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE,OAAO,CAAC;AACrC,QAAQ,MAAM,IAAI,CAAC,aAAa,CAAC,yBAAyB,CAAC;AAC3D,IAAI;AACJ,IAAI,MAAM,mBAAmB,CAAC,OAAO,EAAE;AACvC,QAAQ,OAAO,CAAC,GAAG,CAAC,qBAAqB,EAAE,OAAO,CAAC;AACnD,QAAQ,MAAM,IAAI,CAAC,aAAa,CAAC,yBAAyB,CAAC;AAC3D,IAAI;AACJ,IAAI,MAAM,IAAI,CAAC,OAAO,EAAE;AACxB,QAAQ,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;AACpC,QAAQ,MAAM,IAAI,CAAC,aAAa,CAAC,yBAAyB,CAAC;AAC3D,IAAI;AACJ;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst Libsql = registerPlugin('Libsql', {\n web: () => import('./web').then(m => new m.LibsqlWeb()),\n});\nexport * from './definitions';\nexport { Libsql };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\nexport class LibsqlWeb extends WebPlugin {\n async beginTransaction(options) {\n console.log('beginTransaction', options);\n throw this.unimplemented('Not implemented on web.');\n }\n async commitTransaction(options) {\n console.log('commitTransaction', options);\n throw this.unimplemented('Not implemented on web.');\n }\n async connect(options) {\n console.log('connect', options);\n throw this.unimplemented('Not implemented on web.');\n }\n async execute(options) {\n console.log('execute', options);\n throw this.unimplemented('Not implemented on web.');\n }\n async executeBatch(options) {\n console.log('executeBatch', options);\n throw this.unimplemented('Not implemented on web.');\n }\n async query(options) {\n console.log('query', options);\n throw this.unimplemented('Not implemented on web.');\n }\n async rollbackTransaction(options) {\n console.log('rollbackTransaction', options);\n throw this.unimplemented('Not implemented on web.');\n }\n async sync(options) {\n console.log('sync', options);\n throw this.unimplemented('Not implemented on web.');\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["registerPlugin","WebPlugin"],"mappings":";;;AACK,UAAC,MAAM,GAAGA,mBAAc,CAAC,QAAQ,EAAE;IACxC,IAAI,GAAG,EAAE,MAAM,mDAAe,CAAC,IAAI,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,SAAS,EAAE,CAAC;IAC3D,CAAC;;ICFM,MAAM,SAAS,SAASC,cAAS,CAAC;IACzC,IAAI,MAAM,gBAAgB,CAAC,OAAO,EAAE;IACpC,QAAQ,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,OAAO,CAAC;IAChD,QAAQ,MAAM,IAAI,CAAC,aAAa,CAAC,yBAAyB,CAAC;IAC3D;IACA,IAAI,MAAM,iBAAiB,CAAC,OAAO,EAAE;IACrC,QAAQ,OAAO,CAAC,GAAG,CAAC,mBAAmB,EAAE,OAAO,CAAC;IACjD,QAAQ,MAAM,IAAI,CAAC,aAAa,CAAC,yBAAyB,CAAC;IAC3D;IACA,IAAI,MAAM,OAAO,CAAC,OAAO,EAAE;IAC3B,QAAQ,OAAO,CAAC,GAAG,CAAC,SAAS,EAAE,OAAO,CAAC;IACvC,QAAQ,MAAM,IAAI,CAAC,aAAa,CAAC,yBAAyB,CAAC;IAC3D;IACA,IAAI,MAAM,OAAO,CAAC,OAAO,EAAE;IAC3B,QAAQ,OAAO,CAAC,GAAG,CAAC,SAAS,EAAE,OAAO,CAAC;IACvC,QAAQ,MAAM,IAAI,CAAC,aAAa,CAAC,yBAAyB,CAAC;IAC3D;IACA,IAAI,MAAM,YAAY,CAAC,OAAO,EAAE;IAChC,QAAQ,OAAO,CAAC,GAAG,CAAC,cAAc,EAAE,OAAO,CAAC;IAC5C,QAAQ,MAAM,IAAI,CAAC,aAAa,CAAC,yBAAyB,CAAC;IAC3D;IACA,IAAI,MAAM,KAAK,CAAC,OAAO,EAAE;IACzB,QAAQ,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE,OAAO,CAAC;IACrC,QAAQ,MAAM,IAAI,CAAC,aAAa,CAAC,yBAAyB,CAAC;IAC3D;IACA,IAAI,MAAM,mBAAmB,CAAC,OAAO,EAAE;IACvC,QAAQ,OAAO,CAAC,GAAG,CAAC,qBAAqB,EAAE,OAAO,CAAC;IACnD,QAAQ,MAAM,IAAI,CAAC,aAAa,CAAC,yBAAyB,CAAC;IAC3D;IACA,IAAI,MAAM,IAAI,CAAC,OAAO,EAAE;IACxB,QAAQ,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IACpC,QAAQ,MAAM,IAAI,CAAC,aAAa,CAAC,yBAAyB,CAAC;IAC3D;IACA;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"plugin.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst Libsql = registerPlugin('Libsql', {\n web: () => import('./web').then(m => new m.LibsqlWeb()),\n});\nexport * from './definitions';\nexport { Libsql };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\nexport class LibsqlWeb extends WebPlugin {\n async beginTransaction(options) {\n console.log('beginTransaction', options);\n throw this.unimplemented('Not implemented on web.');\n }\n async commitTransaction(options) {\n console.log('commitTransaction', options);\n throw this.unimplemented('Not implemented on web.');\n }\n async connect(options) {\n console.log('connect', options);\n throw this.unimplemented('Not implemented on web.');\n }\n async execute(options) {\n console.log('execute', options);\n throw this.unimplemented('Not implemented on web.');\n }\n async executeBatch(options) {\n console.log('executeBatch', options);\n throw this.unimplemented('Not implemented on web.');\n }\n async query(options) {\n console.log('query', options);\n throw this.unimplemented('Not implemented on web.');\n }\n async rollbackTransaction(options) {\n console.log('rollbackTransaction', options);\n throw this.unimplemented('Not implemented on web.');\n }\n async sync(options) {\n console.log('sync', options);\n throw this.unimplemented('Not implemented on web.');\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["registerPlugin","WebPlugin"],"mappings":";;;AACK,UAAC,MAAM,GAAGA,mBAAc,CAAC,QAAQ,EAAE;IACxC,IAAI,GAAG,EAAE,MAAM,mDAAe,CAAC,IAAI,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,SAAS,EAAE,CAAC;IAC3D,CAAC;;ICFM,MAAM,SAAS,SAASC,cAAS,CAAC;IACzC,IAAI,MAAM,gBAAgB,CAAC,OAAO,EAAE;IACpC,QAAQ,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,OAAO,CAAC;IAChD,QAAQ,MAAM,IAAI,CAAC,aAAa,CAAC,yBAAyB,CAAC;IAC3D,IAAI;IACJ,IAAI,MAAM,iBAAiB,CAAC,OAAO,EAAE;IACrC,QAAQ,OAAO,CAAC,GAAG,CAAC,mBAAmB,EAAE,OAAO,CAAC;IACjD,QAAQ,MAAM,IAAI,CAAC,aAAa,CAAC,yBAAyB,CAAC;IAC3D,IAAI;IACJ,IAAI,MAAM,OAAO,CAAC,OAAO,EAAE;IAC3B,QAAQ,OAAO,CAAC,GAAG,CAAC,SAAS,EAAE,OAAO,CAAC;IACvC,QAAQ,MAAM,IAAI,CAAC,aAAa,CAAC,yBAAyB,CAAC;IAC3D,IAAI;IACJ,IAAI,MAAM,OAAO,CAAC,OAAO,EAAE;IAC3B,QAAQ,OAAO,CAAC,GAAG,CAAC,SAAS,EAAE,OAAO,CAAC;IACvC,QAAQ,MAAM,IAAI,CAAC,aAAa,CAAC,yBAAyB,CAAC;IAC3D,IAAI;IACJ,IAAI,MAAM,YAAY,CAAC,OAAO,EAAE;IAChC,QAAQ,OAAO,CAAC,GAAG,CAAC,cAAc,EAAE,OAAO,CAAC;IAC5C,QAAQ,MAAM,IAAI,CAAC,aAAa,CAAC,yBAAyB,CAAC;IAC3D,IAAI;IACJ,IAAI,MAAM,KAAK,CAAC,OAAO,EAAE;IACzB,QAAQ,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE,OAAO,CAAC;IACrC,QAAQ,MAAM,IAAI,CAAC,aAAa,CAAC,yBAAyB,CAAC;IAC3D,IAAI;IACJ,IAAI,MAAM,mBAAmB,CAAC,OAAO,EAAE;IACvC,QAAQ,OAAO,CAAC,GAAG,CAAC,qBAAqB,EAAE,OAAO,CAAC;IACnD,QAAQ,MAAM,IAAI,CAAC,aAAa,CAAC,yBAAyB,CAAC;IAC3D,IAAI;IACJ,IAAI,MAAM,IAAI,CAAC,OAAO,EAAE;IACxB,QAAQ,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IACpC,QAAQ,MAAM,IAAI,CAAC,aAAa,CAAC,yBAAyB,CAAC;IAC3D,IAAI;IACJ;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capawesome/capacitor-libsql",
3
- "version": "0.1.1",
3
+ "version": "0.2.0",
4
4
  "description": "Capacitor plugin for libSQL databases.",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",
@@ -32,6 +32,7 @@
32
32
  "url": "https://opencollective.com/capawesome"
33
33
  }
34
34
  ],
35
+ "homepage": "https://capawesome.io/plugins/libsql/",
35
36
  "keywords": [
36
37
  "capacitor",
37
38
  "plugin",
@@ -55,23 +56,23 @@
55
56
  "prepublishOnly": "npm run build"
56
57
  },
57
58
  "devDependencies": {
58
- "@capacitor/android": "7.0.0",
59
- "@capacitor/cli": "7.0.0",
60
- "@capacitor/core": "7.0.0",
61
- "@capacitor/docgen": "0.3.0",
62
- "@capacitor/ios": "7.0.0",
59
+ "@capacitor/android": "8.0.0",
60
+ "@capacitor/cli": "8.0.0",
61
+ "@capacitor/core": "8.0.0",
62
+ "@capacitor/docgen": "0.3.1",
63
+ "@capacitor/ios": "8.0.0",
63
64
  "@ionic/eslint-config": "0.4.0",
64
65
  "@ionic/swiftlint-config": "2.0.0",
65
66
  "eslint": "8.57.0",
66
67
  "prettier": "3.4.2",
67
68
  "prettier-plugin-java": "2.6.7",
68
- "rimraf": "6.0.1",
69
- "rollup": "4.30.1",
69
+ "rimraf": "6.1.2",
70
+ "rollup": "4.53.3",
70
71
  "swiftlint": "2.0.0",
71
- "typescript": "4.1.5"
72
+ "typescript": "5.9.3"
72
73
  },
73
74
  "peerDependencies": {
74
- "@capacitor/core": ">=7.0.0"
75
+ "@capacitor/core": ">=8.0.0"
75
76
  },
76
77
  "swiftlint": "@ionic/swiftlint-config",
77
78
  "eslintConfig": {