-
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
* upgrade dependencies * build * update demo * wording * update demo * fix demo page * add worldcoin-precompiled to dev+demo page * update dependencies * update dep * fix import * update web3-payments * world app only demo * fix dependencies * update dependencies * upgrade web3-payments * upgrade dependencies * update dependencies * update dependencies * upgrade depdendencies * no approval required for World App * fix web3-payments conversion (uniswapv3 router2 pull instead of push) * fix links in worldapp * fix empty links * fix poweredBy rendering * approved to paying * update * remove console.log * fix tests
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,16 +16,17 @@ | |
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/react-dialog-stack@8"></script> | ||
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/react-shadow-dom@5"></script> | ||
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/js-verify-signature-web@3"></script> | ||
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/web3-blockchains@9.5.3"></script> | ||
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/web3-blockchains@9.6.7"></script> | ||
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/[email protected]"></script> | ||
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/[email protected]"></script> | ||
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/react-token-image@5.0.2"></script> | ||
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/react-token-image@5.1.0"></script> | ||
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/coinbase-wallet-sdk@3"></script> | ||
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/[email protected]"></script> | ||
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/[email protected]"></script> | ||
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/worldcoin-precompiled@0"></script> | ||
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/[email protected]"></script> | ||
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/web3-assets@7"></script> | ||
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/web3-exchanges@13.8.6"></script> | ||
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/web3-payments@13.10.0"></script> | ||
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/web3-exchanges@13.11.0"></script> | ||
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/web3-payments@13.12.5"></script> | ||
<script crossorigin src="https://cdn.jsdelivr.net/npm/qr-code-styling@1"></script> | ||
<script crossorigin src="https://cdn.jsdelivr.net/npm/fuse.js@6"></script> | ||
<script crossorigin src="https://cdn.jsdelivr.net/npm/react-rangeslider@2/umd/rangeslider.js"></script> | ||
|
@@ -77,6 +78,7 @@ <h5 class="px-4">Payment</h5> | |
<option value='fantom'>Fantom</option> | ||
<option value='avalanche'>Avalanche</option> | ||
<option value='gnosis'>Gnosis</option> | ||
<option value='worldchain'>Worldchain</option> | ||
</select> | ||
</div> | ||
<div class="col col-4"> | ||
|
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,14 @@ | ||
import React from 'react' | ||
import link from '../helpers/link' | ||
import React, { useContext, useEffect } from 'react' | ||
import WalletContext from '../contexts/WalletContext' | ||
|
||
export default ()=>{ | ||
const walletContext = useContext(WalletContext) | ||
const wallet = walletContext ? walletContext.wallet : undefined | ||
|
||
return( | ||
<div className="PoweredByWrapper"> | ||
<a href={'https://depay.com'} rel="noopener noreferrer" target="_blank" className="PoweredByLink">by DePay</a> | ||
<a href={ link({ url: 'https://depay.com', target: '_blank', wallet }) } rel="noopener noreferrer" target="_blank" className="PoweredByLink">by DePay</a> | ||
</div> | ||
) | ||
} |