Closed irisdv closed 4 weeks ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
app-starknet-id | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Oct 7, 2024 0:49am |
sepolia-app-starknet-id | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Oct 7, 2024 0:49am |
The package.json
file for the starknet-id-app
project has been modified to update the versions of two dependencies. The version of @starknet-react/core
has been changed from ^3.0.0
to ^3.0.1
, and the version of starknetkit
has been updated from ^2.3.0
to ^2.3.2
. No other changes have been made to dependencies or scripts.
File | Change Summary |
---|---|
package.json | Updated @starknet-react/core from ^3.0.0 to ^3.0.1 and starknetkit from ^2.3.0 to ^2.3.2 . |
package.json (3)
`26-26`: **Ensure thorough testing of wallet connections** The updates to `@starknet-react/core` and `starknetkit` are likely aimed at fixing web wallet connection issues as mentioned in the PR title. Please ensure that comprehensive testing has been performed to verify that these updates resolve the intended issues and don't introduce any new problems. To assist with testing, consider running the following commands in your development environment: Also applies to: 50-50 --- `26-26`: **Verify the impact of @starknet-react/core update** The `@starknet-react/core` package has been updated from `^3.0.0` to `^3.0.1`. This minor version update likely includes bug fixes and improvements related to web wallet connections. Let's verify if this is the latest version and check for any breaking changes:✅ Verification successful
**@starknet-react/core is up-to-date and no issues found**--- `50-50`: **Verify the impact of starknetkit update** The `starknetkit` package has been updated from `^2.3.0` to `^2.3.2`. This patch version update likely includes bug fixes related to web wallet connections. Let's verify if this is the latest version and check for any breaking changes:🏁 Scripts executed
The following scripts were executed for the analysis: Script: ```shell #!/bin/bash # Check the latest version of @starknet-react/core npm view @starknet-react/core version # Check for any breaking changes or important notes in the changelog curl -s https://raw.githubusercontent.com/apibara/starknet-react/main/CHANGELOG.md | head -n 20 ``` Length of output: 304 --- Script: ```shell #!/bin/bash # Extract the current version of @starknet-react/core from package.json grep '"@starknet-react/core"' package.json | awk -F '"' '{print $4}' # Check the latest version available on npm registry without using npm curl -s https://registry.npmjs.org/@starknet-react/core | grep '"latest":' | awk -F '"' '{print $4}' # Fetch the changelog from the correct GitHub repository curl -s https://raw.githubusercontent.com/starknet-react/starknet-react/main/CHANGELOG.md | head -n 20 ``` Length of output: 321 --- Script: ```shell #!/bin/bash # Extract the current version of @starknet-react/core from package.json grep '"@starknet-react/core"' package.json | awk -F '"' '{print $4}' # Check the latest version available on npm registry without using npm curl -s https://registry.npmjs.org/@starknet-react/core | grep '"latest":' | sed -E 's/.*"latest": *"([^"]+)".*/\1/' # Attempt to locate the CHANGELOG.md in the correct GitHub repository # First, find the repository URL from package.json or npm registry curl -s https://registry.npmjs.org/@starknet-react/core | grep '"repository":' -A 2 | grep '"url":' | sed -E 's/.*"url": *"([^"]+)".*/\1/' | sed 's/^git+//;s/.git$//' > repo_url.txt # Read the repository URL REPO_URL=$(cat repo_url.txt) # Fetch the changelog from the detected repository if [ -n "$REPO_URL" ]; then curl -s "${REPO_URL}/blob/main/CHANGELOG.md" | head -n 20 else echo "Repository URL not found." fi ``` Length of output: 886 --- Script: ```shell #!/bin/bash # Search for CHANGELOG.md in the repository fd "CHANGELOG.md" > changelog_paths.txt # Check if any changelog files were found if [ -s changelog_paths.txt ]; then echo "Found the following CHANGELOG.md files:" cat changelog_paths.txt echo "" # Display the first 20 lines of each found changelog while read -r changelog; do echo "Contents of $changelog:" head -n 20 "$changelog" echo "" done < changelog_paths.txt else echo "No CHANGELOG.md file found in the repository." fi ``` Length of output: 151✅ Verification successful
**starknetkit update to v2.3.2 is appropriate and safe** The update of starknetkit from v2.3.0 to v2.3.2 is a minor patch that adds parameters to the connect method and updates the starknetkit modal to use silent mode. This change enhances functionality without introducing breaking changes. The current version specification in package.json (^2.3.2) is correct and allows for compatible updates within the 2.3.x range.🏁 Scripts executed
The following scripts were executed for the analysis: Script: ```shell #!/bin/bash # Check the latest version of starknetkit npm view starknetkit version # Check for any breaking changes or important notes in the changelog curl -s https://raw.githubusercontent.com/starknet-io/starknetkit/main/CHANGELOG.md | head -n 20 ``` Length of output: 304 --- Script: ```shell #!/bin/bash # Fetch the latest version of starknetkit from the npm registry curl -s https://registry.npmjs.org/starknetkit | jq -r '.["dist-tags"].latest' # Retrieve the latest 20 lines of the changelog from the correct repository # First, find the repository URL from package.json REPO_URL=$(grep -m 1 '"repository"' package.json | grep -o 'https://[^"]*') # Modify the URL to point to the CHANGELOG.md in the main branch CHANGELOG_URL="${REPO_URL%.git}/raw/main/CHANGELOG.md" # Fetch the first 20 lines of the changelog curl -s "$CHANGELOG_URL" | head -n 20 ``` Length of output: 251 --- Script: ```shell #!/bin/bash # Fetch the latest version of starknetkit from the npm registry LATEST_VERSION=$(curl -s https://registry.npmjs.org/starknetkit | jq -r '.["dist-tags"].latest') echo "Latest version of starknetkit: $LATEST_VERSION" # Fetch the repository URL from the npm registry REPO_URL=$(curl -s https://registry.npmjs.org/starknetkit | jq -r '.repository.url' | sed 's/^git+//;s/.git$//') echo "Repository URL: $REPO_URL" # Construct the CHANGELOG.md URL CHANGELOG_URL="${REPO_URL}/raw/main/CHANGELOG.md" # Attempt to fetch the first 20 lines of the changelog CHANGES=$(curl -s "$CHANGELOG_URL" | head -n 20) # Check if changelog was retrieved successfully if [[ -z "$CHANGES" ]]; then echo "Failed to retrieve CHANGELOG.md from $CHANGELOG_URL" else echo "$CHANGES" fi ``` Length of output: 1603 --- Script: ```shell #!/bin/bash # Fetch the latest releases of starknetkit from the GitHub API RELEASES=$(curl -s https://api.github.com/repos/argentlabs/starknetkit/releases) # Check if the releases were fetched successfully if [[ -z "$RELEASES" ]]; then echo "Failed to fetch releases from the GitHub API." exit 1 fi # Extract the latest release tag LATEST_RELEASE_TAG=$(echo "$RELEASES" | jq -r '.[0].tag_name') echo "Latest release tag: $LATEST_RELEASE_TAG" # Extract the release notes/body RELEASE_NOTES=$(echo "$RELEASES" | jq -r '.[0].body') if [[ -z "$RELEASE_NOTES" ]]; then echo "No release notes found for the latest release." else echo "Release notes for $LATEST_RELEASE_TAG:" echo "$RELEASE_NOTES" | head -n 20 fi ``` Length of output: 272524
Summary by CodeRabbit
@starknet-react/core
from^3.0.0
to^3.0.1
starknetkit
from^2.3.0
to^2.3.2