potion-client
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "potion-client", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "A ES6 client for APIs written in Flask-Potion", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
@@ -16,3 +16,3 @@ # Potion | ||
--------- | ||
Before you include the package, make sure you include [reflect-metadata](https://www.npmjs.com/package/reflect-metadata) and a shim for ES6/7 features if you see any complaints in the browsers you target. | ||
Before you use this package, make sure you include [reflect-metadata](https://www.npmjs.com/package/reflect-metadata) and a shim for ES6/7 features ([core-js](https://github.com/zloirock/core-js) has the most comprehensive collection of shims and I advise using it). | ||
@@ -63,3 +63,3 @@ Furthermore, this package has multiple implementations available, it can be used as: | ||
}]) | ||
.controller('MyAppController', ['User', () => { | ||
.controller('MyAppController', ['User', (User) => { | ||
// Fetch a user by id | ||
@@ -66,0 +66,0 @@ const user1 = User.fetch(1); |
10090