cordova-khipu 2.11.2 → 2.11.4

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/README.md CHANGED
@@ -206,14 +206,19 @@ majors below its default.
206
206
 
207
207
  ### Network access in CI
208
208
 
209
- The plugin adds a Maven repository of its own, in addition to Google and Maven Central:
209
+ The Khipu Android SDK comes from Maven Central, like the rest of the plugin's
210
+ dependencies. A CI that can reach Google's Maven repository and Maven Central needs
211
+ nothing else.
212
+
213
+ Plugin versions up to 2.11.3 pin an SDK that is only in Khipu's own Maven repository,
214
+ and add that repository to your build:
210
215
 
211
216
  ```
212
217
  https://dev.khipu.com/nexus/content/repositories/khenshin
213
218
  ```
214
219
 
215
- On a development machine you will not notice it, but if your CI runs behind a proxy or
216
- with an allow-list of hosts, that domain has to be enabled or the build fails resolving
220
+ If you stay on one of those versions and your CI runs behind a proxy or with an
221
+ allow-list of hosts, that domain has to be enabled or the build fails resolving
217
222
  dependencies.
218
223
 
219
224
  ### Permissions this plugin adds to your app
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cordova-khipu",
3
- "version": "2.11.2",
3
+ "version": "2.11.4",
4
4
  "description": "Khipu Cordova Plugin",
5
5
  "types": "types/index.d.ts",
6
6
  "cordova": {
@@ -51,11 +51,11 @@
51
51
  "prepare": "husky"
52
52
  },
53
53
  "devDependencies": {
54
- "@commitlint/config-conventional": "^21.2.3",
54
+ "@commitlint/config-conventional": "^21.2.4",
55
55
  "@release-it/conventional-changelog": "^12.0.2",
56
- "commitlint": "^21.2.3",
56
+ "commitlint": "^21.2.4",
57
57
  "husky": "^9.1.7",
58
- "release-it": "^21.1.0"
58
+ "release-it": "^21.1.3"
59
59
  },
60
60
  "commitlint": {
61
61
  "extends": [
package/plugin.xml CHANGED
@@ -1,5 +1,5 @@
1
1
  <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2
- <plugin id="cordova-khipu" version="2.11.2" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
2
+ <plugin id="cordova-khipu" version="2.11.4" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
3
3
  <name>Cordova Khipu</name>
4
4
  <engines>
5
5
  <engine name="cordova-ios" version=">=7.0.0"/>
@@ -3,10 +3,13 @@ repositories {
3
3
  // jcenter() has been dead since 2022. The plugin worked because the
4
4
  // cordova-android template declares mavenCentral() in the root, not
5
5
  // because jcenter actually served anything.
6
+ //
7
+ // The SDK is on Maven Central from 2.30.0. Up to 2.28.7 it was only in
8
+ // Khipu's Nexus, which is why earlier releases of this plugin declared
9
+ // that repository here as well.
6
10
  mavenCentral()
7
- maven { url 'https://dev.khipu.com/nexus/content/repositories/khenshin' }
8
11
  }
9
12
 
10
13
  dependencies {
11
- implementation 'com.khipu:khipu-client-android:2.28.6'
14
+ implementation 'com.khipu:khipu-client-android:2.30.0'
12
15
  }
@@ -38,7 +38,7 @@ android {
38
38
  }
39
39
 
40
40
  dependencies {
41
- implementation 'com.khipu:khipu-client-android:2.28.6'
41
+ implementation 'com.khipu:khipu-client-android:2.30.0'
42
42
 
43
43
  testImplementation 'junit:junit:4.13.2'
44
44
  // org.json inside android.jar is a set of stubs whose every method throws
@@ -1,6 +1,6 @@
1
- // The Khipu SDK lives in Khipu's own Nexus, so the repository has to be
2
- // declared here as well as in src/android/khipu.gradle: this project resolves
3
- // the SDK on its own, outside any Cordova app.
1
+ // This project resolves the SDK on its own, outside any Cordova app, so it
2
+ // declares the same repositories as src/android/khipu.gradle. The SDK is on
3
+ // Maven Central from 2.30.0; Khipu's Nexus is no longer needed.
4
4
  pluginManagement {
5
5
  repositories {
6
6
  google()
@@ -13,7 +13,6 @@ dependencyResolutionManagement {
13
13
  repositories {
14
14
  google()
15
15
  mavenCentral()
16
- maven { url 'https://dev.khipu.com/nexus/content/repositories/khenshin' }
17
16
  }
18
17
  }
19
18
 
@@ -19,7 +19,7 @@ import java.util.Arrays;
19
19
  * Android framework, every mapper test would fail at once with a confusing error. This
20
20
  * test fails first, with an obvious one.
21
21
  *
22
- * The second is part of the reason src/android/khipu.gradle says 2.28.6 and not 2.27.0.
22
+ * The second is part of the reason src/android/khipu.gradle says 2.30.0 and not 2.27.0.
23
23
  * Protocol 1.0.59 has fourteen FailureReasonType constants and no USER_DISCONNECTED; its
24
24
  * forValue() throws IOException on any value it does not know, and the SDK's
25
25
  * OPERATION_FAILURE listener calls the converter with no try/catch on socket.io's