Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Documentation for BlobsServer import is incorrect #225

Open
Labels
type: bugcode to address defects in shipped code
@micmath

Description

Referring to: https://github.com/netlify/blobs?tab=readme-ov-file#server-api-reference

The documentation for BlobsServer shows this as the recommended way to import the BlobsServer API:

// tested and failed in v8.1.2
import { BlobsServer } from '@netlify/blobs'

In fact @netlify/blobs does not export BlobsServer so that cannot work.

The way to do this that works is:

// tested and working in v8.1.2
import { BlobsServer } from '@netlify/blobs/server'

This should either be fixed in the documentation or the exports should be fixed to match the documented API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugcode to address defects in shipped code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /