Skip to content

Commit

Permalink
Merge pull request #51 from DECENTfoundation/feature/remove-get-recen…
Browse files Browse the repository at this point in the history
…t-transaction

Remove GetRecentTransactionById request
  • Loading branch information
fl3xman authored Oct 23, 2019
2 parents badc8a1 + dde656a commit 64b9ff6
Show file tree
Hide file tree
Showing 422 changed files with 62,764 additions and 5,656 deletions.
6 changes: 3 additions & 3 deletions .jazzy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ sdk: iphone
author: Decent
author_url: https://decent.ch
github_url: https://github.com/DECENTfoundation/DCoreSwift-SDK
github_file_prefix: https://github.com/DECENTfoundation/DCoreSwift-SDK/tree/3.0.1
github_file_prefix: https://github.com/DECENTfoundation/DCoreSwift-SDK/tree/3.3.0
module: DCoreKit
module_version: 3.0.1
module_version: 3.3.0
min_acl: public
root_url: https://decentfoundation.github.io/DCoreSwift-SDK/
copyright: Copyright © 2018-2019 DECENT. All Rights Reserved
copyright: Copyright © 2018-2019 DECENT. All Rights Reserved
2 changes: 1 addition & 1 deletion DCoreKit-iOS.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>3.2.1</string>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion DCoreKit-macOS.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>3.2.1</string>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
10 changes: 4 additions & 6 deletions DCoreKit.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,6 @@
A1D96DD321ED1E22009C0A30 /* GetPotentialSignatures.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_145 /* GetPotentialSignatures.swift */; };
A1D96DD421ED1E22009C0A30 /* GetProposedTransactions.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_146 /* GetProposedTransactions.swift */; };
A1D96DD521ED1E22009C0A30 /* GetRealSupply.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_147 /* GetRealSupply.swift */; };
A1D96DD621ED1E22009C0A30 /* GetRecentTransactionById.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_148 /* GetRecentTransactionById.swift */; };
A1D96DD721ED1E22009C0A30 /* GetRelativeAccountHistory.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_149 /* GetRelativeAccountHistory.swift */; };
A1D96DD821ED1E22009C0A30 /* GetRequiredFees.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_150 /* GetRequiredFees.swift */; };
A1D96DD921ED1E22009C0A30 /* GetRequiredSignatures.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_151 /* GetRequiredSignatures.swift */; };
Expand Down Expand Up @@ -648,7 +647,6 @@
OBJ_960 /* GetPotentialSignatures.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_145 /* GetPotentialSignatures.swift */; };
OBJ_961 /* GetProposedTransactions.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_146 /* GetProposedTransactions.swift */; };
OBJ_962 /* GetRealSupply.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_147 /* GetRealSupply.swift */; };
OBJ_963 /* GetRecentTransactionById.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_148 /* GetRecentTransactionById.swift */; };
OBJ_964 /* GetRelativeAccountHistory.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_149 /* GetRelativeAccountHistory.swift */; };
OBJ_965 /* GetRequiredFees.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_150 /* GetRequiredFees.swift */; };
OBJ_966 /* GetRequiredSignatures.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_151 /* GetRequiredSignatures.swift */; };
Expand Down Expand Up @@ -939,7 +937,6 @@
OBJ_145 /* GetPotentialSignatures.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GetPotentialSignatures.swift; sourceTree = "<group>"; };
OBJ_146 /* GetProposedTransactions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GetProposedTransactions.swift; sourceTree = "<group>"; };
OBJ_147 /* GetRealSupply.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GetRealSupply.swift; sourceTree = "<group>"; };
OBJ_148 /* GetRecentTransactionById.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GetRecentTransactionById.swift; sourceTree = "<group>"; };
OBJ_149 /* GetRelativeAccountHistory.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GetRelativeAccountHistory.swift; sourceTree = "<group>"; };
OBJ_15 /* BroadcastApi.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BroadcastApi.swift; sourceTree = "<group>"; };
OBJ_150 /* GetRequiredFees.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GetRequiredFees.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -1792,7 +1789,6 @@
OBJ_145 /* GetPotentialSignatures.swift */,
OBJ_146 /* GetProposedTransactions.swift */,
OBJ_147 /* GetRealSupply.swift */,
OBJ_148 /* GetRecentTransactionById.swift */,
OBJ_149 /* GetRelativeAccountHistory.swift */,
OBJ_150 /* GetRequiredFees.swift */,
OBJ_151 /* GetRequiredSignatures.swift */,
Expand Down Expand Up @@ -3372,7 +3368,6 @@
A1D96DD321ED1E22009C0A30 /* GetPotentialSignatures.swift in Sources */,
A1D96DD421ED1E22009C0A30 /* GetProposedTransactions.swift in Sources */,
A1D96DD521ED1E22009C0A30 /* GetRealSupply.swift in Sources */,
A1D96DD621ED1E22009C0A30 /* GetRecentTransactionById.swift in Sources */,
A1D96DD721ED1E22009C0A30 /* GetRelativeAccountHistory.swift in Sources */,
A1D96DD821ED1E22009C0A30 /* GetRequiredFees.swift in Sources */,
A1D96DD921ED1E22009C0A30 /* GetRequiredSignatures.swift in Sources */,
Expand Down Expand Up @@ -3715,7 +3710,6 @@
OBJ_961 /* GetProposedTransactions.swift in Sources */,
OBJ_962 /* GetRealSupply.swift in Sources */,
07D28CA1234B61C400B8698A /* NftOptions.swift in Sources */,
OBJ_963 /* GetRecentTransactionById.swift in Sources */,
A1A9854F223BAECC007CFB04 /* CustomOperation.swift in Sources */,
071AE0412212CBD7008AE077 /* QrTransfer.swift in Sources */,
OBJ_964 /* GetRelativeAccountHistory.swift in Sources */,
Expand Down Expand Up @@ -3855,6 +3849,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
LIBRARY_SEARCH_PATHS = "$(inherited)";
MARKETING_VERSION = 3.3.0;
MODULEMAP_FILE = "";
MODULEMAP_PRIVATE_FILE = "";
ONLY_ACTIVE_ARCH = YES;
Expand Down Expand Up @@ -3892,6 +3887,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
LIBRARY_SEARCH_PATHS = "$(inherited)";
MARKETING_VERSION = 3.3.0;
MODULEMAP_FILE = "";
MODULEMAP_PRIVATE_FILE = "";
OTHER_CFLAGS = "$(inherited)";
Expand Down Expand Up @@ -4166,6 +4162,7 @@
"$(PROJECT_DIR)/Libraries/openssl/lib",
"$(PROJECT_DIR)/Libraries/secp256k1/lib",
);
MARKETING_VERSION = 3.3.0;
MODULEMAP_FILE = $SRCROOT/DCoreKit.modulemap;
MODULEMAP_PRIVATE_FILE = "";
ONLY_ACTIVE_ARCH = YES;
Expand Down Expand Up @@ -4206,6 +4203,7 @@
"$(PROJECT_DIR)/Libraries/openssl/lib",
"$(PROJECT_DIR)/Libraries/secp256k1/lib",
);
MARKETING_VERSION = 3.3.0;
MODULEMAP_FILE = $SRCROOT/DCoreKit.modulemap;
MODULEMAP_PRIVATE_FILE = "";
OTHER_CFLAGS = "$(inherited)";
Expand Down
17 changes: 0 additions & 17 deletions Sources/DCoreKit/Api/TransactionApi.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,6 @@ import Foundation
import RxSwift

