Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ const client = v1.NewClient('t_your_token_here_1234567deadbeef')

Because of the verbosity of these types, we recommend writing your own functions/methods to create these types from your existing application's models.

The `create` method on generated classes takes attributes as input and defaults unspecified attributes to their empty value. This allows you to create request messages, for example, by specifying only relevant fields and leaves optional fields empty.

```js
import { v1 } from '@authzed/authzed-node';

Expand Down
13 changes: 11 additions & 2 deletions js-dist/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
{
"name": "@authzed/authzed-js-node",
"author": "authzed",
"version": "0.6.0",
"version": "0.6.2",
"description": "authzed js client for nodejs",
"keywords": [
"authorization",
"authzed",
"fine-grained-authorization",
"open-source",
"permissions",
"spicedb",
"zanzibar"
],
"main": "src/index.js",
"repository": "https://github.com/authzed/authzed-node",
"license": "Apache-2.0",
Expand All @@ -16,7 +25,7 @@
"google-protobuf": "^3.15.3"
},
"devDependencies": {
"grpc-tools": "^1.10.0",
"grpc-tools": "^1.11.2",
"jasmine": "^3.6.4"
}
}
498 changes: 498 additions & 0 deletions js-dist/src/authzedapi/authzed/api/v1/core.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions js-dist/src/authzedapi/authzed/api/v1/core.js.map

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading