Skip to content

Commit

Permalink
Update README/dist to reflect recent changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dcodeIO committed Dec 7, 2016
1 parent 090d8ea commit 014fb66
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 21 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -306,14 +306,20 @@ The `pbjs` command line utility can be used to bundle and translate between .pro
```
Consolidates imports and converts between file formats.
-t, --target Specifies the target format. [json, proto2, proto3, static]
Also accepts a path to require a custom target.
-t, --target Specifies the target format. Also accepts a path to require a custom target.
json-module JSON representation as a module (AMD, CommonJS, global)
json JSON representation
proto2 Protocol Buffers, Version 2
proto3 Protocol Buffers, Version 3
static-module Static code without reflection as a module (AMD, CommonJS, global)
static Static code without reflection
-p, --path Adds a directory to the include path.
-o, --out Saves to a file instead of writing to stdout.
-w, --wrap Specifies an alternative wrapper for the static target.
-w, --wrap Specifies an alternative wrapper for any *-module target.
usage: pbjs [options] file1.proto file2.json ...
```
Expand Down
28 changes: 16 additions & 12 deletions dist/protobuf.js

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

2 changes: 1 addition & 1 deletion dist/protobuf.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/protobuf.min.js

Large diffs are not rendered by default.

Binary file modified dist/protobuf.min.js.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion dist/protobuf.min.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion types/protobuf.js.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

/*
* protobuf.js v6.0.2 TypeScript definitions
* Generated Tue, 06 Dec 2016 17:00:05 UTC
* Generated Wed, 07 Dec 2016 12:23:58 UTC
*/
declare module "protobufjs" {

Expand Down Expand Up @@ -929,6 +929,7 @@ declare module "protobufjs" {
* @param {Function} [options.enum=Number] Enum value conversion type.
* Valid values are `String` and `Number` (the global types).
* Defaults to the numeric ids.
* @param {boolean} [options.defaults=false] Also sets default values on the resulting object
* @returns {Object.<string,*>} JSON object
*/
asJSON(options?: { [k: string]: any }): { [k: string]: any };
Expand Down

0 comments on commit 014fb66

Please sign in to comment.