@balena/pinejs-webresource-cloudfront 0.0.2 → 0.0.3
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/.versionbot/CHANGELOG.yml +12 -1
- package/CHANGELOG.md +5 -0
- package/build/index.d.ts +1 -2
- package/build/index.js.map +1 -1
- package/lib/index.ts +2 -1
- package/package.json +2 -2
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
- commits:
|
|
2
|
+
- subject: Export CloudFrontHandler props typings
|
|
3
|
+
hash: 3a438126156faff30525ad4c8b6973af189af248
|
|
4
|
+
body: ""
|
|
5
|
+
footer:
|
|
6
|
+
Change-type: patch
|
|
7
|
+
change-type: patch
|
|
8
|
+
author: Otávio Jacobi
|
|
9
|
+
version: 0.0.3
|
|
10
|
+
title: ""
|
|
11
|
+
date: 2023-08-28T13:59:10.580Z
|
|
1
12
|
- commits:
|
|
2
13
|
- subject: Fix doc detail
|
|
3
14
|
hash: 6272ef4855f5f9d5695362be148393ec90dd3ff0
|
|
@@ -15,4 +26,4 @@
|
|
|
15
26
|
author: Otávio Jacobi
|
|
16
27
|
version: 0.0.2
|
|
17
28
|
title: ""
|
|
18
|
-
date: 2023-08-26T21:
|
|
29
|
+
date: 2023-08-26T21:43:52.553Z
|
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file
|
|
|
4
4
|
automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY!
|
|
5
5
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
|
6
6
|
|
|
7
|
+
# v0.0.3
|
|
8
|
+
## (2023-08-28)
|
|
9
|
+
|
|
10
|
+
* Export CloudFrontHandler props typings [Otávio Jacobi]
|
|
11
|
+
|
|
7
12
|
# v0.0.2
|
|
8
13
|
## (2023-08-26)
|
|
9
14
|
|
package/build/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { webResourceHandler } from '@balena/pinejs';
|
|
2
2
|
import type { WebResourceType as WebResource } from '@balena/sbvr-types';
|
|
3
|
-
interface CloudFrontHandlerProps extends webResourceHandler.S3HandlerProps {
|
|
3
|
+
export interface CloudFrontHandlerProps extends webResourceHandler.S3HandlerProps {
|
|
4
4
|
cfPublicKeyId: string;
|
|
5
5
|
cfSecretKey: string;
|
|
6
6
|
cfDistributionDomain: string;
|
|
@@ -18,4 +18,3 @@ export declare class CloudFrontHandler extends webResourceHandler.S3Handler {
|
|
|
18
18
|
private getExpiryDate;
|
|
19
19
|
private cfGetKeyFromHref;
|
|
20
20
|
}
|
|
21
|
-
export {};
|
package/build/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../lib/index.ts"],"names":[],"mappings":";;;AAAA,2CAAoD;AACpD,oCAAoC;AACpC,kEAA0D;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../lib/index.ts"],"names":[],"mappings":";;;AAAA,2CAAoD;AACpD,oCAAoC;AACpC,kEAA0D;AAU1D,MAAa,iBAAkB,SAAQ,2BAAkB,CAAC,SAAS;IASlE,YAAY,QAAgC;QAC3C,KAAK,CAAC,QAAQ,CAAC,CAAC;QAJA,iCAA4B,GAAG,KAAK,CAAC;QACrC,sCAAiC,GAAG,KAAK,CAAC;QAiBnD,yBAAoB,GAAG,OAAO,CAAC,IAAI,CAAC,SAAS,EAAE;YACtD,MAAM,EAAE,IAAI,CAAC,iCAAiC,GAAG,IAAI;SACrD,CAAC,CAAC;QAfF,IAAI,CAAC,WAAW,GAAG,QAAQ,CAAC,WAAW,CAAC;QACxC,IAAI,CAAC,aAAa,GAAG,QAAQ,CAAC,aAAa,CAAC;QAC5C,IAAI,CAAC,oBAAoB,GAAG,QAAQ,CAAC,oBAAoB,CAAC;IAC3D,CAAC;IAEM,KAAK,CAAC,YAAY,CAAC,WAAwB;QACjD,MAAM,OAAO,GAAG,IAAI,CAAC,gBAAgB,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;QACxD,WAAW,CAAC,IAAI,GAAG,IAAI,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC;QACtD,OAAO,WAAW,CAAC;IACpB,CAAC;IAQO,SAAS,CAAC,OAAe;QAChC,OAAO,IAAA,gCAAY,EAAC;YACnB,GAAG,EAAE,GAAG,IAAI,CAAC,oBAAoB,IAAI,OAAO,EAAE;YAC9C,SAAS,EAAE,IAAI,CAAC,aAAa;YAC7B,UAAU,EAAE,IAAI,CAAC,WAAW;YAC5B,YAAY,EAAE,IAAI,CAAC,aAAa,EAAE;SAClC,CAAC,CAAC;IACJ,CAAC;IAEO,aAAa;QACpB,MAAM,GAAG,GAAG,IAAI,IAAI,EAAE,CAAC,OAAO,EAAE,CAAC;QACjC,MAAM,MAAM,GAAG,GAAG,GAAG,IAAI,CAAC,4BAA4B,GAAG,IAAI,CAAC;QAC9D,OAAO,IAAI,IAAI,CAAC,MAAM,CAAC,CAAC,WAAW,EAAE,CAAC;IACvC,CAAC;IAEO,gBAAgB,CAAC,IAAY;QACpC,MAAM,iBAAiB,GAAG,2BAAkB,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;QACjE,OAAO,iBAAiB;aACtB,KAAK,CAAC,GAAG,CAAC;aACV,KAAK,CAAC,CAAC,CAAC;aACR,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,KAAK,EAAE,CAAC;aAC7B,IAAI,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACD;AAnDD,8CAmDC"}
|
package/lib/index.ts
CHANGED
|
@@ -3,7 +3,8 @@ import * as memoize from 'memoizee';
|
|
|
3
3
|
import { getSignedUrl } from '@aws-sdk/cloudfront-signer';
|
|
4
4
|
import type { WebResourceType as WebResource } from '@balena/sbvr-types';
|
|
5
5
|
|
|
6
|
-
interface CloudFrontHandlerProps
|
|
6
|
+
export interface CloudFrontHandlerProps
|
|
7
|
+
extends webResourceHandler.S3HandlerProps {
|
|
7
8
|
cfPublicKeyId: string;
|
|
8
9
|
cfSecretKey: string;
|
|
9
10
|
cfDistributionDomain: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@balena/pinejs-webresource-cloudfront",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"description": "A PineJS WebResource handler for storing files on S3 and serving via AWS Cloudfront",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -25,6 +25,6 @@
|
|
|
25
25
|
"memoizee": "^0.4.15"
|
|
26
26
|
},
|
|
27
27
|
"versionist": {
|
|
28
|
-
"publishedAt": "2023-08-
|
|
28
|
+
"publishedAt": "2023-08-28T13:59:10.641Z"
|
|
29
29
|
}
|
|
30
30
|
}
|