Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More โ†’
Socket
Sign inDemoInstall
Socket

@leonardssh/use-lanyard

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@leonardssh/use-lanyard - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

26

dist/use-lanyard.d.ts

@@ -19,4 +19,4 @@ export declare interface Activity {

export declare interface Assets {
small_text: string;
small_image: string;
small_text?: string;
small_image?: string;
large_text: string;

@@ -26,8 +26,8 @@ large_image: string;

export declare interface Discorduser {
export declare interface DiscordUser {
username: string;
public_flags: number;
public_flags?: number;
id: string;
discriminator: string;
avatar: string;
avatar: string | null;
}

@@ -37,9 +37,11 @@

name: string;
id?: string;
animated?: boolean;
}
export declare interface LanyardData {
spotify?: Spotify;
spotify: Spotify | null;
listening_to_spotify: boolean;
discord_user: Discorduser;
discord_status: string;
discord_user: DiscordUser;
discord_status: "online" | "idle" | "dnd" | "offline";
activities: Activity[];

@@ -63,3 +65,3 @@ active_on_discord_mobile: boolean;

success: boolean;
data: LanyardData;
data?: LanyardData;
error?: LanyardError;

@@ -79,9 +81,5 @@ }

start: number;
end: number;
end?: number;
}
export declare interface Timestamps {
start: number;
}
export declare function useLanyard(options: LanyardOptions): Promise<LanyardResponse | LanyardResponse[] | void>;

@@ -88,0 +86,0 @@

{
"name": "@leonardssh/use-lanyard",
"version": "1.0.3",
"version": "1.0.4",
"description": "๐Ÿš€ Lanyard with Composition API for Vue",

@@ -46,3 +46,3 @@ "author": "LeonardSSH <leonardssh22@gmail.com> (https://leonard.sh)",

"format": "prettier --write src/**/*.ts",
"lint": "eslint packages --ext js,ts --fix",
"lint": "eslint src --ext js,ts --fix",
"commit": "git-cz",

@@ -49,0 +49,0 @@ "cz": "git-cz"

@@ -80,3 +80,3 @@ <p align="center">

4. Commit your changes, and push them.
5. Submit a Pull Request [here](https://github.com/LeonardSSH/vscord/pulls)!
5. Submit a Pull Request [here](https://github.com/LeonardSSH/use-lanyard/pulls)!

@@ -83,0 +83,0 @@ ## ๐Ÿ“‹ License

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with โšก๏ธ by Socket Inc