@nrfcloud/lambda-helpers 1.0.36 → 1.1.0

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.
Files changed (2) hide show
  1. package/README.md +16 -2
  2. package/package.json +8 -7
package/README.md CHANGED
@@ -1,10 +1,24 @@
1
1
  # `@nrfcloud/lambda-helpers`
2
2
 
3
- <https://www.npmjs.com/package/@nrfcloud/lambda-helpers>
3
+ <https://github.com/nRFCloud/lambda-helpers/pkgs/npm/lambda-helpers>
4
4
 
5
5
  Helper functions for AWS Lambda functions used in nRF Cloud.
6
6
 
7
- ## Install with NPM
7
+ ## Installation
8
+
9
+ The package is published to the
10
+ [GitHub Packages registry](https://github.com/nRFCloud/lambda-helpers/pkgs/npm/lambda-helpers).
11
+ Releases are also published to
12
+ [npm](https://www.npmjs.com/package/@nrfcloud/lambda-helpers).
13
+
14
+ To install it, point the `@nrfcloud` scope to it in your project's `.npmrc` and
15
+ [authenticate](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-npm-registry#authenticating-to-github-packages)
16
+ with a token that has the `read:packages` scope:
17
+
18
+ ```
19
+ @nrfcloud:registry=https://npm.pkg.github.com
20
+ //npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}
21
+ ```
8
22
 
9
23
  ```bash
10
24
  npm i (--save-prod|--save-dev) @nrfcloud/lambda-helpers
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nrfcloud/lambda-helpers",
3
- "version": "1.0.36",
3
+ "version": "1.1.0",
4
4
  "description": "Helper functions for AWS Lambda functions used in nRF Cloud.",
5
5
  "homepage": "https://github.com/nRFCloud/lambda-helpers#readme",
6
6
  "bugs": {
@@ -30,15 +30,16 @@
30
30
  "README.md"
31
31
  ],
32
32
  "publishConfig": {
33
+ "registry": "https://npm.pkg.github.com",
33
34
  "access": "public"
34
35
  },
35
36
  "devDependencies": {
36
- "@bifravst/prettier-config": "2.0.0",
37
- "@swc/core": "1.16.1",
38
- "@types/aws-lambda": "8.10.162",
39
- "@types/node": "25.9.5",
37
+ "@bifravst/prettier-config": "2.0.4",
38
+ "@swc/core": "1.16.20",
39
+ "@types/aws-lambda": "8.10.164",
40
+ "@types/node": "26.6.5",
40
41
  "@typescript/native": "npm:typescript@7.0.2",
41
- "prettier": "3.9.6",
42
+ "prettier": "3.9.10",
42
43
  "typescript": "npm:@typescript/typescript6@6.0.2"
43
44
  },
44
45
  "prettier": "@bifravst/prettier-config",
@@ -65,7 +66,7 @@
65
66
  "npm": ">=12.0.2 <13"
66
67
  },
67
68
  "dependencies": {
68
- "@aws-lambda-powertools/metrics": "2.35.0",
69
+ "@aws-lambda-powertools/metrics": "2.36.0",
69
70
  "@middy/core": "7.9.2",
70
71
  "@middy/input-output-logger": "7.9.2",
71
72
  "@nrfcloud/problem-detail": "1.4.4",