From 8118d551a8675c225041dc55ad0b7c768e8ed78b Mon Sep 17 00:00:00 2001 From: Davis Shaver Date: Tue, 4 Jun 2024 13:03:54 -0400 Subject: [PATCH] :bug: Update Viem to fix bug with subdomain SIWE --- package.json | 4 ++-- readme.txt | 5 ++++- wp-rainbow.php | 4 ++-- yarn.lock | 8 ++++---- 4 files changed, 12 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index 615ce00..3ea852a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wp-rainbow", - "version": "0.5.3", + "version": "0.5.4", "description": "RainbowKit Login (Web3 Integration for Sign-In With Ethereum)", "author": "Davis Shaver", "license": "GPL-2.0-or-later", @@ -33,7 +33,7 @@ "react-hook-form": "^7.51.5", "react-style-proptype": "^3.2.2", "util": "^0.12.5", - "viem": "^2.13.3", + "viem": "^2.13.6", "wagmi": "^2.9.8" }, "devDependencies": { diff --git a/readme.txt b/readme.txt index 2860a3b..fcd0162 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: WordPress, web3, SIWE, Ethereum, RainbowKit, Sign-In With Ethereum Tested up to: 6.5.3 Requires at least: 5.9 Requires PHP: 7.0 -Stable tag: 0.5.3 +Stable tag: 0.5.4 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -70,6 +70,9 @@ Find reference implementations of all filters in [example plugin here](https://g == Changelog == += 0.5.4 = +* Update Viem to fix SIWE bug + = 0.5.3 = * Update dependencies diff --git a/wp-rainbow.php b/wp-rainbow.php index 27f0151..1ef1474 100644 --- a/wp-rainbow.php +++ b/wp-rainbow.php @@ -10,7 +10,7 @@ * Plugin Name: RainbowKit Login (Web3 Integration for Sign-In With Ethereum) * Plugin URI: https://wp-rainbow.davisshaver.com/ * Description: RainbowKit Login allows WordPress users to log in with Ethereum using the Sign-In With Ethereum standard, powered by RainbowKit. - * Version: 0.5.3 + * Version: 0.5.4 * Author: Davis Shaver * Author URI: https://davisshaver.com/ * License: GPL v2 or later @@ -27,7 +27,7 @@ /** * WP Rainbow version number */ -define( 'WP_RAINBOW_ASSETS_VERSION', '0.5.3' ); +define( 'WP_RAINBOW_ASSETS_VERSION', '0.5.4' ); // Include the autoloader. add_action( diff --git a/yarn.lock b/yarn.lock index 70c5469..56f2a94 100644 --- a/yarn.lock +++ b/yarn.lock @@ -13267,10 +13267,10 @@ viem@^1.0.0, viem@^1.1.4: isows "1.0.3" ws "8.13.0" -viem@^2.13.3: - version "2.13.3" - resolved "https://registry.yarnpkg.com/viem/-/viem-2.13.3.tgz#950426e4cacf5e12fab2c202a339371901712481" - integrity sha512-3tlwDRKHSelupFjbFMdUxF41f79ktyH2F9PAQ9Dltbs1DpdDlR1x+Ksa0th6qkyjjAbpDZP3F5nMTJv/1GVPdQ== +viem@^2.13.6: + version "2.13.6" + resolved "https://registry.yarnpkg.com/viem/-/viem-2.13.6.tgz#32d1dc3215627044972bb905db4adfcf674655f1" + integrity sha512-BhvYhLrExC9P4AH9Gu/2A3VPUFkJT/ayH+A9anco2Ja/D0h3NStq+2uF4htcly1e68/U7IOrlCyX3Jz9zqeEJA== dependencies: "@adraffy/ens-normalize" "1.10.0" "@noble/curves" "1.2.0"