Skip to content

Commit

Permalink
Merge pull request #7 from EYBlockchain/liju.jose/corrected-zkp-utils…
Browse files Browse the repository at this point in the history
…-reference

zkp-utils replaced with @eyblockchain/zkp-utils
  • Loading branch information
iAmMichaelConnor authored Feb 25, 2021
2 parents 6fd23e8 + 936c297 commit 19f9dbf
Show file tree
Hide file tree
Showing 6 changed files with 56 additions and 46 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,13 @@ jobs:
node-version: ${{ matrix.node }}

- run: npm install
env:
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- run: npm run lint
env:
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- run: npm run test
env:
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
//npm.pkg.github.com/:_authToken=${NPM_TOKEN}
@eyblockchain:registry=https://npm.pkg.github.com/
2 changes: 1 addition & 1 deletion __tests__/general-number.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const { hexToBinArray, hexToBytes } = require('zkp-utils');
const { hexToBinArray, hexToBytes } = require('@eyblockchain/zkp-utils');
const { generalise, GN, GO, stitchLimbs } = require('../index');

const dec = '17408914224622445472';
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const {
decToHex,
utf8ToHex,
asciiToHex,
} = require('zkp-utils');
} = require('@eyblockchain/zkp-utils');
const { logger } = require('./logger');

/**
Expand Down
84 changes: 42 additions & 42 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
"prettier": "^2.0.5"
},
"dependencies": {
"winston": "^3.3.3",
"zkp-utils": "^1.0.7"
"@eyblockchain/zkp-utils": "^1.0.9",
"winston": "^3.3.3"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com"
Expand Down

0 comments on commit 19f9dbf

Please sign in to comment.