diff --git a/README.md b/README.md index 30b4716..4a74ec0 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ by adding `ex_oanda` to your list of dependencies in `mix.exs`: ```elixir def deps do [ - {:ex_oanda, "~> 0.1.0"} + {:ex_oanda, "~> 0.0.1"} ] end ``` diff --git a/util/api.ex b/lib/util/api.ex similarity index 96% rename from util/api.ex rename to lib/util/api.ex index cb6c7a8..761b276 100644 --- a/util/api.ex +++ b/lib/util/api.ex @@ -10,8 +10,6 @@ defmodule ExOanda.API do "user-agent": "ExOanda/" <> Mix.Project.config()[:version] ] - # @success_codes Enum.to_list(200..299) - @spec auth_bearer(Conn.t()) :: {:bearer, String.t()} def auth_bearer(%Conn{token: token}) do {:bearer, token} diff --git a/util/error.ex b/lib/util/error.ex similarity index 100% rename from util/error.ex rename to lib/util/error.ex diff --git a/mix.exs b/mix.exs index 7dabe6b..da76b25 100644 --- a/mix.exs +++ b/mix.exs @@ -5,7 +5,7 @@ defmodule ExOanda.MixProject do [ app: :ex_oanda, version: "0.0.1", - elixir: "~> 1.16", + elixir: "~> 1.14", start_permanent: Mix.env() == :prod, deps: deps(), dialyzer: [plt_add_apps: [:mix]],