revolt.js
Advanced tools
Comparing version 3.0.3-alpha.1 to 3.0.3-alpha.2
@@ -5,3 +5,3 @@ export * from './Client'; | ||
export { default as Channel, SavedMessagesChannel, DirectMessageChannel, GroupChannel } from './objects/Channel'; | ||
export declare const LIBRARY_VERSION = "3.0.3-alpha.1"; | ||
export declare const LIBRARY_VERSION = "3.0.3-alpha.2"; | ||
export declare const defaultConfig: { | ||
@@ -8,0 +8,0 @@ apiURL: string; |
@@ -16,3 +16,3 @@ "use strict"; | ||
exports.GroupChannel = Channel_1.GroupChannel; | ||
exports.LIBRARY_VERSION = '3.0.3-alpha.1'; | ||
exports.LIBRARY_VERSION = '3.0.3-alpha.2'; | ||
exports.defaultConfig = { | ||
@@ -19,0 +19,0 @@ apiURL: 'https://api.revolt.chat', |
@@ -72,3 +72,3 @@ "use strict"; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
let data = yield this.client.req('PUT', `/users/${this.id}/friend`); | ||
let data = yield this.client.req('PUT', `/users/${this.username}/friend`); | ||
this.patch({ relationship: data.status }, true); | ||
@@ -75,0 +75,0 @@ }); |
{ | ||
"name": "revolt.js", | ||
"version": "3.0.3-alpha.1", | ||
"version": "3.0.3-alpha.2", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "repository": "https://gitlab.insrt.uk/revolt/revolt.js", |
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
59176