From 1dce8d5329f34cdb0dd8dad375ddc21a8d413f5d Mon Sep 17 00:00:00 2001 From: Cristiano Tofani Date: Mon, 19 Feb 2024 12:34:54 +0100 Subject: [PATCH] chore: [IOPLT-327] Updates Zendesk npm package version (#5489) > [!caution] > This PR depends on pagopa/io-react-native-zendesk#30 ## Short description This PR upgrades @pagopa/io-react-native-zendesk version to upgrade native sdks major version. ## List of changes proposed in this pull request - bump `@pagopa/io-react-native-version` version ## How to test Check Assistance request flow. --------- Co-authored-by: Fabio Bombardi <16268789+shadowsheep1@users.noreply.github.com> --- .node-version | 2 +- ios/Podfile.lock | 86 +++++++++++++++++------------------ package.json | 2 +- ts/utils/supportAssistance.ts | 2 +- yarn.lock | 8 ++-- 5 files changed, 50 insertions(+), 50 deletions(-) diff --git a/.node-version b/.node-version index e65243f2ea3..a9d087399d7 100644 --- a/.node-version +++ b/.node-version @@ -1 +1 @@ -16.19.0 +18.19.0 diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 547f834da44..269266ae89b 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -139,6 +139,12 @@ PODS: - React-Core - pagopa-io-react-native-login-utils (1.0.0): - React-Core + - pagopa-react-native-zendesk (0.3.29): + - React-Core + - ZendeskAnswerBotSDK + - ZendeskChatSDK + - ZendeskMessagingAPISDK + - ZendeskSupportSDK - PromisesObjC (2.0.0) - Protobuf (3.19.1) - RCT-Folly (2021.06.28.00-v2): @@ -542,12 +548,6 @@ PODS: - React-Core - RNSVG (12.3.0): - React-Core - - RNZendeskChat (0.3.28): - - React - - ZendeskAnswerBotSDK (~> 3.0.0) - - ZendeskChatSDK (~> 3.0.0) - - ZendeskMessagingAPISDK (~> 4.0.0) - - ZendeskSupportSDK (~> 6.0.0) - SocketRocket (0.6.0) - vision-camera-code-scanner (0.2.0): - GoogleMLKit/BarcodeScanning @@ -559,28 +559,28 @@ PODS: - Yoga (1.14.0) - YogaKit (1.18.1): - Yoga (~> 1.14) - - ZendeskAnswerBotProvidersSDK (3.0.0): - - ZendeskSupportProvidersSDK (= 6.0.0) - - ZendeskAnswerBotSDK (3.0.0): - - ZendeskAnswerBotProvidersSDK (= 3.0.0) - - ZendeskMessagingSDK (= 4.0.0) - - ZendeskChatProvidersSDK (3.0.0) - - ZendeskChatSDK (3.0.0): - - ZendeskChatProvidersSDK (= 3.0.0) - - ZendeskMessagingSDK (= 4.0.0) - - ZendeskCommonUISDK (7.0.0) - - ZendeskCoreSDK (3.0.0) - - ZendeskMessagingAPISDK (4.0.0): - - ZendeskSDKConfigurationsSDK (= 2.0.0) - - ZendeskMessagingSDK (4.0.0): - - ZendeskCommonUISDK (= 7.0.0) - - ZendeskMessagingAPISDK (= 4.0.0) - - ZendeskSDKConfigurationsSDK (2.0.0) - - ZendeskSupportProvidersSDK (6.0.0): - - ZendeskCoreSDK (= 3.0.0) - - ZendeskSupportSDK (6.0.0): - - ZendeskMessagingSDK (= 4.0.0) - - ZendeskSupportProvidersSDK (= 6.0.0) + - ZendeskAnswerBotProvidersSDK (5.0.0): + - ZendeskSupportProvidersSDK (~> 8.0.0) + - ZendeskAnswerBotSDK (5.0.0): + - ZendeskAnswerBotProvidersSDK (~> 5.0.0) + - ZendeskMessagingSDK (~> 6.0.0) + - ZendeskChatProvidersSDK (5.0.0) + - ZendeskChatSDK (5.0.0): + - ZendeskChatProvidersSDK (~> 5.0.0) + - ZendeskMessagingSDK (~> 6.0.0) + - ZendeskCommonUISDK (9.0.0) + - ZendeskCoreSDK (5.0.0) + - ZendeskMessagingAPISDK (6.0.0): + - ZendeskSDKConfigurationsSDK (~> 4.0.0) + - ZendeskMessagingSDK (6.0.0): + - ZendeskCommonUISDK (~> 9.0.0) + - ZendeskMessagingAPISDK (~> 6.0.0) + - ZendeskSDKConfigurationsSDK (4.0.0) + - ZendeskSupportProvidersSDK (8.0.0): + - ZendeskCoreSDK (~> 5.0.0) + - ZendeskSupportSDK (8.0.0): + - ZendeskMessagingSDK (~> 6.0.0) + - ZendeskSupportProvidersSDK (~> 8.0.0) - ZXingObjC (3.6.5): - ZXingObjC/All (= 3.6.5) - ZXingObjC/All (3.6.5) @@ -619,6 +619,7 @@ DEPENDENCIES: - OpenSSL-Universal (= 1.1.1100) - "pagopa-io-react-native-crypto (from `../node_modules/@pagopa/io-react-native-crypto`)" - "pagopa-io-react-native-login-utils (from `../node_modules/@pagopa/io-react-native-login-utils`)" + - "pagopa-react-native-zendesk (from `../node_modules/@pagopa/io-react-native-zendesk`)" - RCT-Folly (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`) - RCTRequired (from `../node_modules/react-native/Libraries/RCTRequired`) - RCTTypeSafety (from `../node_modules/react-native/Libraries/TypeSafety`) @@ -687,7 +688,6 @@ DEPENDENCIES: - RNSha256 (from `../node_modules/react-native-sha256`) - RNShare (from `../node_modules/react-native-share`) - RNSVG (from `../node_modules/react-native-svg`) - - "RNZendeskChat (from `../node_modules/@pagopa/io-react-native-zendesk`)" - vision-camera-code-scanner (from `../node_modules/vision-camera-code-scanner`) - VisionCamera (from `../node_modules/react-native-vision-camera`) - Yoga (from `../node_modules/react-native/ReactCommon/yoga`) @@ -757,6 +757,8 @@ EXTERNAL SOURCES: :path: "../node_modules/@pagopa/io-react-native-crypto" pagopa-io-react-native-login-utils: :path: "../node_modules/@pagopa/io-react-native-login-utils" + pagopa-react-native-zendesk: + :path: "../node_modules/@pagopa/io-react-native-zendesk" RCT-Folly: :podspec: "../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec" RCTRequired: @@ -891,8 +893,6 @@ EXTERNAL SOURCES: :path: "../node_modules/react-native-share" RNSVG: :path: "../node_modules/react-native-svg" - RNZendeskChat: - :path: "../node_modules/@pagopa/io-react-native-zendesk" vision-camera-code-scanner: :path: "../node_modules/vision-camera-code-scanner" VisionCamera: @@ -936,6 +936,7 @@ SPEC CHECKSUMS: OpenSSL-Universal: ebc357f1e6bc71fa463ccb2fe676756aff50e88c pagopa-io-react-native-crypto: 644fece16966f2e1ea1f872344ee5a3c6c8761a1 pagopa-io-react-native-login-utils: 442a5e2ab8db2c476fed2cff6d7ad16388ff1f21 + pagopa-react-native-zendesk: e4a63ee0745a567b641110f7ff78e457086ab7a3 PromisesObjC: 68159ce6952d93e17b2dfe273b8c40907db5ba58 Protobuf: 3724efa50cb2846d7ccebc8691c574e85fd74471 RCT-Folly: b9d9fe1fc70114b751c076104e52f3b1b5e5a95a @@ -1005,23 +1006,22 @@ SPEC CHECKSUMS: RNSha256: ab608b2185fb806185a2cc112e0474065842e085 RNShare: 807d6f8231b8ebcf6dd839294b877342eb93d4e5 RNSVG: 302bfc9905bd8122f08966dc2ce2d07b7b52b9f8 - RNZendeskChat: 10c0a1f6a97665eab8319b4d543535a8ac199944 SocketRocket: fccef3f9c5cedea1353a9ef6ada904fde10d6608 vision-camera-code-scanner: dda884a7f3ec8243a2a6d6489b91860648371bca VisionCamera: 5fc30ecebdfd0335d11123ec9511dcbc27ee4046 Yoga: 7a4d48cfb35dfa542151e615fa73c1a0d88caf21 YogaKit: f782866e155069a2cca2517aafea43200b01fd5a - ZendeskAnswerBotProvidersSDK: 7eca94f07f10a567c631321601a645b2ba35c2da - ZendeskAnswerBotSDK: 31bd28c7c9732243d4bf3b850c441a3cdd6eba50 - ZendeskChatProvidersSDK: af93e02e2058875f92e6ad86e74ee51203b4079e - ZendeskChatSDK: fe03650a5ebe3d35fd1f4da90792021f809bcf11 - ZendeskCommonUISDK: f06dbac6c9e74c3afff75ecdc6bec3832b23258c - ZendeskCoreSDK: ce6dbb5eb4d61d2d061547a92bd0b0fe98602e9d - ZendeskMessagingAPISDK: 95a99f1eab9482b4106ec88466b93a89f9f7c5fa - ZendeskMessagingSDK: 4f5f3d43766bb3b2ea6411d1331cfe609ff33618 - ZendeskSDKConfigurationsSDK: a5c21010e17b71d02bc2cfe73dcc9da1efa0a7b2 - ZendeskSupportProvidersSDK: 685b5d185af47ced0ec40564ec46355c838bbd06 - ZendeskSupportSDK: 92e6f9d334e81e9186f8a17583862350460a5393 + ZendeskAnswerBotProvidersSDK: a024260282886870a15e7a986bf5286c23fd9311 + ZendeskAnswerBotSDK: b9f74105b26fda5f74d6639c0dc8fe37f522a867 + ZendeskChatProvidersSDK: fa1c5acd7fd09157b5994fb05a3b1628409fdfd1 + ZendeskChatSDK: 40fa26f80a589eb38c6cecf17af71206da7bcaf3 + ZendeskCommonUISDK: b87f90874386ebcc01f4b2a0b20a28c62658987a + ZendeskCoreSDK: cdc814e7fd64764fb0b0acb04e596df437708faa + ZendeskMessagingAPISDK: 9ce539eebcaa014fe6acc44da31262a2c52891c1 + ZendeskMessagingSDK: ccc8dd41b774b0d2f94733505b9f1882d72184da + ZendeskSDKConfigurationsSDK: 79c444da987390456ec05657ffa2f5ca0eb54aef + ZendeskSupportProvidersSDK: 4aafe8114a9bba1a98dc03ca14d8fa6510cf4e70 + ZendeskSupportSDK: 8cf921c496269bb5f53aac9320f3d002a793991d ZXingObjC: fdbb269f25dd2032da343e06f10224d62f537bdb PODFILE CHECKSUM: 4a1130da2ee9cd7365bb5a5290feaed31a6bd470 diff --git a/package.json b/package.json index e617841067b..73db74ff8a6 100644 --- a/package.json +++ b/package.json @@ -99,7 +99,7 @@ "@pagopa/io-pagopa-commons": "^3.1.0", "@pagopa/io-react-native-crypto": "^0.2.1", "@pagopa/io-react-native-login-utils": "^1.0.0", - "@pagopa/io-react-native-zendesk": "^0.3.28", + "@pagopa/io-react-native-zendesk": "^0.3.29", "@pagopa/react-native-cie": "1.2.0", "@pagopa/ts-commons": "^10.15.0", "@react-native-async-storage/async-storage": "^1.17.10", diff --git a/ts/utils/supportAssistance.ts b/ts/utils/supportAssistance.ts index 0bafd417473..26dd393f941 100644 --- a/ts/utils/supportAssistance.ts +++ b/ts/utils/supportAssistance.ts @@ -1,4 +1,4 @@ -import ZendDesk from "@pagopa/io-react-native-zendesk"; +import * as ZendDesk from "@pagopa/io-react-native-zendesk"; import * as O from "fp-ts/lib/Option"; import { pipe } from "fp-ts/lib/function"; import { ToolEnum } from "../../definitions/content/AssistanceToolConfig"; diff --git a/yarn.lock b/yarn.lock index bfc3c6de902..8d9c098d8a7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3315,10 +3315,10 @@ resolved "https://registry.yarnpkg.com/@pagopa/io-react-native-login-utils/-/io-react-native-login-utils-1.0.0.tgz#26aa8fe2ae2c30f18d2714264524fd281f0f2b12" integrity sha512-9OXV4ebpZAGdFfbV5HOt0YbVhGvVb104KshCA7u74YnsTkJp32FhdIVwoqmerRwNO4rRjwwvDjWZdhT80IrOzA== -"@pagopa/io-react-native-zendesk@^0.3.28": - version "0.3.28" - resolved "https://registry.yarnpkg.com/@pagopa/io-react-native-zendesk/-/io-react-native-zendesk-0.3.28.tgz#eaef19df577bee000b615f6813d52546a1f2513f" - integrity sha512-U6avcojN+lbQgus1aYiggJ19wsqoHcVCm1EN4Dc7E+f32aCCfvsclFSisKd5FpubGsUdEd/x3De/+5At5c+K9w== +"@pagopa/io-react-native-zendesk@^0.3.29": + version "0.3.29" + resolved "https://registry.yarnpkg.com/@pagopa/io-react-native-zendesk/-/io-react-native-zendesk-0.3.29.tgz#ada8dab8a9ef15e126275baace2084491148bac8" + integrity sha512-CskFyF0Sz+EC/ZyJNNMFEX/Avjyn6cKRwE2K+XSTGWDKYLImPraA8YozTljclCdv3DOxk3ZklUsieMG25PfnSw== "@pagopa/openapi-codegen-ts@^12.2.1": version "12.2.1"