Skip to content

Commit

Permalink
Merge branch 'master' into dmaretskyi/connectors
Browse files Browse the repository at this point in the history
  • Loading branch information
mj426382 committed Jun 27, 2022
2 parents 75f986a + 9450798 commit 08d8794
Show file tree
Hide file tree
Showing 183 changed files with 4,516 additions and 1,842 deletions.
5 changes: 0 additions & 5 deletions .changeset/add-use-logs.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/clever-jars-wait.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/green-keys-juggle.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/nasty-coins-scream.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/quick-knives-occur.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/yellow-seahorses-live.md

This file was deleted.

26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior, or a link to repository if public.
At a minimum, please provide your usedapp Config object.
Include information about chains you are connecting to, browser wallets you are using, and anything else that might be relevant.

**Software versions**
- `useDapp` version (installed version of `@usedapp/core`)
- Package manager (yarn, npm, or pnpm?)
- Node version (`node --version`)

**Additional context**

- Add any other context about the problem here
- Include screenshoots if applicable
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: "[Feature Request]"
labels: enhancement
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
10 changes: 6 additions & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- run: npm i -g pnpm@6.20.3
- run: npm i -g pnpm@7.1.9
- run: pnpm install --frozen-lockfile --strict-peer-dependencies
- run: pnpm run lint
- run: pnpm run build
- run: pnpm run test
- run: pnpm run test -- --timeout 0
test-example:
runs-on: ubuntu-latest
timeout-minutes: 25
Expand All @@ -31,12 +31,13 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: '16.x'
- run: npm i -g pnpm@6.20.3
- run: npm i -g pnpm@7.1.9
- run: pnpm install --frozen-lockfile --strict-peer-dependencies
- name: Build dependencies
run: |
set -e
cd core && pnpm run build && cd -
cd testing && pnpm run build && cd -
cd siwe && pnpm run build && cd -
cd coingecko && pnpm run build && cd -
cd playwright && pnpm run build && cd -
Expand All @@ -59,12 +60,13 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: '16.x'
- run: npm i -g pnpm@6.20.3
- run: npm i -g pnpm@7.1.9
- run: pnpm install --frozen-lockfile --strict-peer-dependencies
- name: Build dependencies
run: |
set -e
cd core && pnpm run build && cd -
cd testing && pnpm run build && cd -
cd siwe && pnpm run build && cd -
cd coingecko && pnpm run build && cd -
cd playwright && pnpm run build && cd -
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Deploy
on:
pull_request:
branches-ignore:
- 'changeset-release/*'
push:
branches:
- master
Expand All @@ -13,7 +15,7 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: '16.14'
- run: npm i -g pnpm@6.20.3
- run: npm i -g pnpm@7.1.9
- run: pnpm install --frozen-lockfile
- run: pnpm build
- name: Deploy usedapp-docs.netlify.app
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ jobs:
node-version: 16.x

- name: Install package manager
run: npm i -g pnpm@6.20.3
run: npm i -g pnpm@7.1.9

- name: Install Dependencies
run: pnpm install --frozen-lockfile

