@singularity-payments/core 1.3.0 → 1.3.1
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.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1206,7 +1206,7 @@ var MpesaClient = class {
|
|
|
1206
1206
|
}
|
|
1207
1207
|
const phone = this.validateAndFormatPhone(request.phoneNumber);
|
|
1208
1208
|
const payload = {
|
|
1209
|
-
ShortCode: request.
|
|
1209
|
+
ShortCode: request.shortCode || this.config.shortcode,
|
|
1210
1210
|
CommandID: request.commandID || "CustomerPayBillOnline",
|
|
1211
1211
|
Amount: Math.floor(request.amount),
|
|
1212
1212
|
Msisdn: phone,
|
package/dist/index.mjs
CHANGED
|
@@ -1157,7 +1157,7 @@ var MpesaClient = class {
|
|
|
1157
1157
|
}
|
|
1158
1158
|
const phone = this.validateAndFormatPhone(request.phoneNumber);
|
|
1159
1159
|
const payload = {
|
|
1160
|
-
ShortCode: request.
|
|
1160
|
+
ShortCode: request.shortCode || this.config.shortcode,
|
|
1161
1161
|
CommandID: request.commandID || "CustomerPayBillOnline",
|
|
1162
1162
|
Amount: Math.floor(request.amount),
|
|
1163
1163
|
Msisdn: phone,
|