public protocol TransactionApi: BaseApi {
/**
If the transaction has not expired,
this method will return the transaction for the given id.

- Parameter id: Transaction id.

- Throws: `DCoreException.Network.notFound`
if transaction does not exist.

- Returns: `ProcessedTransaction` if found.
*/
func getRecent(byId id: String) -> Single<ProcessedTransaction>

/**
Get transaction for the given id.

Expand Down Expand Up @@ -101,10 +88,6 @@ public protocol TransactionApi: BaseApi {
}

extension TransactionApi {
public func getRecent(byId id: String) -> Single<ProcessedTransaction> {
return GetRecentTransactionById(id).base.toResponse(api.core)
}

public func get(byId id: String) -> Single<ProcessedTransaction> {
return GetTransactionById(id).base.toResponse(api.core)
}
Expand Down
15 changes: 0 additions & 15 deletions Sources/DCoreKit/Net/Model/Request/GetRecentTransactionById.swift

This file was deleted.

1 change: 0 additions & 1 deletion docs/.nojekyll

This file was deleted.

57 changes: 54 additions & 3 deletions docs/Classes.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<a title="Classes Reference"></a>
<header>
<div class="content-wrapper">
<p><a href="index.html">DCoreKit Docs</a> (23% documented)</p>
<p><a href="index.html">DCoreKit 3.3.0 Docs</a> (21% documented)</p>
<p class="header-right"><a href="https://github.com/DECENTfoundation/DCoreSwift-SDK"><img src="img/gh.png"/>View on GitHub</a></p>
<p class="header-right"><a href="dash-feed://https%3A%2F%2Fdecentfoundation%2Egithub%2Eio%2FDCoreSwift%2DSDK%2Fdocsets%2FDCoreKit%2Exml"><img src="img/dash.png"/>Install in Dash</a></p>
</div>
Expand Down Expand Up @@ -346,12 +346,36 @@
<li class="nav-group-task">
<a href="Structs/Asset/Options.html">– Options</a>
</li>
<li class="nav-group-task">
<a href="Structs/Asset/MonitoredAssetOptions.html">– MonitoredAssetOptions</a>
</li>
<li class="nav-group-task">
<a href="Structs/AssetAmount.html">AssetAmount</a>
</li>
<li class="nav-group-task">
<a href="Structs/AssetClaimFeesOperation.html">AssetClaimFeesOperation</a>
</li>
<li class="nav-group-task">
<a href="Structs/AssetCreateOperation.html">AssetCreateOperation</a>
</li>
<li class="nav-group-task">
<a href="Structs/AssetData.html">AssetData</a>
</li>
<li class="nav-group-task">
<a href="Structs/AssetFundPoolsOperation.html">AssetFundPoolsOperation</a>
</li>
<li class="nav-group-task">
<a href="Structs/AssetIssueOperation.html">AssetIssueOperation</a>
</li>
<li class="nav-group-task">
<a href="Structs/AssetPublishFeedOperation.html">AssetPublishFeedOperation</a>
</li>
<li class="nav-group-task">
<a href="Structs/AssetReserveOperation.html">AssetReserveOperation</a>
</li>
<li class="nav-group-task">
<a href="Structs/AssetUpdateAdvancedOperation.html">AssetUpdateAdvancedOperation</a>
</li>
<li class="nav-group-task">
<a href="Structs/AuthMap.html">AuthMap</a>
</li>
Expand Down Expand Up @@ -493,6 +517,33 @@
<li class="nav-group-task">
<a href="Structs/MinerVotingInfo.html">MinerVotingInfo</a>
</li>
<li class="nav-group-task">
<a href="Structs/NftCreateOperation.html">NftCreateOperation</a>
</li>
<li class="nav-group-task">
<a href="Structs/NftDataType.html">NftDataType</a>
</li>
<li class="nav-group-task">
<a href="Structs/NftDataType/ModifiableBy.html">– ModifiableBy</a>
</li>
<li class="nav-group-task">
<a href="Structs/NftDataType/TypeLiteral.html">– TypeLiteral</a>
</li>
<li class="nav-group-task">
<a href="Structs/NftIssueOperation.html">NftIssueOperation</a>
</li>
<li class="nav-group-task">
<a href="Structs/NftOptions.html">NftOptions</a>
</li>
<li class="nav-group-task">
<a href="Structs/NftTransferOperation.html">NftTransferOperation</a>
</li>
<li class="nav-group-task">
<a href="Structs/NftUpdateDataOperation.html">NftUpdateDataOperation</a>
</li>
<li class="nav-group-task">
<a href="Structs/NftUpdateOperation.html">NftUpdateOperation</a>
</li>
<li class="nav-group-task">
<a href="Structs/OperationHistory.html">OperationHistory</a>
</li>
Expand Down Expand Up @@ -631,7 +682,7 @@ <h4>Declaration</h4>
</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/DECENTfoundation/DCoreSwift-SDK/tree/3.0.1/Sources/DCoreKit/Net/Security/ServerTrustDelegate.swift#L3-L5">Show on GitHub</a>
<a href="https://github.com/DECENTfoundation/DCoreSwift-SDK/tree/3.3.0/Sources/DCoreKit/Net/Security/ServerTrustDelegate.swift#L3-L5">Show on GitHub</a>
</div>
</section>
</div>
Expand All @@ -642,7 +693,7 @@ <h4>Declaration</h4>
</section>
<section id="footer">
<p>Copyright © 2018-2019 DECENT. All Rights Reserved</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.6</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.11.2</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</article>
</div>
Expand Down
59 changes: 55 additions & 4 deletions docs/Classes/ServerTrustDelegate.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<a title="ServerTrustDelegate Class Reference"></a>
<header>
<div class="content-wrapper">
<p><a href="../index.html">DCoreKit Docs</a> (23% documented)</p>
<p><a href="../index.html">DCoreKit 3.3.0 Docs</a> (21% documented)</p>
<p class="header-right"><a href="https://github.com/DECENTfoundation/DCoreSwift-SDK"><img src="../img/gh.png"/>View on GitHub</a></p>
<p class="header-right"><a href="dash-feed://https%3A%2F%2Fdecentfoundation%2Egithub%2Eio%2FDCoreSwift%2DSDK%2Fdocsets%2FDCoreKit%2Exml"><img src="../img/dash.png"/>Install in Dash</a></p>
</div>
Expand Down Expand Up @@ -346,12 +346,36 @@
<li class="nav-group-task">
<a href="../Structs/Asset/Options.html">– Options</a>
</li>
<li class="nav-group-task">
<a href="../Structs/Asset/MonitoredAssetOptions.html">– MonitoredAssetOptions</a>
</li>
<li class="nav-group-task">
<a href="../Structs/AssetAmount.html">AssetAmount</a>
</li>
<li class="nav-group-task">
<a href="../Structs/AssetClaimFeesOperation.html">AssetClaimFeesOperation</a>
</li>
<li class="nav-group-task">
<a href="../Structs/AssetCreateOperation.html">AssetCreateOperation</a>
</li>
<li class="nav-group-task">
<a href="../Structs/AssetData.html">AssetData</a>
</li>
<li class="nav-group-task">
<a href="../Structs/AssetFundPoolsOperation.html">AssetFundPoolsOperation</a>
</li>
<li class="nav-group-task">
<a href="../Structs/AssetIssueOperation.html">AssetIssueOperation</a>
</li>
<li class="nav-group-task">
<a href="../Structs/AssetPublishFeedOperation.html">AssetPublishFeedOperation</a>
</li>
<li class="nav-group-task">
<a href="../Structs/AssetReserveOperation.html">AssetReserveOperation</a>
</li>
<li class="nav-group-task">
<a href="../Structs/AssetUpdateAdvancedOperation.html">AssetUpdateAdvancedOperation</a>
</li>
<li class="nav-group-task">
<a href="../Structs/AuthMap.html">AuthMap</a>
</li>
Expand Down Expand Up @@ -493,6 +517,33 @@
<li class="nav-group-task">
<a href="../Structs/MinerVotingInfo.html">MinerVotingInfo</a>
</li>
<li class="nav-group-task">
<a href="../Structs/NftCreateOperation.html">NftCreateOperation</a>
</li>
<li class="nav-group-task">
<a href="../Structs/NftDataType.html">NftDataType</a>
</li>
<li class="nav-group-task">
<a href="../Structs/NftDataType/ModifiableBy.html">– ModifiableBy</a>
</li>
<li class="nav-group-task">
<a href="../Structs/NftDataType/TypeLiteral.html">– TypeLiteral</a>
</li>
<li class="nav-group-task">
<a href="../Structs/NftIssueOperation.html">NftIssueOperation</a>
</li>
<li class="nav-group-task">
<a href="../Structs/NftOptions.html">NftOptions</a>
</li>
<li class="nav-group-task">
<a href="../Structs/NftTransferOperation.html">NftTransferOperation</a>
</li>
<li class="nav-group-task">
<a href="../Structs/NftUpdateDataOperation.html">NftUpdateDataOperation</a>
</li>
<li class="nav-group-task">
<a href="../Structs/NftUpdateOperation.html">NftUpdateOperation</a>
</li>
<li class="nav-group-task">
<a href="../Structs/OperationHistory.html">OperationHistory</a>
</li>
Expand Down Expand Up @@ -636,7 +687,7 @@ <h4>Declaration</h4>
</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/DECENTfoundation/DCoreSwift-SDK/tree/3.0.1/Sources/DCoreKit/Net/Security/ServerTrustDelegate.swift#L">Show on GitHub</a>
<a href="https://github.com/DECENTfoundation/DCoreSwift-SDK/tree/3.3.0/Sources/DCoreKit/Net/Security/ServerTrustDelegate.swift#L">Show on GitHub</a>
</div>
</section>
</div>
Expand Down Expand Up @@ -672,7 +723,7 @@ <h4>Declaration</h4>
</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/DECENTfoundation/DCoreSwift-SDK/tree/3.0.1/Sources/DCoreKit/Net/Security/ServerTrustDelegate.swift#L8-L32">Show on GitHub</a>
<a href="https://github.com/DECENTfoundation/DCoreSwift-SDK/tree/3.3.0/Sources/DCoreKit/Net/Security/ServerTrustDelegate.swift#L8-L32">Show on GitHub</a>
</div>
</section>
</div>
Expand All @@ -683,7 +734,7 @@ <h4>Declaration</h4>
</section>
<section id="footer">
<p>Copyright © 2018-2019 DECENT. All Rights Reserved</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.6</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.11.2</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</article>
</div>
Expand Down
Loading

0 comments on commit 64b9ff6

Please sign in to comment.