leap-capacitor 2.2.4 → 2.2.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.
@@ -11,9 +11,9 @@ Pod::Spec.new do |s|
11
11
  s.author = package['author']
12
12
  s.source = { :git => package['repository']['url'], :tag => s.version.to_s }
13
13
  s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
14
- s.ios.deployment_target = '12.0'
14
+ s.ios.deployment_target = '15.0'
15
15
  s.dependency 'Capacitor'
16
16
  s.swift_version = '5.1'
17
17
 
18
- s.dependency "LeapSDK", "2.2.0"
18
+ s.dependency "LeapSDK", "2.2.11"
19
19
  end
@@ -11,7 +11,7 @@ buildscript {
11
11
  mavenCentral()
12
12
  }
13
13
  dependencies {
14
- classpath 'com.android.tools.build:gradle:4.2.2'
14
+ classpath 'com.android.tools.build:gradle:8.13.0'
15
15
  }
16
16
  }
17
17
 
@@ -19,10 +19,10 @@ apply plugin: 'com.android.library'
19
19
 
20
20
  android {
21
21
  namespace "is.leap.capacitor"
22
- compileSdkVersion project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 30
22
+ compileSdkVersion project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 36
23
23
  defaultConfig {
24
- minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 21
25
- targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 30
24
+ minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 24
25
+ targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 36
26
26
  versionCode 1
27
27
  versionName "1.0"
28
28
  testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
@@ -37,8 +37,8 @@ android {
37
37
  abortOnError false
38
38
  }
39
39
  compileOptions {
40
- sourceCompatibility JavaVersion.VERSION_1_8
41
- targetCompatibility JavaVersion.VERSION_1_8
40
+ sourceCompatibility JavaVersion.VERSION_17
41
+ targetCompatibility JavaVersion.VERSION_17
42
42
  }
43
43
  }
44
44
 
@@ -51,7 +51,7 @@ repositories {
51
51
  dependencies {
52
52
  implementation fileTree(dir: 'libs', include: ['*.jar'])
53
53
  implementation project(':capacitor-android')
54
- implementation 'is.leap.android:sdk:2.2.1.2'
54
+ implementation 'is.leap.android:sdk:2.2.14'
55
55
  implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"
56
56
  testImplementation "junit:junit:$junitVersion"
57
57
  androidTestImplementation "androidx.test.ext:junit:$androidxJunitVersion"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "leap-capacitor",
3
- "version": "2.2.4",
3
+ "version": "2.2.6",
4
4
  "description": "Plugin for Leap",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",
@@ -34,39 +34,38 @@
34
34
  "verify:web": "npm run build",
35
35
  "lint": "npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint",
36
36
  "fmt": "npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format",
37
- "eslint": "eslint . --ext ts",
38
- "prettier": "prettier \"**/*.{css,html,ts,js,java}\"",
37
+ "eslint": "eslint .",
38
+ "prettier": "prettier --check \"**/*.{css,html,ts,js,java}\"",
39
39
  "swiftlint": "node-swiftlint",
40
40
  "docgen": "docgen --api LeapPluginInterface --output-readme README.md --output-json dist/docs.json",
41
- "build": "yarn && yarn clean && yarn && yarn docgen && tsc && rollup -c rollup.config.js",
42
- "clean": "rimraf ./dist",
41
+ "build": "npm ci && npm run clean && npm run docgen && tsc && rollup -c rollup.config.js",
42
+ "clean": "rimraf dist",
43
43
  "watch": "tsc --watch",
44
- "prepublishOnly": "yarn build"
44
+ "prepublishOnly": "npm run build"
45
45
  },
46
46
  "devDependencies": {
47
- "@capacitor/android": "^3.0.0",
48
- "@capacitor/core": "^3.0.0",
47
+ "@capacitor/android": "^8.0.0",
48
+ "@capacitor/core": "^8.0.0",
49
49
  "@capacitor/docgen": "^0.0.18",
50
- "@capacitor/ios": "^3.0.0",
51
- "@ionic/eslint-config": "^0.3.0",
52
- "@ionic/prettier-config": "^1.0.1",
53
- "@ionic/swiftlint-config": "^1.1.2",
54
- "eslint": "^7.11.0",
55
- "prettier": "~2.2.0",
56
- "prettier-plugin-java": "~1.0.0",
57
- "rimraf": "^3.0.2",
50
+ "@capacitor/ios": "^8.0.0",
51
+ "@ionic/eslint-config": "^0.4.0",
52
+ "@ionic/prettier-config": "^4.0.0",
53
+ "@ionic/swiftlint-config": "^2.0.0",
54
+ "@typescript-eslint/eslint-plugin": "^8.54.0",
55
+ "@typescript-eslint/parser": "^8.54.0",
56
+ "eslint": "^9.39.2",
57
+ "prettier": "^3.8.1",
58
+ "prettier-plugin-java": "^2.8.1",
59
+ "rimraf": "^5.0.0",
58
60
  "rollup": "^2.32.0",
59
61
  "swiftlint": "^1.0.1",
60
- "typescript": "~4.0.3"
62
+ "typescript": "^5.9.3"
61
63
  },
62
64
  "peerDependencies": {
63
65
  "@capacitor/core": ">=3.0.0"
64
66
  },
65
67
  "prettier": "@ionic/prettier-config",
66
- "swiftlint": "@ionic/swiftlint-config",
67
- "eslintConfig": {
68
- "extends": "@ionic/eslint-config/recommended"
69
- },
68
+ "swiftlint": "@ionic/swiftlint-config",
70
69
  "capacitor": {
71
70
  "ios": {
72
71
  "src": "ios"
@@ -74,5 +73,11 @@
74
73
  "android": {
75
74
  "src": "android"
76
75
  }
76
+ },
77
+ "overrides": {
78
+ "lodash": "^4.17.21",
79
+ "lodash-es": "^4.17.21",
80
+ "glob": "^10.0.0",
81
+ "rimraf": "^5.0.0"
77
82
  }
78
- }
83
+ }