Skip to content

Commit

Permalink
chore: version packages
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Mar 13, 2024
1 parent 02fd810 commit d73116b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 13 deletions.
12 changes: 0 additions & 12 deletions .changeset/short-moles-taste.md

This file was deleted.

14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# spin-delay

## 2.0.0

### Major Changes

- [#6](https://github.com/smeijer/spin-delay/pull/6) [`3d4f4d5`](https://github.com/smeijer/spin-delay/commit/3d4f4d51db5c3e0b9a301ff5ada5e9efbe5fd35a) Thanks [@smeijer](https://github.com/smeijer)! - We've to removed the default export. Please update your code to use the named
export instead. This is a breaking change, but it's a minor one. Chances are
that you're already using the named export, and you don't have to do anything.

```diff
- import useSpinDelay from 'spin-delay';
+ import { useSpinDelay } from 'spin-delay';
```
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "spin-delay",
"version": "1.2.0",
"version": "2.0.0",
"description": "Smart spinner helper for React, to manage the duration of loading states.",
"source": "src/index.ts",
"main": "dist/index.js",
Expand Down

0 comments on commit d73116b

Please sign in to comment.