Skip to content

Commit

Permalink
util-lib and react-lib no gql subscription (#33)
Browse files Browse the repository at this point in the history
* feat: initial setup

* feat: removed apolloDex

* feat: removed all currentNetwork

* feat: set selected account

* feat: account switch logic

* fix: removed all observables from react-lib

* feat: network fallback

* feat: preselecting stored address

* chore: refactored

* test: selected token balances

* fix: network change

* feat: removed apollo from dependencies

* chore: made changes compatible with new react-lib

* temp: temp fix to fetch data

* fix: init reef state

* feat: init reef state on n/w change

* feat: fetch token balances

* feat: use transaction history hook

* feat: compatible with react-lib

* fix: verify contract

* fix: contract verification on token upload

* chore: lint

* fix: lint err

* fix: lint

* chore: yarn lint

* fix: yarn lock err in lint

* chore: removed dev env

* feat: done

* feat: removed console statement

* fix: requested changes

* fix: provider getting connected again and again

* update versions

* fix merge

* reef-chain/react-lib package.json

* replace @reef-defi/react-lib with @reef-chain/react-lib

* replace @reef-defi/react-lib with @reef-chain/react-lib

* replace @reef-defi/evm-provider with @reef-chain/evm-provider

* use network from parameters if exists

* feat: selectedNetworkDex observable

* fix: initReefState logic

* feat: network dex state

* fix: swap in pool

* feat: moved useInitReefState to react-lib

* feat: removed unused hook

* feat: moved all hooks to react-lib

* chore: lint

* feat: removed dev linking

* bump react-lib for hooks

* bump: rxjs

* use reefState instance from context taken from react-lib

* use reefState instance from context taken from react-lib

* display activity loading status

* chore: lint

* fix: video nft in tx details

* fix: types

* chore: lint

* feat: set default amount of send nft to 1 (#41)

* feat: set default amount of send nft to 1

* chore: lint

---------

Co-authored-by: Matjaz Hirschman <[email protected]>

* refactor: change import for getIconUrl in TokenPill.tsx (#39)

- bump @reef-chain/react-lib to latest alpha
- bump @reef-chain/util-lib to latest alpha

Co-authored-by: Matjaz Hirschman <[email protected]>

* fix: jumping token2 in overlay swap (#43)

* fix conflicts with latest @PolkaDot libs

* feat: open pool after adding liquidity/creating new pool (#42)

* feat: redirect page

* feat: push to pool details

* feat: refactored

* chore: lint

* fix: exchange rate in overlay swap  (#44)

* fix: exchange rate in overlay swap

* chore: lint

* feat: update main.yml

* feat: node engine in config

* revert: package.json

* feat: using nw from util-lib

* feat: using network config from util-lib

* chore: lint

* fix: pool redirect  (#47)

* fix: redirecting to newly created pool

* fix: console errors

* chore: lint

* feat: update token status when creating token (#45)

* feat: updating token balances ui

* feat: logic to verify if tokens reloaded

* chore: lint

* feat: listening to tokens update

* feat: disable pools btn if token not reloaded

* feat: unsubscribed from subscription

* feat: unsubscribe

* cleanup

---------

Co-authored-by: matjazonline <[email protected]>

* bump react-lib and use its network with dex values

* v3

---------

Co-authored-by: matjazonline <[email protected]>
Co-authored-by: Metod Ribič <[email protected]>
  • Loading branch information
3 people authored Nov 25, 2023
1 parent ab4a3c0 commit 98f60a6
Show file tree
Hide file tree
Showing 64 changed files with 2,784 additions and 101,337 deletions.
6 changes: 4 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"plugins": [
"react",
"@typescript-eslint",
"react-hooks"
"react-hooks",
"jsx-a11y"
],
"rules": {
"no-use-before-define": "off",
Expand All @@ -34,6 +35,7 @@
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-unused-vars-experimental": "error",
"no-unused-vars": "off",
"jsx-a11y/control-has-associated-label": "off",
"no-unused-expressions": ["error", { "allowShortCircuit": true }],
"@typescript-eslint/no-use-before-define": ["error"],
"jsx-a11y/anchor-is-valid": "off",
Expand Down Expand Up @@ -69,4 +71,4 @@
"typescript": {}
}
}
}
}
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
node-version: '18'
cache: 'yarn'
- run: yarn install
- run: yarn lint
Loading

0 comments on commit 98f60a6

Please sign in to comment.