Commit 746fc4a617b5f0a2da52acb01a26fa30f7bb790f
upgrade feathers
Michael Williams committed on 2/13/2016, 2:42:45 AMParent: 8fe2bd22a8664bb22187026d6148e338796f10db
Files changed
app/client.js | changed |
package.json | changed |
app/client.js | ||
---|---|---|
@@ -1,11 +1,12 @@ | ||
1 | -import Client from 'feathers-client' | |
1 | +import Client from 'feathers/client' | |
2 | +import Rest from 'feathers-rest/client' | |
2 | 3 | import fetch from 'isomorphic-fetch' |
3 | 4 | import Url from 'url' |
4 | 5 | |
5 | 6 | import config from 'app/config' |
6 | 7 | |
7 | 8 | const apiUrl = Url.format(config.api.url) |
8 | -const client = Client(apiUrl) | |
9 | - .configure(Client.fetch(fetch)) | |
9 | +const client = Client() | |
10 | + .configure(Rest(apiUrl).fetch(fetch)) | |
10 | 11 | |
11 | 12 | export default client |
package.json | ||
---|---|---|
@@ -111,12 +111,12 @@ | ||
111 | 111 | "envify": "^3.4.0", |
112 | 112 | "evalify": "github:ahdinosaur/evalify#minimatch", |
113 | 113 | "feathers": "^2.0.0-pre.4", |
114 | 114 | "feathers-action": "^1.0.2", |
115 | - "feathers-client": "^0.5.1", | |
116 | - "feathers-hooks": "^0.6.0", | |
117 | - "feathers-knex": "^2.0.0", | |
118 | - "feathers-rest": "^1.1.0", | |
115 | + "feathers-authentication": "^0.2.2", | |
116 | + "feathers-hooks": "^1.0.0-pre.4", | |
117 | + "feathers-knex": "^2.1.0", | |
118 | + "feathers-rest": "^1.2.2", | |
119 | 119 | "feathers-tcomb": "^1.0.0", |
120 | 120 | "isomorphic-fetch": "^2.2.1", |
121 | 121 | "knex": "^0.9.0", |
122 | 122 | "lnfs-cli": "^1.0.1", |
Built with git-ssb-web