@awsless/awsless 0.0.159 → 0.0.161
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/dist/bin.js +3 -1
- package/dist/features/cognito-client-secret/bundle.zip +0 -0
- package/dist/features/delete-bucket/bundle.zip +0 -0
- package/dist/features/delete-hosted-zone/bundle.zip +0 -0
- package/dist/features/global-exports/bundle.zip +0 -0
- package/dist/features/invalidate-cache/bundle.zip +0 -0
- package/dist/features/upload-bucket-asset/bundle.zip +0 -0
- package/package.json +2 -2
package/dist/bin.js
CHANGED
|
@@ -4913,7 +4913,7 @@ import { Body, PutObjectProps, BodyStream } from '@awsless/s3'
|
|
|
4913
4913
|
type Store<Name extends string> = {
|
|
4914
4914
|
readonly name: Name
|
|
4915
4915
|
readonly put: (key: string, body: Body, options?: Pick<PutObjectProps, 'metadata' | 'storageClass'>) => Promise<void>
|
|
4916
|
-
readonly get: (key: string) => Promise<BodyStream>
|
|
4916
|
+
readonly get: (key: string) => Promise<BodyStream | undefined>
|
|
4917
4917
|
readonly delete: (key: string) => Promise<void>
|
|
4918
4918
|
}
|
|
4919
4919
|
`;
|
|
@@ -7308,6 +7308,7 @@ var assetBuilder = (app) => {
|
|
|
7308
7308
|
async read(fingerprint, files) {
|
|
7309
7309
|
const prev = await getFingerPrint();
|
|
7310
7310
|
if (prev !== fingerprint) {
|
|
7311
|
+
debug("Outdated fingerprint:", asset.type, asset.id);
|
|
7311
7312
|
throw new TypeError(`Outdated fingerprint: ${fingerprint}`);
|
|
7312
7313
|
}
|
|
7313
7314
|
return Promise.all(
|
|
@@ -7970,6 +7971,7 @@ var assetPublisher = (config2, app) => {
|
|
|
7970
7971
|
async read(fingerprint, files) {
|
|
7971
7972
|
const prev = await readFile7(getFullPath("FINGER_PRINT"), "utf8");
|
|
7972
7973
|
if (prev !== fingerprint) {
|
|
7974
|
+
debug("Outdated fingerprint:", asset.type, asset.id);
|
|
7973
7975
|
throw new TypeError(`Outdated fingerprint: ${fingerprint}`);
|
|
7974
7976
|
}
|
|
7975
7977
|
return Promise.all(
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@awsless/awsless",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.161",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"@awsless/lambda": "^0.0.18",
|
|
32
|
+
"@awsless/redis": "^0.0.10",
|
|
32
33
|
"@awsless/s3": "^0.0.10",
|
|
33
34
|
"@awsless/sns": "^0.0.7",
|
|
34
|
-
"@awsless/redis": "^0.0.10",
|
|
35
35
|
"@awsless/sqs": "^0.0.7",
|
|
36
36
|
"@awsless/ssm": "^0.0.7",
|
|
37
37
|
"@awsless/validate": "^0.0.13",
|