Skip to content

GlobalRateLimit missing #141

@GustavoOS

Description

@GustavoOS

🔍 Describe the bug

When I try to use GlobalRateLimit in a ts project,

I have the following error Module '"@upstash/ratelimit"' has no exported member 'GlobalRatelimit'

🔄 Steps to reproduce

  1. In a TS project, use import { GlobalRatelimit } from "@upstash/ratelimit";
  2. Build app
    error TS2305: Module '"@upstash/ratelimit"' has no exported member 'GlobalRatelimit'.

✅ Expected behavior

GlobalRateLimit to be defined

💻 Operating System

macOS

📊 Node and package Version

bun 1.2.20 and "@upstash/ratelimit": "^2.0.6"

📷 Screenshots

No response

📝 Additional context

GlobalRateLimit is documented in Upstash blog https://upstash.com/blog/upstash-ratelimit

✨ Before submitting

  • 🔍 I've searched for existing issues and this hasn't been reported before
  • ℹ️ I've included all the information needed to reproduce the issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions