Commit Graph
374 Commits
Author SHA1 Message Date
Jaco Greeff d0291db45e Bump yarn, bump dev/ts (#242) 2018-10-25 14:07:03 +02:00
Travis CI 410c7470fc [CI Skip] 0.32.9 2018-10-24 14:43:00 +00: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
Travis CI 3b6d911455 [CI Skip] 0.32.6 2018-10-22 18:34:54 +00:00
Jaco Greeff 40f3ceb219 Bump dev 2018-10-22 13:41:38 +02: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
Travis CI 3bb5a3ea04 [CI Skip] 0.32.2 2018-10-18 12:24:17 +00:00
Jaco Greeff 4d98a66f3e Bump dev, ignore docs (CI force add) (#234) 2018-10-18 14:20:48 +02:00
Travis CI 1fbfb32514 [CI Skip] 0.32.1 2018-10-18 08:33:53 +00:00
Travis CI 35579c4d70 [CI Skip] 0.31.7 2018-10-18 07:27:00 +00:00
Travis CI 56e6b9469e [CI Skip] 0.31.6 2018-10-15 13:35:15 +00:00
Travis CI d5fa39e60f [CI Skip] 0.31.5 2018-10-13 19:45:42 +00:00
Travis CI 9d43119ed2 [CI Skip] 0.31.4 2018-10-13 18:46:31 +00:00
Travis CI 4fbdeee00e [CI Skip] 0.31.3 2018-10-13 15:16:17 +00:00
Travis CI 776b986e2f [CI Skip] 0.31.2 2018-10-12 22:07:03 +00:00
Jaco Greeff 400c6c5685 Encode & decode short addresses (#221)
* Encode & decode short addresses

* Adjust short addresses short checksum

* Make prefix coinfigurable as an input

* Expand tests, cleanup short encoding
2018-10-13 00:03:48 +02:00
Travis CI c07f3a5f5c [CI Skip] 0.31.1 2018-10-12 15:08:34 +00:00
Travis CI f8233f0665 [CI Skip] 0.30.7 2018-09-28 13:22:06 +00:00
Travis CI 5fa5906482 [CI Skip] 0.30.6 2018-09-28 12:15:37 +00:00
Travis CI 86940970fe [CI Skip] 0.30.5 2018-09-28 11:43:58 +00:00
Travis CI a634fe380c [CI Skip] 0.30.4 2018-09-20 15:01:50 +00:00
Jaco Greeff 9765b2c05d Cleanup keypair add functionality (#217)
* Cleanup keypair add functionality

* Expose addPair
2018-09-20 16:57:39 +02:00
Travis CI 2edb1e7cfb [CI Skip] 0.30.3 2018-09-13 11:25:41 +00:00
Travis CI 0743d1231a [CI Skip] 0.30.2 2018-09-13 10:03:30 +00:00
Travis CI b055d18a4c [CI Skip] 0.30.1 2018-09-11 13:15:59 +00:00
Jaco Greeff 5a101b0fde Classify Keyring (#215)
* Bump deps

* Class-ify Keyring

* Version bump
2018-09-11 15:11:09 +02:00
Travis CI b2c32b0169 [CI Skip] 0.29.33 2018-09-07 10:53:34 +00:00
Travis CI 28e77b82d5 [CI Skip] 0.29.32 2018-09-07 09:31:09 +00:00
Jaco Greeff 0e2566c05a Bump dependencies 2018-09-07 11:26:01 +02:00
Travis CI dd0ec259a5 [CI Skip] 0.29.31 2018-09-07 08:02:26 +00:00
Travis CI 4797b4d9bc [CI Skip] 0.29.30 2018-09-07 07:35:24 +00:00
Travis CI 5746d1eba9 [CI Skip] 0.29.29 2018-09-06 20:59:00 +00:00
Travis CI 5729199185 [CI Skip] 0.29.28 2018-09-06 20:53:22 +00:00
Travis CI d1ba256d7e [CI Skip] 0.29.27 2018-09-06 20:34:17 +00:00
Travis CI 376d71cf02 [CI Skip] 0.29.26 2018-09-06 19:34:03 +00:00
Travis CI 6e327019df [CI Skip] 0.29.25 2018-09-06 19:14:30 +00:00
Travis CI eec2b34b83 [CI Skip] 0.29.24 2018-09-06 19:02:05 +00:00
Travis CI adbf7e7c13 [CI Skip] 0.29.23 2018-09-06 16:08:04 +00:00
Travis CI 052cdbcd33 [CI Skip] 0.29.22 2018-09-06 15:27:33 +00:00
Travis CI 11649b492a [CI Skip] 0.29.21 2018-09-05 10:03:18 +00:00
Travis CI 0e8587f977 [CI Skip] 0.29.20 2018-09-04 20:59:01 +00:00
Jaco Greeff 5120b95bc8 FlatDb code refactor & optimisations (#213)
* Move Compactor into own class

* Combine multiple buffer writes

* Skip failing CI test (again)

* Clean up value > current.length

* Test code linting
2018-09-04 22:54:13 +02:00
Travis CI fe372bae6d [CI Skip] 0.29.19 2018-09-04 08:57:49 +00:00
Travis CI 52d7c5da56 [CI Skip] 0.29.18 2018-09-03 18:09:07 +00:00
Travis CI 5f6e1a4990 [CI Skip] 0.29.17 2018-09-03 15:25:24 +00:00