@geekmidas/constructs 0.5.0 → 0.6.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/dist/{AWSLambdaFunction-DnMm4xvz.mjs → AWSLambdaFunction-BMTaCrG9.mjs} +3 -3
- package/dist/{AWSLambdaFunction-DnMm4xvz.mjs.map → AWSLambdaFunction-BMTaCrG9.mjs.map} +1 -1
- package/dist/{AWSLambdaFunction-CuG3HNZx.d.mts → AWSLambdaFunction-BfLF5vNa.d.cts} +5 -5
- package/dist/{AWSLambdaFunction-CuG3HNZx.d.mts.map → AWSLambdaFunction-BfLF5vNa.d.cts.map} +1 -1
- package/dist/{AWSLambdaFunction-Ba1DcsW2.cjs → AWSLambdaFunction-C1gRqLO7.cjs} +3 -3
- package/dist/{AWSLambdaFunction-Ba1DcsW2.cjs.map → AWSLambdaFunction-C1gRqLO7.cjs.map} +1 -1
- package/dist/{AWSLambdaFunction-CKe73Qr0.d.cts → AWSLambdaFunction-K94K8JU2.d.mts} +5 -5
- package/dist/{AWSLambdaFunction-CKe73Qr0.d.cts.map → AWSLambdaFunction-K94K8JU2.d.mts.map} +1 -1
- package/dist/{AWSLambdaSubscriberAdaptor-B4HH-WuQ.d.mts → AWSLambdaSubscriberAdaptor-B2Gk3fgx.d.cts} +4 -4
- package/dist/{AWSLambdaSubscriberAdaptor-B4HH-WuQ.d.mts.map → AWSLambdaSubscriberAdaptor-B2Gk3fgx.d.cts.map} +1 -1
- package/dist/{AWSLambdaSubscriberAdaptor-BEqQ96VJ.d.cts → AWSLambdaSubscriberAdaptor-QuMFwltJ.d.mts} +4 -4
- package/dist/{AWSLambdaSubscriberAdaptor-BEqQ96VJ.d.cts.map → AWSLambdaSubscriberAdaptor-QuMFwltJ.d.mts.map} +1 -1
- package/dist/{AmazonApiGatewayEndpointAdaptor-Bvy-Hgjf.mjs → AmazonApiGatewayEndpointAdaptor-B4gLJ2dx.mjs} +2 -2
- package/dist/{AmazonApiGatewayEndpointAdaptor-Bvy-Hgjf.mjs.map → AmazonApiGatewayEndpointAdaptor-B4gLJ2dx.mjs.map} +1 -1
- package/dist/{AmazonApiGatewayEndpointAdaptor-DsWnO6x9.d.cts → AmazonApiGatewayEndpointAdaptor-C987ZCsM.d.cts} +2 -2
- package/dist/{AmazonApiGatewayEndpointAdaptor-DsWnO6x9.d.cts.map → AmazonApiGatewayEndpointAdaptor-C987ZCsM.d.cts.map} +1 -1
- package/dist/{AmazonApiGatewayEndpointAdaptor-Cpxluhfg.cjs → AmazonApiGatewayEndpointAdaptor-CwRKMRr_.cjs} +2 -2
- package/dist/{AmazonApiGatewayEndpointAdaptor-Cpxluhfg.cjs.map → AmazonApiGatewayEndpointAdaptor-CwRKMRr_.cjs.map} +1 -1
- package/dist/{AmazonApiGatewayEndpointAdaptor-DTgdZ8I1.d.mts → AmazonApiGatewayEndpointAdaptor-DpPfO6Vj.d.mts} +2 -2
- package/dist/{AmazonApiGatewayEndpointAdaptor-DTgdZ8I1.d.mts.map → AmazonApiGatewayEndpointAdaptor-DpPfO6Vj.d.mts.map} +1 -1
- package/dist/{AmazonApiGatewayV1EndpointAdaptor-B8vIYYNh.cjs → AmazonApiGatewayV1EndpointAdaptor-BeZMu5DZ.cjs} +2 -2
- package/dist/{AmazonApiGatewayV1EndpointAdaptor-B8vIYYNh.cjs.map → AmazonApiGatewayV1EndpointAdaptor-BeZMu5DZ.cjs.map} +1 -1
- package/dist/{AmazonApiGatewayV1EndpointAdaptor-RWRmFPrN.d.mts → AmazonApiGatewayV1EndpointAdaptor-DI_5kdqw.d.mts} +3 -3
- package/dist/{AmazonApiGatewayV1EndpointAdaptor-RWRmFPrN.d.mts.map → AmazonApiGatewayV1EndpointAdaptor-DI_5kdqw.d.mts.map} +1 -1
- package/dist/{AmazonApiGatewayV1EndpointAdaptor-7ELXUBFK.d.cts → AmazonApiGatewayV1EndpointAdaptor-DkGMOpoB.d.cts} +3 -3
- package/dist/{AmazonApiGatewayV1EndpointAdaptor-7ELXUBFK.d.cts.map → AmazonApiGatewayV1EndpointAdaptor-DkGMOpoB.d.cts.map} +1 -1
- package/dist/{AmazonApiGatewayV1EndpointAdaptor-ByXGIju8.mjs → AmazonApiGatewayV1EndpointAdaptor-VccB6FKp.mjs} +2 -2
- package/dist/{AmazonApiGatewayV1EndpointAdaptor-ByXGIju8.mjs.map → AmazonApiGatewayV1EndpointAdaptor-VccB6FKp.mjs.map} +1 -1
- package/dist/{AmazonApiGatewayV2EndpointAdaptor-D_uMTmuJ.d.cts → AmazonApiGatewayV2EndpointAdaptor-BtBnMJS_.d.cts} +3 -3
- package/dist/{AmazonApiGatewayV2EndpointAdaptor-D_uMTmuJ.d.cts.map → AmazonApiGatewayV2EndpointAdaptor-BtBnMJS_.d.cts.map} +1 -1
- package/dist/{AmazonApiGatewayV2EndpointAdaptor-DIetspUm.cjs → AmazonApiGatewayV2EndpointAdaptor-BwsL9Gia.cjs} +2 -2
- package/dist/{AmazonApiGatewayV2EndpointAdaptor-DIetspUm.cjs.map → AmazonApiGatewayV2EndpointAdaptor-BwsL9Gia.cjs.map} +1 -1
- package/dist/{AmazonApiGatewayV2EndpointAdaptor-DWemCZvl.mjs → AmazonApiGatewayV2EndpointAdaptor-CljxmUfz.mjs} +2 -2
- package/dist/{AmazonApiGatewayV2EndpointAdaptor-DWemCZvl.mjs.map → AmazonApiGatewayV2EndpointAdaptor-CljxmUfz.mjs.map} +1 -1
- package/dist/{AmazonApiGatewayV2EndpointAdaptor-wnOMDv6o.d.mts → AmazonApiGatewayV2EndpointAdaptor-DnCoqlvw.d.mts} +3 -3
- package/dist/{AmazonApiGatewayV2EndpointAdaptor-wnOMDv6o.d.mts.map → AmazonApiGatewayV2EndpointAdaptor-DnCoqlvw.d.mts.map} +1 -1
- package/dist/{BaseFunctionBuilder-BAtutR6q.d.cts → BaseFunctionBuilder-BqZCqIeU.d.mts} +3 -3
- package/dist/{BaseFunctionBuilder-BAtutR6q.d.cts.map → BaseFunctionBuilder-BqZCqIeU.d.mts.map} +1 -1
- package/dist/{BaseFunctionBuilder-CDfDWWAQ.d.mts → BaseFunctionBuilder-CcK691ni.d.cts} +3 -3
- package/dist/{BaseFunctionBuilder-CDfDWWAQ.d.mts.map → BaseFunctionBuilder-CcK691ni.d.cts.map} +1 -1
- package/dist/{BaseFunctionBuilder-0qlenb9z.mjs → BaseFunctionBuilder-Dsqe6pnn.mjs} +2 -2
- package/dist/{BaseFunctionBuilder-0qlenb9z.mjs.map → BaseFunctionBuilder-Dsqe6pnn.mjs.map} +1 -1
- package/dist/{BaseFunctionBuilder-D7o93EGv.cjs → BaseFunctionBuilder-Z0XwrKB5.cjs} +2 -2
- package/dist/{BaseFunctionBuilder-D7o93EGv.cjs.map → BaseFunctionBuilder-Z0XwrKB5.cjs.map} +1 -1
- package/dist/{Construct-D5dCvxZ3.mjs → Construct-BNDLJJfD.mjs} +56 -13
- package/dist/Construct-BNDLJJfD.mjs.map +1 -0
- package/dist/{Construct-BlnyYtJC.cjs → Construct-CPrCF8NK.cjs} +67 -12
- package/dist/Construct-CPrCF8NK.cjs.map +1 -0
- package/dist/{Construct-C4rPE67v.d.cts → Construct-Dl0l2d8d.d.cts} +30 -4
- package/dist/Construct-Dl0l2d8d.d.cts.map +1 -0
- package/dist/{Construct-dZiwVo0q.d.mts → Construct-E8QPyHh4.d.mts} +30 -4
- package/dist/Construct-E8QPyHh4.d.mts.map +1 -0
- package/dist/Construct.cjs +4 -2
- package/dist/Construct.d.cts +2 -2
- package/dist/Construct.d.mts +2 -2
- package/dist/Construct.mjs +2 -2
- package/dist/{Cron-BAPQetlC.cjs → Cron-BmPNTLla.cjs} +3 -3
- package/dist/{Cron-BAPQetlC.cjs.map → Cron-BmPNTLla.cjs.map} +1 -1
- package/dist/{Cron-CAk_ddH8.mjs → Cron-BpJONaFv.mjs} +3 -3
- package/dist/{Cron-CAk_ddH8.mjs.map → Cron-BpJONaFv.mjs.map} +1 -1
- package/dist/{Cron-B6FnTu7k.d.cts → Cron-CnmLLh3E.d.mts} +3 -3
- package/dist/{Cron-B6FnTu7k.d.cts.map → Cron-CnmLLh3E.d.mts.map} +1 -1
- package/dist/{Cron-D3bEljxQ.d.mts → Cron-DufAeHry.d.cts} +3 -3
- package/dist/{Cron-D3bEljxQ.d.mts.map → Cron-DufAeHry.d.cts.map} +1 -1
- package/dist/{CronBuilder-e8TaHPYm.mjs → CronBuilder-02HSIHJr.mjs} +4 -4
- package/dist/{CronBuilder-e8TaHPYm.mjs.map → CronBuilder-02HSIHJr.mjs.map} +1 -1
- package/dist/{CronBuilder-DxXA5ymv.cjs → CronBuilder-DC2zUS8a.cjs} +4 -4
- package/dist/{CronBuilder-DxXA5ymv.cjs.map → CronBuilder-DC2zUS8a.cjs.map} +1 -1
- package/dist/{CronBuilder-CA8euP0z.d.cts → CronBuilder-anUSbMxb.d.mts} +5 -5
- package/dist/{CronBuilder-CA8euP0z.d.cts.map → CronBuilder-anUSbMxb.d.mts.map} +1 -1
- package/dist/{CronBuilder-DvdiKzhq.d.mts → CronBuilder-fyqf_X8n.d.cts} +5 -5
- package/dist/{CronBuilder-DvdiKzhq.d.mts.map → CronBuilder-fyqf_X8n.d.cts.map} +1 -1
- package/dist/{Endpoint-DxvnlfXg.cjs → Endpoint-BCWVbi8l.cjs} +3 -3
- package/dist/{Endpoint-DxvnlfXg.cjs.map → Endpoint-BCWVbi8l.cjs.map} +1 -1
- package/dist/{Endpoint-BOlbY5iq.d.cts → Endpoint-BlcHiGNx.d.cts} +2 -2
- package/dist/{Endpoint-Dlv7nxgj.d.mts.map → Endpoint-BlcHiGNx.d.cts.map} +1 -1
- package/dist/{Endpoint-Dlv7nxgj.d.mts → Endpoint-DEHuy46S.d.mts} +2 -2
- package/dist/{Endpoint-BOlbY5iq.d.cts.map → Endpoint-DEHuy46S.d.mts.map} +1 -1
- package/dist/{Endpoint-BbdNmtlM.mjs → Endpoint-ygxv2Ia6.mjs} +3 -3
- package/dist/{Endpoint-BbdNmtlM.mjs.map → Endpoint-ygxv2Ia6.mjs.map} +1 -1
- package/dist/{EndpointBuilder-CFfWWjUa.d.cts → EndpointBuilder-DPLAUHqg.d.cts} +3 -3
- package/dist/{EndpointBuilder-T_K2NLWw.d.mts.map → EndpointBuilder-DPLAUHqg.d.cts.map} +1 -1
- package/dist/{EndpointBuilder-T_K2NLWw.d.mts → EndpointBuilder-DaeCeneF.d.mts} +3 -3
- package/dist/{EndpointBuilder-CFfWWjUa.d.cts.map → EndpointBuilder-DaeCeneF.d.mts.map} +1 -1
- package/dist/{EndpointBuilder-40Iz5CjY.cjs → EndpointBuilder-J5D67Y6a.cjs} +4 -4
- package/dist/{EndpointBuilder-40Iz5CjY.cjs.map → EndpointBuilder-J5D67Y6a.cjs.map} +1 -1
- package/dist/{EndpointBuilder-BaVvhW9m.mjs → EndpointBuilder-tn4zqoyw.mjs} +4 -4
- package/dist/{EndpointBuilder-BaVvhW9m.mjs.map → EndpointBuilder-tn4zqoyw.mjs.map} +1 -1
- package/dist/{EndpointFactory-DfNjSgVG.mjs → EndpointFactory-CIUZTTAF.mjs} +2 -2
- package/dist/{EndpointFactory-DfNjSgVG.mjs.map → EndpointFactory-CIUZTTAF.mjs.map} +1 -1
- package/dist/{EndpointFactory-ChzBVEM9.d.cts → EndpointFactory-CiKcb5PX.d.cts} +3 -3
- package/dist/{EndpointFactory-ChzBVEM9.d.cts.map → EndpointFactory-CiKcb5PX.d.cts.map} +1 -1
- package/dist/{EndpointFactory-GAL_tuPf.d.mts → EndpointFactory-DufM0t2z.d.mts} +3 -3
- package/dist/{EndpointFactory-GAL_tuPf.d.mts.map → EndpointFactory-DufM0t2z.d.mts.map} +1 -1
- package/dist/{EndpointFactory-r6jxPvQ8.cjs → EndpointFactory-d5uwWFkK.cjs} +2 -2
- package/dist/{EndpointFactory-r6jxPvQ8.cjs.map → EndpointFactory-d5uwWFkK.cjs.map} +1 -1
- package/dist/{Function-iLKrUXuw.cjs → Function-2qWSZqYB.cjs} +2 -2
- package/dist/{Function-iLKrUXuw.cjs.map → Function-2qWSZqYB.cjs.map} +1 -1
- package/dist/{Function-DBmU3uGI.d.mts → Function-CbEohg13.d.cts} +3 -3
- package/dist/{Function-DBmU3uGI.d.mts.map → Function-CbEohg13.d.cts.map} +1 -1
- package/dist/{Function-D8tBamM3.mjs → Function-CdF1HmFu.mjs} +2 -2
- package/dist/{Function-D8tBamM3.mjs.map → Function-CdF1HmFu.mjs.map} +1 -1
- package/dist/{Function-PNW4HdNE.d.cts → Function-EjIOLxlh.d.mts} +3 -3
- package/dist/{Function-PNW4HdNE.d.cts.map → Function-EjIOLxlh.d.mts.map} +1 -1
- package/dist/{FunctionBuilder-BEpPgeho.cjs → FunctionBuilder-B-pbgm09.cjs} +4 -4
- package/dist/{FunctionBuilder-BEpPgeho.cjs.map → FunctionBuilder-B-pbgm09.cjs.map} +1 -1
- package/dist/{FunctionBuilder-Bv4H2I1a.d.mts → FunctionBuilder-CX3ooNdq.d.cts} +5 -5
- package/dist/{FunctionBuilder-Bv4H2I1a.d.mts.map → FunctionBuilder-CX3ooNdq.d.cts.map} +1 -1
- package/dist/{FunctionBuilder-DCqXIHaq.d.cts → FunctionBuilder-D11ytDyy.d.mts} +5 -5
- package/dist/{FunctionBuilder-DCqXIHaq.d.cts.map → FunctionBuilder-D11ytDyy.d.mts.map} +1 -1
- package/dist/{FunctionBuilder-BwNF99AB.mjs → FunctionBuilder-DaWVthAJ.mjs} +4 -4
- package/dist/{FunctionBuilder-BwNF99AB.mjs.map → FunctionBuilder-DaWVthAJ.mjs.map} +1 -1
- package/dist/{FunctionExecutionWrapper-BclgIztn.d.cts → FunctionExecutionWrapper-BJcRjH9Z.d.cts} +2 -2
- package/dist/{FunctionExecutionWrapper-BclgIztn.d.cts.map → FunctionExecutionWrapper-BJcRjH9Z.d.cts.map} +1 -1
- package/dist/{FunctionExecutionWrapper-BjF6t9Hb.cjs → FunctionExecutionWrapper-C6ChBNHs.cjs} +2 -2
- package/dist/{FunctionExecutionWrapper-BjF6t9Hb.cjs.map → FunctionExecutionWrapper-C6ChBNHs.cjs.map} +1 -1
- package/dist/{FunctionExecutionWrapper-Dq21c6vt.d.mts → FunctionExecutionWrapper-D3RNjGIR.d.mts} +2 -2
- package/dist/{FunctionExecutionWrapper-Dq21c6vt.d.mts.map → FunctionExecutionWrapper-D3RNjGIR.d.mts.map} +1 -1
- package/dist/{FunctionExecutionWrapper-B__HE_B-.mjs → FunctionExecutionWrapper-Dj3pmXaN.mjs} +2 -2
- package/dist/{FunctionExecutionWrapper-B__HE_B-.mjs.map → FunctionExecutionWrapper-Dj3pmXaN.mjs.map} +1 -1
- package/dist/{HonoEndpointAdaptor-HukjdF6M.d.mts → HonoEndpointAdaptor-CKP6nrG2.d.mts} +4 -4
- package/dist/{HonoEndpointAdaptor-Dkkemmbo.d.cts.map → HonoEndpointAdaptor-CKP6nrG2.d.mts.map} +1 -1
- package/dist/{HonoEndpointAdaptor-C_ym_Sbr.mjs → HonoEndpointAdaptor-Cc8Rnp9G.mjs} +3 -3
- package/dist/{HonoEndpointAdaptor-C_ym_Sbr.mjs.map → HonoEndpointAdaptor-Cc8Rnp9G.mjs.map} +1 -1
- package/dist/{HonoEndpointAdaptor-Dkkemmbo.d.cts → HonoEndpointAdaptor-hrrvyfw9.d.cts} +2 -2
- package/dist/{HonoEndpointAdaptor-HukjdF6M.d.mts.map → HonoEndpointAdaptor-hrrvyfw9.d.cts.map} +1 -1
- package/dist/{HonoEndpointAdaptor-DiQH0eTb.cjs → HonoEndpointAdaptor-xGnDZa3a.cjs} +3 -3
- package/dist/{HonoEndpointAdaptor-DiQH0eTb.cjs.map → HonoEndpointAdaptor-xGnDZa3a.cjs.map} +1 -1
- package/dist/{Subscriber--zUjZDR6.d.cts → Subscriber-BBcIOkhW.d.cts} +2 -2
- package/dist/{Subscriber--zUjZDR6.d.cts.map → Subscriber-BBcIOkhW.d.cts.map} +1 -1
- package/dist/{Subscriber-0Ac7cXID.d.mts → Subscriber-BpTAXvbM.d.mts} +2 -2
- package/dist/{Subscriber-0Ac7cXID.d.mts.map → Subscriber-BpTAXvbM.d.mts.map} +1 -1
- package/dist/{Subscriber-CoFmHMIM.cjs → Subscriber-CL4iYm01.cjs} +2 -2
- package/dist/{Subscriber-CoFmHMIM.cjs.map → Subscriber-CL4iYm01.cjs.map} +1 -1
- package/dist/{Subscriber-BgZ8T-O2.mjs → Subscriber-CZ8Smwd2.mjs} +2 -2
- package/dist/{Subscriber-BgZ8T-O2.mjs.map → Subscriber-CZ8Smwd2.mjs.map} +1 -1
- package/dist/{SubscriberBuilder-DWXWZBPo.mjs → SubscriberBuilder-CxQg3TTm.mjs} +2 -2
- package/dist/{SubscriberBuilder-DWXWZBPo.mjs.map → SubscriberBuilder-CxQg3TTm.mjs.map} +1 -1
- package/dist/{SubscriberBuilder-JlxhyqGp.cjs → SubscriberBuilder-D0OS3hd7.cjs} +2 -2
- package/dist/{SubscriberBuilder-JlxhyqGp.cjs.map → SubscriberBuilder-D0OS3hd7.cjs.map} +1 -1
- package/dist/{SubscriberBuilder-D8cmUHee.d.mts → SubscriberBuilder-D7IgufwB.d.cts} +3 -3
- package/dist/{SubscriberBuilder-D8cmUHee.d.mts.map → SubscriberBuilder-D7IgufwB.d.cts.map} +1 -1
- package/dist/{SubscriberBuilder-DciTqb-7.d.cts → SubscriberBuilder-DOFBbWLt.d.mts} +3 -3
- package/dist/{SubscriberBuilder-DciTqb-7.d.cts.map → SubscriberBuilder-DOFBbWLt.d.mts.map} +1 -1
- package/dist/{TestEndpointAdaptor-Boijwbmz.d.mts → TestEndpointAdaptor-BnJusjf7.d.mts} +2 -2
- package/dist/{TestEndpointAdaptor-Boijwbmz.d.mts.map → TestEndpointAdaptor-BnJusjf7.d.mts.map} +1 -1
- package/dist/{TestEndpointAdaptor-OiA2JLDp.mjs → TestEndpointAdaptor-CPL8ru6q.mjs} +2 -2
- package/dist/{TestEndpointAdaptor-OiA2JLDp.mjs.map → TestEndpointAdaptor-CPL8ru6q.mjs.map} +1 -1
- package/dist/{TestEndpointAdaptor-Dk75ExxE.cjs → TestEndpointAdaptor-Ca4K26_d.cjs} +2 -2
- package/dist/{TestEndpointAdaptor-Dk75ExxE.cjs.map → TestEndpointAdaptor-Ca4K26_d.cjs.map} +1 -1
- package/dist/{TestEndpointAdaptor-DdwpRyNh.d.cts → TestEndpointAdaptor-EPPTjntv.d.cts} +2 -2
- package/dist/{TestEndpointAdaptor-DdwpRyNh.d.cts.map → TestEndpointAdaptor-EPPTjntv.d.cts.map} +1 -1
- package/dist/adaptors/aws.cjs +11 -11
- package/dist/adaptors/aws.d.cts +13 -13
- package/dist/adaptors/aws.d.mts +13 -13
- package/dist/adaptors/aws.mjs +11 -11
- package/dist/adaptors/hono.cjs +8 -8
- package/dist/adaptors/hono.d.cts +7 -7
- package/dist/adaptors/hono.d.mts +7 -7
- package/dist/adaptors/hono.mjs +8 -8
- package/dist/adaptors/testing.cjs +7 -7
- package/dist/adaptors/testing.d.cts +7 -7
- package/dist/adaptors/testing.d.mts +7 -7
- package/dist/adaptors/testing.mjs +7 -7
- package/dist/crons/Cron.cjs +6 -6
- package/dist/crons/Cron.d.cts +6 -6
- package/dist/crons/Cron.d.mts +6 -6
- package/dist/crons/Cron.mjs +6 -6
- package/dist/crons/CronBuilder.cjs +7 -7
- package/dist/crons/CronBuilder.d.cts +7 -7
- package/dist/crons/CronBuilder.d.mts +7 -7
- package/dist/crons/CronBuilder.mjs +7 -7
- package/dist/crons/index.cjs +7 -7
- package/dist/crons/index.d.cts +7 -7
- package/dist/crons/index.d.mts +7 -7
- package/dist/crons/index.mjs +7 -7
- package/dist/endpoints/AmazonApiGatewayEndpointAdaptor.cjs +7 -7
- package/dist/endpoints/AmazonApiGatewayEndpointAdaptor.d.cts +7 -7
- package/dist/endpoints/AmazonApiGatewayEndpointAdaptor.d.mts +7 -7
- package/dist/endpoints/AmazonApiGatewayEndpointAdaptor.mjs +7 -7
- package/dist/endpoints/AmazonApiGatewayV1EndpointAdaptor.cjs +8 -8
- package/dist/endpoints/AmazonApiGatewayV1EndpointAdaptor.d.cts +8 -8
- package/dist/endpoints/AmazonApiGatewayV1EndpointAdaptor.d.mts +8 -8
- package/dist/endpoints/AmazonApiGatewayV1EndpointAdaptor.mjs +8 -8
- package/dist/endpoints/AmazonApiGatewayV2EndpointAdaptor.cjs +8 -8
- package/dist/endpoints/AmazonApiGatewayV2EndpointAdaptor.d.cts +8 -8
- package/dist/endpoints/AmazonApiGatewayV2EndpointAdaptor.d.mts +8 -8
- package/dist/endpoints/AmazonApiGatewayV2EndpointAdaptor.mjs +8 -8
- package/dist/endpoints/Endpoint.cjs +6 -6
- package/dist/endpoints/Endpoint.d.cts +6 -6
- package/dist/endpoints/Endpoint.d.mts +6 -6
- package/dist/endpoints/Endpoint.mjs +6 -6
- package/dist/endpoints/EndpointBuilder.cjs +7 -7
- package/dist/endpoints/EndpointBuilder.d.cts +7 -7
- package/dist/endpoints/EndpointBuilder.d.mts +7 -7
- package/dist/endpoints/EndpointBuilder.mjs +7 -7
- package/dist/endpoints/EndpointFactory.cjs +8 -8
- package/dist/endpoints/EndpointFactory.d.cts +8 -8
- package/dist/endpoints/EndpointFactory.d.mts +8 -8
- package/dist/endpoints/EndpointFactory.mjs +8 -8
- package/dist/endpoints/HonoEndpointAdaptor.cjs +8 -8
- package/dist/endpoints/HonoEndpointAdaptor.d.cts +7 -7
- package/dist/endpoints/HonoEndpointAdaptor.d.mts +7 -7
- package/dist/endpoints/HonoEndpointAdaptor.mjs +8 -8
- package/dist/endpoints/TestEndpointAdaptor.cjs +7 -7
- package/dist/endpoints/TestEndpointAdaptor.d.cts +7 -7
- package/dist/endpoints/TestEndpointAdaptor.d.mts +7 -7
- package/dist/endpoints/TestEndpointAdaptor.mjs +7 -7
- package/dist/endpoints/audit.d.cts +6 -6
- package/dist/endpoints/audit.d.mts +6 -6
- package/dist/endpoints/helpers.cjs +7 -7
- package/dist/endpoints/helpers.d.cts +6 -6
- package/dist/endpoints/helpers.d.mts +6 -6
- package/dist/endpoints/helpers.mjs +7 -7
- package/dist/endpoints/index.cjs +8 -8
- package/dist/endpoints/index.d.cts +10 -10
- package/dist/endpoints/index.d.mts +12 -12
- package/dist/endpoints/index.mjs +8 -8
- package/dist/endpoints/lazyAccessors.d.cts +7 -7
- package/dist/endpoints/lazyAccessors.d.mts +7 -7
- package/dist/endpoints/processAudits.d.cts +6 -6
- package/dist/endpoints/processAudits.d.mts +6 -6
- package/dist/endpoints/rls.d.cts +6 -6
- package/dist/endpoints/rls.d.mts +6 -6
- package/dist/functions/AWSLambdaFunction.cjs +6 -6
- package/dist/functions/AWSLambdaFunction.d.cts +4 -4
- package/dist/functions/AWSLambdaFunction.d.mts +4 -4
- package/dist/functions/AWSLambdaFunction.mjs +6 -6
- package/dist/functions/BaseFunctionBuilder.cjs +2 -2
- package/dist/functions/BaseFunctionBuilder.d.cts +2 -2
- package/dist/functions/BaseFunctionBuilder.d.mts +2 -2
- package/dist/functions/BaseFunctionBuilder.mjs +2 -2
- package/dist/functions/Function.cjs +2 -2
- package/dist/functions/Function.d.cts +2 -2
- package/dist/functions/Function.d.mts +2 -2
- package/dist/functions/Function.mjs +2 -2
- package/dist/functions/FunctionBuilder.cjs +4 -4
- package/dist/functions/FunctionBuilder.d.cts +4 -4
- package/dist/functions/FunctionBuilder.d.mts +4 -4
- package/dist/functions/FunctionBuilder.mjs +4 -4
- package/dist/functions/FunctionExecutionWrapper.cjs +5 -5
- package/dist/functions/FunctionExecutionWrapper.d.cts +3 -3
- package/dist/functions/FunctionExecutionWrapper.d.mts +3 -3
- package/dist/functions/FunctionExecutionWrapper.mjs +5 -5
- package/dist/functions/TestFunctionAdaptor.cjs +4 -4
- package/dist/functions/TestFunctionAdaptor.d.cts +2 -2
- package/dist/functions/TestFunctionAdaptor.d.mts +2 -2
- package/dist/functions/TestFunctionAdaptor.mjs +4 -4
- package/dist/functions/index.cjs +5 -5
- package/dist/functions/index.d.cts +5 -5
- package/dist/functions/index.d.mts +5 -5
- package/dist/functions/index.mjs +5 -5
- package/dist/{functions-BkKXVeHm.cjs → functions-CUEv5NC3.cjs} +2 -2
- package/dist/{functions-BkKXVeHm.cjs.map → functions-CUEv5NC3.cjs.map} +1 -1
- package/dist/functions-DOYBrb7n.mjs +8 -0
- package/dist/{functions-C3A1vMRW.mjs.map → functions-DOYBrb7n.mjs.map} +1 -1
- package/dist/{helpers-DgsMFMUV.mjs → helpers-Dl1eszfi.mjs} +2 -2
- package/dist/{helpers-DgsMFMUV.mjs.map → helpers-Dl1eszfi.mjs.map} +1 -1
- package/dist/{helpers-BelEzV4U.cjs → helpers-QMdfdnvU.cjs} +2 -2
- package/dist/{helpers-BelEzV4U.cjs.map → helpers-QMdfdnvU.cjs.map} +1 -1
- package/dist/{index-D0fp_IK1.d.cts → index-BrGtMlpJ.d.cts} +2 -2
- package/dist/{index-CgAQHr3f.d.mts.map → index-BrGtMlpJ.d.cts.map} +1 -1
- package/dist/index-Dn4py3Db.d.mts +12 -0
- package/dist/{index-D0fp_IK1.d.cts.map → index-Dn4py3Db.d.mts.map} +1 -1
- package/dist/index.cjs +4 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +2 -2
- package/dist/{lazyAccessors-B2ILzU-j.d.mts → lazyAccessors-BFAj2-S4.d.mts} +2 -2
- package/dist/{lazyAccessors-B2ILzU-j.d.mts.map → lazyAccessors-BFAj2-S4.d.mts.map} +1 -1
- package/dist/{lazyAccessors-Bcpi06ed.d.cts → lazyAccessors-knaNZuTN.d.cts} +2 -2
- package/dist/{lazyAccessors-Bcpi06ed.d.cts.map → lazyAccessors-knaNZuTN.d.cts.map} +1 -1
- package/dist/{publisher-C4BhHB5I.d.cts → publisher-BXG9YiRi.d.mts} +3 -3
- package/dist/{publisher-C4BhHB5I.d.cts.map → publisher-BXG9YiRi.d.mts.map} +1 -1
- package/dist/{publisher-NE-GnXL8.d.mts → publisher-D9ngDXg3.d.cts} +3 -3
- package/dist/{publisher-NE-GnXL8.d.mts.map → publisher-D9ngDXg3.d.cts.map} +1 -1
- package/dist/publisher.d.cts +2 -2
- package/dist/publisher.d.mts +2 -2
- package/dist/subscribers/AWSLambdaSubscriberAdaptor.d.cts +3 -3
- package/dist/subscribers/AWSLambdaSubscriberAdaptor.d.mts +3 -3
- package/dist/subscribers/Subscriber.cjs +2 -2
- package/dist/subscribers/Subscriber.d.cts +2 -2
- package/dist/subscribers/Subscriber.d.mts +2 -2
- package/dist/subscribers/Subscriber.mjs +2 -2
- package/dist/subscribers/SubscriberBuilder.cjs +3 -3
- package/dist/subscribers/SubscriberBuilder.d.cts +3 -3
- package/dist/subscribers/SubscriberBuilder.d.mts +3 -3
- package/dist/subscribers/SubscriberBuilder.mjs +3 -3
- package/dist/subscribers/index.cjs +3 -3
- package/dist/subscribers/index.d.cts +3 -3
- package/dist/subscribers/index.d.mts +5 -5
- package/dist/subscribers/index.d.mts.map +1 -1
- package/dist/subscribers/index.mjs +3 -3
- package/package.json +10 -9
- package/src/Construct.ts +81 -17
- package/src/__tests__/Construct.environment.spec.ts +231 -9
- package/src/index.ts +6 -1
- package/dist/Construct-BlnyYtJC.cjs.map +0 -1
- package/dist/Construct-C4rPE67v.d.cts.map +0 -1
- package/dist/Construct-D5dCvxZ3.mjs.map +0 -1
- package/dist/Construct-dZiwVo0q.d.mts.map +0 -1
- package/dist/functions-C3A1vMRW.mjs +0 -8
- package/dist/index-CgAQHr3f.d.mts +0 -12
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Construct, ConstructType } from "./Construct-
|
|
1
|
+
import { Construct, ConstructType, sniffService, snifferContext } from "./Construct-E8QPyHh4.mjs";
|
|
2
2
|
import { HttpMethod, LowerHttpMethod, RemoveUndefined } from "./types-Dw-iLd3Y.mjs";
|
|
3
3
|
import { Telemetry, TelemetryContext, TelemetryRequest, TelemetryResponse } from "./telemetry-yAHf5yDs.mjs";
|
|
4
4
|
import { Service, ServiceRecord } from "@geekmidas/services";
|
|
5
|
-
export { Construct, ConstructType, HttpMethod, LowerHttpMethod, RemoveUndefined, Service, ServiceRecord, Telemetry, TelemetryContext, TelemetryRequest, TelemetryResponse };
|
|
5
|
+
export { Construct, ConstructType, HttpMethod, LowerHttpMethod, RemoveUndefined, Service, ServiceRecord, Telemetry, TelemetryContext, TelemetryRequest, TelemetryResponse, sniffService, snifferContext };
|
package/dist/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Construct, ConstructType } from "./Construct-
|
|
1
|
+
import { Construct, ConstructType, sniffService, snifferContext } from "./Construct-BNDLJJfD.mjs";
|
|
2
2
|
|
|
3
|
-
export { Construct, ConstructType };
|
|
3
|
+
export { Construct, ConstructType, sniffService, snifferContext };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CookieFn, HeaderFn } from "./Endpoint-
|
|
1
|
+
import { CookieFn, HeaderFn } from "./Endpoint-DEHuy46S.mjs";
|
|
2
2
|
import { Context } from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/endpoints/lazyAccessors.d.ts
|
|
@@ -46,4 +46,4 @@ declare function createNoopCookies(): CookieFn;
|
|
|
46
46
|
//# sourceMappingURL=lazyAccessors.d.ts.map
|
|
47
47
|
//#endregion
|
|
48
48
|
export { createApiGatewayCookies, createApiGatewayHeaders, createCookieHeaderAccessor, createHonoCookies, createHonoHeaders, createNoopCookies, createNoopHeaders, createObjectHeaders };
|
|
49
|
-
//# sourceMappingURL=lazyAccessors-
|
|
49
|
+
//# sourceMappingURL=lazyAccessors-BFAj2-S4.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lazyAccessors-
|
|
1
|
+
{"version":3,"file":"lazyAccessors-BFAj2-S4.d.mts","names":[],"sources":["../src/endpoints/lazyAccessors.ts"],"sourcesContent":[],"mappings":";;;;;AAqCA;;;;AAAuD;AAgCvC,iBArDA,iBAAA,CAqDuB,CAAA,EArDF,OAqDE,CAAA,EArDQ,QAqDR;;;;AAE5B;AAoCX;AA+CgB,iBArHA,iBAAA,CAqHmB,CAAA,EArHE,OAqHF,CAAA,EArHY,QAqHZ;;;;AAExB;AAkCK,iBAzHA,uBAAA,CA2Hb,OAAQ,EA1HD,MA0HC,CAAA,MAAA,EAAA,MAAA,GAAA,SAAA,CAAA,GAAA,IAAA,GAAA,SAAA,CAAA,EAzHR,QAyHQ;AAiCX;AAUA;;;iBAhIgB,uBAAA,mEAGb;;;;;iBA4Ca,mBAAA,UACN,qCACP;;;;;iBAkCa,0BAAA,oCAEb;;;;iBAiCa,iBAAA,CAAA,GAAqB;;;;iBAUrB,iBAAA,CAAA,GAAqB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CookieFn, HeaderFn } from "./Endpoint-
|
|
1
|
+
import { CookieFn, HeaderFn } from "./Endpoint-BlcHiGNx.cjs";
|
|
2
2
|
import { Context } from "hono";
|
|
3
3
|
|
|
4
4
|
//#region src/endpoints/lazyAccessors.d.ts
|
|
@@ -46,4 +46,4 @@ declare function createNoopCookies(): CookieFn;
|
|
|
46
46
|
//# sourceMappingURL=lazyAccessors.d.ts.map
|
|
47
47
|
//#endregion
|
|
48
48
|
export { createApiGatewayCookies, createApiGatewayHeaders, createCookieHeaderAccessor, createHonoCookies, createHonoHeaders, createNoopCookies, createNoopHeaders, createObjectHeaders };
|
|
49
|
-
//# sourceMappingURL=lazyAccessors-
|
|
49
|
+
//# sourceMappingURL=lazyAccessors-knaNZuTN.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lazyAccessors-
|
|
1
|
+
{"version":3,"file":"lazyAccessors-knaNZuTN.d.cts","names":[],"sources":["../src/endpoints/lazyAccessors.ts"],"sourcesContent":[],"mappings":";;;;;AAqCA;;;;AAAuD;AAgCvC,iBArDA,iBAAA,CAqDuB,CAAA,EArDF,OAqDE,CAAA,EArDQ,QAqDR;;;;AAE5B;AAoCX;AA+CgB,iBArHA,iBAAA,CAqHmB,CAAA,EArHE,OAqHF,CAAA,EArHY,QAqHZ;;;;AAExB;AAkCK,iBAzHA,uBAAA,CA2Hb,OAAQ,EA1HD,MA0HC,CAAA,MAAA,EAAA,MAAA,GAAA,SAAA,CAAA,GAAA,IAAA,GAAA,SAAA,CAAA,EAzHR,QAyHQ;AAiCX;AAUA;;;iBAhIgB,uBAAA,mEAGb;;;;;iBA4Ca,mBAAA,UACN,qCACP;;;;;iBAkCa,0BAAA,oCAEb;;;;iBAiCa,iBAAA,CAAA,GAAqB;;;;iBAUrB,iBAAA,CAAA,GAAqB"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Construct } from "./Construct-
|
|
1
|
+
import { Construct } from "./Construct-E8QPyHh4.mjs";
|
|
2
|
+
import { Service, ServiceDiscovery } from "@geekmidas/services";
|
|
2
3
|
import { AuditStorage } from "@geekmidas/audit";
|
|
3
4
|
import { EventPublisher, MappedEvent } from "@geekmidas/events";
|
|
4
5
|
import { Logger } from "@geekmidas/logger";
|
|
5
|
-
import { Service, ServiceDiscovery } from "@geekmidas/services";
|
|
6
6
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
7
7
|
import { InferStandardSchema } from "@geekmidas/schema";
|
|
8
8
|
|
|
@@ -13,4 +13,4 @@ declare function publishConstructEvents<T extends EventPublisher<any> | undefine
|
|
|
13
13
|
|
|
14
14
|
//#endregion
|
|
15
15
|
export { publishConstructEvents, publishEvents };
|
|
16
|
-
//# sourceMappingURL=publisher-
|
|
16
|
+
//# sourceMappingURL=publisher-BXG9YiRi.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publisher-
|
|
1
|
+
{"version":3,"file":"publisher-BXG9YiRi.d.mts","names":[],"sources":["../src/publisher.ts"],"sourcesContent":[],"mappings":";;;;;;;;;iBAQsB,wBACX,mDACQ,0GAEQ,QAAQ,cAAc,oCAExC,0BACU,gCACd,YAAY,GAAG,oCACT,oBAAoB,8BACZ,oBAAiB;iBA8Cd,iCACX,mDACQ,kGAEA,wFAEI,iDAEX,UACV,QACA,cACA,GACA,WACA,WACA,0BACA,0BAES,oBAAoB,8BACZ,qCACV,SAAyB;AA3ElC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Construct } from "./Construct-
|
|
2
|
-
import { Service, ServiceDiscovery } from "@geekmidas/services";
|
|
1
|
+
import { Construct } from "./Construct-Dl0l2d8d.cjs";
|
|
3
2
|
import { AuditStorage } from "@geekmidas/audit";
|
|
4
3
|
import { EventPublisher, MappedEvent } from "@geekmidas/events";
|
|
5
4
|
import { Logger } from "@geekmidas/logger";
|
|
5
|
+
import { Service, ServiceDiscovery } from "@geekmidas/services";
|
|
6
6
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
7
7
|
import { InferStandardSchema } from "@geekmidas/schema";
|
|
8
8
|
|
|
@@ -13,4 +13,4 @@ declare function publishConstructEvents<T extends EventPublisher<any> | undefine
|
|
|
13
13
|
|
|
14
14
|
//#endregion
|
|
15
15
|
export { publishConstructEvents, publishEvents };
|
|
16
|
-
//# sourceMappingURL=publisher-
|
|
16
|
+
//# sourceMappingURL=publisher-D9ngDXg3.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publisher-
|
|
1
|
+
{"version":3,"file":"publisher-D9ngDXg3.d.cts","names":[],"sources":["../src/publisher.ts"],"sourcesContent":[],"mappings":";;;;;;;;;iBAQsB,wBACX,mDACQ,0GAEQ,QAAQ,cAAc,oCAExC,0BACU,gCACd,YAAY,GAAG,oCACT,oBAAoB,8BACZ,oBAAiB;iBA8Cd,iCACX,mDACQ,kGAEA,wFAEI,iDAEX,UACV,QACA,cACA,GACA,WACA,WACA,0BACA,0BAES,oBAAoB,8BACZ,qCACV,SAAyB;AA3ElC"}
|
package/dist/publisher.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "./Construct-
|
|
2
|
-
import { publishConstructEvents, publishEvents } from "./publisher-
|
|
1
|
+
import "./Construct-Dl0l2d8d.cjs";
|
|
2
|
+
import { publishConstructEvents, publishEvents } from "./publisher-D9ngDXg3.cjs";
|
|
3
3
|
export { publishConstructEvents, publishEvents };
|
package/dist/publisher.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "./Construct-
|
|
2
|
-
import { publishConstructEvents, publishEvents } from "./publisher-
|
|
1
|
+
import "./Construct-E8QPyHh4.mjs";
|
|
2
|
+
import { publishConstructEvents, publishEvents } from "./publisher-BXG9YiRi.mjs";
|
|
3
3
|
export { publishConstructEvents, publishEvents };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../Construct-
|
|
2
|
-
import "../Subscriber
|
|
3
|
-
import { AWSLambdaHandler, AWSLambdaSubscriber } from "../AWSLambdaSubscriberAdaptor-
|
|
1
|
+
import "../Construct-Dl0l2d8d.cjs";
|
|
2
|
+
import "../Subscriber-BBcIOkhW.cjs";
|
|
3
|
+
import { AWSLambdaHandler, AWSLambdaSubscriber } from "../AWSLambdaSubscriberAdaptor-B2Gk3fgx.cjs";
|
|
4
4
|
export { AWSLambdaHandler, AWSLambdaSubscriber };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../Construct-
|
|
2
|
-
import "../Subscriber-
|
|
3
|
-
import { AWSLambdaHandler, AWSLambdaSubscriber } from "../AWSLambdaSubscriberAdaptor-
|
|
1
|
+
import "../Construct-E8QPyHh4.mjs";
|
|
2
|
+
import "../Subscriber-BpTAXvbM.mjs";
|
|
3
|
+
import { AWSLambdaHandler, AWSLambdaSubscriber } from "../AWSLambdaSubscriberAdaptor-QuMFwltJ.mjs";
|
|
4
4
|
export { AWSLambdaHandler, AWSLambdaSubscriber };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "../Construct-
|
|
2
|
-
import { Subscriber, SubscriberContext, SubscriberHandler } from "../Subscriber
|
|
1
|
+
import "../Construct-Dl0l2d8d.cjs";
|
|
2
|
+
import { Subscriber, SubscriberContext, SubscriberHandler } from "../Subscriber-BBcIOkhW.cjs";
|
|
3
3
|
export { Subscriber, SubscriberContext, SubscriberHandler };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "../Construct-
|
|
2
|
-
import { Subscriber, SubscriberContext, SubscriberHandler } from "../Subscriber-
|
|
1
|
+
import "../Construct-E8QPyHh4.mjs";
|
|
2
|
+
import { Subscriber, SubscriberContext, SubscriberHandler } from "../Subscriber-BpTAXvbM.mjs";
|
|
3
3
|
export { Subscriber, SubscriberContext, SubscriberHandler };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
require('../Construct-
|
|
2
|
-
require('../Subscriber-
|
|
3
|
-
const require_SubscriberBuilder = require('../SubscriberBuilder-
|
|
1
|
+
require('../Construct-CPrCF8NK.cjs');
|
|
2
|
+
require('../Subscriber-CL4iYm01.cjs');
|
|
3
|
+
const require_SubscriberBuilder = require('../SubscriberBuilder-D0OS3hd7.cjs');
|
|
4
4
|
|
|
5
5
|
exports.SubscriberBuilder = require_SubscriberBuilder.SubscriberBuilder;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../Construct-
|
|
2
|
-
import "../Subscriber
|
|
3
|
-
import { SubscriberBuilder } from "../SubscriberBuilder-
|
|
1
|
+
import "../Construct-Dl0l2d8d.cjs";
|
|
2
|
+
import "../Subscriber-BBcIOkhW.cjs";
|
|
3
|
+
import { SubscriberBuilder } from "../SubscriberBuilder-D7IgufwB.cjs";
|
|
4
4
|
export { SubscriberBuilder };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../Construct-
|
|
2
|
-
import "../Subscriber-
|
|
3
|
-
import { SubscriberBuilder } from "../SubscriberBuilder-
|
|
1
|
+
import "../Construct-E8QPyHh4.mjs";
|
|
2
|
+
import "../Subscriber-BpTAXvbM.mjs";
|
|
3
|
+
import { SubscriberBuilder } from "../SubscriberBuilder-DOFBbWLt.mjs";
|
|
4
4
|
export { SubscriberBuilder };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../Construct-
|
|
2
|
-
import "../Subscriber-
|
|
3
|
-
import { SubscriberBuilder } from "../SubscriberBuilder-
|
|
1
|
+
import "../Construct-BNDLJJfD.mjs";
|
|
2
|
+
import "../Subscriber-CZ8Smwd2.mjs";
|
|
3
|
+
import { SubscriberBuilder } from "../SubscriberBuilder-CxQg3TTm.mjs";
|
|
4
4
|
|
|
5
5
|
export { SubscriberBuilder };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
require('../Construct-
|
|
2
|
-
const require_Subscriber = require('../Subscriber-
|
|
3
|
-
const require_SubscriberBuilder = require('../SubscriberBuilder-
|
|
1
|
+
require('../Construct-CPrCF8NK.cjs');
|
|
2
|
+
const require_Subscriber = require('../Subscriber-CL4iYm01.cjs');
|
|
3
|
+
const require_SubscriberBuilder = require('../SubscriberBuilder-D0OS3hd7.cjs');
|
|
4
4
|
|
|
5
5
|
//#region src/subscribers/index.ts
|
|
6
6
|
const s = new require_SubscriberBuilder.SubscriberBuilder();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../Construct-
|
|
2
|
-
import { Subscriber } from "../Subscriber
|
|
3
|
-
import { SubscriberBuilder } from "../SubscriberBuilder-
|
|
1
|
+
import "../Construct-Dl0l2d8d.cjs";
|
|
2
|
+
import { Subscriber } from "../Subscriber-BBcIOkhW.cjs";
|
|
3
|
+
import { SubscriberBuilder } from "../SubscriberBuilder-D7IgufwB.cjs";
|
|
4
4
|
import * as _geekmidas_logger10 from "@geekmidas/logger";
|
|
5
5
|
|
|
6
6
|
//#region src/subscribers/index.d.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "../Construct-
|
|
2
|
-
import { Subscriber } from "../Subscriber-
|
|
3
|
-
import { SubscriberBuilder } from "../SubscriberBuilder-
|
|
4
|
-
import * as
|
|
1
|
+
import "../Construct-E8QPyHh4.mjs";
|
|
2
|
+
import { Subscriber } from "../Subscriber-BpTAXvbM.mjs";
|
|
3
|
+
import { SubscriberBuilder } from "../SubscriberBuilder-DOFBbWLt.mjs";
|
|
4
|
+
import * as _geekmidas_logger8 from "@geekmidas/logger";
|
|
5
5
|
|
|
6
6
|
//#region src/subscribers/index.d.ts
|
|
7
|
-
declare const s: SubscriberBuilder<[],
|
|
7
|
+
declare const s: SubscriberBuilder<[], _geekmidas_logger8.Logger, undefined, undefined, string, []>;
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
|
9
9
|
|
|
10
10
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../../src/subscribers/index.ts"],"sourcesContent":[],"mappings":";;;;;;cAKa,GAAC,sBAA0B,
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../../src/subscribers/index.ts"],"sourcesContent":[],"mappings":";;;;;;cAKa,GAAC,sBAA0B,kBAAA,CAA1B,MAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../Construct-
|
|
2
|
-
import { Subscriber } from "../Subscriber-
|
|
3
|
-
import { SubscriberBuilder } from "../SubscriberBuilder-
|
|
1
|
+
import "../Construct-BNDLJJfD.mjs";
|
|
2
|
+
import { Subscriber } from "../Subscriber-CZ8Smwd2.mjs";
|
|
3
|
+
import { SubscriberBuilder } from "../SubscriberBuilder-CxQg3TTm.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/subscribers/index.ts
|
|
6
6
|
const s = new SubscriberBuilder();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@geekmidas/constructs",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -74,20 +74,21 @@
|
|
|
74
74
|
"@types/lodash.set": "~4.3.9",
|
|
75
75
|
"@types/lodash.uniqby": "~4.7.9",
|
|
76
76
|
"@types/pg": "~8.15.6",
|
|
77
|
+
"better-auth": "~1.4.12",
|
|
77
78
|
"kysely": "~0.28.8",
|
|
78
79
|
"pg": "~8.16.3",
|
|
79
80
|
"zod": "~4.1.13",
|
|
80
81
|
"@geekmidas/audit": "^0.2.0",
|
|
81
82
|
"@geekmidas/cache": "^0.2.0",
|
|
82
|
-
"@geekmidas/errors": "^0.1.0",
|
|
83
|
-
"@geekmidas/envkit": "^0.3.0",
|
|
84
83
|
"@geekmidas/db": "^0.3.0",
|
|
84
|
+
"@geekmidas/envkit": "^0.4.0",
|
|
85
85
|
"@geekmidas/events": "^0.2.0",
|
|
86
|
+
"@geekmidas/errors": "^0.1.0",
|
|
86
87
|
"@geekmidas/logger": "^0.4.0",
|
|
87
88
|
"@geekmidas/schema": "^0.1.0",
|
|
88
|
-
"@geekmidas/services": "^0.2.0",
|
|
89
89
|
"@geekmidas/testkit": "^0.6.0",
|
|
90
|
-
"@geekmidas/rate-limit": "^0.3.0"
|
|
90
|
+
"@geekmidas/rate-limit": "^0.3.0",
|
|
91
|
+
"@geekmidas/services": "^0.2.0"
|
|
91
92
|
},
|
|
92
93
|
"peerDependencies": {
|
|
93
94
|
"@middy/core": ">=6.3.1",
|
|
@@ -95,14 +96,14 @@
|
|
|
95
96
|
"hono": ">=4.8.2",
|
|
96
97
|
"@geekmidas/audit": "^0.2.0",
|
|
97
98
|
"@geekmidas/cache": "^0.2.0",
|
|
99
|
+
"@geekmidas/errors": "^0.1.0",
|
|
98
100
|
"@geekmidas/db": "^0.3.0",
|
|
99
|
-
"@geekmidas/envkit": "^0.
|
|
101
|
+
"@geekmidas/envkit": "^0.4.0",
|
|
100
102
|
"@geekmidas/events": "^0.2.0",
|
|
101
|
-
"@geekmidas/rate-limit": "^0.3.0",
|
|
102
|
-
"@geekmidas/errors": "^0.1.0",
|
|
103
103
|
"@geekmidas/logger": "^0.4.0",
|
|
104
104
|
"@geekmidas/schema": "^0.1.0",
|
|
105
|
-
"@geekmidas/services": "^0.2.0"
|
|
105
|
+
"@geekmidas/services": "^0.2.0",
|
|
106
|
+
"@geekmidas/rate-limit": "^0.3.0"
|
|
106
107
|
},
|
|
107
108
|
"peerDependenciesMeta": {
|
|
108
109
|
"@geekmidas/audit": {
|
package/src/Construct.ts
CHANGED
|
@@ -100,26 +100,29 @@ export abstract class Construct<
|
|
|
100
100
|
continue;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
//
|
|
104
|
-
const
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
103
|
+
// Use sniffService to properly handle all error scenarios
|
|
104
|
+
const result = await sniffService(service);
|
|
105
|
+
|
|
106
|
+
// Log any issues for debugging
|
|
107
|
+
if (result.error) {
|
|
108
|
+
this.logger.warn(
|
|
109
|
+
{ error: result.error.message, service: service.serviceName },
|
|
110
|
+
'Service threw error during env sniffing (env vars still captured)',
|
|
111
|
+
);
|
|
112
|
+
}
|
|
113
|
+
if (result.unhandledRejections.length > 0) {
|
|
114
|
+
this.logger.warn(
|
|
115
|
+
{
|
|
116
|
+
errors: result.unhandledRejections.map((e) => e.message),
|
|
117
|
+
service: service.serviceName,
|
|
118
|
+
},
|
|
119
|
+
'Fire-and-forget rejections during env sniffing (suppressed)',
|
|
120
|
+
);
|
|
117
121
|
}
|
|
118
122
|
|
|
119
123
|
// Cache and collect the env vars
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
serviceEnvVars.forEach((v) => envVars.add(v));
|
|
124
|
+
serviceEnvCache.set(service, result.envVars);
|
|
125
|
+
result.envVars.forEach((v) => envVars.add(v));
|
|
123
126
|
}
|
|
124
127
|
|
|
125
128
|
return Array.from(envVars).sort();
|
|
@@ -140,3 +143,64 @@ export enum ConstructType {
|
|
|
140
143
|
Function = 'dev.geekmidas.function.function',
|
|
141
144
|
Subscriber = 'dev.geekmidas.function.subscriber',
|
|
142
145
|
}
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Utility to test sniffing a service for environment variables.
|
|
149
|
+
* Useful for debugging services that throw errors during sniffing.
|
|
150
|
+
*
|
|
151
|
+
* @example
|
|
152
|
+
* ```typescript
|
|
153
|
+
* import { sniffService } from '@geekmidas/constructs';
|
|
154
|
+
* import { authService } from './services/AuthService';
|
|
155
|
+
*
|
|
156
|
+
* const result = await sniffService(authService);
|
|
157
|
+
* console.log('Env vars:', result.envVars);
|
|
158
|
+
* console.log('Error:', result.error);
|
|
159
|
+
* ```
|
|
160
|
+
*/
|
|
161
|
+
export async function sniffService(service: Service): Promise<{
|
|
162
|
+
envVars: string[];
|
|
163
|
+
error?: Error;
|
|
164
|
+
unhandledRejections: Error[];
|
|
165
|
+
}> {
|
|
166
|
+
const sniffer = new SnifferEnvironmentParser();
|
|
167
|
+
const unhandledRejections: Error[] = [];
|
|
168
|
+
|
|
169
|
+
// Capture unhandled rejections during sniffing (fire-and-forget promises)
|
|
170
|
+
const captureRejection = (reason: unknown) => {
|
|
171
|
+
const err = reason instanceof Error ? reason : new Error(String(reason));
|
|
172
|
+
unhandledRejections.push(err);
|
|
173
|
+
};
|
|
174
|
+
process.on('unhandledRejection', captureRejection);
|
|
175
|
+
|
|
176
|
+
let error: Error | undefined;
|
|
177
|
+
|
|
178
|
+
try {
|
|
179
|
+
const result = service.register({
|
|
180
|
+
envParser: sniffer as any,
|
|
181
|
+
context: snifferContext,
|
|
182
|
+
});
|
|
183
|
+
|
|
184
|
+
if (result && typeof result === 'object' && 'then' in result) {
|
|
185
|
+
await Promise.resolve(result).catch((e) => {
|
|
186
|
+
error = e;
|
|
187
|
+
});
|
|
188
|
+
}
|
|
189
|
+
} catch (e) {
|
|
190
|
+
error = e as Error;
|
|
191
|
+
} finally {
|
|
192
|
+
// Wait for fire-and-forget promises to settle - some libraries like better-auth
|
|
193
|
+
// create async operations that may reject after the initial event loop tick
|
|
194
|
+
await new Promise((resolve) => setTimeout(resolve, 100));
|
|
195
|
+
process.off('unhandledRejection', captureRejection);
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
return {
|
|
199
|
+
envVars: sniffer.getEnvironmentVariables(),
|
|
200
|
+
error,
|
|
201
|
+
unhandledRejections,
|
|
202
|
+
};
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
// Export for testing
|
|
206
|
+
export { snifferContext };
|