Commit Graph
139 Commits
Author SHA1 Message Date
Travis CI 57938d22d8 [CI Skip] 0.32.15 2018-11-12 16:59:27 +00: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
Travis CI 0bae9bbb23 [CI Skip] 0.32.8 2018-10-24 14:06:04 +00: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
Travis CI 0dfd038df0 [CI Skip] 0.32.5 2018-10-19 15:51:10 +00:00
Jaco Greeff b53a677f81 Add .nojekyll for docs/ 2018-10-19 17:46:24 +02: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
Jaco Greeff b5c5734c7c Add Blake2s & XXHash utility functions (#66)
* Initial split of util & util-crypto

* Add initial XXHash version

* Blake2s wit tests & documentation

* Add sha512 (from NaCl)

* Add randomBytes (from NaCl)

* Flow fixes

* Update documentation

* Update latest @polkadot/dev
2018-01-25 14:13:43 +01:00
Jaco Greeff f20035fe97 Move util function from @polkadot/client (#62) 2018-01-11 17:48:38 +01:00
Jaco Greeff feedcf62e8 Expand logger for debug (#60) 2018-01-09 19:51:24 +01:00
Travis CI d1c414c1e0 [CI Skip] 0.11.2 2018-01-08 08:48:36 +00:00
Travis CI 2148416b42 [CI Skip] 0.11.1 2017-12-30 16:46:06 +00:00
Jaco Greeff e77d536edd Add isBoolean (#53) 2017-12-17 20:16:15 +01:00
Jaco Greeff 366965371f Don't pad fixLength by default (#51)
* Don't pad fixLength by default

* Update docs
2017-12-15 20:59:27 +01:00
Jaco Greeff 56aff80e52 Expand promisify (with this), add stringShorten (#50) 2017-12-14 20:14:17 +01:00
Jaco Greeff c612440bcd Add promisify (#47) 2017-12-12 20:17:45 +01:00
Travis CI b659622384 [CI Skip] 0.7.1 2017-12-11 19:40:48 +00:00
Jaco Greeff f9eeb4ee70 Add hexFixLength documentation (#44) 2017-12-07 21:27:58 +01:00
Travis CI ebee26db4e [CI Skip] 0.6.7 2017-12-03 09:57:18 +00:00
Travis CI fd8583acd0 [CI Skip] 0.6.5 2017-12-02 09:34:01 +00:00
Travis CI ecf29b56bb [CI Skip] 0.6.4 2017-12-02 08:53:26 +00:00
Jaco Greeff 5d0a7231dc Fix alias links (#34)
* Fix alias links

* Update alias links

* Update generated docs
2017-12-01 20:34:51 +01:00
Jaco Greeff d02c05ba49 Alias to <-> from (#31)
* bn <-> hex aliasses

* Bump minor

* Split tests into singular files

* to <-> from alias

* Add Codeclimate badge
2017-11-30 20:16:17 +01:00
Jaco Greeff 0f2b423160 Add number conversion utilities (#29)
* Add number conversion utilities

* Update after checks

* Add isNull
2017-11-29 21:22:49 +01:00
Travis CI dddebfbd47 [CI Skip] 0.5.16 2017-11-28 17:24:48 +00:00
Jaco Greeff f47f25ba3d isUint8Array & Uint8Array <-> Buffer (#17)
* isUint8Array

* Uint8Array <-> Buffer
2017-11-25 00:07:35 +01:00
Jaco Greeff b4c67178a1 Add isError & ExtError (#16)
* Add isError & ExtError

* Check fixes

* Check fixes
2017-11-24 20:49:25 +01:00
Jaco Greeff 01173aea60 Add logger for consistent info output (#14)
* Add logger as a util

* Add logger

* Update flow checks
2017-11-23 19:37:02 +01:00
Jaco Greeff 87dd31f72a Update tests to use jest (#11) 2017-11-21 21:28:20 +01:00
Jaco Greeff ff6621f319 Manually add docs (#10) 2017-11-21 00:11:09 +01:00
Travis CI 75d6aecfcb [CI Skip] Build artifacts 2017-11-20 22:07:11 +00:00
Jaco Greeff 1216968145 Use @polkadot/dev for common tasks (#8)
* Link to docs in README

* Use @polkadot/dev for common tasks

* 0.5.0 since docs added
2017-11-20 23:04:33 +01:00