@beepbox.net/gofetch-client 0.2.3 → 0.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -125,7 +125,8 @@ function makeUser(api) {
125
125
  get: (id, opts = {}) => item(id).get(opts),
126
126
  update: (id, body, opts = {}) => item(id).patch(body, opts),
127
127
  setRole: (id, body, opts = {}) => item(id).role.post(body, opts),
128
- disable: (id, opts = {}) => item(id).disable.post(undefined, opts)
128
+ disable: (id, opts = {}) => item(id).disable.post(undefined, opts),
129
+ setAccess: (id, body, opts = {}) => item(id)["portal-access"].post(body, opts)
129
130
  };
130
131
  }
131
132
  function makeUtil(api) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@beepbox.net/gofetch-client",
3
- "version": "0.2.3",
3
+ "version": "0.2.5",
4
4
  "description": "Typesafe Eden treaty client for the gofetch API",
5
5
  "license": "UNLICENSED",
6
6
  "files": [