forked from MystenLabs/sui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or [setup this action to publish automatically](https://github.com/changesets/action#with-publishing). If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @mysten/[email protected] ### Minor Changes - 598f106: ### Adds base58 encoding support to bcs - two functions added: `fromB58` and `toB58` similar to existing encodings - `Reader.toString` and `de/encodeStr` methods support new `base58` value - adds a 3 built-in types "hex-string", "base58-string" and "base64-string" - adds constants for the built-ins: `BCS.BASE64`, `BCS.BASE58` and `BCS.HEX` ```js bcs.registerStructType("TestStruct", { hex: BCS.HEX, base58: BCS.BASE58, base64: BCS.BASE64, }); ``` ### Adds type aliasing and inline definitions - adds new `registerAlias` function which allows type aliases and tracks basic recursion - adds support for inline definitions in the `.de()` and `.ser()` methods ### Examples ```js // inline definition example let struct = { name: "Alice", age: 25 }; let bytes = bcs.ser({ name: "string", age: "u8" }, struct).toBytes(); let restored = bcs.de({ name: "string", age: "u8" }, bytes); // `restored` deeply equals `struct` ``` ```js // aliases for types bcs.registerAlias("Name", "string"); bcs.ser("Name", "Palpatine"); ``` ## @mysten/[email protected] ### Minor Changes - a67cc04: Transaction signatures are now serialized into a single string, and all APIs that previously took the public key, signature, and scheme now just take the single serialized signature string. To help make parsing this easier, there are new `toSerializedSignature` and `fromSerializedSignature` methods exposed as well. - a67cc04: The RawSigner now provides a `signTransaction` function, which can be used to sign a transaction without submitting it to the network. - a67cc04: The RawSigner now provides a `signMessage` function that can be used to sign personal messages. The SDK also now exports a `verifyMessage` function that can be used to easily verify a message signed with `signMessage`. ### Patch Changes - 24bdb66: Include client type and version in RPC client request headers - Updated dependencies [598f106] - @mysten/[email protected] ## @mysten/[email protected] ### Patch Changes - @mysten/[email protected] - @mysten/[email protected] ## @mysten/[email protected] ### Patch Changes - Updated dependencies [a67cc04] - Updated dependencies [24bdb66] - Updated dependencies [a67cc04] - Updated dependencies [a67cc04] - @mysten/[email protected] ## @mysten/[email protected] ### Patch Changes - Updated dependencies [a67cc04] - Updated dependencies [24bdb66] - Updated dependencies [a67cc04] - Updated dependencies [a67cc04] - @mysten/[email protected] - @mysten/[email protected] ## @mysten/[email protected] ### Patch Changes - Updated dependencies [a67cc04] - Updated dependencies [24bdb66] - Updated dependencies [a67cc04] - Updated dependencies [a67cc04] - @mysten/[email protected] - @mysten/[email protected] - @mysten/[email protected] ## @mysten/[email protected] ### Patch Changes - Updated dependencies [a67cc04] - Updated dependencies [24bdb66] - Updated dependencies [a67cc04] - Updated dependencies [a67cc04] - @mysten/[email protected] - @mysten/[email protected] - @mysten/[email protected] - @mysten/[email protected] - @mysten/[email protected] - @mysten/[email protected] ## @mysten/[email protected] ### Patch Changes - Updated dependencies [a67cc04] - Updated dependencies [24bdb66] - Updated dependencies [a67cc04] - Updated dependencies [a67cc04] - @mysten/[email protected] - @mysten/[email protected] ## @mysten/[email protected] ### Patch Changes - Updated dependencies [a67cc04] - Updated dependencies [24bdb66] - Updated dependencies [a67cc04] - Updated dependencies [a67cc04] - @mysten/[email protected] Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
cb4db12
commit 61b5720
Showing
24 changed files
with
141 additions
and
70 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@mysten/bcs", | ||
"version": "0.5.0", | ||
"version": "0.6.0", | ||
"description": "BCS - Canonical Binary Serialization implementation for JavaScript", | ||
"license": "Apache-2.0", | ||
"author": "Mysten Labs <[email protected]>", | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
"name": "@mysten/sui.js", | ||
"author": "Mysten Labs <[email protected]>", | ||
"description": "Sui TypeScript API(Work in Progress)", | ||
"version": "0.27.0", | ||
"version": "0.28.0", | ||
"license": "Apache-2.0", | ||
"files": [ | ||
"dist", | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// Copyright (c) Mysten Labs, Inc. | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
export const pkgVersion = '0.27.0'; | ||
export const pkgVersion = '0.28.0'; |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@mysten/wallet-adapter-all-wallets", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "Module exporting all integrated wallets for Sui Wallet Adapter", | ||
"license": "Apache-2.0", | ||
"author": "Mysten Labs <[email protected]>", | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,15 @@ | ||
# @mysten/wallet-adapter-base | ||
|
||
## 0.6.1 | ||
|
||
### Patch Changes | ||
|
||
- Updated dependencies [a67cc044b] | ||
- Updated dependencies [24bdb66c6] | ||
- Updated dependencies [a67cc044b] | ||
- Updated dependencies [a67cc044b] | ||
- @mysten/sui[email protected] | ||
|
||
## 0.6.0 | ||
|
||
### Minor Changes | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@mysten/wallet-adapter-base", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"description": "Base wallet adapter for Sui", | ||
"license": "Apache-2.0", | ||
"author": "Mysten Labs <[email protected]>", | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,16 @@ | ||
# @mysten/wallet-adapter-unsafe-burner | ||
|
||
## 0.6.1 | ||
|
||
### Patch Changes | ||
|
||
- Updated dependencies [a67cc044b] | ||
- Updated dependencies [24bdb66c6] | ||
- Updated dependencies [a67cc044b] | ||
- Updated dependencies [a67cc044b] | ||
- @mysten/sui[email protected] | ||
- @mysten/wallet-adapter-base@0.6.1 | ||
|
||
## 0.6.0 | ||
|
||
### Minor Changes | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@mysten/wallet-adapter-unsafe-burner", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"description": "", | ||
"license": "Apache-2.0", | ||
"author": "Mysten Labs <[email protected]>", | ||
|
12 changes: 12 additions & 0 deletions
12
sdk/wallet-adapter/adapters/wallet-standard-adapter/CHANGELOG.md
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,17 @@ | ||
# @mysten/wallet-adapter-wallet-standard | ||
|
||
## 0.6.1 | ||
|
||
### Patch Changes | ||
|
||
- Updated dependencies [a67cc044b] | ||
- Updated dependencies [24bdb66c6] | ||
- Updated dependencies [a67cc044b] | ||
- Updated dependencies [a67cc044b] | ||
- @mysten/sui[email protected] | ||
- @mysten/wallet-adapter-base@0.6.1 | ||
- @mysten/wallet-standard@0.4.1 | ||
|
||
## 0.6.0 | ||
|
||
### Minor Changes | ||
|
2 changes: 1 addition & 1 deletion
2
sdk/wallet-adapter/adapters/wallet-standard-adapter/package.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@mysten/wallet-adapter-wallet-standard", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"description": "Integration of the Wallet Standard for the Sui Wallet Adapter", | ||
"license": "Apache-2.0", | ||
"author": "Mysten Labs <[email protected]>", | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,16 @@ | ||
# @mysten/wallet-kit-core | ||
|
||
## 0.3.1 | ||
|
||
### Patch Changes | ||
|
||
- Updated dependencies [a67cc044b] | ||
- Updated dependencies [24bdb66c6] | ||
- Updated dependencies [a67cc044b] | ||
- Updated dependencies [a67cc044b] | ||
- @mysten/sui[email protected] | ||
- @mysten/wallet-adapter-base@0.6.1 | ||
|
||
## 0.3.0 | ||
|
||
### Minor Changes | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@mysten/wallet-kit-core", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "TODO: Write description", | ||
"license": "Apache-2.0", | ||
"author": "Mysten Labs <[email protected]>", | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,20 @@ | ||
# @mysten/wallet-kit | ||
|
||
## 0.3.1 | ||
|
||
### Patch Changes | ||
|
||
- Updated dependencies [a67cc044b] | ||
- Updated dependencies [24bdb66c6] | ||
- Updated dependencies [a67cc044b] | ||
- Updated dependencies [a67cc044b] | ||
- @mysten/sui[email protected] | ||
- @mysten/wallet-adapter-base@0.6.1 | ||
- @mysten/wallet-adapter-unsafe-burner@0.6.1 | ||
- @mysten/wallet-adapter-wallet-standard@0.6.1 | ||
- @mysten/wallet-kit-core@0.3.1 | ||
- @mysten/wallet-standard@0.4.1 | ||
|
||
## 0.3.0 | ||
|
||
### Minor Changes | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@mysten/wallet-kit", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "TODO: Write description", | ||
"license": "Apache-2.0", | ||
"author": "Mysten Labs <[email protected]>", | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,15 @@ | ||
# @mysten/wallet-standard | ||
|
||
## 0.4.1 | ||
|
||
### Patch Changes | ||
|
||
- Updated dependencies [a67cc044b] | ||
- Updated dependencies [24bdb66c6] | ||
- Updated dependencies [a67cc044b] | ||
- Updated dependencies [a67cc044b] | ||
- @mysten/sui[email protected] | ||
|
||
## 0.4.0 | ||
|
||
### Minor Changes | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@mysten/wallet-standard", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "A suite of standard utilities for implementing wallets based on the Wallet Standard.", | ||
"license": "Apache-2.0", | ||
"author": "Mysten Labs <[email protected]>", | ||
|