leap-creator-capacitor 2.0.19 → 2.2.1
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/LeapCreatorCapacitor.podspec +1 -1
- package/android/build.gradle +3 -3
- package/dist/esm/definitions.js +0 -1
- package/dist/esm/index.js +0 -1
- package/dist/plugin.cjs.js +0 -2
- package/dist/plugin.cjs.js.map +1 -1
- package/dist/plugin.js +0 -2
- package/dist/plugin.js.map +1 -1
- package/package.json +28 -21
- package/dist/esm/definitions.js.map +0 -1
- package/dist/esm/index.js.map +0 -1
|
@@ -13,6 +13,6 @@ Pod::Spec.new do |s|
|
|
|
13
13
|
s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
|
|
14
14
|
s.ios.deployment_target = '12.0'
|
|
15
15
|
s.dependency 'Capacitor'
|
|
16
|
-
s.dependency 'LeapCreatorSDK', '2.0
|
|
16
|
+
s.dependency 'LeapCreatorSDK', '2.2.0'
|
|
17
17
|
s.swift_version = '5.1'
|
|
18
18
|
end
|
package/android/build.gradle
CHANGED
|
@@ -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:creator-sdk:2.
|
|
54
|
+
implementation 'is.leap.android:creator-sdk:2.2.4'
|
|
55
55
|
implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"
|
|
56
56
|
testImplementation "junit:junit:$junitVersion"
|
|
57
57
|
androidTestImplementation "androidx.test.ext:junit:$androidxJunitVersion"
|
package/dist/esm/definitions.js
CHANGED
package/dist/esm/index.js
CHANGED
package/dist/plugin.cjs.js
CHANGED
package/dist/plugin.cjs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.cjs.js","sources":["esm/index.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst LeapCreatorPlugin = registerPlugin('LeapCreatorPlugin');\nexport * from './definitions';\nexport { LeapCreatorPlugin };\n
|
|
1
|
+
{"version":3,"file":"plugin.cjs.js","sources":["esm/index.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst LeapCreatorPlugin = registerPlugin('LeapCreatorPlugin');\nexport * from './definitions';\nexport { LeapCreatorPlugin };\n"],"names":["registerPlugin"],"mappings":";;;;AACK,MAAC,iBAAiB,GAAGA,mBAAc,CAAC,mBAAmB;;;;"}
|
package/dist/plugin.js
CHANGED
package/dist/plugin.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.js","sources":["esm/index.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst LeapCreatorPlugin = registerPlugin('LeapCreatorPlugin');\nexport * from './definitions';\nexport { LeapCreatorPlugin };\n
|
|
1
|
+
{"version":3,"file":"plugin.js","sources":["esm/index.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst LeapCreatorPlugin = registerPlugin('LeapCreatorPlugin');\nexport * from './definitions';\nexport { LeapCreatorPlugin };\n"],"names":["registerPlugin"],"mappings":";;;AACK,OAAC,iBAAiB,GAAGA,mBAAc,CAAC,mBAAmB;;;;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "leap-creator-capacitor",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.1",
|
|
4
4
|
"description": "Leap Creator Capacitor plugin",
|
|
5
5
|
"main": "dist/plugin.cjs.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -34,30 +34,37 @@
|
|
|
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 LeapCreatorPluginInterface --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.mjs",
|
|
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": "^
|
|
49
|
-
"@capacitor/docgen": "^0.0
|
|
50
|
-
"@capacitor/ios": "^
|
|
51
|
-
"@ionic/eslint-config": "^0.
|
|
52
|
-
"@ionic/prettier-config": "^
|
|
53
|
-
"@ionic/swiftlint-config": "^
|
|
54
|
-
"eslint": "^
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
47
|
+
"@capacitor/android": "^6.0.0",
|
|
48
|
+
"@capacitor/core": "^6.0.0",
|
|
49
|
+
"@capacitor/docgen": "^0.3.0",
|
|
50
|
+
"@capacitor/ios": "^6.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.21.0",
|
|
55
|
+
"@typescript-eslint/parser": "^8.21.0",
|
|
56
|
+
"eslint": "^9.18.0",
|
|
57
|
+
"prettier": "^3.4.2",
|
|
58
|
+
"prettier-plugin-java": "^2.6.6",
|
|
59
|
+
"rimraf": "^5.0.0",
|
|
60
|
+
"rollup": "^4.31.0",
|
|
61
|
+
"swiftlint": "^1.0.2",
|
|
62
|
+
"typescript": "^5.7.3"
|
|
63
|
+
},
|
|
64
|
+
"overrides": {
|
|
65
|
+
"lodash": "^4.17.21",
|
|
66
|
+
"lodash-es": "^4.17.21",
|
|
67
|
+
"glob": "^10.0.0"
|
|
61
68
|
},
|
|
62
69
|
"peerDependencies": {
|
|
63
70
|
"@capacitor/core": ">=3.0.0"
|
|
@@ -75,4 +82,4 @@
|
|
|
75
82
|
"src": "android"
|
|
76
83
|
}
|
|
77
84
|
}
|
|
78
|
-
}
|
|
85
|
+
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"definitions.js","sourceRoot":"","sources":["../../src/definitions.ts"],"names":[],"mappings":"","sourcesContent":["export interface LeapCreatorPluginInterface {\n start(options: { apiKey: string }): Promise<void>;\n}\n"]}
|
package/dist/esm/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAIjD,MAAM,iBAAiB,GAAG,cAAc,CAA6B,mBAAmB,CAAC,CAAC;AAE1F,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAE,iBAAiB,EAAE,CAAC","sourcesContent":["import { registerPlugin } from '@capacitor/core';\n\nimport type { LeapCreatorPluginInterface } from './definitions';\n\nconst LeapCreatorPlugin = registerPlugin<LeapCreatorPluginInterface>('LeapCreatorPlugin');\n\nexport * from './definitions';\nexport { LeapCreatorPlugin };\n"]}
|