Comparing version 0.1.3 to 0.1.5
@@ -9,3 +9,3 @@ import React from 'react'; | ||
}; | ||
type PromiseT = () => Promise<any>; | ||
type PromiseT = Promise<any> | (() => Promise<any>); | ||
interface ToastT { | ||
@@ -12,0 +12,0 @@ id: number; |
{ | ||
"name": "sonner", | ||
"version": "0.1.3", | ||
"version": "0.1.5", | ||
"description": "An opinionated toast component for React.", | ||
@@ -14,3 +14,4 @@ "main": "dist/index.js", | ||
"dev": "tsup src/index.tsx --watch", | ||
"dev:website": "turbo run dev --filter=website..." | ||
"dev:website": "turbo run dev --filter=website...", | ||
"format": "prettier --write ." | ||
}, | ||
@@ -30,2 +31,3 @@ "keywords": [ | ||
"@types/react": "^18.0.26", | ||
"prettier": "^2.8.4", | ||
"react": "^18.2.0", | ||
@@ -32,0 +34,0 @@ "tsup": "^6.4.0", |
@@ -1,7 +0,3 @@ | ||
https://user-images.githubusercontent.com/36730035/220868994-f0c92862-7e7d-487c-ab3a-540e7b48ab4a.mp4 | ||
# Introduction | ||
@@ -8,0 +4,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
127122
8
206
8
3
180