@temboplus/afloat 0.1.0 → 0.1.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.
|
@@ -122,7 +122,7 @@ export class MobileContactInfo extends BaseContactInfo {
|
|
|
122
122
|
return this.phoneNumber.getNumberWithFormat(MobileNumberFormat.s255);
|
|
123
123
|
}
|
|
124
124
|
get channel() {
|
|
125
|
-
return this.phoneNumber.
|
|
125
|
+
return this.phoneNumber.networkOperator.mobileMoneyService;
|
|
126
126
|
}
|
|
127
127
|
get displayNameLabel() {
|
|
128
128
|
return "Name";
|
|
@@ -42,5 +42,5 @@ export const createPayoutChannelCode = {
|
|
|
42
42
|
*
|
|
43
43
|
* @see {@link PhoneNumber} from "@jsr/temboplus__tembo-core" for phone number structure
|
|
44
44
|
*/
|
|
45
|
-
mobile: (phoneNumber) => `TZ-${phoneNumber.
|
|
45
|
+
mobile: (phoneNumber) => `TZ-${phoneNumber.networkOperator.id.toString().toUpperCase()}-B2C`,
|
|
46
46
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@temboplus/afloat",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "A JavaScript/TypeScript package providing common utilities and logic shared across all Temboplus-Afloat Projects",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"private": false,
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@temboplus/frontend-core": "^0.
|
|
26
|
+
"@temboplus/frontend-core": "^0.2.0",
|
|
27
27
|
"@ts-rest/core": "^3.51.0",
|
|
28
28
|
"antd": "^5.22.7",
|
|
29
29
|
"uuid": "^11.0.3",
|
|
@@ -125,7 +125,7 @@ class MobileContactInfo extends BaseContactInfo {
|
|
|
125
125
|
return this.phoneNumber.getNumberWithFormat(frontend_core_1.MobileNumberFormat.s255);
|
|
126
126
|
}
|
|
127
127
|
get channel() {
|
|
128
|
-
return this.phoneNumber.
|
|
128
|
+
return this.phoneNumber.networkOperator.mobileMoneyService;
|
|
129
129
|
}
|
|
130
130
|
get displayNameLabel() {
|
|
131
131
|
return "Name";
|
|
@@ -45,5 +45,5 @@ exports.createPayoutChannelCode = {
|
|
|
45
45
|
*
|
|
46
46
|
* @see {@link PhoneNumber} from "@jsr/temboplus__tembo-core" for phone number structure
|
|
47
47
|
*/
|
|
48
|
-
mobile: (phoneNumber) => `TZ-${phoneNumber.
|
|
48
|
+
mobile: (phoneNumber) => `TZ-${phoneNumber.networkOperator.id.toString().toUpperCase()}-B2C`,
|
|
49
49
|
};
|