idea-aws 3.11.6 → 3.11.9

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/README.md CHANGED
@@ -14,7 +14,7 @@ import { ResourceController } from 'idea-aws';
14
14
 
15
15
  ## Documentation
16
16
 
17
- Documentation generated with TypeDoc: [link](https://uatisdeproblem.github.io/IDEA-AWS).
17
+ Documentation generated with TypeDoc: [link](https://iter-idea.github.io/IDEA-AWS).
18
18
 
19
19
  ## Notes
20
20
 
package/dist/index.js CHANGED
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -125,12 +125,12 @@ export declare abstract class ResourceController extends GenericController {
125
125
  t(key: string, interpolateParams?: any): string;
126
126
  /**
127
127
  * Interpolates a string to replace parameters.
128
- * "This is a {{ key }}" ==> "This is a value", with params = { key: "value" }
128
+ * `"This is a {{ key }}"` ==> `"This is a value", with params = { key: "value" }`.
129
129
  */
130
130
  private interpolate;
131
131
  /**
132
132
  * Gets a value from an object by composed key.
133
- * getValue({ key1: { keyA: 'valueI' }}, 'key1.keyA') ==> 'valueI'
133
+ * `getValue({ key1: { keyA: 'valueI' }}, 'key1.keyA')` ==> `'valueI'`.
134
134
  */
135
135
  private getValue;
136
136
  /**
@@ -379,7 +379,7 @@ class ResourceController extends genericController_1.GenericController {
379
379
  }
380
380
  /**
381
381
  * Interpolates a string to replace parameters.
382
- * "This is a {{ key }}" ==> "This is a value", with params = { key: "value" }
382
+ * `"This is a {{ key }}"` ==> `"This is a value", with params = { key: "value" }`.
383
383
  */
384
384
  interpolate(expr, params) {
385
385
  if (!params || !expr)
@@ -391,7 +391,7 @@ class ResourceController extends genericController_1.GenericController {
391
391
  }
392
392
  /**
393
393
  * Gets a value from an object by composed key.
394
- * getValue({ key1: { keyA: 'valueI' }}, 'key1.keyA') ==> 'valueI'
394
+ * `getValue({ key1: { keyA: 'valueI' }}, 'key1.keyA')` ==> `'valueI'`.
395
395
  */
396
396
  getValue(target, key) {
397
397
  const keys = typeof key === 'string' ? key.split('.') : [key];
package/package.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "idea-aws",
3
- "version": "3.11.6",
3
+ "version": "3.11.9",
4
4
  "description": "AWS wrappers to use in IDEA's back-ends",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "scripts": {
8
8
  "lint": "eslint --ext .ts",
9
9
  "compile": "tsc --build",
10
- "docs": "typedoc",
10
+ "docs": "typedoc index.ts",
11
11
  "build": "./build.sh",
12
12
  "publishPackage": "./build.sh && npm publish"
13
13
  },
14
14
  "repository": {
15
15
  "type": "git",
16
- "url": "git+https://github.com/uatisdeproblem/IDEA-AWS.git"
16
+ "url": "git+https://github.com/iter-idea/IDEA-AWS.git"
17
17
  },
18
18
  "keywords": [
19
19
  "idea",
@@ -31,19 +31,19 @@
31
31
  "author": "ITER IDEA <info@iter-idea.com> (https://iter-idea.com)",
32
32
  "license": "ISC",
33
33
  "bugs": {
34
- "url": "https://github.com/uatisdeproblem/IDEA-AWS/issues"
34
+ "url": "https://github.com/iter-idea/IDEA-AWS/issues"
35
35
  },
36
- "homepage": "https://uatisdeproblem.github.io/IDEA-AWS",
36
+ "homepage": "https://iter-idea.github.io/IDEA-AWS",
37
37
  "dependencies": {
38
- "idea-toolbox": "^6.5.14",
39
- "nanoid": "^3.2.0",
40
- "nodemailer": "^6.7.2",
38
+ "idea-toolbox": "^6.5.18",
39
+ "nanoid": "^4.0.0",
40
+ "nodemailer": "^6.7.5",
41
41
  "shortid": "^2.2.16",
42
42
  "source-map-support": "^0.5.21",
43
43
  "uuid": "^8.3.2"
44
44
  },
45
45
  "devDependencies": {
46
- "@tsconfig/node14": "^1.0.0",
46
+ "@tsconfig/node16": "^1.0.3",
47
47
  "@types/aws-lambda": "^8.10.91",
48
48
  "@types/node": "^14.14.26",
49
49
  "@types/nodemailer": "^6.4.4",
@@ -53,7 +53,7 @@
53
53
  "@typescript-eslint/parser": "^4.31.1",
54
54
  "aws-sdk": "^2.991.0",
55
55
  "eslint": "^7.32.0",
56
- "typedoc": "^0.22.4",
56
+ "typedoc": "^0.23.2",
57
57
  "typescript": "^4.4.3"
58
58
  }
59
59
  }