Skip to content

Commit

Permalink
Release 2.8.6 (#90)
Browse files Browse the repository at this point in the history
* add disabled field to useWhitelistCheckout

* version bump
  • Loading branch information
SamueleA authored Jun 13, 2024
1 parent 13e90f1 commit 00f721c
Show file tree
Hide file tree
Showing 13 changed files with 61 additions and 7 deletions.
10 changes: 10 additions & 0 deletions examples/next/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @0xsequence/kit-example-next

## 0.6.6

### Patch Changes

- Updated dependencies []:
- @0xsequence/kit-checkout@2.8.6
- @0xsequence/kit-connectors@2.8.6
- @0xsequence/kit@2.8.6
- @0xsequence/kit-wallet@2.8.6

## 0.6.5

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/next/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@0xsequence/kit-example-next",
"version": "0.6.5",
"version": "0.6.6",
"private": true,
"scripts": {
"dev": "next dev -p 4444",
Expand Down
10 changes: 10 additions & 0 deletions examples/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @0xsequence/kit-example-react

## 0.7.6

### Patch Changes

- Updated dependencies []:
- @0xsequence/kit-checkout@2.8.6
- @0xsequence/kit-connectors@2.8.6
- @0xsequence/kit@2.8.6
- @0xsequence/kit-wallet@2.8.6

## 0.7.5

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@0xsequence/kit-example-react",
"version": "0.7.5",
"version": "0.7.6",
"private": true,
"homepage": "kit",
"type": "module",
Expand Down
9 changes: 9 additions & 0 deletions packages/checkout/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @0xsequence/kit-connectors

## 2.8.6

### Patch Changes

- Added a way to disable to the useCheckoutWhitelistStatus hook

- Updated dependencies []:
- @0xsequence/kit@2.8.6

## 2.8.5

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/checkout/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@0xsequence/kit-checkout",
"version": "2.8.5",
"version": "2.8.6",
"description": "Checkout UI for Sequence Kit",
"repository": "https://github.com/0xsequence/kit/tree/master/packages/checkout",
"author": "Horizon Blockchain Games",
Expand Down
3 changes: 2 additions & 1 deletion packages/checkout/src/hooks/useCheckoutWhitelistStatus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { useQuery } from '@tanstack/react-query'
import { checkSardineWhitelistStatus, CheckSardineWhitelistStatusArgs } from '../utils'


export const useCheckoutWhitelistStatus = (args: CheckSardineWhitelistStatusArgs) => {
export const useCheckoutWhitelistStatus = (args: CheckSardineWhitelistStatusArgs, disabled?: boolean) => {
const projectAccessKey = useProjectAccessKey()

return useQuery({
Expand All @@ -16,5 +16,6 @@ export const useCheckoutWhitelistStatus = (args: CheckSardineWhitelistStatusArgs
},
retry: false,
staleTime: 1800 * 1000,
enabled: !disabled
})
}
9 changes: 9 additions & 0 deletions packages/connectors/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @0xsequence/kit-connectors

## 2.8.6

### Patch Changes

- Added a way to disable to the useCheckoutWhitelistStatus hook

- Updated dependencies []:
- @0xsequence/kit@2.8.6

## 2.8.5

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/connectors/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@0xsequence/kit-connectors",
"version": "2.8.5",
"version": "2.8.6",
"description": "Wallets for Sequence Kit",
"repository": "https://github.com/0xsequence/kit/tree/master/packages/connectors",
"author": "Horizon Blockchain Games",
Expand Down
6 changes: 6 additions & 0 deletions packages/kit/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @0xsequence/kit

## 2.8.6

### Patch Changes

- Added a way to disable to the useCheckoutWhitelistStatus hook

## 2.8.5

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/kit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@0xsequence/kit",
"version": "2.8.5",
"version": "2.8.6",
"description": "Core package for Sequence Kit",
"keywords": [
"sequence",
Expand Down
9 changes: 9 additions & 0 deletions packages/wallet/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @0xsequence/kit-wallet

## 2.8.6

### Patch Changes

- Added a way to disable to the useCheckoutWhitelistStatus hook

- Updated dependencies []:
- @0xsequence/kit@2.8.6

## 2.8.5

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/wallet/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@0xsequence/kit-wallet",
"version": "2.8.5",
"version": "2.8.6",
"description": "Wallet UI for Sequence Kit",
"repository": "https://github.com/0xsequence/kit/tree/master/packages/wallet",
"author": "Horizon Blockchain Games",
Expand Down

0 comments on commit 00f721c

Please sign in to comment.