Skip to content

Fix invalid dependency x402-fetch@^latest in @bankr/sdk #21

Description

@ProtoJay4789

Bug

@bankr/sdk has an invalid dependency tag: x402-fetch@^latest

The ^ prefix requires a valid semver version, not a dist-tag. This causes npm install to fail:

npm error code EINVALIDTAGNAME
npm error Invalid tag name "^latest" of package "x402-fetch@^latest"

Fix

Change x402-fetch@^latest to x402-fetch@^1.2.0 in package.json

Current version of x402-fetch is 1.2.0, so ^1.2.0 will get all compatible updates.

Impact

This blocks all developers from installing the SDK via npm. We are trying to integrate Bankr x402 Cloud with our 13 live APIs and cannot proceed until this is fixed.

Environment

  • Node.js 20+
  • npm 10+
  • Platform: Linux (Ubuntu)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions