@pristine-ts/aws 0.0.167 → 0.0.168

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.
@@ -22,7 +22,7 @@ let HttpRequestMapper = class HttpRequestMapper {
22
22
  */
23
23
  map(request) {
24
24
  return {
25
- url: request.requestContext.http.path,
25
+ url: request.requestContext.http.path + (request.rawQueryString ? "?" + request.rawQueryString : ""),
26
26
  headers: request.headers,
27
27
  httpMethod: this.methodMapper.map(request.requestContext.http.method),
28
28
  body: request.body,
@@ -1 +1 @@
1
- {"version":3,"file":"http-request.mapper.js","sourceRoot":"","sources":["../../../../src/mappers/http-request.mapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uCAAoC;AAGpC,mDAA6C;AAI7C,IAAa,iBAAiB,GAA9B,MAAa,iBAAiB;IAC1B,YAA6B,YAA0B;QAA1B,iBAAY,GAAZ,YAAY,CAAc;IACvD,CAAC;IAED;;;OAGG;IACH,GAAG,CAAC,OAAyB;QACzB,OAAO;YACH,GAAG,EAAE,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI;YACrC,OAAO,EAAE,OAAO,CAAC,OAAO;YACxB,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC;YACrE,IAAI,EAAC,OAAO,CAAC,IAAI;YACjB,OAAO,EAAE,OAAO,CAAC,IAAI;SACxB,CAAA;IACL,CAAC;CACJ,CAAA;AAjBY,iBAAiB;IAD7B,qBAAU,EAAE;qCAEkC,4BAAY;GAD9C,iBAAiB,CAiB7B;AAjBY,8CAAiB"}
1
+ {"version":3,"file":"http-request.mapper.js","sourceRoot":"","sources":["../../../../src/mappers/http-request.mapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uCAAoC;AAGpC,mDAA6C;AAI7C,IAAa,iBAAiB,GAA9B,MAAa,iBAAiB;IAC1B,YAA6B,YAA0B;QAA1B,iBAAY,GAAZ,YAAY,CAAc;IACvD,CAAC;IAED;;;OAGG;IACH,GAAG,CAAC,OAAyB;QACzB,OAAO;YACH,GAAG,EAAE,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,GAAG,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC,GAAG,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC;YACpG,OAAO,EAAE,OAAO,CAAC,OAAO;YACxB,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC;YACrE,IAAI,EAAC,OAAO,CAAC,IAAI;YACjB,OAAO,EAAE,OAAO,CAAC,IAAI;SACxB,CAAA;IACL,CAAC;CACJ,CAAA;AAjBY,iBAAiB;IAD7B,qBAAU,EAAE;qCAEkC,4BAAY;GAD9C,iBAAiB,CAiB7B;AAjBY,8CAAiB"}
@@ -19,7 +19,7 @@ let HttpRequestMapper = class HttpRequestMapper {
19
19
  */
20
20
  map(request) {
21
21
  return {
22
- url: request.requestContext.http.path,
22
+ url: request.requestContext.http.path + (request.rawQueryString ? "?" + request.rawQueryString : ""),
23
23
  headers: request.headers,
24
24
  httpMethod: this.methodMapper.map(request.requestContext.http.method),
25
25
  body: request.body,
@@ -1 +1 @@
1
- {"version":3,"file":"http-request.mapper.js","sourceRoot":"","sources":["../../../../src/mappers/http-request.mapper.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,UAAU,CAAC;AAGpC,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAI7C,IAAa,iBAAiB,GAA9B,MAAa,iBAAiB;IAC1B,YAA6B,YAA0B;QAA1B,iBAAY,GAAZ,YAAY,CAAc;IACvD,CAAC;IAED;;;OAGG;IACH,GAAG,CAAC,OAAyB;QACzB,OAAO;YACH,GAAG,EAAE,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI;YACrC,OAAO,EAAE,OAAO,CAAC,OAAO;YACxB,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC;YACrE,IAAI,EAAC,OAAO,CAAC,IAAI;YACjB,OAAO,EAAE,OAAO,CAAC,IAAI;SACxB,CAAA;IACL,CAAC;CACJ,CAAA;AAjBY,iBAAiB;IAD7B,UAAU,EAAE;qCAEkC,YAAY;GAD9C,iBAAiB,CAiB7B;SAjBY,iBAAiB"}
1
+ {"version":3,"file":"http-request.mapper.js","sourceRoot":"","sources":["../../../../src/mappers/http-request.mapper.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,UAAU,CAAC;AAGpC,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAI7C,IAAa,iBAAiB,GAA9B,MAAa,iBAAiB;IAC1B,YAA6B,YAA0B;QAA1B,iBAAY,GAAZ,YAAY,CAAc;IACvD,CAAC;IAED;;;OAGG;IACH,GAAG,CAAC,OAAyB;QACzB,OAAO;YACH,GAAG,EAAE,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,GAAG,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC,GAAG,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC;YACpG,OAAO,EAAE,OAAO,CAAC,OAAO;YACxB,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC;YACrE,IAAI,EAAC,OAAO,CAAC,IAAI;YACjB,OAAO,EAAE,OAAO,CAAC,IAAI;SACxB,CAAA;IACL,CAAC;CACJ,CAAA;AAjBY,iBAAiB;IAD7B,UAAU,EAAE;qCAEkC,YAAY;GAD9C,iBAAiB,CAiB7B;SAjBY,iBAAiB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pristine-ts/aws",
3
- "version": "0.0.167",
3
+ "version": "0.0.168",
4
4
  "description": "",
5
5
  "module": "dist/lib/esm/aws.module.js",
6
6
  "main": "dist/lib/cjs/aws.module.js",
@@ -23,11 +23,11 @@
23
23
  "@awslabs-community-fork/dynamodb-data-mapper": "^0.7.9",
24
24
  "@awslabs-community-fork/dynamodb-data-marshaller": "^0.7.9",
25
25
  "@awslabs-community-fork/dynamodb-expressions": "^0.7.9",
26
- "@pristine-ts/common": "^0.0.167",
27
- "@pristine-ts/event": "^0.0.167",
28
- "@pristine-ts/logging": "^0.0.167",
29
- "@pristine-ts/networking": "^0.0.167",
30
- "@pristine-ts/security": "^0.0.167"
26
+ "@pristine-ts/common": "^0.0.168",
27
+ "@pristine-ts/event": "^0.0.168",
28
+ "@pristine-ts/logging": "^0.0.168",
29
+ "@pristine-ts/networking": "^0.0.168",
30
+ "@pristine-ts/security": "^0.0.168"
31
31
  },
32
32
  "publishConfig": {
33
33
  "access": "public"
@@ -66,5 +66,5 @@
66
66
  "src/*.{js,ts}"
67
67
  ]
68
68
  },
69
- "gitHead": "199caaccfe024ee23218b491a814ed58c2b719cd"
69
+ "gitHead": "18a4b8a0e5e8289dc1d21b208eb41e182aab532f"
70
70
  }