- Jul 05, 2022
-
-
Dominique authored
* Added networkName in the response of validate address endpoint * Added the 'accountId' in the endpoint response - If the address given is not a hex value then it returns the hex value of the related registry type - If the address given is a hex value then it returns the same as the 'accountId' - The tests were updated based on this logic * Changes in `validateAddress` function, tests & docs - Replaced `filter` with a `for..of` loop when retrieving the `network`. - Replaced `new TypeRegistry` with `this.api.registry` when retrieving the `accountID`. - Renamed `networkName` to `network` so it is aligned with the key naming in the SS58 registry. - Updated the JSDocs of the function `validateAddress`. - Added the default mock api into the service in the tests. - Updated the docs. * Code changes & built docs - Changes in code based on Tarik's feedback. - Run `yarn build:docs`. * Removed unnecessary variable * Fix for accountId & corresponding tests - Fix for accountId when the input from user is an address in hex (from u8 array) format. - Corrected the output of the corresponding tests also. * Returns in all other fields if isValid is false * Code changes based on James feedback * yarn lint
-
- Jun 22, 2022
-
- Jun 17, 2022
-
-
Tarik Gul authored
* Add range query param type * correctly parse a range or throw an error * create new endpoint to query a range of blocks using an async generator * lint, add `/blocks` route * fix grumbles * fix blunder * sort collection of responses, add comments for range algorithm * add return types * cleanup QueueNext type * port runTasks to AbstractController, and make it generic * add PromiseQueue * fix memory allocation, and remove async generator * add PromiseQueue * use PromiseQueue * lint * remove console * fix verifyInt * add /blocks to docs * change BlockRange to Blocks * set a max range, extra error handling * add verifyUInt within util * remove this.verifyInt and replace it with verifyUInt and verifyNonZeroUInt * correct error message * fix small async await grumble * refactor calling each promise * allow parseNumberOrThrow to accept zeroes * fix comment grumble
-
Tarik Gul authored
-
- Jun 14, 2022
-
-
James Wilson authored
* update changelog * tweak readme; I had misunderstood something in prev tweak * bump version to 12.1.1 * Update README.md Co-authored-by: Tarik Gul <[email protected]> Co-authored-by: Tarik Gul <[email protected]>
-
- Jun 13, 2022
- Jun 07, 2022
-
- Jun 06, 2022
-
-
Tarik Gul authored
feat: add query param `includeFee` to add a `tip`, `partialFee`, and `priority` field to each extrinsic for `/node/transaction-pool` (#931) * add test response * update controller to include tip query parameter * create tests that include tip query param * update the return type to include tip * update dervice logic to handle tip inclusion * update the docs * fix grumble * switch the naming in the controller from tip to fee * add partial fee functionality * handle priority correctly * fix some linting errors * update response type for partialfee * set query param as includeFee * update normal extrinsic response * add const values to defaultMockApi * add computation logic to calculate priority * update docs * add test suite for operational transactions * lint * remove commented import * rename maxBlock to maxBlockWeight * add end line * fix priority type decsription * cleanup small grumbles * fix comment * fix some comments
-
- Jun 03, 2022
-
- May 24, 2022
-
- May 18, 2022
-
-
CurlyBracketEffect authored
* fix(deps): update pjs common, api, type interfaces * chore(release): 11.4.0 * Update CHANGELOG.md Fixed version typo Co-authored-by: Tarik Gul <[email protected]> * fix(changelog): move feat to features section * Update CHANGELOG.md moved feat to the features section * Update CHANGELOG.md edited for clarity Co-authored-by: David <[email protected]> * Update CHANGELOG.md edited for clarity * fix(doc): update changelog Co-authored-by: Tarik Gul <[email protected]> Co-authored-by: David <[email protected]>
- May 16, 2022
-
-
Tarik Gul authored
* update the balance key in IAccountsBalanceInfo to also be a string * accept a query param for converting the balance * add private convertBalance * add tests for convertBalance * change convert to denominate * switch all over to denomination * inline comments * handle zero values, and cleanup code * handle all balance values * add IBalanceLock type * add denominateLocks * update docs * add error handling for a chain with no decimal * correct the docs * cleanup code * cover edgecase where decimal is 0 * set api to historicApi * fix decimal selection * detail dec value in applyDenominationBalance
-
- May 10, 2022
-
-
Dominique authored
* chore(release): 11.3.19 * Changed compatibility versions * Updated the date on the CHANGELOG Co-authored-by: Tarik Gul <[email protected]> Co-authored-by: Tarik Gul <[email protected]>
-
- May 03, 2022
-
- Apr 21, 2022
-
- Apr 13, 2022
-
- Mar 30, 2022
-
- Mar 16, 2022
-
- Mar 14, 2022
-
-
Tarik Gul authored
* fix: bump yarn * update deps in docs with new yarn
-
- Mar 08, 2022
-
- Feb 28, 2022
-
- Feb 24, 2022
-
-
Tarik Gul authored
* chore(release): 11.3.11 * fix small grumble in changelog * Update CHANGELOG.md Co-authored-by: Niklas Adolfsson <[email protected]> Co-authored-by: Niklas Adolfsson <[email protected]>
-
- Feb 22, 2022
-
-
Tarik Gul authored
-
- Feb 17, 2022
-
-
Tarik Gul authored
* Update all deps to patch, or minor * update clean-webpack-plugin from 1.0.1 -> 4.0.0 * docs: update to webpack 5.68.0
-
- Feb 16, 2022
-
-
Jose authored
* Abstract error handling for addresses into AbstractService * Add yarn cache, jest cov and fixed unit test
-
- Feb 10, 2022
-
- Feb 02, 2022
-
- Feb 01, 2022
-
-
Tarik Gul authored
* fix: current auction endingOffset bug * fix: header bug * update tests to accurately test the updates * add vrfDelay to endingOffset * refactor logic to make it cleaner * Update src/services/paras/ParasService.ts Co-authored-by: Zeke Mostov <[email protected]> * Update src/services/paras/ParasService.ts Co-authored-by: Zeke Mostov <[email protected]> * remove vrfDelay from offset calculation * update docs with vrfDelay info * add tests for startPeriod, endPeriod and vrfDelay * inline docs * fix some grumbles for vrfDelay, and endPeriod sample * Update src/services/paras/ParasService.ts * Update docs * Update src/services/paras/ParasService.ts Co-authored-by: James Wilson <[email protected]> * fix naming in test * set the vrfDelay test to use the finishEnd block * update docs Co-authored-by: Zeke Mostov <[email protected]> Co-authored-by: James Wilson <[email protected]>
-
- Jan 26, 2022
-
-
James Wilson authored
-
- Jan 24, 2022
-
-
Tarik Gul authored
* remove node-forge resolution, and standard-version dev dep * node-forge sec update for docs
-
- Jan 14, 2022
-
-
Tarik Gul authored
-
- Jan 13, 2022
-
- Dec 21, 2021
-
- Dec 16, 2021
-
- Dec 13, 2021
-
-
Tarik Gul authored
-
- Dec 09, 2021
-
- Dec 02, 2021
-