guilded-api-typings
Advanced tools
Comparing version 0.0.0-dev-20220728144940 to 0.0.0-dev-20220808073812
# guilded-api-typings | ||
## 0.0.0-dev-20220728144940 | ||
## 0.0.0-dev-20220808073812 | ||
### Minor Changes | ||
- 13a6533: types: change WSOpCodes to WSOpCode | ||
## 0.9.0 | ||
### Minor Changes | ||
- 4d06b33: feat(types): use enums instead of unions types | ||
@@ -8,0 +14,0 @@ |
{ | ||
"name": "guilded-api-typings", | ||
"version": "0.0.0-dev-20220728144940", | ||
"version": "0.0.0-dev-20220808073812", | ||
"description": "Type definitions for the Guilded API.", | ||
@@ -10,7 +10,7 @@ "repository": { | ||
"homepage": "https://guildedts.js.org", | ||
"main": "lib", | ||
"main": "dist", | ||
"types": "typings", | ||
"files": [ | ||
"CHANGELOG.md", | ||
"lib", | ||
"dist", | ||
"typings" | ||
@@ -35,4 +35,4 @@ ], | ||
"build": "pnpm clear && tsc", | ||
"clear": "rimraf lib typings" | ||
"clear": "rimraf dist typings" | ||
} | ||
} |
@@ -22,3 +22,3 @@ import { APIChannel } from './structures/Channel'; | ||
/** The op code. */ | ||
op: number; | ||
op: WSOpCode; | ||
/** The name of the event. */ | ||
@@ -32,3 +32,3 @@ t?: string; | ||
/** The Guilded WebSocket API operation codes. */ | ||
export declare enum WSOpCodes { | ||
export declare enum WSOpCode { | ||
/** The event operation code. */ | ||
@@ -35,0 +35,0 @@ Event = 0, |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
124513