Git Product home page Git Product logo

hypixel.ts's People

Contributors

allcontributors[bot] avatar fc5570 avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

comic-dev

hypixel.ts's Issues

Method to get player's name from UUID

Feature

When writing user facing applications it is annoying to have to externally fetch the user's name from an external source.

Ideal solution or implementation

const username = await client.util.getUsername("UUID")

Alternative solutions or implementations

Using axios and writing it myself :-(

Other context

No response

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Location: .github/renovate.json
Error type: The renovate configuration file contains some invalid settings
Message: Invalid schedule: Invalid schedule: Failed to parse "every sunday at 10am"

Return Friends as expected rather than having to implicitly cast them

Issue description

return friends?.records ?? [];

This should return an interface of Friend that has the correct values.

interface Friend {
    _id: string;
    started: number;
    uuidReceiver: string;
    uuidSender: string;
}

You have to cast to unknown and then cast back.

Code sample

const rawResponse = await hpclient.players.getFriends(args[0]);

let friends = rawResponse as unknown as Friend[];

interface Friend {
    _id: string;
    started: number;
    uuidReceiver: string;
    uuidSender: string;
}

Package version

1.1.0

Node.js version

v17.8.0

Operating system

macOS

Priority this issue should have

Low (slightly annoying)

Unable to access Guild Manager

Issue description

Code sample

No response

Package version

v1.1.0

Node.js version

v17.8.0

Operating system

macOS

Priority this issue should have

Medium (should be fixed soon)

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Awaiting Schedule

These updates are awaiting their schedule. Click on a checkbox to get an update now.

  • chore(deps): update dependency @sapphire/eslint-config to v5.0.5
  • chore(deps): update dependency lint-staged to v15.2.5
  • chore(deps): update dependency @types/node to v20.14.2
  • chore(deps): update dependency esbuild-plugin-file-path-extensions to v2.1.1
  • chore(deps): update dependency git-cliff to v2.3.0
  • chore(deps): update dependency prettier to v3.3.1
  • chore(deps): update dependency tsup to v8.1.0
  • chore(deps): update typescript-eslint monorepo to v7.12.0 (@typescript-eslint/eslint-plugin, @typescript-eslint/parser)
  • chore(deps): update vitest monorepo to v1.6.0 (@vitest/coverage-v8, vitest)
  • chore(deps): update yarn to v4.2.2
  • chore(deps): update dependency @favware/cliff-jumper to v4
  • chore(deps): update dependency eslint to v9

Detected dependencies

github-actions
.github/workflows/ci.yml
  • actions/checkout v4
  • actions/setup-node v4
npm
package.json
  • @sapphire/async-queue ^1.5.2
  • @commitlint/cli ^19.3.0
  • @commitlint/config-conventional ^19.2.2
  • @favware/cliff-jumper ^3.0.3
  • @sapphire/eslint-config ^5.0.4
  • @sapphire/prettier-config ^2.0.0
  • @sapphire/ts-config ^5.0.1
  • @types/node ^20.12.7
  • @typescript-eslint/eslint-plugin ^7.7.1
  • @typescript-eslint/parser ^7.7.1
  • @vitest/coverage-c8 ^0.33.0
  • @vitest/coverage-v8 ^1.5.0
  • esbuild-plugin-file-path-extensions ^2.0.0
  • eslint ^8.57.0
  • eslint-plugin-prettier ^5.1.3
  • git-cliff ^2.2.1
  • husky ^9.0.11
  • lint-staged ^15.2.2
  • prettier ^3.2.5
  • tsup ^8.0.2
  • typedoc ^0.25.13
  • typescript ^5.4.5
  • vitest ^1.5.0
  • yarn 4.1.1

  • Check this box to trigger a request for Renovate to run again on this repository

CI Not having correct HYPIXEL_API_KEY set

Issue description

CI not working correctly since you'll need the env variable set correctly.

Code sample

No response

Package version

nan

Node.js version

nan

Operating system

No response

Priority this issue should have

Low (slightly annoying)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.