mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-06 05:45:48 +00:00
@@ -8,6 +8,7 @@ on:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -24,8 +25,8 @@ jobs:
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- run: yarn install
|
||||
- run: yarn run test
|
||||
- run: yarn run lint
|
||||
- run: yarn run compile
|
||||
- run: yarn run coverage
|
||||
- run: npm install
|
||||
- run: npm test
|
||||
- run: npm run lint
|
||||
- run: npm run compile
|
||||
- run: npm run coverage
|
||||
|
||||
4
packages/ripple-keypairs/.gitignore
vendored
4
packages/ripple-keypairs/.gitignore
vendored
@@ -1,7 +1,7 @@
|
||||
# .gitignore
|
||||
|
||||
# Ignore package locks other than Yarn.
|
||||
package-lock.json
|
||||
# Ignore package locks other than npm
|
||||
yarn.lock
|
||||
npm-shrinkwrap.json
|
||||
|
||||
# Ignore vim swap files.
|
||||
|
||||
@@ -5,7 +5,7 @@ node_js:
|
||||
- 13
|
||||
- 14
|
||||
script:
|
||||
- yarn compile
|
||||
- yarn lint
|
||||
- yarn test
|
||||
- yarn coverage
|
||||
- npm run compile
|
||||
- npm run lint
|
||||
- npm test
|
||||
- npm run coverage
|
||||
|
||||
10366
packages/ripple-keypairs/package-lock.json
generated
Normal file
10366
packages/ripple-keypairs/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -6,7 +6,7 @@
|
||||
"compile": "tsc",
|
||||
"test": "tsc && nyc mocha",
|
||||
"lint": "eslint . --ext .ts --fix",
|
||||
"prepublish": "yarn lint && yarn test",
|
||||
"prepublish": "npm run lint && npm test",
|
||||
"coverage": "nyc --reporter=lcov mocha && codecov"
|
||||
},
|
||||
"files": [
|
||||
@@ -49,6 +49,7 @@
|
||||
},
|
||||
"license": "ISC",
|
||||
"engines": {
|
||||
"node": ">= 10"
|
||||
"node": ">= 10",
|
||||
"npm": ">=7.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -64,9 +64,7 @@ const secp256k1 = {
|
||||
}
|
||||
|
||||
const ed25519 = {
|
||||
deriveKeypair(
|
||||
entropy: Uint8Array,
|
||||
): {
|
||||
deriveKeypair(entropy: Uint8Array): {
|
||||
privateKey: string
|
||||
publicKey: string
|
||||
} {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user