@smartsoft001/trans-shell-nestjs 1.0.809 → 1.0.810

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartsoft001/trans-shell-nestjs",
3
- "version": "1.0.809",
3
+ "version": "1.0.810",
4
4
  "description": "This library was generated with [Nx](https://nx.dev).",
5
5
  "repository": {
6
6
  "type": "git",
@@ -16,30 +16,30 @@
16
16
  "typings": "./src/index.d.ts",
17
17
  "dependencies": {
18
18
  "@nestjs/common": "^7.6.3",
19
- "@smartsoft001/trans-shell-app-services": "1.0.582",
19
+ "@smartsoft001/trans-shell-app-services": "1.0.583",
20
20
  "@nestjs/core": "^7.6.3",
21
- "@smartsoft001/trans-domain": "1.0.584",
21
+ "@smartsoft001/trans-domain": "1.0.585",
22
22
  "typeorm": "0.2.29",
23
- "@smartsoft001/domain-core": "1.0.654",
24
- "@smartsoft001/models": "1.0.681",
23
+ "@smartsoft001/domain-core": "1.0.655",
24
+ "@smartsoft001/models": "1.0.682",
25
25
  "reflect-metadata": "0.1.13",
26
- "@smartsoft001/utils": "1.0.716",
26
+ "@smartsoft001/utils": "1.0.717",
27
27
  "lodash": "^4.17.20",
28
28
  "guid-typescript": "1.0.9",
29
29
  "md5": "2.3.0",
30
30
  "rxjs": "6.6.3",
31
- "@smartsoft001/users": "1.0.673",
32
- "@smartsoft001/payu": "1.0.590",
33
- "@smartsoft001/paypal": "1.0.594",
31
+ "@smartsoft001/users": "1.0.674",
32
+ "@smartsoft001/payu": "1.0.591",
33
+ "@smartsoft001/paypal": "1.0.595",
34
34
  "paypal-rest-sdk": "^1.8.1",
35
- "@smartsoft001/revolut": "1.0.575",
35
+ "@smartsoft001/revolut": "1.0.576",
36
36
  "@nestjs/passport": "^7.1.5",
37
37
  "@nestjs/jwt": "^7.1.0",
38
38
  "@nestjs/typeorm": "^7.1.5",
39
- "@smartsoft001/crud-shell-angular": "1.1.641",
39
+ "@smartsoft001/crud-shell-angular": "1.1.642",
40
40
  "@ngrx/store": "12.5.0",
41
41
  "@angular/core": "12.2.7",
42
- "@smartsoft001/angular": "1.1.706",
42
+ "@smartsoft001/angular": "1.1.707",
43
43
  "@ngrx/effects": "12.5.0",
44
44
  "@angular/common": "12.2.7",
45
45
  "@angular/router": "12.2.7",
@@ -63,18 +63,18 @@
63
63
  "@ionic-native/fingerprint-aio": "^5.30.0",
64
64
  "ngx-cookie": "^5.0.2",
65
65
  "@ionic/storage": "^2.3.1",
66
- "@smartsoft001/crud-shell-dtos": "1.0.587",
67
- "@smartsoft001/crud-shell-nestjs": "1.0.613",
66
+ "@smartsoft001/crud-shell-dtos": "1.0.588",
67
+ "@smartsoft001/crud-shell-nestjs": "1.0.614",
68
68
  "json2csv": "^5.0.5",
69
69
  "xlsx": "^0.17.0",
70
70
  "busboy": "^0.3.1",
71
- "@smartsoft001/crud-shell-app-services": "1.0.605",
71
+ "@smartsoft001/crud-shell-app-services": "1.0.606",
72
72
  "combined-stream": "^1.0.8",
73
- "@smartsoft001/crud-domain": "1.0.592",
74
- "@smartsoft001/nestjs": "1.0.627",
73
+ "@smartsoft001/crud-domain": "1.0.593",
74
+ "@smartsoft001/nestjs": "1.0.628",
75
75
  "passport-jwt": "4.0.0",
76
76
  "@nestjs/websockets": "^7.6.3",
77
- "@smartsoft001/mongo": "1.0.627",
77
+ "@smartsoft001/mongo": "1.0.628",
78
78
  "mongodb": "^3.7.3"
79
79
  },
80
80
  "peerDependencies": {}
@@ -10,7 +10,7 @@ let TransController = class TransController {
10
10
  }
11
11
  create(obj, req) {
12
12
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
13
- obj.clientIp = req.connection.remoteAddress;
13
+ obj.clientIp = req.connection.remoteAddress.indexOf("::") === 0 ? "10.0.0.1" : req.connection.remoteAddress;
14
14
  const { redirectUrl, orderId } = yield this.service.create(obj);
15
15
  return {
16
16
  url: redirectUrl,
@@ -1 +1 @@
1
- {"version":3,"file":"trans.controller.js","sourceRoot":"","sources":["../../../../../../../../../libs/trans/shell/nestjs/src/lib/controllers/trans/trans.controller.ts"],"names":[],"mappings":";;;;AAAA,2CAAkE;AAGlE,qFAAoE;AAGpE,IAAa,eAAe,GAA5B,MAAa,eAAe;IACxB,YAA6B,OAAqB;QAArB,YAAO,GAAP,OAAO,CAAc;IAClD,CAAC;IAGK,MAAM,CAAY,GAAoB,EAAS,GAAG;;YACpD,GAAG,CAAC,QAAQ,GAAG,GAAG,CAAC,UAAU,CAAC,aAAa,CAAC;YAC5C,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;YAChE,OAAO;gBACH,GAAG,EAAE,WAAW;gBAChB,OAAO;aACV,CAAA;QACL,CAAC;KAAA;IAGK,OAAO,CAAkB,OAAO,EAAU,GAAG;;YAC/C,MAAM,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;QAC5C,CAAC;KAAA;CACJ,CAAA;AAbG;IADC,aAAI,EAAE;IACU,mBAAA,aAAI,EAAE,CAAA;IAAwB,mBAAA,YAAG,EAAE,CAAA;;;;6CAOnD;AAGD;IADC,aAAI,CAAC,aAAa,CAAC;IACD,mBAAA,cAAK,CAAC,IAAI,CAAC,CAAA;IAAW,mBAAA,aAAI,EAAE,CAAA;;;;8CAE9C;AAjBQ,eAAe;IAD3B,mBAAU,CAAC,EAAE,CAAC;6CAE2B,uCAAY;GADzC,eAAe,CAkB3B;AAlBY,0CAAe"}
1
+ {"version":3,"file":"trans.controller.js","sourceRoot":"","sources":["../../../../../../../../../libs/trans/shell/nestjs/src/lib/controllers/trans/trans.controller.ts"],"names":[],"mappings":";;;;AAAA,2CAAkE;AAGlE,qFAAoE;AAGpE,IAAa,eAAe,GAA5B,MAAa,eAAe;IACxB,YAA6B,OAAqB;QAArB,YAAO,GAAP,OAAO,CAAc;IAClD,CAAC;IAGK,MAAM,CAAY,GAAoB,EAAS,GAAG;;YACpD,GAAG,CAAC,QAAQ,GAAG,GAAG,CAAC,UAAU,CAAC,aAAa,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,GAAG,CAAC,UAAU,CAAC,aAAa,CAAC;YAC5G,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;YAChE,OAAO;gBACH,GAAG,EAAE,WAAW;gBAChB,OAAO;aACV,CAAA;QACL,CAAC;KAAA;IAGK,OAAO,CAAkB,OAAO,EAAU,GAAG;;YAC/C,MAAM,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;QAC5C,CAAC;KAAA;CACJ,CAAA;AAbG;IADC,aAAI,EAAE;IACU,mBAAA,aAAI,EAAE,CAAA;IAAwB,mBAAA,YAAG,EAAE,CAAA;;;;6CAOnD;AAGD;IADC,aAAI,CAAC,aAAa,CAAC;IACD,mBAAA,cAAK,CAAC,IAAI,CAAC,CAAA;IAAW,mBAAA,aAAI,EAAE,CAAA;;;;8CAE9C;AAjBQ,eAAe;IAD3B,mBAAU,CAAC,EAAE,CAAC;6CAE2B,uCAAY;GADzC,eAAe,CAkB3B;AAlBY,0CAAe"}