@wrcb/cb-common 1.0.50 → 1.0.52

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.
@@ -1,4 +1,5 @@
1
1
  export declare enum LedgerOperation {
2
+ WaitingDeposit = "Aguardando dep\u00F3sito",
2
3
  Deposit = "Dep\u00F3sito",
3
4
  Withdraw = "Saque",
4
5
  Bet = "Aposta",
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.LedgerOperation = void 0;
4
4
  var LedgerOperation;
5
5
  (function (LedgerOperation) {
6
+ LedgerOperation["WaitingDeposit"] = "Aguardando dep\u00F3sito";
6
7
  LedgerOperation["Deposit"] = "Dep\u00F3sito";
7
8
  LedgerOperation["Withdraw"] = "Saque";
8
9
  LedgerOperation["Bet"] = "Aposta";
@@ -5,9 +5,11 @@ export interface WithdrawalMadeEvent {
5
5
  subject: Subjects.WithdrawalMade;
6
6
  data: {
7
7
  ledgerId: string;
8
+ transactionId: string;
8
9
  value: number;
9
10
  version: number;
10
11
  ledgerOperation: LedgerOperation;
11
12
  ledgerOperationMode: LedgerOperationMode;
13
+ bankAccountData: string;
12
14
  };
13
15
  }
package/build/index.d.ts CHANGED
@@ -17,7 +17,6 @@ export * from './events/types/predictionStatus';
17
17
  export * from './events/types/ledgerOperation';
18
18
  export * from './events/types/ledgerOperationMode';
19
19
  export * from './events/types/country';
20
- export * from './events/types/paymentRecordStatus';
21
20
  export * from './events/types/userRole';
22
21
  export * from './events/types/oddConfiguration';
23
22
  export * from './events/types/predictions';
package/build/index.js CHANGED
@@ -33,7 +33,6 @@ __exportStar(require("./events/types/predictionStatus"), exports);
33
33
  __exportStar(require("./events/types/ledgerOperation"), exports);
34
34
  __exportStar(require("./events/types/ledgerOperationMode"), exports);
35
35
  __exportStar(require("./events/types/country"), exports);
36
- __exportStar(require("./events/types/paymentRecordStatus"), exports);
37
36
  __exportStar(require("./events/types/userRole"), exports);
38
37
  __exportStar(require("./events/types/oddConfiguration"), exports);
39
38
  __exportStar(require("./events/types/predictions"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wrcb/cb-common",
3
- "version": "1.0.50",
3
+ "version": "1.0.52",
4
4
  "description": "Common resources between services",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -1,7 +0,0 @@
1
- export declare enum LedgerRecordStatus {
2
- WaitingDeposit = "Aguardando dep\u00F3sito",
3
- DepositCompleted = "Dep\u00F3sito efetuado",
4
- BetClaimed = "Aposta resgatada",
5
- BetMade = "Aposta feita",
6
- WithdrawMade = "Saque feito"
7
- }
@@ -1,11 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LedgerRecordStatus = void 0;
4
- var LedgerRecordStatus;
5
- (function (LedgerRecordStatus) {
6
- LedgerRecordStatus["WaitingDeposit"] = "Aguardando dep\u00F3sito";
7
- LedgerRecordStatus["DepositCompleted"] = "Dep\u00F3sito efetuado";
8
- LedgerRecordStatus["BetClaimed"] = "Aposta resgatada";
9
- LedgerRecordStatus["BetMade"] = "Aposta feita";
10
- LedgerRecordStatus["WithdrawMade"] = "Saque feito";
11
- })(LedgerRecordStatus || (exports.LedgerRecordStatus = LedgerRecordStatus = {}));