diff --git a/CHANGELOG.md b/CHANGELOG.md index f2258b0..599f3cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## Unreleased + +* Enable multiple Substreams authentication methods (API key, JWT), using flags `--api-key-envvar` and `--api-token-envvar`. + +* Deprecates the use of `SF_API_TOKEN` environment variable, now use default `SUBSTREAMS_API_TOKEN` or set your own using `--api-token-envvar`. + ## v4.0.2 * Fixed spurious error reporting when the sinker is terminating or has been canceled. diff --git a/go.mod b/go.mod index a623e77..c219204 100644 --- a/go.mod +++ b/go.mod @@ -14,7 +14,7 @@ require ( github.com/spf13/viper v1.15.0 github.com/streamingfast/logging v0.0.0-20230608130331-f22c91403091 github.com/streamingfast/substreams v1.3.7 - github.com/streamingfast/substreams-sink v0.3.4 + github.com/streamingfast/substreams-sink v0.3.5-0.20240403193024-1e5575f04fa7 github.com/streamingfast/substreams-sink-database-changes v1.1.3 github.com/stretchr/testify v1.8.4 github.com/wk8/go-ordered-map/v2 v2.1.7 diff --git a/go.sum b/go.sum index c3353d1..4923c33 100644 --- a/go.sum +++ b/go.sum @@ -1196,8 +1196,8 @@ github.com/streamingfast/shutter v1.5.0 h1:NpzDYzj0HVpSiDJVO/FFSL6QIK/YKOxY0gJAt github.com/streamingfast/shutter v1.5.0/go.mod h1:B/T6efqdeMGbGwjzPS1ToXzYZI4kDzI5/u4I+7qbjY8= github.com/streamingfast/substreams v1.3.7 h1:QpVYCLVO9X+75+EmuxaUdx76lvrgkSBIWwservXQgc4= github.com/streamingfast/substreams v1.3.7/go.mod h1:89rAcqQdwh6jU+/pRSz+ktLFqOfcZSzmSZUn+3kRfNs= -github.com/streamingfast/substreams-sink v0.3.4 h1:aNFaAGX1DrHB5uwj0zryXucqAgM1fzsbgOjWZKacN+Q= -github.com/streamingfast/substreams-sink v0.3.4/go.mod h1:/FJcUa385jdWDDHvHFqAeu920J6EXERnAWuiwUv4YBY= +github.com/streamingfast/substreams-sink v0.3.5-0.20240403193024-1e5575f04fa7 h1:8OKdkzolMs9QlWMLT+vDmfRowgBW3oivUVyBWT8c1RE= +github.com/streamingfast/substreams-sink v0.3.5-0.20240403193024-1e5575f04fa7/go.mod h1:/FJcUa385jdWDDHvHFqAeu920J6EXERnAWuiwUv4YBY= github.com/streamingfast/substreams-sink-database-changes v1.1.3 h1:rXeGb/V2mjC8FftumRkMQxG2jtdLfHdLx9UQVUtAqS8= github.com/streamingfast/substreams-sink-database-changes v1.1.3/go.mod h1:bul4OLl22/M8LlYO9+sxA/5ghUrV7eYrG5NSlfm5m5k= github.com/stretchr/objx v0.0.0-20180129172003-8a3f7159479f/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=