Open silversonicaxel opened 4 years ago
following ^ ...
Hello there! The back end response might have been changed on some purposes, which were not synced with sdk. We added your issue to this sprint, so stay tuned :)
Thanks a lot @berezovskycom , I will keep an eye on it
hello everyone, for your information, versions moved from ^8.0.0-beta.32 to ^8.0.0-beta.36 and still I've this problem, Webhook
type did not change. any news?
I could also try to write a PR, in case, do I need an NPM_TOKEN
, something else?
any news about this issue?
I worked on a small update https://github.com/goabstract/abstract-sdk/pull/305 to solve the Webhook type. I was wondering if that could be merged, or if there is some error to fix. And, if that's gonna be fixed, I've in mind also to continue with the follow up for the User type.
Thanks a lot for the attention
Hello everyone, I'm working with Abstract API version ^8.0.0-beta.32 and I am checking the Webhook and User types described in file https://github.com/goabstract/abstract-sdk/blob/master/abstract-sdk.d.ts
I setup a small application -built in typescript- with a server listening to the events
branch.statusUpdated
within my project within Abstract. And indeed it works, every time someone merge a branch the event is listened by the server. Issue is, I would like to use the type you offer, and I thought thatWebhook
type should have been the proper one.But the data I receive in the server is this one
as you might notice from the Webhook type is missing
data
andobject
,event
is notevents
so I guess this won't be the proper one - but I couldn't even find the proper type. What is the AbstractWebhook
type used for? Shall we expect a properWebhook
type, in line with the data received by the server?Same question for User type that is missing
objectType
. What is the AbstractUser
type used for? Shall we expect a properUser
type, in line with the data received by the server?Thanks