Permalink
Browse files

Update README/dist to reflect recent changes

  • Loading branch information...
dcodeIO committed Dec 7, 2016
1 parent 090d8ea commit 014fb668dcf853874c67e3e0aeb7b488a149d35c
Showing with 32 additions and 21 deletions.
  1. +9 −3 README.md
  2. +16 −12 dist/protobuf.js
  3. +1 −1 dist/protobuf.js.map
  4. +3 −3 dist/protobuf.min.js
  5. BIN dist/protobuf.min.js.gz
  6. +1 −1 dist/protobuf.min.js.map
  7. +2 −1 types/protobuf.js.d.ts
@@ -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 ...
```

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.
BIN +8 Bytes (100%) dist/protobuf.min.js.gz
Binary file not shown.

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -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" {
@@ -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 };

0 comments on commit 014fb66

Please sign in to comment.