- name: Set git user
run: |
git config user.name truefi-bot
git config user.email truefi-bot@trusttoken.com
git config user.name truefibot
git config user.email truebot.github@trusttoken.com
- name: Create Release Pull Request or Publish to npm
id: changesets
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
},
"dependencies": {
"@changesets/cli": "^2.14.1",
"ethers": "^5.6.2",
"ethers": "5.6.2",
"prettier": "2.1.2",
"wsrun": "^5.2.1"
},
"resolutions": {
"ethers": "^5.6.2"
"ethers": "5.6.2"
},
"devDependencies": {
"eslint-plugin-no-only-tests": "^2.6.0"
Expand Down
106 changes: 106 additions & 0 deletions packages/coingecko/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,111 @@
# @usedapp/coingecko

## 1.0.14

### Patch Changes

- Updated dependencies [d07e0df]
- @usedapp/core@1.0.14

## 1.0.13

### Patch Changes

- Updated dependencies [d596405]
- Updated dependencies [57e7582]
- @usedapp/core@1.0.13

## 1.0.12

### Patch Changes

- Updated dependencies [5776ed9]
- @usedapp/core@1.0.12

## 1.0.11

### Patch Changes

- Updated dependencies [453b489]
- @usedapp/core@1.0.11

## 1.0.10

### Patch Changes

- Updated dependencies [d835054]
- Updated dependencies [2909416]
- Updated dependencies [55a28a2]
- @usedapp/core@1.0.10

## 1.0.9

### Patch Changes

- Updated dependencies [2888a3e]
- Updated dependencies [c4b8ae0]
- Updated dependencies [fcb6f41]
- Updated dependencies [5877e2d]
- @usedapp/core@1.0.9

## 1.0.8

### Patch Changes

- 3d815ab: Ethers as peer deps
- Updated dependencies [24e9668]
- Updated dependencies [edfd60b]
- Updated dependencies [a3b1340]
- Updated dependencies [3d815ab]
- Updated dependencies [4afd9b5]
- @usedapp/core@1.0.8

## 1.0.7

### Patch Changes

- Updated dependencies [2a65bfb]
- @usedapp/core@1.0.7

## 1.0.6

### Patch Changes

- Updated dependencies [6348832]
- Updated dependencies [1ce58ad]
- @usedapp/core@1.0.6

## 1.0.5

### Patch Changes

- bcff959: Fix ethers version
- Updated dependencies [bcff959]
- Updated dependencies [a0ab27f]
- @usedapp/core@1.0.5

## 1.0.4

### Patch Changes

- Updated dependencies [fe52f50]
- @usedapp/core@1.0.4

## 1.0.3

### Patch Changes

- 9a8906e: 🐛 Fix CoinGecko Invalid Hook Call Error
- Updated dependencies [4e8025b]
- Updated dependencies [ad8b91a]
- Updated dependencies [17b8021]
- Updated dependencies [d9e2ff3]
- Updated dependencies [3904895]
- Updated dependencies [bd27e6b]
- Updated dependencies [5229eea]
- Updated dependencies [8701d7d]
- @usedapp/core@1.0.3

## 1.0.2

### Patch Changes
Expand Down
14 changes: 8 additions & 6 deletions packages/coingecko/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@usedapp/coingecko",
"version": "1.0.2",
"version": "1.0.14",
"main": "dist/cjs/src/index.js",
"module": "dist/esm/src/index.js",
"types": "dist/esm/src/index.d.ts",
Expand Down Expand Up @@ -32,14 +32,16 @@
"jsdom-global": "^3.0.2",
"mocha": "^8.2.1",
"prettier": "^2.1.2",
"typescript": "^4.6.2"
"typescript": "^4.6.2",
"react": "^17.0.1"
},
"dependencies": {
"@ethersproject/contracts": "^5.6.0",
"@ethersproject/providers": "^5.6.2",
"@usedapp/core": "workspace:*",
"isomorphic-fetch": "^3.0.0",
"react": "^17.0.1"
"isomorphic-fetch": "^3.0.0"
},
"peerDependencies": {
"react": "*",
"ethers": "*"
},
"scripts": {
"build": "yarn run build:esm && yarn run build:cjs",
Expand Down
3 changes: 3 additions & 0 deletions packages/core/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
module.exports = {
extends: [`${__dirname}/../../.eslintrc.json`, 'plugin:react-hooks/recommended'],
env: {
es2020: true
}
}
2 changes: 1 addition & 1 deletion packages/core/.mocharc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"require": "@swc-node/register",
"watchExtensions": "ts",
"extension": "ts",
"timeout": 3000,
"timeout": 5000,
"file": "./src/testing/test-setup.ts",
"exit": true
}
Loading

0 comments on commit 08d8794

Please sign in to comment.