@netacea/cloudfront 5.1.28 → 5.1.30

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.
@@ -0,0 +1,23 @@
1
+ {
2
+ "version": "0.2.0",
3
+ "configurations": [
4
+ {
5
+ "type": "node",
6
+ "request": "launch",
7
+ "name": "Debug Tests",
8
+ "program": "${workspaceFolder}/node_modules/tape/bin/tape",
9
+ "args": [
10
+ "-r",
11
+ "ts-node/register",
12
+ "-r",
13
+ "tsconfig-paths/register",
14
+ "./tests/*.test.ts"
15
+ ],
16
+ "console": "internalConsole",
17
+ "skipFiles": [
18
+ "<node_internals>/**",
19
+ "${workspaceFolder}/node_modules/**"
20
+ ],
21
+ }
22
+ ]
23
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "cSpell.words": [
3
+ "netaceaintegrationtestrunner"
4
+ ]
5
+ }
package/CHANGELOG.md CHANGED
@@ -3,6 +3,22 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## 5.1.30 (2023-06-13)
7
+
8
+ **Note:** Version bump only for package @netacea/cloudfront
9
+
10
+
11
+
12
+
13
+
14
+ ## 5.1.29 (2023-06-13)
15
+
16
+ **Note:** Version bump only for package @netacea/cloudfront
17
+
18
+
19
+
20
+
21
+
6
22
  ## 5.1.28 (2023-06-12)
7
23
 
8
24
  **Note:** Version bump only for package @netacea/cloudfront
package/dist/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@netacea/cloudfront",
3
- "version": "5.1.28",
3
+ "version": "5.1.30",
4
4
  "description": "Netacea Cloudfront CDN integration",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",
7
7
  "scripts": {
8
8
  "test": "npx nyc tape -r ts-node/register -r tsconfig-paths/register './tests/*.test.ts'",
9
9
  "lint": "npx eslint . --ext ts",
10
+ "lint:fix": "npx eslint . --ext ts --fix",
10
11
  "prepublishOnly": "npx tsc --project tsconfig.build.json"
11
12
  },
12
13
  "author": "Jack Scotson <jack.scotson@netacea.com> (https://netacea.com)",
@@ -15,12 +16,14 @@
15
16
  },
16
17
  "license": "ISC",
17
18
  "devDependencies": {
18
- "@netacea/kinesisingest": "^1.4.28",
19
+ "@netacea/kinesisingest": "^1.4.30",
19
20
  "@types/node": "^14.11.2",
21
+ "@types/proxyquire": "^1.3.28",
20
22
  "@types/sinon": "^9.0.8",
21
23
  "@types/tape": "^4.13.0",
22
24
  "aws-sdk": "^2.763.0",
23
25
  "nyc": "^15.1.0",
26
+ "proxyquire": "^2.1.3",
24
27
  "sinon": "^9.1.0",
25
28
  "tape": "^5.0.1",
26
29
  "ts-node": "^9.0.0",
@@ -28,9 +31,9 @@
28
31
  "typescript": "^3.9.7"
29
32
  },
30
33
  "dependencies": {
31
- "@netacea/netaceaintegrationbase": "^1.16.27",
34
+ "@netacea/netaceaintegrationbase": "^1.16.29",
32
35
  "axios": "^0.21.0",
33
36
  "jose": "^4.11.2"
34
37
  },
35
- "gitHead": "3ac4d369b8e6bde5684878de547a4e44c6ad652b"
38
+ "gitHead": "e1aa884dba0cb10babe2ce962c3ff12c2bef5fb0"
36
39
  }
@@ -1,6 +1,6 @@
1
1
  import NetaceaBase, { MakeRequestArgs, MakeRequestResponse, MitigateResponse, NetaceaBaseArgs, InjectResponse } from '@netacea/netaceaintegrationbase';
2
2
  import type { KinesisIngestArgs } from '@netacea/kinesisingest';
3
- interface CloudfrontHeaders {
3
+ export interface CloudfrontHeaders {
4
4
  [key: string]: (Array<{
5
5
  value: string;
6
6
  key: string;
@@ -9,7 +9,7 @@ interface CloudfrontHeaders {
9
9
  interface CloudfrontObjectBase {
10
10
  headers: CloudfrontHeaders;
11
11
  }
12
- interface CloudfrontCF {
12
+ export interface CloudfrontCF {
13
13
  request: CloudfrontRequest;
14
14
  response?: CloudfrontResponse;
15
15
  }
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@netacea/cloudfront",
3
- "version": "5.1.28",
3
+ "version": "5.1.30",
4
4
  "description": "Netacea Cloudfront CDN integration",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",
7
7
  "scripts": {
8
8
  "test": "npx nyc tape -r ts-node/register -r tsconfig-paths/register './tests/*.test.ts'",
9
9
  "lint": "npx eslint . --ext ts",
10
+ "lint:fix": "npx eslint . --ext ts --fix",
10
11
  "prepublishOnly": "npx tsc --project tsconfig.build.json"
11
12
  },
12
13
  "author": "Jack Scotson <jack.scotson@netacea.com> (https://netacea.com)",
@@ -15,12 +16,14 @@
15
16
  },
16
17
  "license": "ISC",
17
18
  "devDependencies": {
18
- "@netacea/kinesisingest": "^1.4.28",
19
+ "@netacea/kinesisingest": "^1.4.30",
19
20
  "@types/node": "^14.11.2",
21
+ "@types/proxyquire": "^1.3.28",
20
22
  "@types/sinon": "^9.0.8",
21
23
  "@types/tape": "^4.13.0",
22
24
  "aws-sdk": "^2.763.0",
23
25
  "nyc": "^15.1.0",
26
+ "proxyquire": "^2.1.3",
24
27
  "sinon": "^9.1.0",
25
28
  "tape": "^5.0.1",
26
29
  "ts-node": "^9.0.0",
@@ -28,9 +31,9 @@
28
31
  "typescript": "^3.9.7"
29
32
  },
30
33
  "dependencies": {
31
- "@netacea/netaceaintegrationbase": "^1.16.27",
34
+ "@netacea/netaceaintegrationbase": "^1.16.29",
32
35
  "axios": "^0.21.0",
33
36
  "jose": "^4.11.2"
34
37
  },
35
- "gitHead": "3ac4d369b8e6bde5684878de547a4e44c6ad652b"
38
+ "gitHead": "e1aa884dba0cb10babe2ce962c3ff12c2bef5fb0"
36
39
  }