Skip to content

Commit

Permalink
Version Packages (MystenLabs#8328)
Browse files Browse the repository at this point in the history
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
sui-merge-bot[bot] and github-actions[bot] authored Feb 20, 2023
1 parent cb4db12 commit 61b5720
Show file tree
Hide file tree
Showing 24 changed files with 141 additions and 70 deletions.
5 changes: 0 additions & 5 deletions .changeset/afraid-mails-shake.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/blue-moles-carry.md

This file was deleted.

40 changes: 0 additions & 40 deletions .changeset/nasty-snakes-carry.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/small-worms-own.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/wicked-brooms-obey.md

This file was deleted.

41 changes: 41 additions & 0 deletions sdk/bcs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,46 @@
# Change Log

## 0.6.0

### Minor Changes

- 598f106ef: ### 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");
```

## 0.5.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion sdk/bcs/package.json
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]>",
Expand Down
14 changes: 14 additions & 0 deletions sdk/typescript/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# @mysten/sui.js

## 0.28.0

### Minor Changes

- a67cc044b: 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.
- a67cc044b: The RawSigner now provides a `signTransaction` function, which can be used to sign a transaction without submitting it to the network.
- a67cc044b: 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

- 24bdb66c6: Include client type and version in RPC client request headers
- Updated dependencies [598f106ef]
- @mysten/bcs@0.6.0

## 0.27.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion sdk/typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion sdk/typescript/src/pkg-version.ts
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';
7 changes: 7 additions & 0 deletions sdk/wallet-adapter/adapters/all-wallets/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @mysten/wallet-adapter-all-wallets

## 0.4.1

### Patch Changes

- @mysten/wallet-adapter-unsafe-burner@0.6.1
- @mysten/wallet-adapter-wallet-standard@0.6.1

## 0.4.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion sdk/wallet-adapter/adapters/all-wallets/package.json
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]>",
Expand Down
10 changes: 10 additions & 0 deletions sdk/wallet-adapter/adapters/base-adapter/CHANGELOG.md
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
Expand Down
2 changes: 1 addition & 1 deletion sdk/wallet-adapter/adapters/base-adapter/package.json
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]>",
Expand Down
11 changes: 11 additions & 0 deletions sdk/wallet-adapter/adapters/unsafe-burner/CHANGELOG.md
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
Expand Down
2 changes: 1 addition & 1 deletion sdk/wallet-adapter/adapters/unsafe-burner/package.json
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]>",
Expand Down
12 changes: 12 additions & 0 deletions sdk/wallet-adapter/adapters/wallet-standard-adapter/CHANGELOG.md
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
Expand Down
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]>",
Expand Down
11 changes: 11 additions & 0 deletions sdk/wallet-adapter/wallet-kit-core/CHANGELOG.md
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
Expand Down
2 changes: 1 addition & 1 deletion sdk/wallet-adapter/wallet-kit-core/package.json
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]>",
Expand Down
15 changes: 15 additions & 0 deletions sdk/wallet-adapter/wallet-kit/CHANGELOG.md
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
Expand Down
2 changes: 1 addition & 1 deletion sdk/wallet-adapter/wallet-kit/package.json
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]>",
Expand Down
10 changes: 10 additions & 0 deletions sdk/wallet-adapter/wallet-standard/CHANGELOG.md
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
Expand Down
2 changes: 1 addition & 1 deletion sdk/wallet-adapter/wallet-standard/package.json
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]>",
Expand Down

0 comments on commit 61b5720

Please sign in to comment.