Commit Graph
133 Commits
Author SHA1 Message Date
Travis CI 928d9bcff5 [CI Skip] 0.33.15 2018-12-17 19:12:02 +00:00
Travis CI b1305a212f [CI Skip] 0.33.14 2018-12-17 13:17:43 +00:00
Travis CI 67e1359fe1 [CI Skip] 0.33.13 2018-12-10 10:45:54 +00:00
Jaco Greeff caec22dd28 Bump dependencies (#270)
* Bump dependencies

* Bump with updated @babel deps
2018-12-10 11:41:33 +01:00
Travis CI a5f2210ec2 [CI Skip] 0.33.12 2018-12-09 12:29:38 +00:00
Travis CI e4727d8625 [CI Skip] 0.33.11 2018-12-08 13:39:01 +00:00
Jaco Greeff fbd6c1e9bf Cleanup more Codeclimate issues (#267)
* Cleanup more Codeclimate issues

* Cleanup unused imports
2018-12-08 14:34:36 +01:00
Travis CI 1d8106bb2d [CI Skip] 0.33.10 2018-12-08 11:46:08 +00:00
Jaco Greeff 3de334c966 Cleanup some Codeclimate smells (#266) 2018-12-08 12:40:48 +01:00
Travis CI 4aecb84b2c [CI Skip] 0.33.9 2018-12-06 11:08:26 +00:00
Travis CI e71d7a30d3 [CI Skip] 0.33.8 2018-12-05 14:47:44 +00:00
Travis CI fabd5d7959 [CI Skip] 0.33.7 2018-12-03 13:34:26 +00:00
Travis CI 9b7952b2a1 [CI Skip] 0.33.6 2018-11-29 10:59:43 +00:00
Jaco Greeff e3b45e7617 Rename types.d.ts -> types.ts (#262) 2018-11-29 11:54:25 +01:00
Travis CI 2b6f9d5d09 [CI Skip] 0.33.5 2018-11-29 10:12:51 +00:00
Travis CI 01421ef1ee [CI Skip] 0.33.4 2018-11-29 09:50:13 +00:00
Travis CI 8f2471ad92 [CI Skip] 0.33.3 2018-11-28 15:23:14 +00:00
Travis CI 09347eeb52 [CI Skip] 0.33.2 2018-11-27 13:18:52 +00:00
Jaco Greeff 148f9569d4 Bump dev, cleanup new TS additional checks (#259) 2018-11-27 14:13:34 +01:00
Travis CI aac39f97e3 [CI Skip] 0.33.1 2018-11-22 13:34:27 +00:00
Jaco Greeff f82092e603 Allow blake2 & parity-codec in trie (#251)
* Start codec implementation

* Expose all constants

* NodeHeader encoding/decoding

* Encoding in NodeHeader

* Constants for Node types

* Moce codec to trie-codec

* Encode/decode in place (untested)

* WIP, tests starting to be put in place

* One passing test :)

* Another test bites the dust...

* One more test down...

* One more down

* Additional tests

* Formatting

* Long keys passing

* Trie tests

* Follow the script, no all-in-all encoder

* First simple trie test passing

* Another one down

* Extra checks remove (debug)

* 80% there with tests...

* One more, one left

* Trie tests passing

* ISC -> Apache-2.0

* Add compact util functions

* Tests to TypeScript

* Remove @polkadot/types deps, ethereum stub

* Bump

* Genesis tests with chainspecs

* Cleanup tests (ease of debugging)

* Substrate test passes, branch fails (again)

* Checks passing, tests passing

* Re-add Ethereum & snapshot tests (not passing atm)

* Re-add index test (also not 100%)

* Mid-way in generic trie-root

* Cleanup ethereumjs-testing definitions

* Update deps

* Less intrusive renames in trie-hash

* Self-review cleanups #1

* asNibbles -> toNibbles

* Cleanups

* Expand tests

* Cleanup imports

* Fix logger test (fly-by refactor)

* Update snapshot test
2018-11-22 14:29:34 +01:00
Travis CI 5c5b7077cc [CI Skip] 0.32.23 2018-11-21 14:46:15 +00:00
Travis CI e23cadc193 [CI Skip] 0.32.22 2018-11-21 11:31:24 +00:00
Jaco Greeff 3bc1b7541b LICENSE and README updates (#254)
* LICENSE and README updates

* Remove duplicated definition

* Remove duplicated file
2018-11-21 12:26:38 +01:00
Travis CI ad9b46a5b9 [CI Skip] 0.32.21 2018-11-14 13:21:46 +00:00
Jaco Greeff 75c09a9fcf Bump dependencies (#250)
* Bump dependencies

* Bump deps
2018-11-14 14:16:51 +01:00
Travis CI 523ed4cd74 [CI Skip] 0.32.20 2018-11-14 12:53:23 +00:00
Travis CI 0a33c5742f [CI Skip] 0.32.19 2018-11-14 12:31:44 +00:00
Travis CI 5c1df7214e [CI Skip] 0.32.18 2018-11-14 10:01:01 +00:00
Travis CI 9f22883585 [CI Skip] 0.32.17 2018-11-13 11:47:30 +00:00
Jaco Greeff 8f6b01adc5 Manual bump 2018-11-13 12:42:39 +01:00
Travis CI 57938d22d8 [CI Skip] 0.32.15 2018-11-12 16:59:27 +00:00
Jaco Greeff 22f8df1fd0 Explicit Array<any> (#246)
* Explicit Array<any>

* Ordering

* Bump dev
2018-11-12 17:54:41 +01:00
Travis CI a8e39297b5 [CI Skip] 0.32.14 2018-11-12 15:27:49 +00:00
Travis CI 6c85979c3a [CI Skip] 0.32.13 2018-11-10 10:42:02 +00:00
Travis CI 1a9ea424c4 [CI Skip] 0.32.12 2018-11-01 13:43:47 +00:00
Travis CI a0dcd4eaa9 [CI Skip] 0.32.11 2018-11-01 13:33:44 +00:00
Travis CI 4635f1afe8 [CI Skip] 0.32.10 2018-10-25 12:12:35 +00:00
Travis CI 410c7470fc [CI Skip] 0.32.9 2018-10-24 14:43:00 +00:00
Jaco Greeff 7153110410 Bump 2018-10-24 16:33:55 +02:00
Jaco Greeff 5130f4c78a Remove debug logging (MemoryDb) 2018-10-24 16:27:58 +02:00
Travis CI 0bae9bbb23 [CI Skip] 0.32.8 2018-10-24 14:06:04 +00:00
Jaco Greeff 0cb6e6c746 Bump deps (#240)
* Decrease MemoryDb verbosity

* Bump deps

* Bump
2018-10-24 16:01:49 +02:00
Travis CI 661e6c8e1b [CI Skip] 0.32.7 2018-10-24 12:37:50 +00:00
Jaco Greeff 5ce8f9185f Decrease MemoryDb verbosity (#238) 2018-10-24 14:33:20 +02:00
Travis CI 3b6d911455 [CI Skip] 0.32.6 2018-10-22 18:34:54 +00:00
Travis CI 0dfd038df0 [CI Skip] 0.32.5 2018-10-19 15:51:10 +00:00
Travis CI d7b83e3d91 [CI Skip] 0.32.4 2018-10-19 15:38:45 +00:00
Luke Schoen 1fb1f9d743 docs: Fixes #157. Add Gitbook documentation for Polkadot-JS Common (#231)
* fix: Remove prior docs attempt files

* docs: Add Gitbook docs for common repo with examples. See detailed comments

* Remove old attempt at docs in docs/ folders

* Add Typedoc config typedoc.js

* Add .nvmrc for easily switching Node.js version with NVM

* Add ESLint config .eslintrc.json and .eslintignore

* Fix in tsconfig.json so is keyring not util-keyring

* Update package.json with dependencies and script same as in polkadot-js/api

* Update root README fixing CI icons, adding guide same as in polkadot-js/api, and fixing link to keyring, not util-keyring

* Update root .gitignore with Gitbook build files same as in polkadot-js/api

* Add Gitbook docs structure same as in polkadot-js/api

* Add Gitbook examples for keyring, trie-db, util-crypto

* Add Gitbook outer summary for the menu, Readme, logo and styles same as in polkadot-js/api

* Add Gitbook config book.json

* docs: Remove db and util-rlp from Gitbook summary menu since RLP not in PoC-3

* docs: Add Typedocs with examples for db MemoryDb and DiskDb

* docs: Update db/ Readme with CI icons fixed, and indicating that no methods exposed in Common Docs

* docs: Update keyring Readme with CI icons fixed and link to Common Docs

* fix: Fix keyring package.json info to refer to common, not client

* fix: Updates license in 4x files in keyring/address folder with keyring, not util-keyring

* docs: Add Typedocs to Keyring class, pair function, and testKeyring function

* docs: Update keyring Readme with CI icons fixed and link to Common Docs

* fix: Update package.json moving @polkadot/db from devDependencies to dependencies

* fix: Update test to iterate array not object with forEach

* fix: Use semicolon instead of comma in tests to fix linting errors. Fix typo

* docs: Add Typedoc to Trie class

* docs: Add Typedoc to is functions

* docs: Update keyring Readme with CI icons fixed and link to Common Docs

* fix: Add return type to encodeAux function

* docs: Add Typedoc to encode function

* fix: Fix formatting of Typedoc example for root

* docs: Add Typedoc for genRoot

* docs: Add Typedoc for pairsUniq

* docs: Add Typedoc for getSharedLength

* docs: Add Typedoc for sharedPrefixLength

* fix: Fix formatting of Typedoc example for rootOrdered, asNibbles, fromNibbles

* fix: Various fixes to util-crypto. See commit detail comments

* Update root Readme with class and function info
* Fix typos and Typedoc examples
* Expose mnemonic by exporting it in an index.ts
* Fix naming from naclKeypair to naclKeypairFromRandom
* Fix typos
* Fix randomAsU8s to be randomAsU8a
* Fix spelling of bitLength

* fix: Various fixes to util-rlp. See detailed commit comments

* Update keyring Readme with CI icons fixed and link to Common Docs mentioning since RLP not in PoC-3 nothing exposed in Common Docs
* Add Typedocs
* Move Typedocs to different file so they appear in Common Docs

* fix: Various fixes to util. See detailed commit comments

* Update root Readme to use Yarn and list and explain exposed Common Docs methods
* Fix typos and Typedoc examples

* fix: Restore tests back using variable they were iterating over before

* docs: Move nested part of Summary to individual package Readme. Add Usage to Readmes

* fix: Add missing semicolon to existing test

* fix: Remove docs/gitbook folder and files since generated by CI

* feat: Update Gitignore to ignore CI-generated files like .html and docs/gitbook/ folder

* docs: Remove CI-icons from all packages within polkadot-js/common, except its root Readme

* fix: Update to incorporate changes from PR #233 and #229

* fix: Ignore build directories in Jest tests using modulePathIgnorePatterns

* fix: Remove useless docs/html from .gitignore since there is no html subdirectory

* fix: Update util-crypto README with link to mnemonicToSeed instead of toSecret

* docs: Update keyring create account example to show result to user

* fix: Update dependencies in examples so the examples work again

* fix: Update keyring example 02 load accounts not to use addFromAddress

* fix: Update .gitignore so it is suitable for both polkadot-js common and api

* fix: Adjust .gitignore after testing changes that work with polkadot-js api too

* fix: Resolve .gitignore to overcome FileNotFoundError: No README file (or is ignored)

* fix: Remove from Git tracking docs/.nojekyll since generated

* fix: Add lerna to gitignore to match api repo

* Revert to original .gitignore. Does not work without Gitbooks files Git tracked

* docs: Hide trie-db Examples since have limited use
2018-10-19 17:33:58 +02:00
Travis CI 1cb7bfd9b4 [CI Skip] 0.32.3 2018-10-18 13:27:21 +00:00