@switchboard-xyz/common
Advanced tools
Comparing version 2.1.1 to 2.1.2
@@ -0,1 +1,2 @@ | ||
/// <reference types="node" /> | ||
/** | ||
@@ -2,0 +3,0 @@ * Converts to utf-8 encoding and removes null characters. |
@@ -0,1 +1,2 @@ | ||
/// <reference types="node" /> | ||
/** | ||
@@ -2,0 +3,0 @@ * Converts to utf-8 encoding and removes null characters. |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"description": "common type definitions and utils for interacting with switchboard", | ||
@@ -29,6 +29,6 @@ "files": [ | ||
"build:protos": "shx mkdir -p src/protos; pbjs --root sbv2Protos -t static-module -o src/protos/index.js ./protos/*.proto && pbts -o src/protos/index.d.ts src/protos/index.js; ", | ||
"build:cjs:protos": "shx rm -rf lib/cjs/protos; shx mkdir -p lib/cjs/protos; pbjs --root sbv2Protos -t static-module -o lib/cjs/protos/index.js ./protos/*.proto && pbts -o lib/cjs/protos/index.d.ts lib/cjs/protos/index.js", | ||
"build:cjs:protos": "syarnhx rm -rf lib/cjs/protos; shx mkdir -p lib/cjs/protos; pbjs --root sbv2Protos -t static-module -o lib/cjs/protos/index.js ./protos/*.proto && pbts -o lib/cjs/protos/index.d.ts lib/cjs/protos/index.js", | ||
"build:esm:protos": "shx rm -rf lib/esm/protos; shx mkdir -p lib/esm/protos; pbjs --root sbv2Protos -t static-module --es6 -w \"es6\" -o lib/esm/protos/index.js ./protos/*.proto && pbts -o lib/esm/protos/index.d.ts lib/esm/protos/index.js && shx --silent sed -i 'protobufjs/minimal' 'protobufjs/minimal.js' lib/esm/protos/index.js && shx --silent sed -i 'import \\* as' 'import' lib/esm/protos/index.js", | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"prepublish": "yarn build" | ||
"prepublishOnly": "yarn build" | ||
}, | ||
@@ -35,0 +35,0 @@ "dependencies": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
2915761
57443