@hello.nrfcloud.com/nrfcloud-api-helpers 1.5.0 → 2.0.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hello.nrfcloud.com/nrfcloud-api-helpers",
3
- "version": "1.5.0",
3
+ "version": "2.0.0",
4
4
  "description": "Helper functions for integrating nRF Cloud APIs in AWS lambdas written in TypeScript.",
5
5
  "exports": {
6
6
  "./*": {
@@ -32,9 +32,9 @@
32
32
  "author": "Nordic Semiconductor ASA | nordicsemi.no",
33
33
  "license": "BSD-3-Clause",
34
34
  "devDependencies": {
35
- "@bifravst/eslint-config-typescript": "6.0.21",
35
+ "@bifravst/eslint-config-typescript": "6.0.23",
36
36
  "@bifravst/prettier-config": "1.0.0",
37
- "@commitlint/config-conventional": "19.1.0",
37
+ "@commitlint/config-conventional": "19.2.2",
38
38
  "@types/aws-lambda": "8.10.137",
39
39
  "@types/node": "20.12.7",
40
40
  "husky": "9.0.11",
@@ -80,19 +80,17 @@
80
80
  "access": "public"
81
81
  },
82
82
  "files": [
83
- "package-lock.json",
84
83
  "dist",
85
84
  "LICENSE",
86
85
  "README.md"
87
86
  ],
88
87
  "prettier": "@bifravst/prettier-config",
89
88
  "peerDependencies": {
90
- "@aws-sdk/client-dynamodb": "^3.552.0",
91
- "@aws-sdk/client-ssm": "^3.552.0",
92
- "@aws-sdk/util-dynamodb": "^3.552.0",
89
+ "@aws-sdk/client-dynamodb": "^3.556.0",
90
+ "@aws-sdk/client-ssm": "^3.556.0",
91
+ "@aws-sdk/util-dynamodb": "^3.556.0",
93
92
  "@bifravst/aws-ssm-settings-helpers": "^1.0.3",
94
- "@hello.nrfcloud.com/proto": "^6.5.0",
95
- "@sinclair/typebox": "^0.32.20",
96
- "aws-cdk-lib": "^2.137.0"
93
+ "@hello.nrfcloud.com/proto": "^6.5.3",
94
+ "@sinclair/typebox": "^0.32.20"
97
95
  }
98
96
  }
@@ -1,6 +0,0 @@
1
- import { aws_iam as IAM } from 'aws-cdk-lib';
2
- export declare const Permissions: (stack: {
3
- stackName: string;
4
- region: string;
5
- account: string;
6
- }) => IAM.PolicyStatement;
@@ -1,7 +0,0 @@
1
- import { aws_iam as IAM } from 'aws-cdk-lib';
2
- export const Permissions = (stack) => new IAM.PolicyStatement({
3
- actions: ['ssm:GetParametersByPath', 'ssm:GetParameter'],
4
- resources: [
5
- `arn:aws:ssm:${stack.region}:${stack.account}:parameter/${stack.stackName}/*`,
6
- ],
7
- });
@@ -1 +0,0 @@
1
- export * from './Permissions.js';
package/dist/cdk/index.js DELETED
@@ -1 +0,0 @@
1
- export * from './Permissions.js';