Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecated endpoints and enhanced transaction information by expanding Buy and Sell resources #89

Open
wants to merge 44 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
e040dc4
Add 'expand=all' for List Transaction and Show Transaction
astrohart Jan 4, 2024
6760b05
Reconfigure JSON model
astrohart Jan 4, 2024
c1ec83f
Remove all Buys, Sells, and Users endpoint code
astrohart Jan 4, 2024
079987a
Update CoinbaseClient.Transactions.cs
astrohart Jan 4, 2024
a55ba76
Updated NuGet packages to latest versions
astrohart Jan 4, 2024
6771623
Update Examples.csproj to target .NET Core 3.1
astrohart Jan 4, 2024
28d2d11
Update Coinbase.csproj to match targeting with Coinbase.Tests
astrohart Jan 4, 2024
11a78c1
Update all NuGet packages to latest and greatest versions
astrohart Jan 4, 2024
5038c55
Re targeted 'Example' to .NET 7.0
astrohart Jan 4, 2024
ef83cd0
Change target frameworks to 'net461;net7.0;net6.0'
astrohart Jan 4, 2024
ee9bc45
Had to re-target Coinbase.csproj to .NET 4.6.2 to make NUnit work
astrohart Jan 4, 2024
6a0ef30
Had to make Coinbase.Tests target .NET 4.6.2 to make NUnit work
astrohart Jan 4, 2024
68ed713
Solved compiler errors because same-name methods are in base class
astrohart Jan 4, 2024
6fe4fc9
Have to tweak the Config to play nice with new Flurl version
astrohart Jan 4, 2024
021cce4
Make DebugProxyFactory class inherit DefaultFlurlClientFactory class
astrohart Jan 4, 2024
74008b5
Fix EnableFiddlerProxy
astrohart Jan 4, 2024
8a5e53c
Fix calls of .WithClient() per new Flurl version
astrohart Jan 4, 2024
b7f0c61
Fix the a.Should().Throw<...>() calls in ApiParameterTests.cs
astrohart Jan 4, 2024
6e0e443
Remove ShouldHaveExactCall extension method
astrohart Jan 4, 2024
7df8d9a
Remove ExtensionsForTesting.ShouldHaveRequestBody
astrohart Jan 4, 2024
b8d281d
Changed NotThrow() to NotThrowAsync()
astrohart Jan 4, 2024
5972e92
Fix the body of DataTests.BeforeAllTests per Flurl
astrohart Jan 4, 2024
2187711
Fix proxy code in IntegrationTests ctor
astrohart Jan 4, 2024
64df276
Fix error in UserTests.can_hoist_response
astrohart Jan 4, 2024
641d9ed
Changed call to ShouldHaveCallExact to ShouldHaveCalled
astrohart Jan 4, 2024
c7e278d
Fix compiler errors in CoinbaseClient.HoistResponse
astrohart Jan 4, 2024
d09fca3
Fix compiler error in AutoRefreshTokenHelper.WithAutomaticOAuthTokenR…
astrohart Jan 4, 2024
154372d
Need to have <LangVersion>4.6</LangVersion> for it to build
astrohart Jan 4, 2024
0e54545
Delete build.fsx.lock to get AppVeyor to stop erroring
astrohart Jan 4, 2024
a7988dc
Made all the unit tests in AccountTests pass
astrohart Jan 5, 2024
fa9ef05
Getting the AddressTests unit tests to work
astrohart Jan 5, 2024
5360afd
Making DepositTests.can_commit and can_depositfunds pass
astrohart Jan 5, 2024
0d8ca14
Got remaining DepositTests unit tests to pass.
astrohart Jan 5, 2024
ed273ed
Making the NotificationTests pass
astrohart Jan 5, 2024
a1c8775
Make the PaymentMethodTests pass
astrohart Jan 5, 2024
87f3d3e
Getting all the TransactionTests to pass
astrohart Jan 5, 2024
8e6fa2f
Changes to make the WithdrawalTests work
astrohart Jan 5, 2024
98b7443
Update the API version to 2021-06-05
astrohart Jan 5, 2024
078b3d2
Got the DataTests to all pass
astrohart Jan 5, 2024
c280012
Remove UserTests because Coinbase has sunsetted /users
astrohart Jan 5, 2024
f9d111e
Remove the [TestFixture] attribute for CoinbaseApiKeyTests.
astrohart Jan 5, 2024
d706868
Upgraded Builder to support .NET 4.6.2.
astrohart Jan 5, 2024
58681d9
Trying to upgrade the package versions to the latest
astrohart Jan 5, 2024
a277af4
Re-targeting to .NET Core 6.0
astrohart Jan 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Source/Builder/App.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" />
</startup>
</configuration>
13 changes: 10 additions & 3 deletions Source/Builder/Builder.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,19 @@
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<LangVersion>4.6</LangVersion>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>2e878ddf-5585-48f2-85e0-748579278c9a</ProjectGuid>
<OutputType>Exe</OutputType>
<RootNamespace>Builder2</RootNamespace>
<AssemblyName>Builder2</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<TargetFSharpCoreVersion>4.4.0.0</TargetFSharpCoreVersion>
<Name>Builder</Name>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down Expand Up @@ -56,12 +58,17 @@
<ItemGroup>
<None Include="build.fsx" />
<None Include="Utils.fsx" />
<Content Include="App.config">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="packages.config" />
</ItemGroup>
<ItemGroup>
<Reference Include="mscorlib" />
<Reference Include="FSharp.Core, Version=$(TargetFSharpCoreVersion), Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<Reference Include="FSharp.Core">
<HintPath>..\packages\FSharp.Core.4.0.0.1\lib\net40\FSharp.Core.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="mscorlib" />
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Numerics" />
Expand Down
4 changes: 2 additions & 2 deletions Source/Builder/build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ nuget Fake.Tools.Git
nuget Fake.DotNet.Testing.xUnit2
nuget Fake.BuildServer.AppVeyor

nuget SharpCompress = 0.22.0
nuget FSharp.Data = 2.4.6
nuget SharpCompress = 0.35.0
nuget FSharp.Data = 6.3.0

nuget secure-file = 1.0.31

Expand Down
Loading