Skip to content

Commit

Permalink
up 1.38
Browse files Browse the repository at this point in the history
  • Loading branch information
nerzh committed Oct 13, 2022
1 parent 148ef5e commit 5990240
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Swift Client for Everscale SDK

[![SPM](https://img.shields.io/badge/swift-package%20manager-green)](https://swift.org/package-manager/)
[![SPM](https://img.shields.io/badge/SDK%20VERSION-1.37.2-orange)](https://github.com/tonlabs/TON-SDK)
[![SPM](https://img.shields.io/badge/SDK%20VERSION-1.38.0-orange)](https://github.com/tonlabs/TON-SDK)

Swift is a strongly typed language that has long been used not only for iOS development. Apple is actively promoting it to new platforms and today it can be used for almost any task. Thanks to this, this implementation provides the work of Everscale SDK on many platforms at once, including the native one for mobile phones. Let me remind you that swift can also be built for android.

Expand Down
10 changes: 4 additions & 6 deletions Sources/EverscaleClientSwift/Client/ClientTypes.swift
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,11 @@ public struct TSDKClientConfig: Codable {
}

public struct TSDKNetworkConfig: Codable {
/// **This field is deprecated, but left for backward-compatibility.** DApp Server public address.
/// **This field is deprecated, but left for backward-compatibility.** Evernode endpoint.
public var server_address: String?
/// List of DApp Server addresses.
/// List of Evernode endpoints.
/// Any correct URL format can be specified, including IP addresses. This parameter is prevailing over `server_address`.
/// Check the full list of [supported network endpoints](../ton-os-api/networks.md).
/// Check the full list of [supported network endpoints](https://docs.everos.dev/ever-sdk/reference/ever-os-api/networks).
public var endpoints: [String]?
/// Deprecated.
/// You must use `network.max_reconnect_timeout` that allows to specify maximum network resolving timeout.
Expand Down Expand Up @@ -154,9 +154,7 @@ public struct TSDKNetworkConfig: Codable {
/// Subsequent REMP status awaiting timeout. If no status recieved during the timeout than fallback transaction scenario is activated.
/// Must be specified in milliseconds. Default is 5000 (5 sec).
public var next_remp_status_timeout: UInt32?
/// Access key to GraphQL API.
/// You can specify here Basic Auth secret (Evercloud project secret) in hex stringor serialized JWT in base64 string.
/// Will be passed on as Authorization: Basic ... or Authorization: Bearer ... header.
/// Access key to GraphQL API (Project secret)
public var access_key: String?

public init(server_address: String? = nil, endpoints: [String]? = nil, network_retries_count: Int8? = nil, max_reconnect_timeout: UInt32? = nil, reconnect_timeout: UInt32? = nil, message_retries_count: Int8? = nil, message_processing_timeout: UInt32? = nil, wait_for_timeout: UInt32? = nil, out_of_sync_threshold: UInt32? = nil, sending_endpoint_count: UInt8? = nil, latency_detection_interval: UInt32? = nil, max_latency: UInt32? = nil, query_timeout: UInt32? = nil, queries_protocol: TSDKNetworkQueriesProtocol? = nil, first_remp_status_timeout: UInt32? = nil, next_remp_status_timeout: UInt32? = nil, access_key: String? = nil) {
Expand Down
1 change: 1 addition & 0 deletions Sources/EverscaleClientSwift/Net/NetTypes.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ public enum TSDKNetErrorCode: Int, Codable {
case NoEndpointsProvided = 612
case GraphqlWebsocketInitError = 613
case NetworkModuleResumed = 614
case Unauthorized = 615
}

public enum TSDKSortDirection: String, Codable {
Expand Down

0 comments on commit 5990240

Please sign in to comment.