grpc-rich-error-model
Advanced tools
Comparing version 0.0.14-beta.2 to 0.0.14-beta.3
@@ -6,3 +6,3 @@ { | ||
"type": "module", | ||
"version": "0.0.14-beta.2", | ||
"version": "0.0.14-beta.3", | ||
"author": { | ||
@@ -57,8 +57,7 @@ "name": "Oleg Gaydarenko", | ||
], | ||
"main": "./dist/cjs/index.js", | ||
"main": "./dist/index.js", | ||
"scripts": { | ||
"build": "npm run clean && npm run build:protos && npm run build:ts", | ||
"build:protos": "./scripts/build.sh", | ||
"build:ts": "npm run build:cjs", | ||
"build:cjs": "tsc --project ./tsconfig.production.json", | ||
"build:ts": "tsc --project ./tsconfig.production.json", | ||
"clean": "rm -rf ./.cache ./dist", | ||
@@ -65,0 +64,0 @@ "cz": "git-cz", |
@@ -14,3 +14,3 @@ import { Metadata, status, StatusObject } from '@grpc/grpc-js'; | ||
import jsonDescriptor from './protos/bundle.json'; | ||
import jsonDescriptor from './protos/bundle.json' assert { type: 'json' }; | ||
@@ -17,0 +17,0 @@ // Seems there is an error with the types but it works when casted. |
85354
1937