-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
456 changed files
with
86,050 additions
and
28,121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
.DS_Store | ||
.nyc_output | ||
.coveralls.yml | ||
dist/ | ||
coverage/ | ||
node_modules/ | ||
|
||
**/servers.ts | ||
**/TestAssets.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,23 @@ | ||
# Config adapted from: | ||
# https://www.electron.build/multi-platform-build#sample-travisyml-to-build-electron-app-for-macos-linux-and-windows | ||
sudo: true | ||
matrix: | ||
include: | ||
- os: osx | ||
osx_image: xcode9.4 | ||
language: node_js | ||
node_js: | ||
- 11 | ||
- os: linux | ||
services: docker | ||
language: node_js | ||
node_js: | ||
- 11 | ||
addons: | ||
apt: | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
packages: | ||
- libudev-dev | ||
- libusb-1.0-0-dev | ||
- g++-4.8 | ||
- g++-4.8-multilib | ||
- icnsutils | ||
- graphicsmagick | ||
- xz-utils | ||
- xorriso | ||
- rpm | ||
language : node_js | ||
|
||
env: | ||
jobs: | ||
- PROJECT_DIR=ConseilJS-core | ||
- PROJECT_DIR=ConseilJS-softsigner | ||
|
||
node_js: | ||
- 12.16 | ||
|
||
cache: | ||
yarn: true | ||
directories: | ||
- node_modules | ||
directories: | ||
- node_modules | ||
|
||
install: | ||
- npm install | ||
before_script: | ||
- cd $PROJECT_DIR | ||
- npm install | ||
|
||
script: | ||
- node --version | ||
- npm run package | ||
- npm run package | ||
|
||
after_success: | ||
- npm run coverage | ||
- npm run coverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,156 @@ | ||
<!-- markdownlint-disable MD024 --> | ||
# ConseilJS Change Log | ||
|
||
## 5.0.0-beta | ||
|
||
The purpose of this release is to split ConseilJS into several parts to minimize the number of direct dependencies. ConseilJS is packaged as three components: ConseilJS-core, ConseilJS-softsigner and ConseilJS-ledgersigner. | ||
|
||
### Breaking Changes | ||
|
||
- New interfaceces were introduced to support external signing and key storage: `KeyStore`, `Signer`. | ||
- Any function that previously took a required `KeyStore`-type parameter now also requires a `Signer`. This includes many changes in `TezosNodeWriter`, `TezosOperationQueue`, and the contract wrappers in `src/chain/tezos/contracts/`. | ||
- `CryptoUtils` has moved to ConseilJS-softsigner. This removes dependencies on `crypto`, `libsodium` and others. | ||
- What used to be in `src/identity/tezos/` is not split between the ConseilJS-softsigner and ConseilJS-ledgersigner packages. | ||
- `CryptoUtils.simpleHash` was moved to `TezosMessageUtil.simpleHash`, smae with twoByteHex, fromByteHex | ||
|
||
### New Features | ||
|
||
- added TZIP 0012 (FA2) single-asset token contract interface `chain/tezos/contracts/Tzip12ReferenceTokenHelper`. | ||
|
||
### Fixes | ||
|
||
- Michelson parser has several updates that should reduce memory footprint. | ||
|
||
## 0.4.2 | ||
|
||
### New Features | ||
|
||
- Support for the [StakerDao](https://www.stakerdao.com/) token. | ||
- Support for the [tzBTC](https://tzbtc.io/) token. | ||
- Added various functions in `TezosWalletUtil` & `CryptoUtils` for signing of and verifying signatures on arbitrary text. | ||
- Added preliminary support for the murbard multi-sig contract. | ||
- Added `TezosConseilClient.getOperation()`. | ||
|
||
### Fixes | ||
|
||
- [ConseilJS 265](https://github.com/Cryptonomic/ConseilJS/issues/265) | ||
- [ConseilJS 269](https://github.com/Cryptonomic/ConseilJS/issues/269) | ||
- [ConseilJS 270](https://github.com/Cryptonomic/ConseilJS/issues/270) | ||
- `WrapperWrapper.salt` & `WrapperWrapper.nonce` were not loading libsodium correctly. | ||
- Fixed Michelson parser map, list and bytes handling. | ||
- Improved entry point parsing. | ||
- Improved data coming back from `TezosNodeReader.getMempoolOperationsForAccount` | ||
- Improved error reporting for account activation. | ||
- Increased test coverage. | ||
|
||
## 0.4.1 | ||
|
||
### Breaking Changes | ||
|
||
- `TezosNodeWriter.testContractInvocationOperation` no longer has the `derivationPath` argument. | ||
- `TezosConseilClient.getBlockByLevel` now returns a single item, not an array. | ||
- `TCFBakerRegistryHelper.getFees` was renamed to `getSimpleStorage` to match other contract interfaces. | ||
|
||
### New Features | ||
|
||
- added `TezosConseilClient.getBigMapData` that allows quick big_map queries against Conseil. | ||
- added mempool support with `TezosNodeReader.getMempoolOperation` and `TezosNodeReader.getMempoolOperationsForAccount`. | ||
- added `CryptonomicNameServiceHelper`. | ||
- support for complex bigmap keys. | ||
- `TezosConseilClient.getBlock` now supports 'head' as a `hash` value. | ||
|
||
### Fixes | ||
|
||
- [ConseilJS 250](https://github.com/Cryptonomic/ConseilJS/issues/250) | ||
- [ConseilJS 256](https://github.com/Cryptonomic/ConseilJS/issues/256) | ||
- Updated documentation. | ||
- Updated dependencies. | ||
|
||
## 0.4.0-beta | ||
|
||
### Breaking Changes | ||
|
||
- Moved `chain/tezos/TezosProtocolHelper.ts` to `/chain/tezos/contracts/BabylonDelegationHelper`. | ||
- `TezosConseilClient.getBlockByLevel`, `TezosConseilClient.getAccount`, `TezosConseilClient.getOperationGroup` now return single items, not arrays of 1. | ||
- `EntryPoint.generateInvocationPair()` now returns a tuple with `entrypoint` and `parameters` keys. | ||
- `TezosConseilClient.awaitOperationConfirmation` now returns a single item, not an array. | ||
- Removed `CryptoUtils.getPasswordStrength()` and the related zxcvbn dependency. This functionality should be added by the implementing application. | ||
- `TezosNodeWriter.preapplyOperation()`, `testContractInvocationOperation()` and `injectOperation()` now parse and report errors. | ||
- nodejs 12.14 is now a base requirement. | ||
|
||
### New Features | ||
|
||
- added Tezos Commons Baker Registry interface `chain/tezos/contracts/TCFBakerRegistryHelper`. | ||
- added TZIP 0007 (FA1.2) token contract interface `chain/tezos/contracts/Tzip7ReferenceTokenHelper`. | ||
- `TezosMessageUtil` can now `pack` `key_hash` value. | ||
|
||
### Fixes | ||
|
||
- Improved `TezosNodeReader.getAccountManagerForBlock`. | ||
- `TezosNodeReader.isImplicitAndEmpty` and `TezosNodeReader.isManagerKeyRevealedForAccount` now default to head by reference instead of query. | ||
- Added `TezosNodeReader.getContractStorage`. | ||
- Michelson parser support for `D\[UI\]G n`, `D\[UI\]P n`, `DROP n`. | ||
- Generally improved Michelson contract parser. | ||
- Improved `TezosContractIntrospector` parser. | ||
- Updated documentation. | ||
- Reduced and updated dependencies. | ||
|
||
## 0.3.8-beta | ||
|
||
- updated various dependencies, importantly for Ledger device communication | ||
|
||
## 0.3.7 | ||
|
||
### Fixes | ||
|
||
- big_int encoding | ||
|
||
## 0.3.6 | ||
|
||
### Fixes | ||
|
||
- integer encoding issue introduced in 0.3.5-beta | ||
|
||
## 0.3.5-beta | ||
|
||
### Breaking Changes | ||
|
||
- `EntryPoint.generateParameter` became `EntryPoint.generateInvocationString`. | ||
|
||
### Fixes | ||
|
||
- Improved entry point parser, this functionality is still experimental. | ||
- Added `EntryPoint.generateInvocationPair` to produce Protocol 005 style invocation parameters. | ||
- `ConseilPredicate` gained a `group` attribute for `or` queries. | ||
- removed `base-n` dependency. | ||
|
||
## 0.3.4-beta | ||
|
||
### Fixes | ||
|
||
- basic big_map query support. | ||
- nodejs 10.17.x is now the minimum requirement. | ||
- all dependencies are now referenced with explicit versions. | ||
|
||
## 0.3.3-beta | ||
|
||
### Breaking Changes | ||
|
||
- `TezosNodeWriter.applyOperation` was renamed to `TezosNodeWriter.preapplyOperation` | ||
- `TezosNodeWriter.testOperation` was renamed to `TezosNodeWriter.testContractInvocationOperation` and now estimates cost of contract invocation | ||
- `TezosConseilClient.getBlock` now returns a single item, not an array | ||
- `TezosConseilClient.getAccount` now returns a single item, not an array | ||
- `TezosConseilClient.getOperationGroup` now returns a single item, not an array | ||
|
||
### Fixes | ||
|
||
- custom entry point hex encoding, thanks to [@elkesrio](https://github.com/elkesrio) | ||
|
||
### Known issues | ||
|
||
- Michelson lambda parameter encoding is not yet supported | ||
- Michelson `DIG`, `DUG`, `EMPTY_BIG_MAP`, `APPLY`, `CHAIN_ID` operations are not supported | ||
|
||
### Future Breaking Changes | ||
|
||
- `KeyStore` now contains `derivationPath`, in a subsequent release, functions that accept a `KeyStore` parameter and a `derivationPath` parameter will be modified to take only the former. |
Oops, something went wrong.