Skip to content

Commit

Permalink
chore: version packages (#199)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] committed Oct 11, 2023
1 parent 10e0658 commit b3f93d6
Show file tree
Hide file tree
Showing 8 changed files with 68 additions and 42 deletions.
35 changes: 0 additions & 35 deletions .changeset/angry-walls-sneeze.md

This file was deleted.

36 changes: 36 additions & 0 deletions packages/abitype/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,41 @@
# abitype

## 0.10.0

### Minor Changes

- [#198](https://github.com/wagmi-dev/abitype/pull/198) [`a12abfd`](https://github.com/wagmi-dev/abitype/commit/a12abfdc94db8836edf1333aa9d8dd1ab6e87b82) Thanks [@tmm](https://github.com/tmm)! - **Breaking**: Renamed `'abitype/test`' entrypoint to `'abitype/abis'`.

```diff
- import { erc20Abi } from 'abitype/test'
+ import { erc20Abi } from 'abitype/abis'
```

**Breaking**: Removed `zeroAddress` export from `'abitype/abis'`. You can copy it directly into your project if you still need to use it.

```diff
- import { zeroAddress } from 'abitype/abis'
+ export const zeroAddress = '0x0000000000000000000000000000000000000000' as const
```

**Breaking**: Renamed `Config`, `DefaultConfig`, and `ResolvedConfig` to `Register`, `DefaultRegister`, and `ResolvedRegister` respectively.

```diff
- import { Config, DefaultConfig, ResolvedConfig } from 'abitype'
+ import { Register, DefaultRegister, ResolvedRegister } from 'abitype'
```

To configure ABIType, target `Register` instead of `Config`:

```diff
declare module 'abitype' {
- export interface Config {
+ export interface Register {
BigIntType: bigint & { foo: 'bar' }
}
}
```

## 0.9.10

### Patch Changes
Expand Down
15 changes: 11 additions & 4 deletions packages/abitype/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "abitype",
"description": "Strict TypeScript types for Ethereum ABIs",
"version": "0.9.10",
"version": "0.10.0",
"license": "MIT",
"repository": "wagmi-dev/abitype",
"scripts": {
Expand Down Expand Up @@ -48,8 +48,12 @@
},
"typesVersions": {
"*": {
"abis": ["./dist/types/exports/abis.d.ts"],
"zod": ["./dist/types/exports/zod.d.ts"]
"abis": [
"./dist/types/exports/abis.d.ts"
],
"zod": [
"./dist/types/exports/zod.d.ts"
]
}
},
"peerDependencies": {
Expand All @@ -69,7 +73,10 @@
"ethers": "^6.5.1",
"zod": "^3.22.4"
},
"contributors": ["awkweb.eth <t@wagmi.sh>", "jxom.eth <j@wagmi.sh>"],
"contributors": [
"awkweb.eth <t@wagmi.sh>",
"jxom.eth <j@wagmi.sh>"
],
"funding": "https://github.com/sponsors/wagmi-dev",
"keywords": [
"abi",
Expand Down
2 changes: 1 addition & 1 deletion packages/abitype/src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = '0.9.10'
export const version = '0.10.0'
8 changes: 8 additions & 0 deletions packages/register-tests/default/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# default-register

## null

### Patch Changes

- Updated dependencies [[`a12abfd`](https://github.com/wagmi-dev/abitype/commit/a12abfdc94db8836edf1333aa9d8dd1ab6e87b82)]:
- abitype@0.10.0
3 changes: 2 additions & 1 deletion packages/register-tests/default/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
},
"dependencies": {
"abitype": "workspace:*"
}
},
"version": null
}
8 changes: 8 additions & 0 deletions playgrounds/functions/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# functions

## null

### Patch Changes

- Updated dependencies [[`a12abfd`](https://github.com/wagmi-dev/abitype/commit/a12abfdc94db8836edf1333aa9d8dd1ab6e87b82)]:
- abitype@0.10.0
3 changes: 2 additions & 1 deletion playgrounds/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
},
"dependencies": {
"abitype": "workspace:*"
}
},
"version": null
}

1 comment on commit b3f93d6

@vercel
Copy link

@vercel vercel bot commented on b3f93d6 Oct 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

abitype – ./

abitype-wagmi-dev.vercel.app
abitype.dev
abitype-git-main-wagmi-dev.vercel.app
abitype.vercel.app

Please sign in to comment.