koding / kite.js

Kite client in JavaScript
kite.koding.com
MIT License
75 stars 16 forks source link

Fix default api #80

Closed gokmen closed 6 years ago

gokmen commented 6 years ago

With the https://github.com/koding/kite.js/pull/79 PR I've introduced an issue with default kite api, this PR fixes that with by passing a Kite instance to KiteApi constructor. And we're wrapping the default api in KiteApi over the provided Kite instance.

gokmen commented 6 years ago

@usirin I've merged this since there was an ongoing issue, PTAL