Skip to content

Commit be805fa

Browse files
chore: version packages (#184)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 72ac8be commit be805fa

File tree

8 files changed

+29
-39
lines changed

8 files changed

+29
-39
lines changed

.changeset/v2-keychain-auth.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

.changeset/v2-keychain-sig-type.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

src/CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
# ox
22

3+
## 0.14.0
4+
5+
### Minor Changes
6+
7+
- [#178](https://github.com/wevm/ox/pull/178) [`4a79ac5`](https://github.com/wevm/ox/commit/4a79ac540c05796ebc92a0d54ce0049a6ff5e195) Thanks [@jxom](https://github.com/jxom)! - **Breaking (`ox/tempo`):** `KeyAuthorization.chainId` is now required.
8+
9+
```diff
10+
const authorization = KeyAuthorization.from({
11+
address,
12+
+ chainId: 1n,
13+
expiry: 1234567890,
14+
type: 'secp256k1',
15+
})
16+
```
17+
18+
### Patch Changes
19+
20+
- [#178](https://github.com/wevm/ox/pull/178) [`4a79ac5`](https://github.com/wevm/ox/commit/4a79ac540c05796ebc92a0d54ce0049a6ff5e195) Thanks [@jxom](https://github.com/jxom)! - **`ox/tempo`:** Added support for V2 keychain signature type (`0x04`) which binds the inner signature to the user account via `keccak256(0x04 || sigHash || userAddress)`.
21+
322
## 0.13.2
423

524
### Patch Changes

src/core/Bech32m.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,7 @@ export declare namespace encode {
4848
limit?: number | undefined
4949
}
5050

51-
type ErrorType =
52-
| InvalidHrpError
53-
| ExceedsLengthError
54-
| Errors.GlobalErrorType
51+
type ErrorType = InvalidHrpError | ExceedsLengthError | Errors.GlobalErrorType
5552
}
5653

5754
/**

src/core/_test/Bech32m.test.ts

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ describe('encode', () => {
4848
})
4949

5050
test('error: exceeds length limit', () => {
51-
expect(() =>
52-
Bech32m.encode('test', new Uint8Array(100)),
53-
).toThrow(Bech32m.ExceedsLengthError)
51+
expect(() => Bech32m.encode('test', new Uint8Array(100))).toThrow(
52+
Bech32m.ExceedsLengthError,
53+
)
5454
})
5555

5656
test('custom limit', () => {
@@ -166,21 +166,15 @@ describe('BIP-350 valid bech32m vectors', () => {
166166

167167
describe('BIP-350 invalid bech32m vectors', () => {
168168
test('HRP character out of range (0x20 space)', () => {
169-
expect(() => Bech32m.decode('\x201xj0phk')).toThrow(
170-
Bech32m.InvalidHrpError,
171-
)
169+
expect(() => Bech32m.decode('\x201xj0phk')).toThrow(Bech32m.InvalidHrpError)
172170
})
173171

174172
test('HRP character out of range (0x7F DEL)', () => {
175-
expect(() => Bech32m.decode('\x7f1g6xzxy')).toThrow(
176-
Bech32m.InvalidHrpError,
177-
)
173+
expect(() => Bech32m.decode('\x7f1g6xzxy')).toThrow(Bech32m.InvalidHrpError)
178174
})
179175

180176
test('HRP character out of range (0x80)', () => {
181-
expect(() => Bech32m.decode('\x801vctc34')).toThrow(
182-
Bech32m.InvalidHrpError,
183-
)
177+
expect(() => Bech32m.decode('\x801vctc34')).toThrow(Bech32m.InvalidHrpError)
184178
})
185179

186180
test('overall max length exceeded', () => {

src/jsr.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wevm/ox",
3-
"version": "0.13.2",
3+
"version": "0.14.0",
44
"publish": {
55
"include": ["LICENSE", "README.md", "CHANGELOG.md", "**/*.ts"],
66
"exclude": [

src/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "ox",
33
"description": "Ethereum Standard Library",
4-
"version": "0.13.2",
4+
"version": "0.14.0",
55
"type": "module",
66
"main": "./_cjs/index.js",
77
"module": "./_esm/index.js",

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
/** @internal */
2-
export const version = '0.13.2'
2+
export const version = '0.14.0'

0 commit comments

Comments
 (0)