Commit Graph

184 Commits

Author SHA1 Message Date
Jaco
4bfda46580
Swap TS resolution to base config (#9194)
* Swap TS resolution to base config

* Run build fixup before lint

* Adjust with specific comment on fixup
2023-03-17 12:55:10 +02:00
Jaco
2422145a24
Adjust spec with references (not able to bump ts 5 as of yet) (#9190)
* Bump to TS 5.0

* Revert TS bump (needs investigation)
2023-03-17 08:34:43 +02:00
Jaco
eacf028ba6
Use .js imports in src (#9132)
* Use .js imports in src

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Add WP extension aliases

* Bump dev

* Additional

* Additional

* Adjust extensionAlias order
2023-03-09 12:11:03 +02:00
Jaco
3b60b91ad5
Adjust test env (#9048)
* Remove jest test runner

* Adjust

* afterEach cleanup

* Bumps

* Bump dev

* Add missing dep
2023-02-21 19:09:34 +02:00
Jaco
27098f34b8
Bump deps (#9040)
* Bump deps

* Bumps

* Adjust

* Adjust

* Adjust test imports

* Adjust

* Re-adjust

* Fix frequency package name

* Adjust build

* Adjust

* Fix before import

* Adjust

* require script

* Adjust checks

* Linting fixes

* Fix json alongside other tests

* Move fixup script

* Remove main type: "module"

* Adjust (some) tests

* Adjust chartjs imports

* Bump deps

* Adjust

* Bump deps

* Adjust styled imports

* Bump deps

* Adjust
2023-02-20 11:38:52 +02:00
Jaco
02d3fee2e5
Reformat endpoints (#8936) 2023-02-04 09:58:56 +02:00
Jaco
37f44367b4
Rework context usage (& move most to react-hooks) (#8731)
* Rework context usage (& move most to react-hooks)

* Move use{Accounts, Addresses} to use contexts

* Cleanups

* Global alignment renames

* Combine keyring subjects into KeyringCtx

* Cleanups to contexts

* Small adjustment to window size usage

* Popup test via data-testid

* Fix Bounties tests

* Move getStats to correct location

* Adjust ApiStats

* Do add unsubs (although unneeded)
2023-01-09 12:56:38 +02:00
Jaco
9861924f9f
Bump deps (#8726) 2023-01-08 11:46:11 +02:00
Jaco
e1189e16da
Minor ScProvider adjustments (#8722) 2023-01-07 14:51:31 +02:00
Jaco
4929b1c6fd
Update headers for 2023 (#8665)
* Update headers for 2023

* Adjust env-config
2023-01-01 10:32:05 +02:00
Gregory Luneau
f628b8bcc9
Astar first wss bootnode (#8330)
* Astar first wss bootnode

* updated wss bootnodes
2022-11-15 14:49:30 +02:00
Gregory Luneau
6b426a417b
Updates to Astar and Shiden bootNodes (#8273) 2022-10-25 08:37:30 +03:00
Gregory Luneau
248876acb9
Add Light client support for Shiden and Astar (#8262)
* Add Light client support for Shiden and Astar

* Polkadot example
2022-10-21 10:28:12 +03:00
Jaco
4ee33fdac4
Add tests for added light specs (#8063)
* Add tests for added light specs

* Full path

* Exclude deps

* fs: false
2022-08-28 11:50:26 +03:00
Jaco
b2111f96de
Retrieve light specs via import(...) (#8062)
* Retrieve light specs via import(...)

* Dynamic paths

* Remove assert
2022-08-28 09:40:07 +03:00
Jaco
81d5fbf62e
Adjust light relay/para mappings (#8059)
* Adjust light relay/para mappings

* Adjust resolveJsonModule
2022-08-27 12:32:52 +03:00
Gabriel Facco de Arruda
0266224a69
Parachain light clients (#8050)
* feat: Added parachain light clients

* fix: Add resolve json compiler option

* chore: Fix lints

* refactor: Better organized light client specs

* chore: Added sort lint and some doc strings
2022-08-26 17:35:39 +03:00
Jaco
e036c199c0
Replace setTimeout(..., 0) with nextTick (#7997)
* Replace setTimeout(..., 0) with nextTick

* Additional
2022-08-19 13:03:06 +03:00
Jaco
ed5d253e04
Remove typesChain overrides (#7956) 2022-08-03 11:38:15 +03:00
Jaco
471e62fc3f
Expose API stats tab (#7678) 2022-06-02 08:29:11 +03:00
Jaco
fed6962ef5
API stats charts (#7671) 2022-06-01 16:25:08 +03:00
Jaco
26ffd1f2f1
Bump API (#7663) 2022-05-31 13:46:48 +03:00
Jaco
3a08d2d98a
Split apiSystem connection (#7662)
* Split apiSystem connection

* Test init

* Remove unused

* typo
2022-05-31 09:43:02 +03:00
Jaco
7b86595272
Update deps (#7626) 2022-05-23 10:56:24 +03:00
Jaco
fc7434cbb4
Remove Subwallet from disallow list (#7606) 2022-05-18 09:20:02 +03:00
Jaco
7f8f18f908
Filter for extensions (#7579) 2022-05-14 15:19:58 +03:00
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