Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Safe Apps Provider: Add xdai chain network id #129

Merged
merged 1 commit into from
Apr 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/safe-apps-onboard/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gnosis.pm/safe-apps-onboard",
"version": "0.2.1",
"version": "0.2.2",
"description": "An Onboard.js wrapper for Safe App support",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand Down Expand Up @@ -33,6 +33,6 @@
"bnc-onboard": "^1.20.0"
},
"dependencies": {
"@gnosis.pm/safe-apps-provider": "^0.2.0"
"@gnosis.pm/safe-apps-provider": "0.2.4"
}
}
2 changes: 1 addition & 1 deletion packages/safe-apps-provider/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gnosis.pm/safe-apps-provider",
"version": "0.2.3",
"version": "0.2.4",
"description": "A provider wrapper of Safe Apps SDK",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand Down
1 change: 1 addition & 0 deletions packages/safe-apps-provider/src/provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { getLowerCase } from './utils';
const NETWORK_CHAIN_ID: Record<string, number> = {
MAINNET: 1,
RINKEBY: 4,
XDAI: 100,
};

// taken from ethers.js, compatible interface with web3 provider
Expand Down
4 changes: 2 additions & 2 deletions packages/safe-apps-web3-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gnosis.pm/safe-apps-web3-react",
"version": "0.1.1",
"version": "0.1.2",
"description": "Web3-react connector for Safe Apps",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand All @@ -24,7 +24,7 @@
"license": "MIT",
"dependencies": {
"@web3-react/abstract-connector": "6.0.7",
"@gnosis.pm/safe-apps-provider": "0.2.2",
"@gnosis.pm/safe-apps-provider": "0.2.4",
"@gnosis.pm/safe-apps-sdk": "2.2.0"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/safe-apps-web3modal/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gnosis.pm/safe-apps-web3modal",
"version": "0.2.1",
"version": "0.2.2",
"description": "A web3modal wrapper for Safe App support",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand Down Expand Up @@ -33,6 +33,6 @@
"web3modal": "^1.9.3"
},
"dependencies": {
"@gnosis.pm/safe-apps-provider": "^0.2.0"
"@gnosis.pm/safe-apps-provider": "0.2.4"
}
}
7 changes: 0 additions & 7 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -677,13 +677,6 @@
unique-filename "^1.1.1"
which "^1.3.1"

"@gnosis.pm/[email protected]":
version "0.2.2"
resolved "https://registry.yarnpkg.com/@gnosis.pm/safe-apps-provider/-/safe-apps-provider-0.2.2.tgz#ffc4e4205eb77a9dec05d32617e9eda74606fa6f"
integrity sha512-rg2sv4Qg4CgtmqDxWHhlmUGkjAMeH/WdFnXH4oFGV41F7cPIWu1sYVcqRVaP4NgObr1WPGP6rWdaCqZBHy0jWA==
dependencies:
"@gnosis.pm/safe-apps-sdk" "2.2.0"

"@istanbuljs/load-nyc-config@^1.0.0":
version "1.1.0"
resolved "https://registry.yarnpkg.com/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz#fd3db1d59ecf7cf121e80650bb86712f9b55eced"
Expand Down