From 2b503c42d43cde3f82d994346948e20bbf91fc57 Mon Sep 17 00:00:00 2001 From: Martin Guillon Date: Fri, 14 Jan 2022 16:55:52 +0100 Subject: [PATCH 1/3] fix: missing export of `addNetworkInterceptor`, `addInterceptor` --- src/https.android.ts | 2 ++ src/https.ios.ts | 1 + 2 files changed, 3 insertions(+) diff --git a/src/https.android.ts b/src/https.android.ts index 16f5d2e..ec0238b 100644 --- a/src/https.android.ts +++ b/src/https.android.ts @@ -1,6 +1,8 @@ import { File, HttpResponseEncoding, ImageSource, Utils } from '@nativescript/core'; import * as Https from './https.common'; +export { addNetworkInterceptor, addInterceptor } from './https.common'; + interface Ipeer { enabled: boolean; allowInvalidCertificates: boolean; diff --git a/src/https.ios.ts b/src/https.ios.ts index df6bc88..54036af 100644 --- a/src/https.ios.ts +++ b/src/https.ios.ts @@ -1,5 +1,6 @@ import { File, ImageSource, Utils } from '@nativescript/core'; import * as Https from './https.common'; +export { addNetworkInterceptor, addInterceptor } from './https.common'; let cache: NSURLCache; From 0d6d67b223e52d5e3d80b4513f2ee6d591495e4f Mon Sep 17 00:00:00 2001 From: Martin Guillon Date: Fri, 14 Jan 2022 16:56:03 +0100 Subject: [PATCH 2/3] fix(android): missing native-api-usage --- plugin/platforms/android/native-api-usage.json | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/platforms/android/native-api-usage.json b/plugin/platforms/android/native-api-usage.json index 9c49963..121770d 100644 --- a/plugin/platforms/android/native-api-usage.json +++ b/plugin/platforms/android/native-api-usage.json @@ -14,6 +14,7 @@ "okhttp3.CacheControl:Builder*", "okhttp3:Request*", "okhttp3.Request:Builder*", + "okhttp3:Interceptor*", "okhttp3:OkHttpClient*", "okhttp3.OkHttpClient:Builder*", "okhttp3:CertificatePinner*", From 426740f6d730b8a1e9e9078f20011a95d7ece400 Mon Sep 17 00:00:00 2001 From: Martin Guillon Date: Fri, 14 Jan 2022 16:58:27 +0100 Subject: [PATCH 3/3] v3.3.4 --- CHANGELOG.md | 12 ++++++++++++ lerna.json | 2 +- plugin/CHANGELOG.md | 11 +++++++++++ plugin/package.json | 2 +- 4 files changed, 25 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fe93c17..277badc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,18 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.3.4](https://github.com/farfromrefug/nativescript-https/compare/v3.3.3...v3.3.4) (2022-01-14) + + +### Bug Fixes + +* **android:** missing native-api-usage ([0d6d67b](https://github.com/farfromrefug/nativescript-https/commit/0d6d67b223e52d5e3d80b4513f2ee6d591495e4f)) +* missing export of `addNetworkInterceptor`, `addInterceptor` ([2b503c4](https://github.com/farfromrefug/nativescript-https/commit/2b503c42d43cde3f82d994346948e20bbf91fc57)) + + + + + ## [3.3.3](https://github.com/farfromrefug/nativescript-https/compare/v3.3.2...v3.3.3) (2021-12-23) diff --git a/lerna.json b/lerna.json index d4e2fab..ee62259 100644 --- a/lerna.json +++ b/lerna.json @@ -2,7 +2,7 @@ "packages": [ "plugin" ], - "version": "3.3.3", + "version": "3.3.4", "command": { "publish": { "conventionalCommits": true diff --git a/plugin/CHANGELOG.md b/plugin/CHANGELOG.md index 1e8d5a6..81c7cec 100644 --- a/plugin/CHANGELOG.md +++ b/plugin/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.3.4](https://github.com/farfromrefug/nativescript-https/compare/v3.3.3...v3.3.4) (2022-01-14) + + +### Bug Fixes + +* **android:** missing native-api-usage ([0d6d67b](https://github.com/farfromrefug/nativescript-https/commit/0d6d67b223e52d5e3d80b4513f2ee6d591495e4f)) + + + + + ## [3.3.3](https://github.com/farfromrefug/nativescript-https/compare/v3.3.2...v3.3.3) (2021-12-23) **Note:** Version bump only for package @nativescript-community/https diff --git a/plugin/package.json b/plugin/package.json index 1ded619..1bb33b0 100644 --- a/plugin/package.json +++ b/plugin/package.json @@ -1,6 +1,6 @@ { "name": "@nativescript-community/https", - "version": "3.3.3", + "version": "3.3.4", "description": "Nativescript plugin for gestures", "main": "https", "sideEffects": false,