Comparing version 0.1.2 to 0.1.3
@@ -42,3 +42,3 @@ "use strict"; | ||
SendMessage(receiver, body) { | ||
return this.ctx.request(`${this.endpoint}/commentdelete`, { apiParam: receiver, postParams: { body } }); | ||
return this.ctx.request(`${this.endpoint}/sendmessage`, { apiParam: receiver, postParams: { body } }); | ||
} | ||
@@ -45,0 +45,0 @@ } |
@@ -35,3 +35,3 @@ "use strict"; | ||
exports.defaultClientConfig = { | ||
userAgent: 'wypokJS/0.0.1', | ||
userAgent: 'wypokJS/0.1.2', | ||
host: 'a2.wykop.pl', | ||
@@ -38,0 +38,0 @@ timeout: 5000, |
{ | ||
"name": "wypokjs", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Wykop V2 API wrapper", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -43,3 +43,3 @@ import { Client } from './client' | ||
SendMessage(receiver: string, body: string) { | ||
return this.ctx.request(`${this.endpoint}/commentdelete`, { apiParam: receiver, postParams: { body } }) | ||
return this.ctx.request(`${this.endpoint}/sendmessage`, { apiParam: receiver, postParams: { body } }) | ||
} | ||
@@ -46,0 +46,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
39104