@opexa/portal-sdk 0.44.1 → 0.44.3
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 +7 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +7 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1129,6 +1129,7 @@ interface InstapayWithdrawalRecord extends WithdrawalRecordCommonProps {
|
|
|
1129
1129
|
bank?: never;
|
|
1130
1130
|
recipientMobileNumber?: never;
|
|
1131
1131
|
accountName?: string;
|
|
1132
|
+
bankName?: string;
|
|
1132
1133
|
}
|
|
1133
1134
|
interface ManualBankWithdrawalRecord extends WithdrawalRecordCommonProps {
|
|
1134
1135
|
type: 'MANUAL_BANK';
|
package/dist/index.d.ts
CHANGED
|
@@ -1129,6 +1129,7 @@ interface InstapayWithdrawalRecord extends WithdrawalRecordCommonProps {
|
|
|
1129
1129
|
bank?: never;
|
|
1130
1130
|
recipientMobileNumber?: never;
|
|
1131
1131
|
accountName?: string;
|
|
1132
|
+
bankName?: string;
|
|
1132
1133
|
}
|
|
1133
1134
|
interface ManualBankWithdrawalRecord extends WithdrawalRecordCommonProps {
|
|
1134
1135
|
type: 'MANUAL_BANK';
|
package/dist/index.js
CHANGED
|
@@ -327,6 +327,7 @@ var WITHDRAWAL_RECORDS_QUERY = gql`
|
|
|
327
327
|
withdrawalNumber
|
|
328
328
|
dateTimeCreated
|
|
329
329
|
dateTimeLastUpdated
|
|
330
|
+
bankName
|
|
330
331
|
}
|
|
331
332
|
... on ManualUPIWithdrawalRecord {
|
|
332
333
|
id
|
|
@@ -6584,6 +6585,7 @@ var Transformer = class {
|
|
|
6584
6585
|
id: data.id,
|
|
6585
6586
|
type: data.type,
|
|
6586
6587
|
bank: data.bank,
|
|
6588
|
+
bankName: data.bankName ?? void 0,
|
|
6587
6589
|
status: data.status,
|
|
6588
6590
|
amount: parseDecimal(data.amount, 0),
|
|
6589
6591
|
netAmount: parseDecimal(data.netAmount, 0),
|
|
@@ -8498,7 +8500,11 @@ var Sdk = class {
|
|
|
8498
8500
|
const res = NEW_GAME_PROVIDERS.includes(input.provider) ? await this.walletService.createGameSession({
|
|
8499
8501
|
input: { id, game: input.reference }
|
|
8500
8502
|
}) : await this.gameService.createGameSession({
|
|
8501
|
-
input: {
|
|
8503
|
+
input: {
|
|
8504
|
+
id,
|
|
8505
|
+
game: input.reference,
|
|
8506
|
+
homepageUrl: typeof window === "undefined" ? void 0 : window.location.origin
|
|
8507
|
+
}
|
|
8502
8508
|
});
|
|
8503
8509
|
return res.ok ? { ok: true, data: { id } } : res;
|
|
8504
8510
|
}
|