@osovitny/anatoly 2.14.5 → 2.14.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/data/consts.mjs +6 -3
- package/esm2020/lib/data/services/emails-api.service.mjs +3 -1
- package/fesm2015/osovitny-anatoly.mjs +6 -2
- package/fesm2015/osovitny-anatoly.mjs.map +1 -1
- package/fesm2020/osovitny-anatoly.mjs +6 -2
- package/fesm2020/osovitny-anatoly.mjs.map +1 -1
- package/lib/data/consts.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1897,9 +1897,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImpor
|
|
|
1897
1897
|
</file>
|
|
1898
1898
|
*/
|
|
1899
1899
|
const consts = {
|
|
1900
|
+
//billing
|
|
1900
1901
|
billingApiPath: 'api/billing',
|
|
1901
|
-
//
|
|
1902
|
-
|
|
1902
|
+
//emails
|
|
1903
|
+
emailsApiPath: 'api/emails',
|
|
1904
|
+
//notifications
|
|
1905
|
+
notificationsApiPath: 'api/notifications'
|
|
1903
1906
|
};
|
|
1904
1907
|
|
|
1905
1908
|
/*
|
|
@@ -3104,6 +3107,7 @@ class EmailsApiService extends BaseApiService {
|
|
|
3104
3107
|
constructor(http) {
|
|
3105
3108
|
super(http);
|
|
3106
3109
|
this.http = http;
|
|
3110
|
+
this.baseUrl = consts.emailsApiPath;
|
|
3107
3111
|
}
|
|
3108
3112
|
sendContactUs(captcha, name, email, topic, subject, message, success, error) {
|
|
3109
3113
|
return this.post('sendContactUs', { captcha, name, email, topic, subject, message }).subscribe(data => {
|