From 73009fd428f52af0746d7ab7718dbfba3611035c Mon Sep 17 00:00:00 2001 From: llbartekll Date: Fri, 6 Sep 2024 07:38:16 -0700 Subject: [PATCH 1/2] add deprecation warnings --- Sources/Web3Modal/Core/Web3Modal.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/Web3Modal/Core/Web3Modal.swift b/Sources/Web3Modal/Core/Web3Modal.swift index 8a11259..7200410 100644 --- a/Sources/Web3Modal/Core/Web3Modal.swift +++ b/Sources/Web3Modal/Core/Web3Modal.swift @@ -18,6 +18,7 @@ import UIKit /// Web3Modal.configure(projectId: PROJECT_ID, metadata: metadata) /// Web3Modal.instance.getSessions() /// ``` +@available(*, deprecated, message: "Web3Modal has been deprecated. Please migrate to AppKit, available at https://github.com/reown-com/reown-swift") public class Web3Modal { /// Web3Modalt client instance public static var instance: Web3ModalClient = { @@ -91,6 +92,7 @@ public class Web3Modal { /// Wallet instance wallet config method. /// - Parameters: /// - metadata: App metadata + @available(*, deprecated, message: "Web3Modal.configure has been deprecated. Please migrate to AppKit.configure.") public static func configure( projectId: String, metadata: AppMetadata, From 5c62f50e3ad8f7fc64748896c170fa06d8302966 Mon Sep 17 00:00:00 2001 From: llbartekll Date: Tue, 17 Sep 2024 11:33:42 +0200 Subject: [PATCH 2/2] update warnings --- README.md | 9 +++------ Sources/Web3Modal/Core/Web3Modal.swift | 2 +- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 8078d1f..7a767ec 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,5 @@ +# Deprecated - Web3Modal -#### 📚 [Documentation](https://docs.walletconnect.com/web3modal/ios/about) +WalletConnect Inc is now Reown. As part of this transition, we are deprecating a number of repositories/packages across our supported platforms, and transitioning to their equivalents published under the Reown organization. -#### 🔗 [Website](https://web3modal.com) - -# Web3Modal - -Your on-ramp to web3 multichain. Web3Modal is a versatile library that makes it super easy to connect users with your Dapp and start interacting with the blockchain. +This repository is now considered deprecated and will reach End-of-Life on February 17th 2025. For more details, including migration guides please see: https://docs.reown.com/advanced/walletconnect-deprecations diff --git a/Sources/Web3Modal/Core/Web3Modal.swift b/Sources/Web3Modal/Core/Web3Modal.swift index 7200410..8ff15ff 100644 --- a/Sources/Web3Modal/Core/Web3Modal.swift +++ b/Sources/Web3Modal/Core/Web3Modal.swift @@ -18,7 +18,7 @@ import UIKit /// Web3Modal.configure(projectId: PROJECT_ID, metadata: metadata) /// Web3Modal.instance.getSessions() /// ``` -@available(*, deprecated, message: "Web3Modal has been deprecated. Please migrate to AppKit, available at https://github.com/reown-com/reown-swift") +@available(*, deprecated, message: "WalletConnect Inc is now Reown. As part of this transition, we are deprecating a number of repositories/packages across our supported platforms, and transitioning to their equivalents published under the Reown organization. This repository is now considered deprecated and will reach End-of-Life on February 17th 2025. For more details, including migration guides please see: https://docs.reown.com/advanced/walletconnect-deprecations") public class Web3Modal { /// Web3Modalt client instance public static var instance: Web3ModalClient = {