balena-io-modules / pinejs-client-js

4 stars 4 forks source link

Deprecate passing `url` to helper functions #155

Closed Page- closed 3 months ago

Page- commented 3 months ago

The intention is that these are use as helpers functions to build the url from an object and so passing a url directly is not really the intent and interferes with improving the typings for the intended case. It is still possible to pass urls directly to the request function if it is essential but the true answer is to support building those urls, and using prepare if it is necessary

Change-type: patch