Skip to content

Commit

Permalink
Merge pull request #10 from BlossomLabs/changeset-release/main
Browse files Browse the repository at this point in the history
Version Packages
  • Loading branch information
PJColombo committed May 24, 2022
2 parents bb80687 + 508d688 commit 54bc747
Show file tree
Hide file tree
Showing 14 changed files with 4,853 additions and 1,809 deletions.
4 changes: 2 additions & 2 deletions .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"commit": false,
"fixed": [],
"linked": [],
"access": "restricted",
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
}
13 changes: 0 additions & 13 deletions .changeset/great-poets-protect.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/loud-pumpkins-shave.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/short-peaches-double.md

This file was deleted.

10 changes: 0 additions & 10 deletions .changeset/tasty-steaks-lie.md

This file was deleted.

15 changes: 15 additions & 0 deletions packages/rosette-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# @blossom-labs/rosette-core

## 0.1.0

### Minor Changes

- e62e0ad: Library initial implementation

Implement communication functionality to interact with the Rosette protocol via a `Fetcher` component that retrieves contract functions' descriptions

The `Fetcher` component expose the following methods:

- `entry(contractAddress, sigHash, provider)`: it returns the function description entry of the specified signature hash and contract address.
- `entries(contractsToSigHashes, provider, options)`: it returns a set of function description entries given a specified set of contract addresses and signature hashes.
- `contractEntries(contractAddress, provider)`: it returns all the existing function description entries of a specified contract.
2 changes: 1 addition & 1 deletion packages/rosette-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@blossom-labs/rosette-core",
"version": "0.0.1",
"version": "0.1.0",
"description": "Core functionalities that enable to connect with the Rosette protocol",
"main": "dist/blossom-labs-rosette-core.cjs.js",
"module": "dist/blossom-labs-rosette-core.esm.js",
Expand Down
15 changes: 15 additions & 0 deletions packages/rosette-radspec/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# @blossom-labs/rosette-radspec

## 1.0.0

### Minor Changes

- bb80687: - Migrate library to TS.
- Integrate core's `Fetcher` component to communicate with the Rosette protocol for fetching descriptions instead.
- Major radspec helper functions restructure.
- Integrate Jest testing framework and refactor unit tests.

### Patch Changes

- Updated dependencies [e62e0ad]
- @blossom-labs/rosette-core@0.1.0
6 changes: 3 additions & 3 deletions packages/rosette-radspec/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@blossom-labs/rosette-radspec",
"version": "0.0.1",
"version": "0.1.0",
"description": "Radspec is a safe alternative to Ethereum's natspec",
"main": "dist/blossom-labs-rosette-radspec.cjs.js",
"module": "dist/blossom-labs-rosette-radspec.esm.js",
Expand All @@ -26,14 +26,14 @@
},
"homepage": "https://github.com/BlossomLabs/rosette.ts#readme",
"devDependencies": {
"@blossom-labs/rosette-core": "workspace:^0.0.1",
"@blossom-labs/rosette-core": "workspace:^0.1.0",
"@blossom-labs/rosette-test": "workspace:^0.0.1"
},
"dependencies": {
"date-fns": "^2.26.0"
},
"peerDependencies": {
"@blossom-labs/rosette-core": "workspace:^0.0.1",
"@blossom-labs/rosette-core": "workspace:^0.1.0",
"ethers": "^5.6.4"
}
}
17 changes: 17 additions & 0 deletions packages/rosette-react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# @blossom-labs/rosette-react

## 0.1.0

### Minor Changes

- bb80687: Library initial implementation

It expose the following components:

- `<Rosette options={<client-options>} provider={<provider>} />` provider: Provider that sets up the Rosette client.
- `useDescription(transaction)`: A hook that receives a transaction object and returns its corresponding description.

### Patch Changes

- Updated dependencies [bb80687]
- @blossom-labs/rosette@0.1.0
4 changes: 2 additions & 2 deletions packages/rosette-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@blossom-labs/rosette-react",
"version": "0.0.1",
"version": "0.1.0",
"description": "A React library for interacting with the Rosette protocol",
"main": "dist/blossom-labs-rosette-react.cjs.js",
"module": "dist/blossom-labs-rosette-react.esm.js",
Expand Down Expand Up @@ -32,6 +32,6 @@
"react": ">=17.0.0"
},
"dependencies": {
"@blossom-labs/rosette": "workspace:^0.0.1"
"@blossom-labs/rosette": "workspace:^0.1.0"
}
}
20 changes: 20 additions & 0 deletions packages/rosette/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# @blossom-labs/rosette

## 0.1.0

### Minor Changes

- bb80687: Library initial implementation

Implement `Client` component that leverages both `Fetcher` and `radspec` interpreter in order to expose a simplify way to retrieve function descriptions from the Rosette protocol.

The `Client` expose the following main method:

- describe(transaction, provider): it returns a function description given a specified transaction object.

### Patch Changes

- Updated dependencies [e62e0ad]
- Updated dependencies [bb80687]
- @blossom-labs/rosette-core@0.1.0
- @blossom-labs/rosette-radspec@0.1.0
6 changes: 3 additions & 3 deletions packages/rosette/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@blossom-labs/rosette",
"version": "0.0.1",
"version": "0.1.0",
"description": "Main library for interacting with the Rosette protocol",
"main": "dist/blossom-labs-rosette.cjs.js",
"module": "dist/blossom-labs-rosette.esm.js",
Expand All @@ -26,7 +26,7 @@
"ethers": "^5.6.4"
},
"dependencies": {
"@blossom-labs/rosette-core": "workspace:^0.0.1",
"@blossom-labs/rosette-radspec": "workspace:^0.0.1"
"@blossom-labs/rosette-core": "workspace:^0.1.0",
"@blossom-labs/rosette-radspec": "workspace:^0.1.0"
}
}
Loading

0 comments on commit 54bc747

Please sign in to comment.