Comparing version 1.6.0 to 1.6.1
# Changelog | ||
## 1.6.1 | ||
- Update error message wording: add "Oso Cloud error" prefix. | ||
## 1.6.0 | ||
Add support for the [distributed check api](https://www.osohq.com/docs/reference/client-apis/node#distributed-check-api): | ||
- feat: Added new [`oso.listLocal()`](https://www.osohq.com/docs/reference/client-apis/node#list-authorized-resources-with-distributed-data-osolistlocalactor-action-resource_type-column) method. | ||
- feat: Added new [`oso.authorizeLocal()`](https://www.osohq.com/docs/reference/client-apis/node#check-a-permission-with-distributed-data-osoauthorizelocalactor-action-resource) method. | ||
- feat: Added optional [`dataBindings`](https://www.osohq.com/docs/reference/client-apis/node#distributed-check-api) argument to the `Oso` constructor. | ||
## 1.5.0 | ||
- feat: Add new `oso.bulkActions()` API: https://www.osohq.com/docs/reference/client-apis/node#in-bulk-osobulkactionsactor-resources | ||
## 1.0.3 | ||
@@ -8,5 +24,1 @@ | ||
- fix: Use correct StatsResult type definition | ||
## 1.5.0 | ||
- feat: Add new `oso.bulkActions()` API: https://www.osohq.com/docs/reference/client-apis/node#in-bulk-osobulkactionsactor-resources |
{ | ||
"name": "oso-cloud", | ||
"version": "1.6.0", | ||
"version": "1.6.1", | ||
"description": "Oso Cloud Node client", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -162,3 +162,3 @@ "use strict"; | ||
const responseBody = yield result.json(); | ||
throw new Error(responseBody.message); | ||
throw new Error(`Oso Cloud error: ${responseBody.message}`); | ||
} | ||
@@ -165,0 +165,0 @@ if (isMutation) { |
{ | ||
"name": "oso-cloud", | ||
"version": "1.6.0", | ||
"version": "1.6.1", | ||
"description": "Oso Cloud Node client", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
132049