Add API rate limit (#23)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "unsend",
|
||||
"version": "0.0.5",
|
||||
"version": "0.0.6",
|
||||
"description": "",
|
||||
"main": "./dist/index.js",
|
||||
"module": "./dist/index.mjs",
|
||||
@@ -8,7 +8,8 @@
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"lint": "eslint . --max-warnings 0",
|
||||
"build": "rm -rf dist && tsup index.ts --format esm,cjs --dts"
|
||||
"build": "rm -rf dist && tsup index.ts --format esm,cjs --dts",
|
||||
"publish-sdk": "pnpm run build && pnpm publish"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
|
@@ -3,7 +3,7 @@ import { cn } from "..";
|
||||
|
||||
export const Spinner: React.FC<
|
||||
React.SVGProps<SVGSVGElement> & { innerSvgClass?: string }
|
||||
> = (props) => {
|
||||
> = ({ innerSvgClass, ...props }) => {
|
||||
return (
|
||||
<svg
|
||||
version="1.1"
|
||||
@@ -18,7 +18,7 @@ export const Spinner: React.FC<
|
||||
<g
|
||||
strokeWidth="200"
|
||||
strokeLinecap="round"
|
||||
className={cn("stroke-primary-foreground", props.innerSvgClass)}
|
||||
className={cn("stroke-primary-foreground", innerSvgClass)}
|
||||
fill="none"
|
||||
id="spinner"
|
||||
>
|
||||
|
Reference in New Issue
Block a user