@umutcansu/react-native-pinvault 2.6.0 → 2.6.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/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.6.1 — 2026-10-15
4
+
5
+ ### Fixed
6
+
7
+ - **iOS: without `tokenHosts`, only the block's own Config API carries
8
+ `PinVault-Token`** (as Android has since 2.4.1). A block without
9
+ `tokenHosts` sent the token (and `PinVault-Proof`) to every host pinned by
10
+ its live config, so a pinned CDN or analytics host received it. Name your
11
+ API hosts in `tokenHosts` if they need the token.
12
+
13
+ ### Changed
14
+
15
+ - Depends on PinVault 2.6.1 (Maven Central, Swift package tag `v2.6.1`).
16
+
3
17
  ## 2.6.0 — 2026-10-14
4
18
 
5
19
  ### Fixed
package/README.md CHANGED
@@ -29,9 +29,9 @@ npm install @umutcansu/react-native-pinvault
29
29
  cd ios && pod install
30
30
  ```
31
31
 
32
- The native libraries come with it, at the package's own version: npm 2.6.0
33
- uses `io.github.umutcansu:pinvault:2.6.0` from Maven Central and the Swift
34
- package at tag `v2.6.0`. The New Architecture must stay on (React Native's
32
+ The native libraries come with it, at the package's own version: npm 2.6.1
33
+ uses `io.github.umutcansu:pinvault:2.6.1` from Maven Central and the Swift
34
+ package at tag `v2.6.1`. The New Architecture must stay on (React Native's
35
35
  default since 0.76).
36
36
 
37
37
  **iOS.** The pod depends on the PinVault Swift package through React Native's
@@ -4,7 +4,7 @@ package = JSON.parse(File.read(File.join(__dir__, "package.json")))
4
4
 
5
5
  # PinVault for iOS is a Swift package (Package.swift at the repository root,
6
6
  # product "PinVault"). React Native's spm_dependency adds it to the Pods project:
7
- # - consumers: the git URL at the tag of this package's version (v2.6.0);
7
+ # - consumers: the git URL at the tag of this package's version (v2.6.1);
8
8
  # - development: PINVAULT_IOS_PACKAGE_PATH = a PinVault checkout (the sample's
9
9
  # Podfile sets it to this repository), the counterpart of pinvault.localPath.
10
10
  pinvault_url = "https://github.com/umutcansu/PinVault.git"
@@ -9,7 +9,7 @@ buildscript {
9
9
  kotlinVersion: "2.2.0",
10
10
  minSdkVersion: 24,
11
11
  compileSdkVersion: 36,
12
- pinvaultVersion: "2.6.0",
12
+ pinvaultVersion: "2.6.1",
13
13
  ]
14
14
  ext.pinvaultRnExt = { prop ->
15
15
  rootProject.ext.has(prop) ? rootProject.ext.get(prop) : PinVaultRN[prop]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umutcansu/react-native-pinvault",
3
- "version": "2.6.0",
3
+ "version": "2.6.1",
4
4
  "description": "PinVault for React Native: dynamic certificate pinning with signed remote configs, mTLS enrollment and signed vault files, as a thin bridge over the native PinVault libraries",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",