Skip to content

Commit

Permalink
Replace 1.x scrypt shim of web3-eth-accounts with https://github.com/…
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelsbradleyjr committed Aug 16, 2019
1 parent 7d1b0ea commit fea7a9b
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 82 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"namespace": "ethereum",
"name": "web3",
"version": "1.2.0",
"version": "1.2.1",
"description": "Ethereum JavaScript API",
"license": "LGPL-3.0",
"main": [
Expand Down
2 changes: 1 addition & 1 deletion dist/web3.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* jshint ignore:start */
Package.describe({
name: 'ethereum:web3',
version: '1.2.0',
version: '1.2.1',
summary: 'Ethereum JavaScript API, middleware to talk to a ethreum node over RPC',
git: 'https://github.com/ethereum/ethereum.js',
// By default, Meteor will default to using README.md for documentation.
Expand Down
20 changes: 15 additions & 5 deletions packages/web3-eth-accounts/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions packages/web3-eth-accounts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
"any-promise": "1.3.0",
"crypto-browserify": "3.12.0",
"eth-lib": "0.2.7",
"scryptsy": "2.1.0",
"semver": "6.2.0",
"scrypt-shim": "github:web3-js/scrypt-shim",
"underscore": "1.9.1",
"uuid": "3.3.2",
"web3-core": "1.2.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/web3-eth-accounts/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ var RLP = require("eth-lib/lib/rlp");
var Nat = require("eth-lib/lib/nat");
var Bytes = require("eth-lib/lib/bytes");
var cryp = (typeof global === 'undefined') ? require('crypto-browserify') : require('crypto');
var scrypt = require('./scrypt');
var scrypt = require('scrypt-shim');
var uuid = require('uuid');
var utils = require('web3-utils');
var helpers = require('web3-core-helpers');
Expand Down
71 changes: 0 additions & 71 deletions packages/web3-eth-accounts/src/scrypt.js

This file was deleted.

0 comments on commit fea7a9b

Please sign in to comment.