Changeset 3007435
- Timestamp:
- 12/08/2023 08:13:55 PM (2 years ago)
- Location:
- web3-access/trunk
- Files:
-
- 5 edited
-
js/products.js (modified) (2 diffs)
-
js/wallet.js (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
updates/automatic-updates.php (modified) (1 diff)
-
web3-access.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
web3-access/trunk/js/products.js
r2900896 r3007435 32 32 33 33 confirm_correct_network(token, chainid, network_name) { 34 if( chainid != web3_access_wallet_manager. provider.chainId ) {34 if( chainid != web3_access_wallet_manager.chainId ) { 35 35 var incorrect_network_message = '<p>Incorrect Network. Please change to the '+network_name+' network.'; 36 36 if( chainid == '0x89' || chainid == '0x13881' ) { … … 141 141 let token_amount_label = payment_button.find('.metapress-payment-button-amount'); 142 142 let network_chainid = payment_button.data('chainid'); 143 if( network_chainid == web3_access_wallet_manager. provider.chainId ) {143 if( network_chainid == web3_access_wallet_manager.chainId ) { 144 144 web3_access_wallet_manager.transaction_viewing_url = payment_button.data('explorer'); 145 145 } -
web3-access/trunk/js/wallet.js
r2947859 r3007435 7 7 constructor() { 8 8 this.provider = null; 9 this.chainId = null; 9 10 this.provider_slug = null; 10 11 this.connection = null; … … 39 40 40 41 this.web3 = new Web3(this.provider); 42 this.chainId = await this.provider.request({ method: 'eth_chainId' }); 41 43 } 42 44 -
web3-access/trunk/readme.txt
r3003914 r3007435 4 4 Tags: web3, web 3, cryptocurrency, NFT, restrict content, crypto, ERC-721, ERC-20, ERC-1155, metamask 5 5 Requires at least: 4.0 6 Tested up to: 6.4. 17 Stable Tag: 1. 5.96 Tested up to: 6.4.2 7 Stable Tag: 1.6.0 8 8 License: GPLv2 or later 9 9 … … 54 54 == Changelog == 55 55 56 = 1.6.0 = 57 58 <ul> 59 <li>Updated deprecated ethereum provider chainId to RPC method</li> 60 </ul> 61 56 62 = 1.5.7 = 57 63 -
web3-access/trunk/updates/automatic-updates.php
r3003914 r3007435 35 35 } 36 36 37 update_option('wp_metapress_plugin_version', '1. 5.9');37 update_option('wp_metapress_plugin_version', '1.6.0'); 38 38 } -
web3-access/trunk/web3-access.php
r3003914 r3007435 6 6 Author: Rogue Web Design 7 7 Author URI: https://www.roguewebdesign.ca 8 Version: 1. 5.98 Version: 1.6.0 9 9 License: GPL2 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 36 36 37 37 if( ! defined('INSTALLED_METAPRESS_PLUGIN_VERSION') ) { 38 define('INSTALLED_METAPRESS_PLUGIN_VERSION', '1. 5.9');38 define('INSTALLED_METAPRESS_PLUGIN_VERSION', '1.6.0'); 39 39 } 40 40
Note: See TracChangeset
for help on using the changeset viewer.