-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dev upgrade package #2622
Merged
Merged
dev upgrade package #2622
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
wow-sven
approved these changes
Sep 18, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Package and Code Updates
This commit includes updates to package dependencies and several code modifications across the Rooch SDK ecosystem.
Package Updates
@roochnetwork/rooch-sdk
Dependencies Updates:
@mysten/bcs
from1.0.2
to1.0.4
@noble/curves
from~1.4.0
to~1.6.0
@noble/hashes
from~1.4.0
to~1.5.0
@scure/bip32
from^1.3.1
to^1.5.0
@scure/bip39
from^1.2.1
to^1.4.0
bs58check
from2.1.2
to4.0.0
valibot
from^0.25.0
to^0.41.0
DevDependencies Updates:
@types/tmp
from^0.2.1
to^0.2.6
testcontainers
from10.11.0
to10.13.1
tmp
from^0.2.1
to^0.2.3
ts-retry-promise
from^0.7.0
to^0.8.1
typescript
from^5.3.3
to^5.4.4
vite
from^4.4.4
to^5.4.4
vitest
from^1.6.0
to^2.0.5
wait-on
from^7.0.1
to^8.0.1
@roochnetwork/bitseed-sdk
Dependencies Updates:
@radix-ui/themes
from^2.0.0
to^3.1.3
@tanstack/react-query
from^5.0.0
to^5.56.2
@types/randomstring
from^1.1.11
to^1.3.0
bitcoinjs-lib
from^6.1.5
to^6.1.6
buffer
from5.7.1
to6.0.3
commander
from^10.0.0
to^12.1.0
debug
from^4.3.6
to^4.3.7
randomstring
from^1.2.3
to^1.3.0
react
from^18.2.0
to^18.3.1
react-dom
from^18.2.0
to^18.3.1
DevDependencies Updates:
@babel/core
from^7.23.9
to^7.25.2
@babel/preset-env
from^7.23.9
to^7.25.4
@playwright/experimental-ct-react
from^1.41.2
to^1.47.0
@playwright/test
from^1.41.2
to^1.47.0
@types/jest
from^29.5.12
to^29.5.13
@types/node
from^20.11.19
to^22.5.4
@types/react
from^18.2.15
to^18.3.5
@types/react-dom
from^18.2.7
to^18.3.0
@typescript-eslint/eslint-plugin
from^6.1.0
to^8.5.0
@typescript-eslint/parser
from^6.1.0
to^8.5.0
@vitejs/plugin-react-swc
from^3.3.2
to^3.7.0
testcontainers
from^10.11.0
to^10.13.1
ts-jest
from^29.1.2
to^29.2.5
typescript
from5.1.6
to5.6.2
vite
from5.0.2
to5.4.4
vitest
from^1.6.0
to^2.1.0
@roochnetwork/rooch-sdk-kit
Dependencies Updates:
@vanilla-extract/css
from^1.13.0
to^1.15.5
@vanilla-extract/dynamic
from^2.0.3
to^2.1.2
@vanilla-extract/recipes
from^0.5.0
to^0.5.5
clsx
from^2.0.0
to^2.1.1
zustand
from^4.4.1
to^4.5.5
DevDependencies Updates:
@size-limit/preset-small-lib
from^8.2.6
to^11.1.5
@tanstack/react-query
from^5.0.0
to^5.56.2
@testing-library/dom
from^9.3.1
to^10.4.0
@testing-library/jest-dom
from^5.17.0
to^6.5.0
@testing-library/react
from^14.0.0
to^16.0.1
@testing-library/user-event
from^14.4.3
to^14.5.2
@types/react
from^18.2.15
to^18.3.5
@vanilla-extract/esbuild-plugin
from^2.3.0
to^2.3.10
@vanilla-extract/vite-plugin
from^3.9.0
to^4.0.15
happy-dom
from^14.12.0
to^15.7.4
jsdom
from^23.0.0
to^25.0.0
react
from^18.2.0
to^18.3.1
react-dom
from^18.2.0
to^18.3.1
size-limit
from^8.2.6
to^11.1.5
typescript
from^5.3.3
to^5.6.2
vite
from^4.4.4
to^5.4.4
vitest
from^1.6.0
to^2.1.0
Removed:
@types/testing-library__jest-dom
sats-connect
Code Modifications
sdk/typescript/rooch-sdk/src/keypairs/secp256k1/publickey.ts
buildAddress
method, thebech32m.encode
function call adds a third parameter,false
.sdk/typescript/rooch-sdk/src/address/bitcoin.ts
The switch statement in the
fromBech32Prefix
method is simplified:bech32 encoding calls updated:
false
argument tobech32.encode
andbech32m.encode
calls.type assertion added:
this.rawAddress
now use the type assertionas \
${string}1${string}``.sdk/typescript/rooch-sdk/src/address/rooch.ts
type assertion in the constructor:
address
parameter is asserted to be of type${string}1${string}
in thebech32m.decode()
call.toBech32Address()
method update:false
tobech32m.encode()
call.sdk/typescript/rooch-sdk/src/address/util.ts
The main changes include:
in the
convertToRoochAddressBytes
function:as
${string}1${string}to
bech32m.decode(input)`` call.in the
isValidRoochAddress
function:as \
${string}1${string}`` to thebech32m.decode(input)
call.General
packageManager
from[email protected]
to[email protected]