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.
- package/LeapCapacitor.podspec +2 -2
- package/android/build.gradle +7 -7
- package/package.json +27 -22
package/LeapCapacitor.podspec
CHANGED
|
@@ -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 = '
|
|
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.
|
|
18
|
+
s.dependency "LeapSDK", "2.2.11"
|
|
19
19
|
end
|
package/android/build.gradle
CHANGED
|
@@ -11,7 +11,7 @@ buildscript {
|
|
|
11
11
|
mavenCentral()
|
|
12
12
|
}
|
|
13
13
|
dependencies {
|
|
14
|
-
classpath 'com.android.tools.build:gradle:
|
|
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 :
|
|
22
|
+
compileSdkVersion project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 36
|
|
23
23
|
defaultConfig {
|
|
24
|
-
minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion :
|
|
25
|
-
targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion :
|
|
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.
|
|
41
|
-
targetCompatibility JavaVersion.
|
|
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.
|
|
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.
|
|
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 .
|
|
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": "
|
|
42
|
-
"clean": "rimraf
|
|
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": "
|
|
44
|
+
"prepublishOnly": "npm run build"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@capacitor/android": "^
|
|
48
|
-
"@capacitor/core": "^
|
|
47
|
+
"@capacitor/android": "^8.0.0",
|
|
48
|
+
"@capacitor/core": "^8.0.0",
|
|
49
49
|
"@capacitor/docgen": "^0.0.18",
|
|
50
|
-
"@capacitor/ios": "^
|
|
51
|
-
"@ionic/eslint-config": "^0.
|
|
52
|
-
"@ionic/prettier-config": "^
|
|
53
|
-
"@ionic/swiftlint-config": "^
|
|
54
|
-
"eslint": "^
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
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": "
|
|
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
|
+
}
|