Skip to content

Commit

Permalink
Update ambire-login-sdk packet reference. Remove static files.
Browse files Browse the repository at this point in the history
  • Loading branch information
cmihaylov committed Feb 3, 2023
1 parent c0e8c04 commit 74fb7a3
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 217 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@
"workbox-precaching": "^6.1.0",
"workbox-routing": "^6.1.0",
"zustand": "^4.0.0-rc.1",
"ambire-wallet-connector": "AmbireTech/wallet-login-sdk#78d5b5ab44e2e7b5e849b1c8efefc88e75b857ec"
"ambire-login-sdk": "AmbireTech/wallet-login-sdk#23076e3d9d10e9f90d09f1d17de983a114451e02"
},
"engines": {
"npm": "please-use-yarn",
Expand Down
33 changes: 0 additions & 33 deletions public/ambire-sdk/ambire-sdk.css

This file was deleted.

176 changes: 0 additions & 176 deletions public/ambire-sdk/ambire-sdk.js

This file was deleted.

3 changes: 0 additions & 3 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
}
}
</style>
<link rel="stylesheet" href="%PUBLIC_URL%/ambire-sdk/ambire-sdk.css" />
</head>

<body>
Expand All @@ -98,7 +97,5 @@
<!-- Triggers the font to load immediately and then is replaced by the app -->
<div>&emsp;</div>
</div>
<div id="ambire-sdk-wrapper"></div>
<script type="text/javascript" src="%PUBLIC_URL%/ambire-sdk/ambire-sdk.js"></script>
</body>
</html>
3 changes: 1 addition & 2 deletions src/connection/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { MetaMask } from '@web3-react/metamask'
import { Network } from '@web3-react/network'
import { Connector } from '@web3-react/types'
import { WalletConnect } from '@web3-react/walletconnect'
import { AmbireWallet } from 'ambire-wallet-connector'
import { AmbireWallet } from 'ambire-login-sdk'
import { SupportedChainId } from 'constants/chains'

import UNISWAP_LOGO_URL from '../assets/svg/logo.svg'
Expand Down Expand Up @@ -84,7 +84,6 @@ const sdkOptions = {
dappName: 'Uniswap-Ambire-SDK-Demo',
dappIconPath: 'https://ambiretech.github.io/uniswap-ambire-sdk-demo/favicon.png',
chainID: 1,
wrapperElementId: 'ambire-sdk-wrapper',
}
const [ambireConnect, ambireConnectHooks] = initializeConnector<AmbireWallet>(
(actions) => new AmbireWallet(actions, sdkOptions, onError)
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5929,9 +5929,9 @@ alphanum-sort@^1.0.0:
resolved "https://registry.yarnpkg.com/alphanum-sort/-/alphanum-sort-1.0.2.tgz#97a1119649b211ad33691d9f9f486a8ec9fbe0a3"
integrity sha1-l6ERlkmyEa0zaR2fn0hqjsn74KM=

ambire-wallet-connector@AmbireTech/wallet-login-sdk#78d5b5ab44e2e7b5e849b1c8efefc88e75b857ec:
ambire-login-sdk@AmbireTech/wallet-login-sdk#23076e3d9d10e9f90d09f1d17de983a114451e02:
version "1.0.0"
resolved "https://codeload.github.com/AmbireTech/wallet-login-sdk/tar.gz/78d5b5ab44e2e7b5e849b1c8efefc88e75b857ec"
resolved "https://codeload.github.com/AmbireTech/wallet-login-sdk/tar.gz/23076e3d9d10e9f90d09f1d17de983a114451e02"
dependencies:
"@ethersproject/networks" "^5.7.1"
"@ethersproject/providers" "^5.7.2"
Expand Down

0 comments on commit 74fb7a3

Please sign in to comment.