helius-labs / helius-sdk

138 stars 40 forks source link

Edit api fix #8

Closed ethyi closed 1 year ago

ethyi commented 1 year ago

All operations using the edit api are failing because we pass in the wallet and webhookID into the body.

This pr removes those fields from the object, and also makes all edit request params optional, since the remaining fields are populated from the original webhook config.

The diff is unusually large due to prettier formatting.