leap-creator-capacitor 2.2.0 → 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.
@@ -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:creator-sdk:2.2.1'
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"
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=definitions.js.map
package/dist/esm/index.js CHANGED
@@ -2,4 +2,3 @@ import { registerPlugin } from '@capacitor/core';
2
2
  const LeapCreatorPlugin = registerPlugin('LeapCreatorPlugin');
3
3
  export * from './definitions';
4
4
  export { LeapCreatorPlugin };
5
- //# sourceMappingURL=index.js.map
@@ -1,7 +1,5 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
3
  var core = require('@capacitor/core');
6
4
 
7
5
  const LeapCreatorPlugin = core.registerPlugin('LeapCreatorPlugin');
@@ -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//# sourceMappingURL=index.js.map"],"names":["registerPlugin"],"mappings":";;;;;;AACK,MAAC,iBAAiB,GAAGA,mBAAc,CAAC,mBAAmB;;;;"}
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
@@ -5,8 +5,6 @@ var capacitorLeapCreatorPlugin = (function (exports, core) {
5
5
 
6
6
  exports.LeapCreatorPlugin = LeapCreatorPlugin;
7
7
 
8
- Object.defineProperty(exports, '__esModule', { value: true });
9
-
10
8
  return exports;
11
9
 
12
10
  })({}, capacitorExports);
@@ -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//# sourceMappingURL=index.js.map"],"names":["registerPlugin"],"mappings":";;;AACK,OAAC,iBAAiB,GAAGA,mBAAc,CAAC,mBAAmB;;;;;;;;;;;;"}
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.2.0",
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 . --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 LeapCreatorPluginInterface --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.mjs",
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",
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",
58
- "rollup": "^2.32.0",
59
- "swiftlint": "^1.0.1",
60
- "typescript": "~4.0.3"
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"]}
@@ -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"]}