Commit Graph

158 Commits

Author SHA1 Message Date
Jaco
7a148dc7aa
Bump API (w/ newest substrate-connect) (#7543)
* Bump API (w/ nweset substrate-connect)

* Adjust to rococo_v2_2
2022-05-06 17:34:27 +03:00
Jaco
a6bbefe600
Display link in encoded details (#7511)
* Display link in ecnoded details

* trigger
2022-05-03 13:15:03 +03:00
Nikos Kontakis
3d1b2abd5b
Fix broken substrate connect light client (#7362)
* Fix broken substrate connect light client

* make code slicker

* minor

* Update packages/react-api/src/Api.tsx

Co-authored-by: Jaco <jacogr@gmail.com>

* Update packages/react-api/src/Api.tsx

Co-authored-by: Jaco <jacogr@gmail.com>

* Update packages/react-api/src/Api.tsx

Co-authored-by: Jaco <jacogr@gmail.com>

Co-authored-by: Jaco <jacogr@gmail.com>
2022-04-12 12:57:05 +03:00
Jaco
e3588f194f
Ensure light connect issues doesn't break app (#7331) 2022-04-08 15:32:50 +03:00
Jaco
1fb827ec34
Explicit connect for light providers (#7230)
* Explicit connect for light providers

* Bump deps

* Adjust with explicit connect

* Remove old @substrate/connect

* Mock substrate-connect
2022-03-28 12:01:19 +03:00
Jaco
2e0632777f
Perform paraApi disconnect on provider (#7175)
* Perform paraApi disconnect on provider

* Adjust
2022-03-17 11:43:17 +02:00
Jaco
cf406781af
Correct connected node ss58 settings display (#7046) 2022-02-25 13:38:31 +02:00
Nikos Kontakis
c74e356519
substrate connect - upgrade to 0.5.0 (#6958)
* update Substrate-connect to version 0.5.0

* Address PR comment; separata types from other imports

* Address PR comment; separate types from other imports

* fix lint issue

* fix typo
2022-02-09 18:31:52 +02:00
Jaco
0d74428624
Relay accounts on common-good & system paras (#6740)
* Relay accounts on common-good & system paras

* Revert useEndpoint

* Add relay values to current

* Ordering
2022-01-18 12:15:19 +02:00
Jaco
5174f5ffbe
Bump API & common (#6797)
* Bump API & common

* BN imports

* Root imports

* Bump
2022-01-07 17:37:36 +02:00
Jaco
51835328db
2022 (#6764) 2022-01-01 09:30:15 +02:00
Jaco
a16d60076d
Use relay identity for common-good & system chains (#6758)
* Use relay identity for common-good & system chains

* Adjust

* Align useCallMulti
2021-12-30 17:38:26 +02:00
Jaco
05cee230bf
Expose apiEndpoint details on Api context (#6757)
* Expose apiEndpoint details on Api context

* No need to pass through apiEndpoint (yet)

* Lint
2021-12-30 16:45:59 +02:00
sxlwar
18134cbb8f
token decimals error (#6640) 2021-12-06 08:13:09 +02:00
Jaco
a5347ee87e
Workaround for Statemint deployment issues (#6634) 2021-12-05 15:16:19 +02:00
Jaco
0a26f52103
Bump @polkadot deps (#6514)
* Bump @polkadot deps

* Bumps
2021-11-07 12:09:50 +02:00
Jaco
7ff500787d
Enable Ledger desktop via node-hid (#6385)
* Enable Ledger desktop via node-hid

* Node?

* Pass isElectron prop
2021-10-23 17:10:12 +03:00
Jaco
f512c1a539
Bump de & api (w/ __Unused on enum) (#6326)
* Bump de & api (w/ __Unused on enum)

* Linting fixes

* tsc adjustments

* Api bump
2021-10-17 16:37:57 +03:00
Nikos Kontakis
691f82c6ac
Upgrade substrate connect to 0.4.0 (#6236)
* Update substrate-connect to 0.3.19

* upgrade to version 0.4.0 (changed API)

* minor fix on substrate connect provider's API
2021-10-04 17:23:52 +03:00
Jaco
aa6ea3a486
Rework API urls (#5840)
* Rework API urls

* Adjust

* Fix build
2021-07-16 11:33:03 +02:00
Nikos Kontakis
e202dda584
Integrate substrate connect with Apps (#5644)
* integrate apps with smoldot init

* Add a new category for substrate connect light clients to be grouped under. Add translations; Alter Api.tsx in order to choose between light clients and/or url addresses

* remove supportedLightClient array that was introduced. SubstrateConnect already has the information included and will return error if no supported network is found

* rollback 'hacky' changes in order to proceed with better implementation

* alter configuration of testing and production networks in order to introduce light client type

* upgrade substrate connect to 0.3.7

* implementation for integrating substrate-connect

* merge from latest master

* Add substrate/connect version to 0.3.10

* fix merge conflicts

* introduce function for correctly creating the provider URLs and update URLs

* Fix mistaken typos

* fix linter issue about rpc-provider@npm:^4.10.1 missing

* move substrate-connect for react-api to dependencies

* Fix lint issues

* Add tests for substrate-connect light clients urls and fix for ws

* Update packages/react-api/src/Api.tsx

Co-authored-by: Jaco <jacogr@gmail.com>

* Remove duplicated code

* add exceptions in jest config (transformIgnorePatterns)

* minor fixes

* fix typo errors

* minor yarn update

* Alter urls to string | union type (revert urls for json-rpc)

* fix erroneously changed url

* fix yarn.lock

* Stub mock for tests of substrate connect

* fix yarn

* Update yarn.lock

* Update yarn.lock

* Update packages/apps/src/Endpoints/index.tsx

Co-authored-by: Jaco <jacogr@gmail.com>

* Update packages/apps-config/src/endpoints/util.ts

Co-authored-by: Jaco <jacogr@gmail.com>

* Fix Pr comments

* Fix function that was recreated in every rerender

* Update packages/apps/src/Endpoints/index.tsx

Co-authored-by: Jaco <jacogr@gmail.com>

* Fix 2nd bundle of PR comments

* Fix function on PR comment

* filter light clients out of auto-selected sidebar networks

* Update package.json

Co-authored-by: Jaco <jacogr@gmail.com>

* Update packages/react-api/package.json

Co-authored-by: Jaco <jacogr@gmail.com>

* run install

* update yarn.lock from master

* sync yarn.lock from master

* Alter implementation to avoid white screen and make sure that API returned from substrate-connect works

* Update packages/page-accounts/src/CreateAccount.slow.spec.tsx

* Update packages/page-bounties/src/Bounties.slow.spec.tsx

Co-authored-by: Jaco <jacogr@gmail.com>
2021-07-12 06:51:21 +02:00
Jaco
8a898c6b6d
Bump deps (#5789)
* Bump deps

* Updates

* Rewrite translation keys

* Lint fixes
2021-07-08 06:24:01 +02:00
Jaco
a44faff60d
Bump deps (#5665)
* Bump deps

* Use override

* additional override
2021-06-23 11:21:24 +02:00
Jaco
7148e7e6b6
Allow xcm asset teleport (#5413)
* Allow xcm asset teleport

* Should be operational...

* lock cron

* Teleport from parachain to relay

* Only enable on relay

* Disable para teleport
2021-06-02 15:11:11 +02:00
Jaco
4adfaf3098
Logo/colors based on specName (#5325) 2021-05-19 08:58:03 +02:00
Jaco
308ff07ac1
Display parathread info (w/ api & specName) (#5280) 2021-05-14 13:40:00 +02:00
Jaco
906a254577
Remove global ss58Format, only apply locally (#5262) 2021-05-12 09:37:35 +02:00
Jaco Greeff
0ccac5d5bc
0.87.1 (#5057) 2021-04-12 14:22:27 +02:00
Antoine Estienne
79a087ab5a
readd eth to dev mode (#4763) 2021-03-02 11:35:00 +01:00
Jaco Greeff
f84a55089b
Convert all specs to type bundles (#4646)
* Convert all specs to type bundles

* Additional

* s.specVersioned/spec/

* Fix paraApi typesSpec import

* Update

* small update

* comment on mapping
2021-02-11 11:54:27 +01:00
Jaco Greeff
bee326b199
Bump API (Fix chain property retrieval) 2021-01-23 17:01:45 +01:00
Jaco Greeff
38b7ebc24c
Format multiple balances w/ properties (#4480)
* Format mutiple balances w/ properties

* Bump API

* Update chainDecimals extraction

* Fox bounties mock API

* Expand rendering

* Bumps
2021-01-23 15:30:37 +01:00
Jaco Greeff
df9c515326
Display all balance instances (#4479) 2021-01-23 09:23:46 +01:00
Jaco Greeff
19d49f09be
Move to Ledger usage with hook (#4195)
* Move ledgerChains to apps-config

* Swap Ledger capabilities to hook

* Fix type usage

* getLedger returns promise

* Revert promise result

* cleanup

* use has ledger support (#4413)

* use hasLedgerSupport

* Bump common

Co-authored-by: Jaco Greeff <jacogr@gmail.com>

Co-authored-by: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com>
2021-01-14 20:58:02 +01:00
Jaco Greeff
41df626547
Bump networks (w/ hasLedgerSupport flag) (#4415)
* Bump networks (w/ hasLedgersupport flag)

* genesisHex
2021-01-14 16:38:26 +01:00
Jaco Greeff
5f3bd186c7
Add ump/dmp/hrmp queue sizes (#4412) 2021-01-14 14:37:43 +01:00
Jaco Greeff
6dbb188a1a
2021 (#4310) 2021-01-03 11:33:39 +01:00
Jaco Greeff
8f8118a5b9
ss58Prefix from consts (w/ API bump) (#4308)
* ss58Prefix from consts

* bump
2021-01-02 11:28:30 +01:00
Jaco Greeff
ba46bc5b37
Move ledger config (#4306)
* Move ledger config

* naming
2020-12-31 10:47:32 +01:00
Jaco Greeff
93b38ece21
Cleanup WebPack (#4258)
* Remove unused WP5 override

* Adjust

* Additional imports

* Adjust
2020-12-21 13:15:40 +01:00
Jaco Greeff
7d071d147d
Remove global registry imports (only use on api) (#4218)
* Remove global registry imports (only use on api)

* Additional

* QR only displayed when valid

* ApiSigner
2020-12-17 11:18:34 +01:00
Jaco Greeff
530122482d
RxJs/memoizee dep cleanups (use from util) (#4212)
* RxJs/memoizee dep cleanups (use from util)

* Remove 4K runtimeChunk
2020-12-15 11:58:47 +01:00
Jaco Greeff
fe31bc522d
Sharing of user types (#4210)
* Sharing of user types

* url encoding/decoding

* assert non-array

* Developer page URL encoding

* Cleanup saving/loading encoding

* Move fflate

* CopyButton
2020-12-15 10:54:40 +01:00
Jaco Greeff
e4fc6b7aea
Move moonbeam/sora RPCs to bundle-only (#4174)
* Move moonbeam/sora RPCs to bundle-only

* Update packages/react-components/src/InputRpc/useRpcs.ts
2020-12-08 16:38:01 +01:00
Jaco Greeff
58c27ed919
Bumpi API (bounty derives, typesBundle rpcs) (#4173)
* Bumpi API (bounty derives, typesBundle rpcs)

* linting
2020-12-08 16:09:56 +01:00
Ewa Kowalska
541213f233
Ek extract type only imports into separate group (#4168)
* Plug new beta of eslint plugin simple import sort

* Apply new configuration to existing imports
2020-12-07 16:04:05 +01:00
Jaco Greeff
c72a86f349
0.70 CHANGELOG (#4165) 2020-12-07 12:17:15 +01:00
Ewa Kowalska
87505b1c59
Eslint imports (#4037)
* Add eslint configuration

* Patch eslint plugin for sorting imports

* Apply eslint rules for imports
2020-12-01 14:40:42 +01:00
Jaco Greeff
754dc574e0
interface extends as appropriate (#4067) 2020-11-25 12:14:50 +01:00
Jaco Greeff
a0b82d88a4
Use import type { ... } (#4052)
* Use import type { ... }

* value imports

* TypeDefInfo

* Apply suggestions from code review

* fixes... am going blind.
2020-11-19 16:20:14 +01:00