Skip to content

Commit

Permalink
Feat: update grpc-js & latest dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
dev_hun committed Aug 9, 2024
1 parent 01a2597 commit 359381d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"chai-as-promised": "^7.1.1",
"crypto-js": "^3.1.9-1",
"eslint": "^8.9.0",
"grpc-tools": "^1.6.6",
"grpc-tools": "^1.12.4",
"lerna": "^3.20.0",
"mocha": "^7.1.0",
"nyc": "^15.0.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@herajs/client",
"version": "2.0.1",
"version": "2.1.0",
"description": "Javascript client framework for aergo",
"main": "dist/herajs.common.js",
"module": "dist/herajs.esm.js",
Expand Down Expand Up @@ -31,11 +31,11 @@
},
"homepage": "https://github.com/aergoio/herajs#readme",
"dependencies": {
"@herajs/common": "^2.0.1",
"@grpc/grpc-js": "^1.11.1",
"@herajs/common": "^2.1.0",
"@improbable-eng/grpc-web": "^0.9.1",
"@types/google-protobuf": "^3.2.7",
"google-protobuf": "^3.21.2",
"grpc": "^1.24.3",
"hash.js": "^1.1.7",
"jsbi": "^3.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/client/src/providers/grpc.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { AergoRPCServiceClient } from '../../types/rpc_grpc_pb';
import grpc from 'grpc';
import * as grpc from '@grpc/grpc-js';

interface GrpcProviderConfig {
url?: string;
Expand Down
2 changes: 1 addition & 1 deletion packages/client/types/rpc_grpc_pb.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// GENERATED CODE -- DO NOT EDIT!

'use strict';
var grpc = require('grpc');
var grpc = require('@grpc/grpc-js');
var rpc_pb = require('./rpc_pb.js');
var blockchain_pb = require('./blockchain_pb.js');
var account_pb = require('./account_pb.js');
Expand Down

0 comments on commit 359381d

Please sign in to comment.