Skip to content

Commit

Permalink
Merge pull request #10 from valorem-labs-inc/v0.0.5
Browse files Browse the repository at this point in the history
V0.0.5
  • Loading branch information
0xAlcibiades authored Dec 14, 2023
2 parents 569f241 + beac171 commit b0a795e
Show file tree
Hide file tree
Showing 10 changed files with 649 additions and 509 deletions.
5 changes: 0 additions & 5 deletions .changeset/stale-coats-retire.md

This file was deleted.

1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
- name: Install packages, build, lint, and test
run: |
pnpm i
pnpm audit
pnpm build
pnpm lint
pnpm test
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @valorem-labs-inc/react-hooks

## 0.0.5

### Patch Changes

- update hooks with clear foundry address
- 0771616: export soft quote
- add pnpm audit to workflow
- add parameter to configure GRPC endpoint
- 77a8c27: fix: SIWE provider sign out

## 0.0.4

### Patch Changes
Expand Down
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Valorem React Hooks

> This package provides React hooks for seamless integration with the Valorem
> This package provides React hooks for seamless integration with the Valorem
> DeFi protocol, enabling the creation of sophisticated financial applications.
> This API is not yet stable and subject to change
Expand All @@ -17,10 +17,10 @@

## Background

Valorem, a versatile DeFi protocol, supports physically and cash-settled
options trading, including American, European, and Exotic types. The React
Hooks package encapsulates interactions with Valorem's signature relay,
Seaport, and Clear contract interfaces, offering a set of hooks for
Valorem, a versatile DeFi protocol, supports physically and cash-settled
options trading, including American, European, and Exotic types. The React
Hooks package encapsulates interactions with Valorem's signature relay,
Seaport, and Clear contract interfaces, offering a set of hooks for
intuitive use within any React frontend.

## Installation
Expand Down Expand Up @@ -58,7 +58,7 @@ function App() {

## Usage

You can use the provided hooks in any component within your app. Here's an example of using
You can use the provided hooks in any component within your app. Here's an example of using
useRFQ and useSeaportFulfillOrder:

```tsx
Expand Down Expand Up @@ -124,7 +124,7 @@ The package offers several hooks for various aspects of options trading:

- useRFQ: Request for quote from market makers.
- useSeaportFulfillOrder: Fulfill an order via Seaport.
Each hook is designed to be intuitive and easy to integrate, abstracting away
Each hook is designed to be intuitive and easy to integrate, abstracting away
the complexities of the blockchain interactions.

## Development
Expand All @@ -146,5 +146,6 @@ Install dependencies with `pnpm i`, run tests with `pnpm test`, and build with `
Contributions are welcome.

## License

g
This project is licensed under MIT License. Full license text is available in the LICENSE file.
55 changes: 30 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@valorem-labs-inc/react-hooks",
"version": "0.0.4",
"version": "0.0.5",
"repository": {
"type": "git",
"url": "https://github.com/valorem-labs-inc/react-hooks.git"
Expand All @@ -27,52 +27,52 @@
},
"prettier": "@vercel/style-guide/prettier",
"devDependencies": {
"@bufbuild/protoc-gen-es": "^1.3.3",
"@changesets/cli": "^2.26.2",
"@bufbuild/protoc-gen-es": "^1.6.0",
"@changesets/cli": "^2.27.1",
"@connectrpc/protoc-gen-connect-query": "0.5.3",
"@parcel/packager-ts": "2.10.3",
"@parcel/transformer-typescript-types": "2.10.3",
"@parcel/packager-ts": "^2.10.3",
"@parcel/transformer-typescript-types": "^2.10.3",
"@tanstack/query-core": "^4.36.1",
"@testing-library/react": "^14.0.0",
"@testing-library/react": "^14.1.2",
"@testing-library/react-hooks": "^8.0.1",
"@types/node": "^20.8.7",
"@types/react": "^18.2.31",
"@types/react-dom": "^18.2.14",
"@vercel/style-guide": "^5.0.1",
"@types/node": "^20.10.4",
"@types/react": "^18.2.45",
"@types/react-dom": "^18.2.17",
"@vercel/style-guide": "^5.1.0",
"@vitest/coverage-v8": "^1.0.4",
"@wagmi/cli": "^1.5.2",
"@wagmi/core": "1.4.7",
"@wagmi/core": "^1.4.12",
"abitype": "0.8.7",
"connectkit": "^1.5.3",
"eslint": "^8.52.0",
"happy-dom": "^12.9.1",
"eslint": "^8.55.0",
"happy-dom": "^12.10.3",
"jest-environment-jsdom": "^29.7.0",
"jsdom": "^22.1.0",
"jsdom": "^23.0.1",
"parcel": "^2.10.3",
"prettier": "^3.0.3",
"prettier": "^3.1.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"siwe": "^2.1.4",
"typedoc": "^0.25.2",
"typedoc": "^0.25.4",
"typedoc-plugin-missing-exports": "^2.1.0",
"vitest": "^1.0.4"
},
"peerDependencies": {
"@bufbuild/buf": "^1.27.1",
"@bufbuild/protobuf": "^1.4.2",
"@connectrpc/connect": "^1.1.3",
"@bufbuild/buf": "^1.28.1",
"@bufbuild/protobuf": "^1.6.0",
"@connectrpc/connect": "^1.2.0",
"@connectrpc/connect-query": "0.5.3",
"@connectrpc/connect-web": "^1.1.2",
"@connectrpc/connect-web": "^1.2.0",
"@tanstack/react-query": "^4.36.1",
"@valorem-labs-inc/sdk": "^0.0.8",
"@wagmi/core": "1.4.7",
"@valorem-labs-inc/sdk": "^0.0.9",
"@wagmi/core": "^1.4.12",
"abitype": "0.8.7",
"connectkit": "^1.5.3",
"react": "17.x || 18.x",
"react-dom": "17.x || 18.x",
"siwe": "^2.1.4",
"typescript": "^5.2.0",
"viem": "^1.19.9",
"typescript": "^5.3.0",
"viem": "^1.19.15",
"wagmi": "^1.4.7",
"zod": "^3.22.4"
},
Expand All @@ -81,8 +81,13 @@
"optional": true
}
},
"packageManager": "pnpm@8.6.10",
"packageManager": "pnpm@8.12.1",
"engines": {
"node": ">=18"
},
"pnpm": {
"overrides": {
"@wagmi/core": "^1.4.12"
}
}
}
Loading

0 comments on commit b0a795e

Please sign in to comment.