potion-client
Advanced tools
Comparing version 0.0.6 to 0.0.7
{ | ||
"name": "potion-client", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "A ES6 client for APIs written in Flask-Potion", | ||
@@ -12,9 +12,3 @@ "keywords": [], | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
"main": "dist/fetch.js", | ||
"directories": { | ||
"lib": "dist" | ||
}, | ||
"main": "./fetch.js", | ||
"repository": { | ||
@@ -21,0 +15,0 @@ "type": "git", |
@@ -52,2 +52,4 @@ # Potion | ||
.factory('User', ['potion', (potion) => { | ||
// Resources can also be registered using `@potion.registerAs('/user')` | ||
class User extends Item { | ||
@@ -59,2 +61,4 @@ static names = Route.GET('/names'); | ||
// If the `@potion.registerAs('/user')` decorator is used, | ||
// this is no longer needed. | ||
potion.register('/user', User); | ||
@@ -61,0 +65,0 @@ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
40582
124