capacitor-mapboxnav 1.0.0 → 1.0.2

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.
@@ -12,4 +12,12 @@ class capacitormapboxnavTests: XCTestCase {
12
12
 
13
13
  XCTAssertEqual(value, result)
14
14
  }
15
+
16
+ func testEchoEmpty() {
17
+ let implementation = capacitormapboxnav()
18
+ let value = ""
19
+ let result = implementation.echo(value)
20
+
21
+ XCTAssertEqual(value, result)
22
+ }
15
23
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "capacitor-mapboxnav",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "capacitor mapbox navigation ndk",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",
@@ -19,15 +19,21 @@
19
19
  "license": "MIT",
20
20
  "repository": {
21
21
  "type": "git",
22
- "url": "git+https://github.com/castelioit/capacitor-mapboxnav.git"
22
+ "url": "git+https://github.com/floki1250/capacitor-mapboxnav.git"
23
23
  },
24
24
  "bugs": {
25
- "url": "https://github.com/castelioit/capacitor-mapboxnav/issues"
25
+ "url": "https://github.com/floki1250/capacitor-mapboxnav/issues"
26
26
  },
27
27
  "keywords": [
28
+ "ionic",
28
29
  "capacitor",
29
30
  "plugin",
30
- "native"
31
+ "native",
32
+ "mapbox",
33
+ "navigation",
34
+ "android",
35
+ "ios",
36
+ "web"
31
37
  ],
32
38
  "scripts": {
33
39
  "verify": "npm run verify:ios && npm run verify:android && npm run verify:web",
@@ -40,6 +46,7 @@
40
46
  "prettier": "prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java",
41
47
  "swiftlint": "node-swiftlint",
42
48
  "docgen": "docgen --api capacitormapboxnavPlugin --output-readme README.md --output-json dist/docs.json",
49
+ "test": "jest",
43
50
  "build": "npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs",
44
51
  "clean": "rimraf ./dist",
45
52
  "watch": "tsc --watch",
@@ -47,18 +54,21 @@
47
54
  },
48
55
  "devDependencies": {
49
56
  "@capacitor/android": "^8.0.0",
50
- "@capacitor/core": "^8.0.0",
57
+ "@capacitor/core": "^8.3.0",
51
58
  "@capacitor/docgen": "^0.3.1",
52
59
  "@capacitor/ios": "^8.0.0",
53
60
  "@ionic/eslint-config": "^0.4.0",
54
61
  "@ionic/prettier-config": "^4.0.0",
55
62
  "@ionic/swiftlint-config": "^2.0.0",
63
+ "@types/jest": "^30.0.0",
56
64
  "eslint": "^8.57.1",
65
+ "jest": "^30.3.0",
57
66
  "prettier": "^3.6.2",
58
67
  "prettier-plugin-java": "^2.7.7",
59
68
  "rimraf": "^6.1.0",
60
69
  "rollup": "^4.53.2",
61
70
  "swiftlint": "^2.0.0",
71
+ "ts-jest": "^29.4.6",
62
72
  "typescript": "^5.9.3"
63
73
  },
64
74
  "peerDependencies": {