From e624b3365af889e2c25b74ee4a4b512ce99eac40 Mon Sep 17 00:00:00 2001 From: Christian Rogobete Date: Thu, 24 Oct 2024 15:56:17 +0200 Subject: [PATCH] prepare for release 3.0.1-beta1 --- README.md | 6 +++--- soroban.md | 4 +++- stellar-ios-mac-sdk.podspec | 2 +- stellarsdk/stellarsdk/Info.plist | 2 +- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 23e71c8..0d2c8d5 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ To integrate stellar SDK into your Xcode project using CocoaPods, specify it in use_frameworks! target '' do - pod 'stellar-ios-mac-sdk', '~> 3.0.0' + pod 'stellar-ios-mac-sdk', '~> 3.0.1-beta.1' end ``` @@ -44,7 +44,7 @@ $ brew install carthage To integrate stellar-ios-mac-sdk into your Xcode project using Carthage, specify it in your `Cartfile`: ```ogdl -github "soneso/stellar-ios-mac-sdk" ~> 3.0.0 +github "soneso/stellar-ios-mac-sdk" ~> 3.0.1-beta.1 ``` Run `carthage update` to build the framework and drag the build `stellar-ios-mac-sdk.framework` into your Xcode project. @@ -52,7 +52,7 @@ Run `carthage update` to build the framework and drag the build `stellar-ios-mac ### Swift Package Manager ```swift -.package(name: "stellarsdk", url: "git@github.com:Soneso/stellar-ios-mac-sdk.git", from: "3.0.0"), +.package(name: "stellarsdk", url: "git@github.com:Soneso/stellar-ios-mac-sdk.git", from: "3.0.1-beta.1"), ``` ### Manual diff --git a/soroban.md b/soroban.md index 516adf9..d0a7741 100644 --- a/soroban.md +++ b/soroban.md @@ -158,6 +158,8 @@ let transaction = try Transaction(sourceAccount: accountResponse, memo: Memo.none) ``` +With the introduction of Protocol 22, contracts with constructor can also be created. The `InvokeHostFunctionOperation.forCreatingContractWithConstructor` function is used to create the operation. + Next we need to **simulate** the transaction to obtain the resources needed for final submission: ```swift @@ -506,4 +508,4 @@ case .parsingFailure (let error): ``` The parser returns a `SorobanContractInfo` object containing the parsed data. -In [SorobanParserTest.swift](https://github.com/Soneso/stellar-ios-mac-sdk/blob/master/stellarsdk/stellarsdkTests/soroban/SorobanParserTest.swift) you can find a detailed example of how you can access the parsed data. \ No newline at end of file +In [SorobanParserTest.swift](https://github.com/Soneso/stellar-ios-mac-sdk/blob/master/stellarsdk/stellarsdkTests/soroban/SorobanParserTest.swift) you can find a detailed example of how you can access the parsed data. diff --git a/stellar-ios-mac-sdk.podspec b/stellar-ios-mac-sdk.podspec index 272ad69..8144426 100644 --- a/stellar-ios-mac-sdk.podspec +++ b/stellar-ios-mac-sdk.podspec @@ -16,7 +16,7 @@ Pod::Spec.new do |s| # s.name = "stellar-ios-mac-sdk" - s.version = "3.0.0" + s.version = "3.0.1-beta.1" s.summary = "Fully featured iOS and macOS SDK that provides APIs to build transactions and connect to Horizon server for the Stellar ecosystem." s.module_name = 'stellarsdk' s.swift_version = '5.0' diff --git a/stellarsdk/stellarsdk/Info.plist b/stellarsdk/stellarsdk/Info.plist index 2351742..c93b608 100644 --- a/stellarsdk/stellarsdk/Info.plist +++ b/stellarsdk/stellarsdk/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 3.0.0 + 3.0.1-beta.1 CFBundleVersion $(CURRENT_PROJECT_VERSION) NSPrincipalClass