@smartsoft001/trans-shell-nestjs 1.0.807 → 1.0.812

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.807",
3
+ "version": "1.0.812",
4
4
  "description": "This library was generated with [Nx](https://nx.dev).",
5
5
  "repository": {
6
6
  "type": "git",
@@ -16,30 +16,31 @@
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.580",
19
+ "@smartsoft001/trans-shell-app-services": "1.0.585",
20
20
  "@nestjs/core": "^7.6.3",
21
- "@smartsoft001/trans-domain": "1.0.582",
21
+ "@smartsoft001/trans-domain": "1.0.587",
22
22
  "typeorm": "0.2.29",
23
- "@smartsoft001/domain-core": "1.0.652",
24
- "@smartsoft001/models": "1.0.679",
23
+ "@smartsoft001/domain-core": "1.0.657",
24
+ "@smartsoft001/models": "1.0.684",
25
25
  "reflect-metadata": "0.1.13",
26
- "@smartsoft001/utils": "1.0.714",
26
+ "@smartsoft001/utils": "1.0.719",
27
27
  "lodash": "^4.17.20",
28
28
  "guid-typescript": "1.0.9",
29
+ "flatted": "^3.2.4",
29
30
  "md5": "2.3.0",
30
31
  "rxjs": "6.6.3",
31
- "@smartsoft001/users": "1.0.671",
32
- "@smartsoft001/payu": "1.0.588",
33
- "@smartsoft001/paypal": "1.0.592",
32
+ "@smartsoft001/users": "1.0.676",
33
+ "@smartsoft001/payu": "1.0.593",
34
+ "@smartsoft001/paypal": "1.0.597",
34
35
  "paypal-rest-sdk": "^1.8.1",
35
- "@smartsoft001/revolut": "1.0.573",
36
+ "@smartsoft001/revolut": "1.0.578",
36
37
  "@nestjs/passport": "^7.1.5",
37
38
  "@nestjs/jwt": "^7.1.0",
38
39
  "@nestjs/typeorm": "^7.1.5",
39
- "@smartsoft001/crud-shell-angular": "1.1.639",
40
+ "@smartsoft001/crud-shell-angular": "1.1.644",
40
41
  "@ngrx/store": "12.5.0",
41
42
  "@angular/core": "12.2.7",
42
- "@smartsoft001/angular": "1.1.704",
43
+ "@smartsoft001/angular": "1.1.709",
43
44
  "@ngrx/effects": "12.5.0",
44
45
  "@angular/common": "12.2.7",
45
46
  "@angular/router": "12.2.7",
@@ -63,18 +64,18 @@
63
64
  "@ionic-native/fingerprint-aio": "^5.30.0",
64
65
  "ngx-cookie": "^5.0.2",
65
66
  "@ionic/storage": "^2.3.1",
66
- "@smartsoft001/crud-shell-dtos": "1.0.585",
67
- "@smartsoft001/crud-shell-nestjs": "1.0.611",
67
+ "@smartsoft001/crud-shell-dtos": "1.0.590",
68
+ "@smartsoft001/crud-shell-nestjs": "1.0.616",
68
69
  "json2csv": "^5.0.5",
69
70
  "xlsx": "^0.17.0",
70
71
  "busboy": "^0.3.1",
71
- "@smartsoft001/crud-shell-app-services": "1.0.603",
72
+ "@smartsoft001/crud-shell-app-services": "1.0.608",
72
73
  "combined-stream": "^1.0.8",
73
- "@smartsoft001/crud-domain": "1.0.590",
74
- "@smartsoft001/nestjs": "1.0.625",
74
+ "@smartsoft001/crud-domain": "1.0.595",
75
+ "@smartsoft001/nestjs": "1.0.630",
75
76
  "passport-jwt": "4.0.0",
76
77
  "@nestjs/websockets": "^7.6.3",
77
- "@smartsoft001/mongo": "1.0.625",
78
+ "@smartsoft001/mongo": "1.0.630",
78
79
  "mongodb": "^3.7.3"
79
80
  },
80
81
  "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"}