Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@crayond_dev/grpc-toolkit

Package Overview
Dependencies
Maintainers
1
Versions
199
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@crayond_dev/grpc-toolkit - npm Package Compare versions

Comparing version 1.0.2 to 1.0.4

lib/protos/index.proto

11

lib/proto.definition.js
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.proto = void 0;
var grpc_js_1 = __importDefault(require("@grpc/grpc-js"));
var proto_loader_1 = __importDefault(require("@grpc/proto-loader"));
var grpc_js_1 = require("@grpc/grpc-js");
var proto_loader_1 = require("@grpc/proto-loader");
var path_1 = require("path");
var packageDefinition = proto_loader_1.default.loadSync((0, path_1.join)(__dirname, "./protos/index.proto"), {
var packageDefinition = (0, proto_loader_1.loadSync)((0, path_1.join)(__dirname, "./protos/index.proto"), {
keepCase: false,

@@ -17,2 +14,2 @@ longs: String,

});
exports.proto = grpc_js_1.default.loadPackageDefinition(packageDefinition);
exports.proto = (0, grpc_js_1.loadPackageDefinition)(packageDefinition);
{
"name": "@crayond_dev/grpc-toolkit",
"version": "1.0.2",
"version": "1.0.4",
"description": "This has definitions and types required for implementing gRPC in toolkit microservices",

@@ -8,3 +8,3 @@ "main": "lib/index.js",

"build": "tsc --pretty",
"postbuild": "cp -R ./src/protos ./dist/.",
"postbuild": "cp -R ./src/protos ./lib/.",
"grpc:generate-types": "npx proto-loader-gen-types --longs=String --enums=String --defaults --oneofs --grpcLib=@grpc/grpc-js --outDir=./src/rpc_types ./src/protos/index.proto"

@@ -33,4 +33,4 @@ },

"@grpc/grpc-js": "^1.9.2",
"@grpc/proto-loader": "^0.7.9"
"@grpc/proto-loader": "^0.7.10"
}
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc