Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
nerzh committed May 26, 2023
1 parent d06d1d1 commit 7f7a701
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 51 deletions.
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ let package = Package(
.package(name: "SwiftRegularExpression", url: "https://github.com/nerzh/swift-regular-expression.git", .upToNextMajor(from: "0.2.4")),
.package(name: "FileUtils", url: "https://github.com/nerzh/SwiftFileUtils", .upToNextMinor(from: "1.3.0")),
.package(name: "BigInt", url: "https://github.com/bytehubio/BigInt", .exact("5.3.0")),
.package(name: "SwiftExtensionsPack", url: "https://github.com/nerzh/swift-extensions-pack", .upToNextMinor(from: "1.2.0")),
.package(name: "SwiftExtensionsPack", url: "https://github.com/nerzh/swift-extensions-pack", .upToNextMinor(from: "1.3.1")),
],
targets: [
.systemLibrary(name: "CTonSDK", pkgConfig: "libton_client"),
Expand Down
2 changes: 1 addition & 1 deletion Sources/EverscaleClientSwift/Client/ClientTypes.swift
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public struct TSDKClientError: Codable, LocalizedError {
public var failureReason: String? { self.message }
public var recoverySuggestion: String? { self.message }
public var helpAnchor: String? { self.message }
public var data: AnyValue = ([:] as! [String: Any]).toAnyValue()
public var data: AnyValue = [String: Any]().toAnyValue()

public init(_ error: Error) {
self.code = 0
Expand Down
48 changes: 0 additions & 48 deletions Sources/EverscaleClientSwift/Extensions/String.swift

This file was deleted.

2 changes: 1 addition & 1 deletion Tests/EverscaleClientSwiftTests/BindingTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import class Foundation.Bundle
final class BindingTests: XCTestCase {

func testConvertToTSDKString() throws {
var string: TSDKString = .init()
var string: tc_string_data_t!
try TSDKBindingModule.convertToTSDKString("Hello😀") { tsdkString in
string = tsdkString
}
Expand Down

0 comments on commit 7f7a701

Please sign in to comment.