IMP-278: Reverts damsel w/ legacy payouts support (#49)

* IMP-278: Reverts damsel w/ legacy payouts support

* Bumps damsel
This commit is contained in:
Aleksey Kashapov 2024-09-12 12:32:53 +03:00 committed by GitHub
parent e16301bd9a
commit c59cb7c2b8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 2 deletions

View File

@ -45,6 +45,7 @@
-export([get_shop_account/2]).
-export([pull_event/1]).
-export([pull_event/2]).
-export([get_events/3]).
-export([compute_provider/4]).
-export([compute_provider_terminal/4]).
@ -290,6 +291,11 @@ pull_event(Client) ->
pull_event(Timeout, Client) ->
gen_server:call(Client, {pull_event, Timeout}, infinity).
-spec get_events(non_neg_integer() | undefined, pos_integer() | undefined, pid()) ->
[tuple()] | woody_error:business_error().
get_events(After, Limit, Client) ->
call(Client, 'GetEvents', with_party_id([]) ++ [#payproc_EventRange{'after' = After, limit = Limit}]).
call(Client, Function, Args) ->
map_result_error(gen_server:call(Client, {call, Function, Args})).

View File

@ -24,7 +24,7 @@ services:
command: /sbin/init
dominant:
image: ghcr.io/valitydev/dominant:sha-1c283be-epic-IMP-278-fx-retire-payouts
image: ghcr.io/valitydev/dominant:sha-7e33b86
depends_on:
- machinegun
ports:

View File

@ -13,7 +13,7 @@
{<<"ctx">>,{pkg,<<"ctx">>,<<"0.6.0">>},2},
{<<"damsel">>,
{git,"https://github.com/valitydev/damsel.git",
{ref,"8e034bc74b1f4ed0e00dd63d0c3ca9c922be1c47"}},
{ref,"9d4aa513fcbc1cc7ba5eedd9f96d8bc8590a6ac2"}},
0},
{<<"dmt_client">>,
{git,"https://github.com/valitydev/dmt_client.git",