@awsless/awsless 0.0.93 → 0.0.95
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 -3
- 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/dist/index.js +4 -4
- package/package.json +2 -2
package/dist/bin.js
CHANGED
|
@@ -1616,7 +1616,7 @@ var functionPlugin = definePlugin({
|
|
|
1616
1616
|
types2.addCode(typeGenCode);
|
|
1617
1617
|
types2.addInterface("FunctionResources", resources);
|
|
1618
1618
|
types2.addInterface("FunctionMock", mocks);
|
|
1619
|
-
types2.addInterface("
|
|
1619
|
+
types2.addInterface("FunctionMockResponse", mockResponses);
|
|
1620
1620
|
return types2.toString();
|
|
1621
1621
|
},
|
|
1622
1622
|
onStack(ctx) {
|
|
@@ -2026,7 +2026,7 @@ var queuePlugin = definePlugin({
|
|
|
2026
2026
|
gen.addCode(typeGenCode2);
|
|
2027
2027
|
gen.addInterface("QueueResources", resources);
|
|
2028
2028
|
gen.addInterface("QueueMock", mocks);
|
|
2029
|
-
gen.addInterface("
|
|
2029
|
+
gen.addInterface("QueueMockResponse", mockResponses);
|
|
2030
2030
|
return gen.toString();
|
|
2031
2031
|
},
|
|
2032
2032
|
onStack(ctx) {
|
|
@@ -2621,7 +2621,7 @@ var topicPlugin = definePlugin({
|
|
|
2621
2621
|
gen.addCode(typeGenCode3);
|
|
2622
2622
|
gen.addInterface("TopicResources", resources);
|
|
2623
2623
|
gen.addInterface("TopicMock", mocks);
|
|
2624
|
-
gen.addInterface("
|
|
2624
|
+
gen.addInterface("TopicMockResponse", mockResponses);
|
|
2625
2625
|
return gen.toString();
|
|
2626
2626
|
},
|
|
2627
2627
|
onApp({ config, bootstrap: bootstrap2 }) {
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/index.js
CHANGED
|
@@ -297,7 +297,7 @@ var mockFunction = (cb) => {
|
|
|
297
297
|
};
|
|
298
298
|
|
|
299
299
|
// src/node/mock/topic.ts
|
|
300
|
-
import {
|
|
300
|
+
import { mockSNS } from "@awsless/sns";
|
|
301
301
|
var mockTopic = (cb) => {
|
|
302
302
|
const list = {};
|
|
303
303
|
const mock = createProxy((name) => {
|
|
@@ -307,14 +307,14 @@ var mockTopic = (cb) => {
|
|
|
307
307
|
};
|
|
308
308
|
});
|
|
309
309
|
cb(mock);
|
|
310
|
-
const result =
|
|
310
|
+
const result = mockSNS(list);
|
|
311
311
|
return createProxy((name) => {
|
|
312
312
|
return result[getTopicName(name)];
|
|
313
313
|
});
|
|
314
314
|
};
|
|
315
315
|
|
|
316
316
|
// src/node/mock/queue.ts
|
|
317
|
-
import { mockSQS
|
|
317
|
+
import { mockSQS } from "@awsless/sqs";
|
|
318
318
|
var mockQueue = (cb) => {
|
|
319
319
|
const list = {};
|
|
320
320
|
const mock = createProxy((stack) => {
|
|
@@ -326,7 +326,7 @@ var mockQueue = (cb) => {
|
|
|
326
326
|
});
|
|
327
327
|
});
|
|
328
328
|
cb(mock);
|
|
329
|
-
const result =
|
|
329
|
+
const result = mockSQS(list);
|
|
330
330
|
return createProxy((stack) => {
|
|
331
331
|
return createProxy((name) => {
|
|
332
332
|
return result[getQueueName(stack, name)];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@awsless/awsless",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.95",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"@awsless/lambda": "^0.0.13",
|
|
28
|
-
"@awsless/redis": "^0.0.8",
|
|
29
28
|
"@awsless/sns": "^0.0.7",
|
|
29
|
+
"@awsless/redis": "^0.0.8",
|
|
30
30
|
"@awsless/sqs": "^0.0.7",
|
|
31
31
|
"@awsless/ssm": "^0.0.7",
|
|
32
32
|
"@awsless/validate": "^0.0.6"
|