Skip to content

Commit

Permalink
feat: implement sign mode direct for non-ledger users (#29)
Browse files Browse the repository at this point in the history
- Add timeout height params to Tx class
- Add sign mode direct for browser extensions
- Add sign mode direct for wallet connect
- Automatically use sign mode amino for ledger users
  • Loading branch information
AaronCQL authored Dec 12, 2023
1 parent 0ac7526 commit db84ce0
Show file tree
Hide file tree
Showing 28 changed files with 731 additions and 1,032 deletions.
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
# Changelog

## `v0.0.43`

### Improvements

- Added `timeout_height` parameter when simulating or broadcasting txs
- Use sign mode direct (instead of legacy amino) for non-ledger extension wallets and `MnemonicWallet`
- Added support for sign mode direct for `WalletConnectV2` (although no mobile wallets support it currently)
- Reduced bundle size by combining Keplr-like wallets into the same interface (`examples/solid-vite` reduced from 509kb to 487kb minified)

## `v0.0.42`

### Features

- Added support for Injective
- Added support for Injective chain (both mainnet and testnet)

## `v0.0.40`

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ A tree-shakeable, framework agnostic, [pure ESM](https://gist.github.com/sindres
- **Fully tree-shakeable**: import and bundle only the modules you need
- **Framework agnostic**: integrate with any web framework (React, Vue, Svelte, Solid, etc.)
- **Lightweight and minimal**: 145 KB gzipped to connect a React app to Keplr via browser extension or WalletConnect, 10x smaller than Cosmos Kit (see [benchmarks](#benchmarks))
- **Lightweight and minimal**: 146 KB gzipped to connect a React app to Keplr via browser extension or WalletConnect, 10x smaller than Cosmos Kit (see [benchmarks](#benchmarks))
- **Uses modern web APIs**: no dependencies on Node.js and minimal dependencies on third-party libraries where possible
- **Supports modern bundlers**: works with Vite, SWC, Rollup, etc.
- **Fully typed**: written in TypeScript and ships with type definitions
Expand Down Expand Up @@ -145,7 +145,7 @@ See the [`benchmarks`](./benchmarks) folder, where the JS bundle size of CosmES

| Package | Minified | Gzipped |
|---------------|----------|---------|
| CosmES | 536 KB | 145 KB |
| CosmES | 540 KB | 146 KB |
| Cosmos Kit v1 | 6004 KB | 1392 KB |
| Cosmos Kit v2 | 6273 KB | 1453 KB |

Expand Down
Loading

0 comments on commit db84ce0

Please sign in to comment.