@opexa/portal-sdk 0.54.7 → 0.54.8
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.cjs +11 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +11 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1281,7 +1281,7 @@ interface CreateMayaWithdrawalInput {
|
|
|
1281
1281
|
type: 'MAYA';
|
|
1282
1282
|
amount: number;
|
|
1283
1283
|
transactionPassword: string;
|
|
1284
|
-
|
|
1284
|
+
accountNumber: string;
|
|
1285
1285
|
reCAPTCHAResponse?: string;
|
|
1286
1286
|
}
|
|
1287
1287
|
interface CreateMayaAppWithdrawalInput {
|
package/dist/index.d.ts
CHANGED
|
@@ -1281,7 +1281,7 @@ interface CreateMayaWithdrawalInput {
|
|
|
1281
1281
|
type: 'MAYA';
|
|
1282
1282
|
amount: number;
|
|
1283
1283
|
transactionPassword: string;
|
|
1284
|
-
|
|
1284
|
+
accountNumber: string;
|
|
1285
1285
|
reCAPTCHAResponse?: string;
|
|
1286
1286
|
}
|
|
1287
1287
|
interface CreateMayaAppWithdrawalInput {
|
package/dist/index.js
CHANGED
|
@@ -489,8 +489,14 @@ var CREATE_GCASH_STANDARD_CASHIN_WITHDRAWAL_MUTATION = gql`
|
|
|
489
489
|
}
|
|
490
490
|
`;
|
|
491
491
|
var CREATE_MAYA_WITHDRAWAL_MUTATION = gql`
|
|
492
|
-
mutation CreateMayaWithdrawal(
|
|
493
|
-
|
|
492
|
+
mutation CreateMayaWithdrawal(
|
|
493
|
+
$input: CreateMayaWithdrawalInput!
|
|
494
|
+
$transactionPassword: String!
|
|
495
|
+
) {
|
|
496
|
+
createMayaWithdrawal(
|
|
497
|
+
input: $input
|
|
498
|
+
transactionPassword: $transactionPassword
|
|
499
|
+
) {
|
|
494
500
|
... on AccountNotVerifiedError {
|
|
495
501
|
__typename
|
|
496
502
|
}
|
|
@@ -9055,12 +9061,12 @@ var Sdk = class {
|
|
|
9055
9061
|
input: {
|
|
9056
9062
|
id,
|
|
9057
9063
|
amount: input.amount.toString(),
|
|
9058
|
-
|
|
9059
|
-
|
|
9060
|
-
input.recipientMobileNumber,
|
|
9064
|
+
accountNumber: addAreaCode(
|
|
9065
|
+
input.accountNumber,
|
|
9061
9066
|
await this.locale
|
|
9062
9067
|
)
|
|
9063
9068
|
},
|
|
9069
|
+
transactionPassword: await sha256(input.transactionPassword),
|
|
9064
9070
|
reCAPTCHAResponse: input.reCAPTCHAResponse,
|
|
9065
9071
|
...this.webDomain && {
|
|
9066
9072
|
domain: this.webDomain
|