Compare commits

...
3 Commits
Author SHA1 Message Date
Github Actions c30a354b67 [CI Skip] 1.0.1
skip-checks: true
2020-02-15 09:54:43 +00:00
Jaco Greeff b2d0c437be 1.0 (#52) 2020-02-15 10:42:04 +01:00
Jaco Greeff 59c9bbec25 Bump dev (#51) 2020-02-14 10:20:57 +01:00
10 changed files with 1026 additions and 241 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ jobs:
run: |
rustup toolchain install nightly
yarn install --frozen-lockfile
yarn polkadot-dev-ghact-build
yarn polkadot-ci-ghact-build
dummy:
name: Dummy
+4
View File
@@ -13,6 +13,10 @@ tmp/
.env.test.local
.env.production.local
.npmrc
.pnp.*
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
cc-test-reporter
lerna-debug.log*
npm-debug.log*
+19 -15
View File
@@ -1,67 +1,71 @@
# 0.20.1
# 1.0.1 Feb 15, 2020
- No functionality changes from 0.20.1. The interfaces here are stable in the current iteration.
# 0.20.1 Jan 30, 2020
- Pull in schnorrkel 0.8.5 for full Substrate 2.x compatibility
# 0.14.1
# 0.14.1 Sep 09, 2019
- No functionality changes at all, everything done is "under the hood" to give the codebase better maintainability
# 0.13.1
# 0.13.1 Jul 20, 2019
- Added an asm.js fallback which is active for React Native via the `"react-native"` entry in `package.json`. Ensure that you run the build step with the `NODE_OPTIONS=--max_old_space_size=8192` flags, since the asm.js bundle is large. (For RN the full command would therefore be `NODE_OPTIONS=--max_old_space_size=8192 npm start`)
# 0.12.1
# 0.12.1 Jul 17, 2019
- Remove deprecated `@polkadot/wasm-schnorrkel` & `@polkadot/wasm-dalek-ed25519` source (all combined in `@polkadot/wasm-crypto`, was kept for historical purposes)
- Security dependency bumps
- Updated Rust `hex-literal` for recent versions of the compiler (used in tests only)
# 0.11.1
# 0.11.1 May 31, 2019
- Security dependency bumps
# 0.10.1
# 0.10.1 May 09, 2019
- w3f/schnorrkel updated to 0.1.1 as per substrate
- Added known subkey signature test (Rust & JS)
# 0.9.1
# 0.9.1 Apr 29, 2019
- Dependency bumps
# 0.8.1
# 0.8.1 Mar 31, 2019
- Pull ed25519 & sr25519 into `@polkadot/wasm-crypto` as well (smaller final size)
- Disable build/publish of `wasm-dalek-ed25519` & `wasm-schnorrkel`
- Improve error messaging, instead of `__wasm_malloc of null`
# 0.7.1
# 0.7.1 Mar 30, 2019
- Fix build scripts to properly attach errors in the log (dropped in 0.6.1)
# 0.6.1
# 0.6.1 Mar 27, 2019
- Log init errors for both non-WebAssembly usage as well as WebAssembly errors
# 0.5.1
# 0.5.1 Mar 23, 2019
- Add password argument to bip39ToSeed
# 0.4.1
# 0.4.1 Mar 23, 2019
- Add bip39ToSeed
# 0.3.1
# 0.3.1 Mar 23, 2019
- Add wasm-dalek-ed25519 for all used crypto there
- Add keccak256
- Try secp256k1 (bloating code, not used atm)
# 0.2.1
# 0.2.1 Mar 20, 2019
- Add basic crypto functions, creation of wasm-crypto package
- blake2, bip39, sha2, xxhash
# 0.1.1
# 0.1.1 Mar 18, 2019
- Initial release
+1 -3
View File
@@ -1,3 +1 @@
module.exports = {
extends: '@polkadot/dev/config/babel'
};
module.exports = require('@polkadot/dev/config/babel');
+2 -1
View File
@@ -7,5 +7,6 @@ module.exports = Object.assign({}, config, {
},
modulePathIgnorePatterns: [
'<rootDir>/packages/wasm-schnorrkel/build'
]
],
resolver: './jest.resolver.js'
});
+12
View File
@@ -0,0 +1,12 @@
// Copyright 2017-2020 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
// eslint-disable-next-line @typescript-eslint/no-var-requires
const path = require('path');
module.exports = function resolver (file, config) {
return file.includes('package.json')
? path.join(config.basedir.replace('/src', '/'), file)
: config.defaultResolver(file, config);
};
+1 -1
View File
@@ -9,5 +9,5 @@
"packages": [
"packages/*"
],
"version": "0.20.1"
"version": "1.0.1"
}
+4 -4
View File
@@ -1,5 +1,5 @@
{
"version": "0.20.1",
"version": "1.0.1",
"private": true,
"engines": {
"yarn": "^1.10.1"
@@ -13,15 +13,15 @@
},
"scripts": {
"build": "./scripts/build.sh",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx . && tsc --noEmit --pretty",
"lint": "polkadot-dev-run-lint",
"clean": "./scripts/clean.sh",
"postinstall": "polkadot-dev-yarn-only",
"test": "./scripts/test-rust.sh"
},
"devDependencies": {
"@babel/core": "^7.8.3",
"@polkadot/dev": "^0.33.3",
"@polkadot/util": "^2.0.0-beta.10",
"@polkadot/dev": "^0.40.16",
"@polkadot/util": "^2.3.0-beta.6",
"override-require": "^1.1.1"
}
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/wasm-crypto",
"version": "0.20.1",
"version": "1.0.1",
"author": "Jaco Greeff <jacogr@gmail.com>",
"files": [
"crypto-polyfill.js",
+981 -215
View File
File diff suppressed because it is too large Load Diff