@ariary/ariary 2.0.3 → 2.0.5
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/dist/index.js +1 -2
- package/dist/index.mjs +1 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -27,7 +27,7 @@ module.exports = __toCommonJS(src_exports);
|
|
|
27
27
|
// src/http.ts
|
|
28
28
|
async function request(method, endpoint, body) {
|
|
29
29
|
const config2 = getConfig();
|
|
30
|
-
const baseUrl = config2.baseUrl || "https://back.ariari.mg/payment/api
|
|
30
|
+
const baseUrl = config2.baseUrl || "https://back.ariari.mg/payment/api";
|
|
31
31
|
const url = `${baseUrl}${endpoint}`;
|
|
32
32
|
const response = await fetch(url, {
|
|
33
33
|
method,
|
|
@@ -164,7 +164,6 @@ var Ariari = {
|
|
|
164
164
|
baseUrl: cfg.baseUrl || "https://back.ariari.mg/payment/api-docs"
|
|
165
165
|
};
|
|
166
166
|
},
|
|
167
|
-
// Pay
|
|
168
167
|
payment: paymentService,
|
|
169
168
|
// Notifications
|
|
170
169
|
notification: notificationService
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/http.ts
|
|
2
2
|
async function request(method, endpoint, body) {
|
|
3
3
|
const config2 = getConfig();
|
|
4
|
-
const baseUrl = config2.baseUrl || "https://back.ariari.mg/payment/api
|
|
4
|
+
const baseUrl = config2.baseUrl || "https://back.ariari.mg/payment/api";
|
|
5
5
|
const url = `${baseUrl}${endpoint}`;
|
|
6
6
|
const response = await fetch(url, {
|
|
7
7
|
method,
|
|
@@ -138,7 +138,6 @@ var Ariari = {
|
|
|
138
138
|
baseUrl: cfg.baseUrl || "https://back.ariari.mg/payment/api-docs"
|
|
139
139
|
};
|
|
140
140
|
},
|
|
141
|
-
// Pay
|
|
142
141
|
payment: paymentService,
|
|
143
142
|
// Notifications
|
|
144
143
|
notification: notificationService
|