@8ms/helpers 2.4.25 → 3.0.1
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/_class/BaseNamespace.cjs +4 -9
- package/dist/_class/BaseNamespace.d.cts +2 -4
- package/dist/_class/BaseNamespace.d.mts +2 -4
- package/dist/_class/BaseNamespace.mjs +4 -9
- package/dist/aws/cloudWatchLog/server/{AwsCloudWatchLogNamespace.cjs → AwsCloudWatchLog.cjs} +9 -10
- package/dist/aws/cloudWatchLog/server/{AwsCloudWatchLogNamespace.d.cts → AwsCloudWatchLog.d.cts} +5 -6
- package/dist/aws/cloudWatchLog/server/{AwsCloudWatchLogNamespace.d.mts → AwsCloudWatchLog.d.mts} +5 -6
- package/dist/aws/cloudWatchLog/server/{AwsCloudWatchLogNamespace.mjs → AwsCloudWatchLog.mjs} +9 -10
- package/dist/aws/cloudWatchLog/server/index.cjs +2 -4
- package/dist/aws/cloudWatchLog/server/index.d.cts +2 -3
- package/dist/aws/cloudWatchLog/server/index.d.mts +2 -3
- package/dist/aws/cloudWatchLog/server/index.mjs +2 -3
- package/dist/aws/cloudWatchMetric/server/{AwsCloudWatchMetricNamespace.cjs → AwsCloudWatchMetric.cjs} +11 -10
- package/dist/aws/cloudWatchMetric/server/{AwsCloudWatchMetricNamespace.d.cts → AwsCloudWatchMetric.d.cts} +5 -6
- package/dist/aws/cloudWatchMetric/server/{AwsCloudWatchMetricNamespace.d.mts → AwsCloudWatchMetric.d.mts} +5 -6
- package/dist/aws/cloudWatchMetric/server/{AwsCloudWatchMetricNamespace.mjs → AwsCloudWatchMetric.mjs} +10 -8
- package/dist/aws/cloudWatchMetric/server/index.cjs +2 -4
- package/dist/aws/cloudWatchMetric/server/index.d.cts +2 -3
- package/dist/aws/cloudWatchMetric/server/index.d.mts +2 -3
- package/dist/aws/cloudWatchMetric/server/index.mjs +2 -3
- package/dist/aws/ec2/server/{AwsEc2Namespace.cjs → AwsEc2.cjs} +9 -7
- package/dist/aws/ec2/server/{AwsEc2Namespace.d.cts → AwsEc2.d.cts} +5 -6
- package/dist/aws/ec2/server/{AwsEc2Namespace.d.mts → AwsEc2.d.mts} +5 -6
- package/dist/aws/ec2/server/{AwsEc2Namespace.mjs → AwsEc2.mjs} +9 -7
- package/dist/aws/ec2/server/index.cjs +2 -4
- package/dist/aws/ec2/server/index.d.cts +2 -3
- package/dist/aws/ec2/server/index.d.mts +2 -3
- package/dist/aws/ec2/server/index.mjs +2 -3
- package/dist/aws/ecs/server/{AwsEcsNamespace.cjs → AwsEcs.cjs} +9 -9
- package/dist/aws/ecs/server/{AwsEcsNamespace.d.cts → AwsEcs.d.cts} +5 -6
- package/dist/aws/ecs/server/{AwsEcsNamespace.d.mts → AwsEcs.d.mts} +5 -6
- package/dist/aws/ecs/server/{AwsEcsNamespace.mjs → AwsEcs.mjs} +9 -9
- package/dist/aws/ecs/server/index.cjs +2 -4
- package/dist/aws/ecs/server/index.d.cts +2 -3
- package/dist/aws/ecs/server/index.d.mts +2 -3
- package/dist/aws/ecs/server/index.mjs +2 -3
- package/dist/aws/glue/server/{AwsGlueNamespace.cjs → AwsGlue.cjs} +9 -6
- package/dist/aws/glue/server/{AwsGlueNamespace.d.cts → AwsGlue.d.cts} +5 -6
- package/dist/aws/glue/server/{AwsGlueNamespace.d.mts → AwsGlue.d.mts} +5 -6
- package/dist/aws/glue/server/{AwsGlueNamespace.mjs → AwsGlue.mjs} +9 -6
- package/dist/aws/glue/server/index.cjs +2 -4
- package/dist/aws/glue/server/index.d.cts +2 -3
- package/dist/aws/glue/server/index.d.mts +2 -3
- package/dist/aws/glue/server/index.mjs +2 -3
- package/dist/aws/lambda/server/{AwsLambdaNamespace.cjs → AwsLambda.cjs} +9 -6
- package/dist/aws/lambda/server/{AwsLambdaNamespace.d.cts → AwsLambda.d.cts} +5 -6
- package/dist/aws/lambda/server/{AwsLambdaNamespace.d.mts → AwsLambda.d.mts} +5 -6
- package/dist/aws/lambda/server/{AwsLambdaNamespace.mjs → AwsLambda.mjs} +9 -6
- package/dist/aws/lambda/server/getHandlerPath.cjs +7 -0
- package/dist/aws/lambda/server/getHandlerPath.d.cts +4 -0
- package/dist/aws/lambda/server/getHandlerPath.d.mts +4 -0
- package/dist/aws/lambda/server/getHandlerPath.mjs +6 -0
- package/dist/aws/lambda/server/index.cjs +4 -5
- package/dist/aws/lambda/server/index.d.cts +3 -3
- package/dist/aws/lambda/server/index.d.mts +3 -3
- package/dist/aws/lambda/server/index.mjs +3 -3
- package/dist/aws/s3/server/{AwsS3Namespace.cjs → AwsS3.cjs} +12 -31
- package/dist/aws/s3/server/{AwsS3Namespace.d.cts → AwsS3.d.cts} +6 -7
- package/dist/aws/s3/server/{AwsS3Namespace.d.mts → AwsS3.d.mts} +6 -7
- package/dist/aws/s3/server/{AwsS3Namespace.mjs → AwsS3.mjs} +10 -29
- package/dist/aws/s3/server/awsS3File.cjs +12 -0
- package/dist/aws/s3/server/awsS3File.d.cts +12 -0
- package/dist/aws/s3/server/awsS3File.d.mts +12 -0
- package/dist/aws/s3/server/awsS3File.mjs +11 -0
- package/dist/aws/s3/server/index.cjs +4 -5
- package/dist/aws/s3/server/index.d.cts +3 -3
- package/dist/aws/s3/server/index.d.mts +3 -3
- package/dist/aws/s3/server/index.mjs +3 -3
- package/dist/aws/server/getAwsConfig.cjs +15 -0
- package/dist/aws/server/getAwsConfig.d.cts +18 -0
- package/dist/aws/server/getAwsConfig.d.mts +18 -0
- package/dist/aws/server/getAwsConfig.mjs +14 -0
- package/dist/aws/server/index.cjs +2 -2
- package/dist/aws/server/index.d.cts +2 -2
- package/dist/aws/server/index.d.mts +2 -2
- package/dist/aws/server/index.mjs +2 -2
- package/dist/aws/ses/server/{AwsSesNamespace.cjs → AwsSes.cjs} +9 -6
- package/dist/aws/ses/server/{AwsSesNamespace.d.cts → AwsSes.d.cts} +5 -6
- package/dist/aws/ses/server/{AwsSesNamespace.d.mts → AwsSes.d.mts} +5 -6
- package/dist/aws/ses/server/{AwsSesNamespace.mjs → AwsSes.mjs} +9 -6
- package/dist/aws/ses/server/index.cjs +2 -4
- package/dist/aws/ses/server/index.d.cts +2 -3
- package/dist/aws/ses/server/index.d.mts +2 -3
- package/dist/aws/ses/server/index.mjs +2 -3
- package/dist/aws/sqs/server/{AwsSqsNamespace.cjs → AwsSqs.cjs} +9 -8
- package/dist/aws/sqs/server/{AwsSqsNamespace.d.cts → AwsSqs.d.cts} +5 -6
- package/dist/aws/sqs/server/{AwsSqsNamespace.d.mts → AwsSqs.d.mts} +5 -6
- package/dist/aws/sqs/server/{AwsSqsNamespace.mjs → AwsSqs.mjs} +9 -8
- package/dist/aws/sqs/server/index.cjs +2 -4
- package/dist/aws/sqs/server/index.d.cts +2 -3
- package/dist/aws/sqs/server/index.d.mts +2 -3
- package/dist/aws/sqs/server/index.mjs +2 -3
- package/dist/aws/ssm/server/{AwsSsmNamespace.cjs → AwsSsm.cjs} +14 -14
- package/dist/aws/ssm/server/AwsSsm.d.cts +13 -0
- package/dist/aws/ssm/server/AwsSsm.d.mts +13 -0
- package/dist/aws/ssm/server/AwsSsm.mjs +34 -0
- package/dist/aws/ssm/server/index.cjs +2 -4
- package/dist/aws/ssm/server/index.d.cts +2 -3
- package/dist/aws/ssm/server/index.d.mts +2 -3
- package/dist/aws/ssm/server/index.mjs +2 -3
- package/dist/drizzle/server/{DrizzleNamespace.cjs → Drizzle.cjs} +5 -5
- package/dist/drizzle/server/{drizzle.d.cts → Drizzle.d.cts} +8 -4
- package/dist/drizzle/server/{drizzle.d.mts → Drizzle.d.mts} +8 -4
- package/dist/drizzle/server/{DrizzleNamespace.mjs → Drizzle.mjs} +5 -5
- package/dist/drizzle/server/index.cjs +2 -4
- package/dist/drizzle/server/index.d.cts +2 -3
- package/dist/drizzle/server/index.d.mts +2 -3
- package/dist/drizzle/server/index.mjs +2 -3
- package/dist/environment/environment.cjs +2 -2
- package/dist/environment/environment.mjs +2 -2
- package/dist/googleAds/server/{GoogleAdsNamespace.cjs → GoogleAds.cjs} +9 -10
- package/dist/googleAds/server/{GoogleAdsNamespace.d.cts → GoogleAds.d.cts} +9 -5
- package/dist/googleAds/server/{GoogleAdsNamespace.d.mts → GoogleAds.d.mts} +9 -5
- package/dist/googleAds/server/GoogleAds.mjs +28 -0
- package/dist/googleAds/server/index.cjs +2 -4
- package/dist/googleAds/server/index.d.cts +2 -3
- package/dist/googleAds/server/index.d.mts +2 -3
- package/dist/googleAds/server/index.mjs +2 -3
- package/dist/googleCloud/bigquery/server/{GoogleCloudBigqueryNamespace.cjs → GoogleCloudBigquery.cjs} +27 -33
- package/dist/googleCloud/bigquery/server/{GoogleCloudBigqueryNamespace.d.cts → GoogleCloudBigquery.d.cts} +14 -16
- package/dist/googleCloud/bigquery/server/{GoogleCloudBigqueryNamespace.d.mts → GoogleCloudBigquery.d.mts} +14 -16
- package/dist/googleCloud/bigquery/server/{GoogleCloudBigqueryNamespace.mjs → GoogleCloudBigquery.mjs} +27 -33
- package/dist/googleCloud/bigquery/server/getHandlerPath.cjs +7 -0
- package/dist/googleCloud/bigquery/server/getHandlerPath.d.cts +4 -0
- package/dist/googleCloud/bigquery/server/getHandlerPath.d.mts +4 -0
- package/dist/googleCloud/bigquery/server/getHandlerPath.mjs +6 -0
- package/dist/googleCloud/bigquery/server/index.cjs +4 -5
- package/dist/googleCloud/bigquery/server/index.d.cts +3 -3
- package/dist/googleCloud/bigquery/server/index.d.mts +3 -3
- package/dist/googleCloud/bigquery/server/index.mjs +3 -3
- package/dist/googleCloud/bigquery/server/loadData.d.cts +2 -2
- package/dist/googleCloud/bigquery/server/loadData.d.mts +2 -2
- package/dist/googleCloud/server/getGoogleCloudConfig.cjs +81 -0
- package/dist/googleCloud/server/getGoogleCloudConfig.d.cts +77 -0
- package/dist/googleCloud/server/getGoogleCloudConfig.d.mts +77 -0
- package/dist/googleCloud/server/getGoogleCloudConfig.mjs +78 -0
- package/dist/googleCloud/server/index.cjs +4 -2
- package/dist/googleCloud/server/index.d.cts +2 -2
- package/dist/googleCloud/server/index.d.mts +2 -2
- package/dist/googleCloud/server/index.mjs +2 -2
- package/dist/googleCloud/sheets/server/{GoogleCloudSheetsNamespace.cjs → GoogleCloudSheets.cjs} +10 -8
- package/dist/googleCloud/sheets/server/{GoogleCloudSheetsNamespace.d.cts → GoogleCloudSheets.d.cts} +8 -8
- package/dist/googleCloud/sheets/server/{GoogleCloudSheetsNamespace.d.mts → GoogleCloudSheets.d.mts} +8 -8
- package/dist/googleCloud/sheets/server/{GoogleCloudSheetsNamespace.mjs → GoogleCloudSheets.mjs} +10 -8
- package/dist/googleCloud/sheets/server/index.cjs +2 -2
- package/dist/googleCloud/sheets/server/index.d.cts +2 -2
- package/dist/googleCloud/sheets/server/index.d.mts +2 -2
- package/dist/googleCloud/sheets/server/index.mjs +2 -2
- package/dist/googleCloud/storage/server/{GoogleCloudStorageNamespace.cjs → GoogleCloudStorage.cjs} +15 -10
- package/dist/googleCloud/storage/server/{GoogleCloudStorageNamespace.d.cts → GoogleCloudStorage.d.cts} +10 -8
- package/dist/googleCloud/storage/server/{GoogleCloudStorageNamespace.d.mts → GoogleCloudStorage.d.mts} +10 -8
- package/dist/googleCloud/storage/server/{GoogleCloudStorageNamespace.mjs → GoogleCloudStorage.mjs} +15 -10
- package/dist/googleCloud/storage/server/index.cjs +2 -4
- package/dist/googleCloud/storage/server/index.d.cts +2 -3
- package/dist/googleCloud/storage/server/index.d.mts +2 -3
- package/dist/googleCloud/storage/server/index.mjs +2 -3
- package/dist/googlePageSpeed/server/{GooglePageSpeedNamespace.cjs → GooglePageSpeed.cjs} +8 -7
- package/dist/googlePageSpeed/server/GooglePageSpeed.d.cts +19 -0
- package/dist/googlePageSpeed/server/GooglePageSpeed.d.mts +19 -0
- package/dist/googlePageSpeed/server/{GooglePageSpeedNamespace.mjs → GooglePageSpeed.mjs} +7 -6
- package/dist/googlePageSpeed/server/category.cjs +11 -0
- package/dist/googlePageSpeed/server/category.d.cts +11 -0
- package/dist/googlePageSpeed/server/category.d.mts +11 -0
- package/dist/googlePageSpeed/server/category.mjs +10 -0
- package/dist/googlePageSpeed/server/index.cjs +6 -6
- package/dist/googlePageSpeed/server/index.d.cts +4 -3
- package/dist/googlePageSpeed/server/index.d.mts +4 -3
- package/dist/googlePageSpeed/server/index.mjs +4 -3
- package/dist/googlePageSpeed/server/strategy.cjs +9 -0
- package/dist/googlePageSpeed/server/strategy.d.cts +9 -0
- package/dist/googlePageSpeed/server/strategy.d.mts +9 -0
- package/dist/googlePageSpeed/server/strategy.mjs +8 -0
- package/dist/inngest/index.cjs +2 -2
- package/dist/inngest/index.d.cts +1 -1
- package/dist/inngest/index.d.mts +1 -1
- package/dist/inngest/index.mjs +1 -1
- package/dist/inngest/{inngest.cjs → inngestState.cjs} +1 -1
- package/dist/inngest/{inngest.d.mts → inngestState.d.cts} +1 -1
- package/dist/inngest/{inngest.d.cts → inngestState.d.mts} +1 -1
- package/dist/inngest/{inngest.mjs → inngestState.mjs} +1 -1
- package/dist/littleWarden/server/{LittleWardenNamespace.cjs → LittleWarden.cjs} +5 -4
- package/dist/littleWarden/server/{LittleWardenNamespace.d.cts → LittleWarden.d.cts} +7 -5
- package/dist/littleWarden/server/{LittleWardenNamespace.d.mts → LittleWarden.d.mts} +7 -5
- package/dist/littleWarden/server/{LittleWardenNamespace.mjs → LittleWarden.mjs} +5 -4
- package/dist/littleWarden/server/index.cjs +7 -8
- package/dist/littleWarden/server/index.d.cts +3 -3
- package/dist/littleWarden/server/index.d.mts +3 -3
- package/dist/littleWarden/server/index.mjs +3 -3
- package/dist/littleWarden/server/littleWardenAttrs.cjs +38 -0
- package/dist/littleWarden/server/{littleWarden.d.cts → littleWardenAttrs.d.cts} +2 -7
- package/dist/littleWarden/server/{littleWarden.d.mts → littleWardenAttrs.d.mts} +2 -7
- package/dist/littleWarden/server/littleWardenAttrs.mjs +33 -0
- package/dist/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.cts +7 -0
- package/dist/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.mts +7 -0
- package/dist/node_modules/@smithy/types/dist-types/identity/awsCredentialIdentity.d.cts +35 -0
- package/dist/node_modules/@smithy/types/dist-types/identity/awsCredentialIdentity.d.mts +35 -0
- package/dist/node_modules/@smithy/types/dist-types/identity/identity.d.cts +18 -0
- package/dist/node_modules/@smithy/types/dist-types/identity/identity.d.mts +18 -0
- package/dist/node_modules/@smithy/types/dist-types/index.d.cts +2 -0
- package/dist/node_modules/@smithy/types/dist-types/index.d.mts +2 -0
- package/dist/onePassword/server/OnePassword.cjs +44 -0
- package/dist/onePassword/server/OnePassword.d.cts +21 -0
- package/dist/onePassword/server/OnePassword.d.mts +21 -0
- package/dist/onePassword/server/{OnePasswordNamespace.mjs → OnePassword.mjs} +19 -13
- package/dist/onePassword/server/getIdsFromUrl.cjs +2 -2
- package/dist/onePassword/server/getIdsFromUrl.d.cts +2 -2
- package/dist/onePassword/server/getIdsFromUrl.d.mts +2 -2
- package/dist/onePassword/server/getIdsFromUrl.mjs +2 -2
- package/dist/onePassword/server/index.cjs +2 -4
- package/dist/onePassword/server/index.d.cts +2 -3
- package/dist/onePassword/server/index.d.mts +2 -3
- package/dist/onePassword/server/index.mjs +2 -3
- package/dist/openAi/server/{OpenAiNamespace.cjs → OpenAi.cjs} +10 -7
- package/dist/openAi/server/{OpenAiNamespace.d.cts → OpenAi.d.cts} +7 -5
- package/dist/openAi/server/{OpenAiNamespace.d.mts → OpenAi.d.mts} +7 -5
- package/dist/openAi/server/{OpenAiNamespace.mjs → OpenAi.mjs} +10 -7
- package/dist/openAi/server/index.cjs +2 -4
- package/dist/openAi/server/index.d.cts +2 -3
- package/dist/openAi/server/index.d.mts +2 -3
- package/dist/openAi/server/index.mjs +2 -3
- package/dist/snapchat/server/{SnapchatNamespace.cjs → Snapchat.cjs} +5 -4
- package/dist/snapchat/server/Snapchat.d.cts +22 -0
- package/dist/snapchat/server/Snapchat.d.mts +22 -0
- package/dist/snapchat/server/{SnapchatNamespace.mjs → Snapchat.mjs} +5 -4
- package/dist/snapchat/server/index.cjs +2 -4
- package/dist/snapchat/server/index.d.cts +2 -3
- package/dist/snapchat/server/index.d.mts +2 -3
- package/dist/snapchat/server/index.mjs +2 -3
- package/dist/swr/client/swr.cjs +1 -1
- package/dist/swr/client/swr.mjs +1 -1
- package/dist/upTimeRobot/server/UpTimeRobot.cjs +34 -0
- package/dist/upTimeRobot/server/{UpTimeRobotNamespace.d.cts → UpTimeRobot.d.cts} +7 -5
- package/dist/upTimeRobot/server/{UpTimeRobotNamespace.d.mts → UpTimeRobot.d.mts} +7 -5
- package/dist/upTimeRobot/server/UpTimeRobot.mjs +33 -0
- package/dist/upTimeRobot/server/index.cjs +12 -9
- package/dist/upTimeRobot/server/index.d.cts +7 -3
- package/dist/upTimeRobot/server/index.d.mts +7 -3
- package/dist/upTimeRobot/server/index.mjs +7 -3
- package/dist/upTimeRobot/server/logType.cjs +10 -0
- package/dist/upTimeRobot/server/logType.d.cts +10 -0
- package/dist/upTimeRobot/server/logType.d.mts +10 -0
- package/dist/upTimeRobot/server/logType.mjs +9 -0
- package/dist/upTimeRobot/server/monitorStatus.cjs +11 -0
- package/dist/upTimeRobot/server/monitorStatus.d.cts +11 -0
- package/dist/upTimeRobot/server/monitorStatus.d.mts +11 -0
- package/dist/upTimeRobot/server/monitorStatus.mjs +10 -0
- package/dist/upTimeRobot/server/monitorSubTypes.cjs +13 -0
- package/dist/upTimeRobot/server/monitorSubTypes.d.cts +13 -0
- package/dist/upTimeRobot/server/monitorSubTypes.d.mts +13 -0
- package/dist/upTimeRobot/server/monitorSubTypes.mjs +12 -0
- package/dist/upTimeRobot/server/monitorType.cjs +11 -0
- package/dist/upTimeRobot/server/monitorType.d.cts +11 -0
- package/dist/upTimeRobot/server/monitorType.d.mts +11 -0
- package/dist/upTimeRobot/server/monitorType.mjs +10 -0
- package/dist/upTimeRobot/server/requestStatus.cjs +8 -0
- package/dist/upTimeRobot/server/requestStatus.d.cts +8 -0
- package/dist/upTimeRobot/server/requestStatus.d.mts +8 -0
- package/dist/upTimeRobot/server/requestStatus.mjs +7 -0
- package/dist/url/url.cjs +1 -1
- package/dist/url/url.mjs +1 -1
- package/dist/util/defaultTo.cjs +1 -1
- package/dist/util/defaultTo.mjs +1 -1
- package/dist/webWorker/index.cjs +2 -2
- package/dist/webWorker/index.d.cts +1 -1
- package/dist/webWorker/index.d.mts +1 -1
- package/dist/webWorker/index.mjs +1 -1
- package/dist/webWorker/{webWorker.cjs → webWorkerState.cjs} +1 -1
- package/dist/webWorker/{webWorker.d.cts → webWorkerState.d.cts} +1 -1
- package/dist/webWorker/{webWorker.d.mts → webWorkerState.d.mts} +1 -1
- package/dist/webWorker/{webWorker.mjs → webWorkerState.mjs} +1 -1
- package/package.json +136 -150
- package/dist/aws/cloudWatchLog/server/awsCloudWatchLog.cjs +0 -14
- package/dist/aws/cloudWatchLog/server/awsCloudWatchLog.d.cts +0 -7
- package/dist/aws/cloudWatchLog/server/awsCloudWatchLog.d.mts +0 -7
- package/dist/aws/cloudWatchLog/server/awsCloudWatchLog.mjs +0 -13
- package/dist/aws/cloudWatchMetric/server/awsCloudWatchMetric.cjs +0 -14
- package/dist/aws/cloudWatchMetric/server/awsCloudWatchMetric.d.cts +0 -7
- package/dist/aws/cloudWatchMetric/server/awsCloudWatchMetric.d.mts +0 -7
- package/dist/aws/cloudWatchMetric/server/awsCloudWatchMetric.mjs +0 -13
- package/dist/aws/ec2/server/awsEc2.cjs +0 -14
- package/dist/aws/ec2/server/awsEc2.d.cts +0 -7
- package/dist/aws/ec2/server/awsEc2.d.mts +0 -7
- package/dist/aws/ec2/server/awsEc2.mjs +0 -13
- package/dist/aws/ecs/server/awsEcs.cjs +0 -14
- package/dist/aws/ecs/server/awsEcs.d.cts +0 -7
- package/dist/aws/ecs/server/awsEcs.d.mts +0 -7
- package/dist/aws/ecs/server/awsEcs.mjs +0 -13
- package/dist/aws/glue/server/awsGlue.cjs +0 -14
- package/dist/aws/glue/server/awsGlue.d.cts +0 -7
- package/dist/aws/glue/server/awsGlue.d.mts +0 -7
- package/dist/aws/glue/server/awsGlue.mjs +0 -13
- package/dist/aws/lambda/server/awsLambda.cjs +0 -18
- package/dist/aws/lambda/server/awsLambda.d.cts +0 -8
- package/dist/aws/lambda/server/awsLambda.d.mts +0 -8
- package/dist/aws/lambda/server/awsLambda.mjs +0 -16
- package/dist/aws/s3/server/awsS3.cjs +0 -23
- package/dist/aws/s3/server/awsS3.d.cts +0 -16
- package/dist/aws/s3/server/awsS3.d.mts +0 -16
- package/dist/aws/s3/server/awsS3.mjs +0 -21
- package/dist/aws/server/aws.cjs +0 -23
- package/dist/aws/server/aws.d.cts +0 -13
- package/dist/aws/server/aws.d.mts +0 -13
- package/dist/aws/server/aws.mjs +0 -21
- package/dist/aws/ses/server/awsSes.cjs +0 -16
- package/dist/aws/ses/server/awsSes.d.cts +0 -8
- package/dist/aws/ses/server/awsSes.d.mts +0 -8
- package/dist/aws/ses/server/awsSes.mjs +0 -14
- package/dist/aws/sqs/server/awsSqs.cjs +0 -14
- package/dist/aws/sqs/server/awsSqs.d.cts +0 -7
- package/dist/aws/sqs/server/awsSqs.d.mts +0 -7
- package/dist/aws/sqs/server/awsSqs.mjs +0 -13
- package/dist/aws/ssm/server/AwsSsmNamespace.d.cts +0 -15
- package/dist/aws/ssm/server/AwsSsmNamespace.d.mts +0 -15
- package/dist/aws/ssm/server/AwsSsmNamespace.mjs +0 -34
- package/dist/aws/ssm/server/awsSsm.cjs +0 -14
- package/dist/aws/ssm/server/awsSsm.d.cts +0 -7
- package/dist/aws/ssm/server/awsSsm.d.mts +0 -7
- package/dist/aws/ssm/server/awsSsm.mjs +0 -13
- package/dist/drizzle/server/DrizzleNamespace.d.cts +0 -11
- package/dist/drizzle/server/DrizzleNamespace.d.mts +0 -11
- package/dist/drizzle/server/drizzle.cjs +0 -22
- package/dist/drizzle/server/drizzle.mjs +0 -21
- package/dist/googleAds/server/GoogleAdsNamespace.mjs +0 -29
- package/dist/googleAds/server/googleAds.cjs +0 -19
- package/dist/googleAds/server/googleAds.d.cts +0 -15
- package/dist/googleAds/server/googleAds.d.mts +0 -15
- package/dist/googleAds/server/googleAds.mjs +0 -18
- package/dist/googleCloud/bigquery/server/googleCloudBigquery.cjs +0 -32
- package/dist/googleCloud/bigquery/server/googleCloudBigquery.d.cts +0 -8
- package/dist/googleCloud/bigquery/server/googleCloudBigquery.d.mts +0 -8
- package/dist/googleCloud/bigquery/server/googleCloudBigquery.mjs +0 -30
- package/dist/googleCloud/server/googleCloud.cjs +0 -24
- package/dist/googleCloud/server/googleCloud.d.cts +0 -32
- package/dist/googleCloud/server/googleCloud.d.mts +0 -32
- package/dist/googleCloud/server/googleCloud.mjs +0 -23
- package/dist/googleCloud/storage/server/googleCloudStorage.cjs +0 -28
- package/dist/googleCloud/storage/server/googleCloudStorage.d.cts +0 -7
- package/dist/googleCloud/storage/server/googleCloudStorage.d.mts +0 -7
- package/dist/googleCloud/storage/server/googleCloudStorage.mjs +0 -27
- package/dist/googlePageSpeed/server/GooglePageSpeedNamespace.d.cts +0 -15
- package/dist/googlePageSpeed/server/GooglePageSpeedNamespace.d.mts +0 -15
- package/dist/googlePageSpeed/server/googlePageSpeed.cjs +0 -33
- package/dist/googlePageSpeed/server/googlePageSpeed.d.cts +0 -23
- package/dist/googlePageSpeed/server/googlePageSpeed.d.mts +0 -23
- package/dist/googlePageSpeed/server/googlePageSpeed.mjs +0 -30
- package/dist/littleWarden/server/littleWarden.cjs +0 -54
- package/dist/littleWarden/server/littleWarden.mjs +0 -48
- package/dist/onePassword/server/OnePasswordNamespace.cjs +0 -38
- package/dist/onePassword/server/OnePasswordNamespace.d.cts +0 -17
- package/dist/onePassword/server/OnePasswordNamespace.d.mts +0 -17
- package/dist/onePassword/server/onePassword.cjs +0 -14
- package/dist/onePassword/server/onePassword.d.cts +0 -11
- package/dist/onePassword/server/onePassword.d.mts +0 -11
- package/dist/onePassword/server/onePassword.mjs +0 -13
- package/dist/openAi/server/openAi.cjs +0 -19
- package/dist/openAi/server/openAi.d.cts +0 -9
- package/dist/openAi/server/openAi.d.mts +0 -9
- package/dist/openAi/server/openAi.mjs +0 -18
- package/dist/snapchat/server/SnapchatNamespace.d.cts +0 -18
- package/dist/snapchat/server/SnapchatNamespace.d.mts +0 -18
- package/dist/snapchat/server/snapchat.cjs +0 -19
- package/dist/snapchat/server/snapchat.d.cts +0 -11
- package/dist/snapchat/server/snapchat.d.mts +0 -11
- package/dist/snapchat/server/snapchat.mjs +0 -18
- package/dist/upTimeRobot/server/UpTimeRobotNamespace.cjs +0 -31
- package/dist/upTimeRobot/server/UpTimeRobotNamespace.mjs +0 -30
- package/dist/upTimeRobot/server/upTimeRobot.cjs +0 -57
- package/dist/upTimeRobot/server/upTimeRobot.d.cts +0 -42
- package/dist/upTimeRobot/server/upTimeRobot.d.mts +0 -42
- package/dist/upTimeRobot/server/upTimeRobot.mjs +0 -51
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { getConfig } from "../../server/aws.mjs";
|
|
2
|
-
import "../../server/index.mjs";
|
|
3
|
-
import { AwsEc2Namespace } from "./AwsEc2Namespace.mjs";
|
|
4
|
-
//#region src/aws/ec2/server/awsEc2.ts
|
|
5
|
-
const awsEc2Namespaces = /* @__PURE__ */ new Map();
|
|
6
|
-
const awsEc2Client = async (key = "default", config, vaultId, itemId) => {
|
|
7
|
-
if (awsEc2Namespaces.has(key)) return awsEc2Namespaces.get(key);
|
|
8
|
-
const namespace = new AwsEc2Namespace(key, await getConfig(key, config, vaultId, itemId));
|
|
9
|
-
awsEc2Namespaces.set(key, namespace);
|
|
10
|
-
return namespace;
|
|
11
|
-
};
|
|
12
|
-
//#endregion
|
|
13
|
-
export { awsEc2Client };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_aws_server_aws = require("../../server/aws.cjs");
|
|
3
|
-
require("../../server/index.cjs");
|
|
4
|
-
const require_aws_ecs_server_AwsEcsNamespace = require("./AwsEcsNamespace.cjs");
|
|
5
|
-
//#region src/aws/ecs/server/awsEcs.ts
|
|
6
|
-
const awsEcsNamespaces = /* @__PURE__ */ new Map();
|
|
7
|
-
const awsEcsClient = async (key = "default", config, vaultId, itemId) => {
|
|
8
|
-
if (awsEcsNamespaces.has(key)) return awsEcsNamespaces.get(key);
|
|
9
|
-
const namespace = new require_aws_ecs_server_AwsEcsNamespace.AwsEcsNamespace(key, await require_aws_server_aws.getConfig(key, config, vaultId, itemId));
|
|
10
|
-
awsEcsNamespaces.set(key, namespace);
|
|
11
|
-
return namespace;
|
|
12
|
-
};
|
|
13
|
-
//#endregion
|
|
14
|
-
exports.awsEcsClient = awsEcsClient;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { AwsConfig } from "../../server/aws.cjs";
|
|
2
|
-
import { AwsEcsNamespace } from "./AwsEcsNamespace.cjs";
|
|
3
|
-
|
|
4
|
-
//#region src/aws/ecs/server/awsEcs.d.ts
|
|
5
|
-
declare const awsEcsClient: (key?: string, config?: AwsConfig, vaultId?: string, itemId?: string) => Promise<AwsEcsNamespace>;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { awsEcsClient };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { AwsConfig } from "../../server/aws.mjs";
|
|
2
|
-
import { AwsEcsNamespace } from "./AwsEcsNamespace.mjs";
|
|
3
|
-
|
|
4
|
-
//#region src/aws/ecs/server/awsEcs.d.ts
|
|
5
|
-
declare const awsEcsClient: (key?: string, config?: AwsConfig, vaultId?: string, itemId?: string) => Promise<AwsEcsNamespace>;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { awsEcsClient };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { getConfig } from "../../server/aws.mjs";
|
|
2
|
-
import "../../server/index.mjs";
|
|
3
|
-
import { AwsEcsNamespace } from "./AwsEcsNamespace.mjs";
|
|
4
|
-
//#region src/aws/ecs/server/awsEcs.ts
|
|
5
|
-
const awsEcsNamespaces = /* @__PURE__ */ new Map();
|
|
6
|
-
const awsEcsClient = async (key = "default", config, vaultId, itemId) => {
|
|
7
|
-
if (awsEcsNamespaces.has(key)) return awsEcsNamespaces.get(key);
|
|
8
|
-
const namespace = new AwsEcsNamespace(key, await getConfig(key, config, vaultId, itemId));
|
|
9
|
-
awsEcsNamespaces.set(key, namespace);
|
|
10
|
-
return namespace;
|
|
11
|
-
};
|
|
12
|
-
//#endregion
|
|
13
|
-
export { awsEcsClient };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_aws_server_aws = require("../../server/aws.cjs");
|
|
3
|
-
require("../../server/index.cjs");
|
|
4
|
-
const require_aws_glue_server_AwsGlueNamespace = require("./AwsGlueNamespace.cjs");
|
|
5
|
-
//#region src/aws/glue/server/awsGlue.ts
|
|
6
|
-
const awsGlueNamespaces = /* @__PURE__ */ new Map();
|
|
7
|
-
const awsGlueClient = async (key = "default", config, vaultId, itemId) => {
|
|
8
|
-
if (awsGlueNamespaces.has(key)) return awsGlueNamespaces.get(key);
|
|
9
|
-
const namespace = new require_aws_glue_server_AwsGlueNamespace.AwsGlueNamespace(key, await require_aws_server_aws.getConfig(key, config, vaultId, itemId));
|
|
10
|
-
awsGlueNamespaces.set(key, namespace);
|
|
11
|
-
return namespace;
|
|
12
|
-
};
|
|
13
|
-
//#endregion
|
|
14
|
-
exports.awsGlueClient = awsGlueClient;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { AwsConfig } from "../../server/aws.cjs";
|
|
2
|
-
import { AwsGlueNamespace } from "./AwsGlueNamespace.cjs";
|
|
3
|
-
|
|
4
|
-
//#region src/aws/glue/server/awsGlue.d.ts
|
|
5
|
-
declare const awsGlueClient: (key?: string, config?: AwsConfig, vaultId?: string, itemId?: string) => Promise<AwsGlueNamespace>;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { awsGlueClient };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { AwsConfig } from "../../server/aws.mjs";
|
|
2
|
-
import { AwsGlueNamespace } from "./AwsGlueNamespace.mjs";
|
|
3
|
-
|
|
4
|
-
//#region src/aws/glue/server/awsGlue.d.ts
|
|
5
|
-
declare const awsGlueClient: (key?: string, config?: AwsConfig, vaultId?: string, itemId?: string) => Promise<AwsGlueNamespace>;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { awsGlueClient };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { getConfig } from "../../server/aws.mjs";
|
|
2
|
-
import "../../server/index.mjs";
|
|
3
|
-
import { AwsGlueNamespace } from "./AwsGlueNamespace.mjs";
|
|
4
|
-
//#region src/aws/glue/server/awsGlue.ts
|
|
5
|
-
const awsGlueNamespaces = /* @__PURE__ */ new Map();
|
|
6
|
-
const awsGlueClient = async (key = "default", config, vaultId, itemId) => {
|
|
7
|
-
if (awsGlueNamespaces.has(key)) return awsGlueNamespaces.get(key);
|
|
8
|
-
const namespace = new AwsGlueNamespace(key, await getConfig(key, config, vaultId, itemId));
|
|
9
|
-
awsGlueNamespaces.set(key, namespace);
|
|
10
|
-
return namespace;
|
|
11
|
-
};
|
|
12
|
-
//#endregion
|
|
13
|
-
export { awsGlueClient };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_aws_server_aws = require("../../server/aws.cjs");
|
|
3
|
-
require("../../server/index.cjs");
|
|
4
|
-
const require_aws_lambda_server_AwsLambdaNamespace = require("./AwsLambdaNamespace.cjs");
|
|
5
|
-
//#region src/aws/lambda/server/awsLambda.ts
|
|
6
|
-
const awsLambdaNamespaces = /* @__PURE__ */ new Map();
|
|
7
|
-
const awsLambdaClient = async (key = "default", config, vaultId, itemId) => {
|
|
8
|
-
if (awsLambdaNamespaces.has(key)) return awsLambdaNamespaces.get(key);
|
|
9
|
-
const namespace = new require_aws_lambda_server_AwsLambdaNamespace.AwsLambdaNamespace(key, await require_aws_server_aws.getConfig(key, config, vaultId, itemId));
|
|
10
|
-
awsLambdaNamespaces.set(key, namespace);
|
|
11
|
-
return namespace;
|
|
12
|
-
};
|
|
13
|
-
const getHandlerPath = (input) => {
|
|
14
|
-
return `${input.split(process.cwd())[1].substring(1).replace(/\\/g, "/")}`;
|
|
15
|
-
};
|
|
16
|
-
//#endregion
|
|
17
|
-
exports.awsLambdaClient = awsLambdaClient;
|
|
18
|
-
exports.getHandlerPath = getHandlerPath;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AwsConfig } from "../../server/aws.cjs";
|
|
2
|
-
import { AwsLambdaNamespace } from "./AwsLambdaNamespace.cjs";
|
|
3
|
-
|
|
4
|
-
//#region src/aws/lambda/server/awsLambda.d.ts
|
|
5
|
-
declare const awsLambdaClient: (key?: string, config?: AwsConfig, vaultId?: string, itemId?: string) => Promise<AwsLambdaNamespace>;
|
|
6
|
-
declare const getHandlerPath: (input: string) => string;
|
|
7
|
-
//#endregion
|
|
8
|
-
export { awsLambdaClient, getHandlerPath };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AwsConfig } from "../../server/aws.mjs";
|
|
2
|
-
import { AwsLambdaNamespace } from "./AwsLambdaNamespace.mjs";
|
|
3
|
-
|
|
4
|
-
//#region src/aws/lambda/server/awsLambda.d.ts
|
|
5
|
-
declare const awsLambdaClient: (key?: string, config?: AwsConfig, vaultId?: string, itemId?: string) => Promise<AwsLambdaNamespace>;
|
|
6
|
-
declare const getHandlerPath: (input: string) => string;
|
|
7
|
-
//#endregion
|
|
8
|
-
export { awsLambdaClient, getHandlerPath };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { getConfig } from "../../server/aws.mjs";
|
|
2
|
-
import "../../server/index.mjs";
|
|
3
|
-
import { AwsLambdaNamespace } from "./AwsLambdaNamespace.mjs";
|
|
4
|
-
//#region src/aws/lambda/server/awsLambda.ts
|
|
5
|
-
const awsLambdaNamespaces = /* @__PURE__ */ new Map();
|
|
6
|
-
const awsLambdaClient = async (key = "default", config, vaultId, itemId) => {
|
|
7
|
-
if (awsLambdaNamespaces.has(key)) return awsLambdaNamespaces.get(key);
|
|
8
|
-
const namespace = new AwsLambdaNamespace(key, await getConfig(key, config, vaultId, itemId));
|
|
9
|
-
awsLambdaNamespaces.set(key, namespace);
|
|
10
|
-
return namespace;
|
|
11
|
-
};
|
|
12
|
-
const getHandlerPath = (input) => {
|
|
13
|
-
return `${input.split(process.cwd())[1].substring(1).replace(/\\/g, "/")}`;
|
|
14
|
-
};
|
|
15
|
-
//#endregion
|
|
16
|
-
export { awsLambdaClient, getHandlerPath };
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_date_date = require("../../../date/date.cjs");
|
|
3
|
-
require("../../../date/index.cjs");
|
|
4
|
-
const require_aws_server_aws = require("../../server/aws.cjs");
|
|
5
|
-
require("../../server/index.cjs");
|
|
6
|
-
const require_aws_s3_server_AwsS3Namespace = require("./AwsS3Namespace.cjs");
|
|
7
|
-
//#region src/aws/s3/server/awsS3.ts
|
|
8
|
-
const awsS3Namespaces = /* @__PURE__ */ new Map();
|
|
9
|
-
const awsS3Client = async (key = "default", config, vaultId, itemId) => {
|
|
10
|
-
if (awsS3Namespaces.has(key)) return awsS3Namespaces.get(key);
|
|
11
|
-
const namespace = new require_aws_s3_server_AwsS3Namespace.AwsS3Namespace(key, await require_aws_server_aws.getConfig(key, config, vaultId, itemId));
|
|
12
|
-
awsS3Namespaces.set(key, namespace);
|
|
13
|
-
return namespace;
|
|
14
|
-
};
|
|
15
|
-
const readFileDefault = {
|
|
16
|
-
body: void 0,
|
|
17
|
-
now: void 0,
|
|
18
|
-
error: void 0,
|
|
19
|
-
modified: require_date_date.defaultDateTime
|
|
20
|
-
};
|
|
21
|
-
//#endregion
|
|
22
|
-
exports.awsS3Client = awsS3Client;
|
|
23
|
-
exports.readFileDefault = readFileDefault;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { AwsConfig } from "../../server/aws.cjs";
|
|
2
|
-
import { AwsS3Namespace } from "./AwsS3Namespace.cjs";
|
|
3
|
-
|
|
4
|
-
//#region src/aws/s3/server/awsS3.d.ts
|
|
5
|
-
declare const awsS3Client: (key?: string, config?: AwsConfig, vaultId?: string, itemId?: string) => Promise<AwsS3Namespace>;
|
|
6
|
-
type Modified = {
|
|
7
|
-
now: number;
|
|
8
|
-
modified: string;
|
|
9
|
-
};
|
|
10
|
-
type ReadFileResponse = Modified & {
|
|
11
|
-
body: any;
|
|
12
|
-
error: any;
|
|
13
|
-
};
|
|
14
|
-
declare const readFileDefault: ReadFileResponse;
|
|
15
|
-
//#endregion
|
|
16
|
-
export { Modified, ReadFileResponse, awsS3Client, readFileDefault };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { AwsConfig } from "../../server/aws.mjs";
|
|
2
|
-
import { AwsS3Namespace } from "./AwsS3Namespace.mjs";
|
|
3
|
-
|
|
4
|
-
//#region src/aws/s3/server/awsS3.d.ts
|
|
5
|
-
declare const awsS3Client: (key?: string, config?: AwsConfig, vaultId?: string, itemId?: string) => Promise<AwsS3Namespace>;
|
|
6
|
-
type Modified = {
|
|
7
|
-
now: number;
|
|
8
|
-
modified: string;
|
|
9
|
-
};
|
|
10
|
-
type ReadFileResponse = Modified & {
|
|
11
|
-
body: any;
|
|
12
|
-
error: any;
|
|
13
|
-
};
|
|
14
|
-
declare const readFileDefault: ReadFileResponse;
|
|
15
|
-
//#endregion
|
|
16
|
-
export { Modified, ReadFileResponse, awsS3Client, readFileDefault };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { defaultDateTime } from "../../../date/date.mjs";
|
|
2
|
-
import "../../../date/index.mjs";
|
|
3
|
-
import { getConfig } from "../../server/aws.mjs";
|
|
4
|
-
import "../../server/index.mjs";
|
|
5
|
-
import { AwsS3Namespace } from "./AwsS3Namespace.mjs";
|
|
6
|
-
//#region src/aws/s3/server/awsS3.ts
|
|
7
|
-
const awsS3Namespaces = /* @__PURE__ */ new Map();
|
|
8
|
-
const awsS3Client = async (key = "default", config, vaultId, itemId) => {
|
|
9
|
-
if (awsS3Namespaces.has(key)) return awsS3Namespaces.get(key);
|
|
10
|
-
const namespace = new AwsS3Namespace(key, await getConfig(key, config, vaultId, itemId));
|
|
11
|
-
awsS3Namespaces.set(key, namespace);
|
|
12
|
-
return namespace;
|
|
13
|
-
};
|
|
14
|
-
const readFileDefault = {
|
|
15
|
-
body: void 0,
|
|
16
|
-
now: void 0,
|
|
17
|
-
error: void 0,
|
|
18
|
-
modified: defaultDateTime
|
|
19
|
-
};
|
|
20
|
-
//#endregion
|
|
21
|
-
export { awsS3Client, readFileDefault };
|
package/dist/aws/server/aws.cjs
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_onePassword_server_onePassword = require("../../onePassword/server/onePassword.cjs");
|
|
3
|
-
require("../../onePassword/server/index.cjs");
|
|
4
|
-
const require_aws_server_isResponse200 = require("./isResponse200.cjs");
|
|
5
|
-
//#region src/aws/server/aws.ts
|
|
6
|
-
const getConfig = async (key, config, vaultId, itemId) => {
|
|
7
|
-
let response;
|
|
8
|
-
if (config) response = config;
|
|
9
|
-
else if (vaultId && itemId) response = await (await require_onePassword_server_onePassword.onePasswordClient()).getJsonNote(vaultId, itemId);
|
|
10
|
-
else if (process.env.AWS_VAULT_ID && process.env.AWS_ITEM_ID) response = await (await require_onePassword_server_onePassword.onePasswordClient()).getJsonNote(process.env.AWS_VAULT_ID, process.env.AWS_ITEM_ID);
|
|
11
|
-
else if (process.env.AWS_ACCESS_KEY_ID && process.env.AWS_REGION && process.env.AWS_SECRET_ACCESS_KEY) response = {
|
|
12
|
-
region: process.env.AWS_REGION,
|
|
13
|
-
credentials: {
|
|
14
|
-
accessKeyId: process.env.AWS_ACCESS_KEY_ID,
|
|
15
|
-
secretAccessKey: process.env.AWS_SECRET_ACCESS_KEY
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
else throw new Error(`Config required for namespace '${key}'`);
|
|
19
|
-
return response;
|
|
20
|
-
};
|
|
21
|
-
//#endregion
|
|
22
|
-
exports.getConfig = getConfig;
|
|
23
|
-
exports.isResponse200 = require_aws_server_isResponse200.isResponse200;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { isResponse200 } from "./isResponse200.cjs";
|
|
2
|
-
|
|
3
|
-
//#region src/aws/server/aws.d.ts
|
|
4
|
-
type AwsConfig = {
|
|
5
|
-
region: string;
|
|
6
|
-
credentials: {
|
|
7
|
-
accessKeyId: string;
|
|
8
|
-
secretAccessKey: string;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
declare const getConfig: (key: any, config?: AwsConfig, vaultId?: string, itemId?: string) => Promise<AwsConfig>;
|
|
12
|
-
//#endregion
|
|
13
|
-
export { AwsConfig, getConfig, isResponse200 };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { isResponse200 } from "./isResponse200.mjs";
|
|
2
|
-
|
|
3
|
-
//#region src/aws/server/aws.d.ts
|
|
4
|
-
type AwsConfig = {
|
|
5
|
-
region: string;
|
|
6
|
-
credentials: {
|
|
7
|
-
accessKeyId: string;
|
|
8
|
-
secretAccessKey: string;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
declare const getConfig: (key: any, config?: AwsConfig, vaultId?: string, itemId?: string) => Promise<AwsConfig>;
|
|
12
|
-
//#endregion
|
|
13
|
-
export { AwsConfig, getConfig, isResponse200 };
|
package/dist/aws/server/aws.mjs
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { onePasswordClient } from "../../onePassword/server/onePassword.mjs";
|
|
2
|
-
import "../../onePassword/server/index.mjs";
|
|
3
|
-
import { isResponse200 } from "./isResponse200.mjs";
|
|
4
|
-
//#region src/aws/server/aws.ts
|
|
5
|
-
const getConfig = async (key, config, vaultId, itemId) => {
|
|
6
|
-
let response;
|
|
7
|
-
if (config) response = config;
|
|
8
|
-
else if (vaultId && itemId) response = await (await onePasswordClient()).getJsonNote(vaultId, itemId);
|
|
9
|
-
else if (process.env.AWS_VAULT_ID && process.env.AWS_ITEM_ID) response = await (await onePasswordClient()).getJsonNote(process.env.AWS_VAULT_ID, process.env.AWS_ITEM_ID);
|
|
10
|
-
else if (process.env.AWS_ACCESS_KEY_ID && process.env.AWS_REGION && process.env.AWS_SECRET_ACCESS_KEY) response = {
|
|
11
|
-
region: process.env.AWS_REGION,
|
|
12
|
-
credentials: {
|
|
13
|
-
accessKeyId: process.env.AWS_ACCESS_KEY_ID,
|
|
14
|
-
secretAccessKey: process.env.AWS_SECRET_ACCESS_KEY
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
else throw new Error(`Config required for namespace '${key}'`);
|
|
18
|
-
return response;
|
|
19
|
-
};
|
|
20
|
-
//#endregion
|
|
21
|
-
export { getConfig, isResponse200 };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_aws_server_aws = require("../../server/aws.cjs");
|
|
3
|
-
require("../../server/index.cjs");
|
|
4
|
-
const require_aws_ses_server_AwsSesNamespace = require("./AwsSesNamespace.cjs");
|
|
5
|
-
const require_aws_ses_server_SimpleEmail = require("./SimpleEmail.cjs");
|
|
6
|
-
//#region src/aws/ses/server/awsSes.ts
|
|
7
|
-
const awsSesNamespaces = /* @__PURE__ */ new Map();
|
|
8
|
-
const awsSesClient = async (key = "default", config, vaultId, itemId) => {
|
|
9
|
-
if (awsSesNamespaces.has(key)) return awsSesNamespaces.get(key);
|
|
10
|
-
const namespace = new require_aws_ses_server_AwsSesNamespace.AwsSesNamespace(key, await require_aws_server_aws.getConfig(key, config, vaultId, itemId));
|
|
11
|
-
awsSesNamespaces.set(key, namespace);
|
|
12
|
-
return namespace;
|
|
13
|
-
};
|
|
14
|
-
//#endregion
|
|
15
|
-
exports.SimpleEmail = require_aws_ses_server_SimpleEmail.SimpleEmail;
|
|
16
|
-
exports.awsSesClient = awsSesClient;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AwsConfig } from "../../server/aws.cjs";
|
|
2
|
-
import { AwsSesNamespace } from "./AwsSesNamespace.cjs";
|
|
3
|
-
import { SimpleEmail } from "./SimpleEmail.cjs";
|
|
4
|
-
|
|
5
|
-
//#region src/aws/ses/server/awsSes.d.ts
|
|
6
|
-
declare const awsSesClient: (key?: string, config?: AwsConfig, vaultId?: string, itemId?: string) => Promise<AwsSesNamespace>;
|
|
7
|
-
//#endregion
|
|
8
|
-
export { SimpleEmail, awsSesClient };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AwsConfig } from "../../server/aws.mjs";
|
|
2
|
-
import { AwsSesNamespace } from "./AwsSesNamespace.mjs";
|
|
3
|
-
import { SimpleEmail } from "./SimpleEmail.mjs";
|
|
4
|
-
|
|
5
|
-
//#region src/aws/ses/server/awsSes.d.ts
|
|
6
|
-
declare const awsSesClient: (key?: string, config?: AwsConfig, vaultId?: string, itemId?: string) => Promise<AwsSesNamespace>;
|
|
7
|
-
//#endregion
|
|
8
|
-
export { SimpleEmail, awsSesClient };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { getConfig } from "../../server/aws.mjs";
|
|
2
|
-
import "../../server/index.mjs";
|
|
3
|
-
import { AwsSesNamespace } from "./AwsSesNamespace.mjs";
|
|
4
|
-
import { SimpleEmail } from "./SimpleEmail.mjs";
|
|
5
|
-
//#region src/aws/ses/server/awsSes.ts
|
|
6
|
-
const awsSesNamespaces = /* @__PURE__ */ new Map();
|
|
7
|
-
const awsSesClient = async (key = "default", config, vaultId, itemId) => {
|
|
8
|
-
if (awsSesNamespaces.has(key)) return awsSesNamespaces.get(key);
|
|
9
|
-
const namespace = new AwsSesNamespace(key, await getConfig(key, config, vaultId, itemId));
|
|
10
|
-
awsSesNamespaces.set(key, namespace);
|
|
11
|
-
return namespace;
|
|
12
|
-
};
|
|
13
|
-
//#endregion
|
|
14
|
-
export { SimpleEmail, awsSesClient };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_aws_server_aws = require("../../server/aws.cjs");
|
|
3
|
-
require("../../server/index.cjs");
|
|
4
|
-
const require_aws_sqs_server_AwsSqsNamespace = require("./AwsSqsNamespace.cjs");
|
|
5
|
-
//#region src/aws/sqs/server/awsSqs.ts
|
|
6
|
-
const awsSqsNamespaces = /* @__PURE__ */ new Map();
|
|
7
|
-
const awsSqsClient = async (key = "default", config, vaultId, itemId) => {
|
|
8
|
-
if (awsSqsNamespaces.has(key)) return awsSqsNamespaces.get(key);
|
|
9
|
-
const namespace = new require_aws_sqs_server_AwsSqsNamespace.AwsSqsNamespace(key, await require_aws_server_aws.getConfig(key, config, vaultId, itemId));
|
|
10
|
-
awsSqsNamespaces.set(key, namespace);
|
|
11
|
-
return namespace;
|
|
12
|
-
};
|
|
13
|
-
//#endregion
|
|
14
|
-
exports.awsSqsClient = awsSqsClient;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { AwsConfig } from "../../server/aws.cjs";
|
|
2
|
-
import { AwsSqsNamespace } from "./AwsSqsNamespace.cjs";
|
|
3
|
-
|
|
4
|
-
//#region src/aws/sqs/server/awsSqs.d.ts
|
|
5
|
-
declare const awsSqsClient: (key?: string, config?: AwsConfig, vaultId?: string, itemId?: string) => Promise<AwsSqsNamespace>;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { awsSqsClient };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { AwsConfig } from "../../server/aws.mjs";
|
|
2
|
-
import { AwsSqsNamespace } from "./AwsSqsNamespace.mjs";
|
|
3
|
-
|
|
4
|
-
//#region src/aws/sqs/server/awsSqs.d.ts
|
|
5
|
-
declare const awsSqsClient: (key?: string, config?: AwsConfig, vaultId?: string, itemId?: string) => Promise<AwsSqsNamespace>;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { awsSqsClient };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { getConfig } from "../../server/aws.mjs";
|
|
2
|
-
import "../../server/index.mjs";
|
|
3
|
-
import { AwsSqsNamespace } from "./AwsSqsNamespace.mjs";
|
|
4
|
-
//#region src/aws/sqs/server/awsSqs.ts
|
|
5
|
-
const awsSqsNamespaces = /* @__PURE__ */ new Map();
|
|
6
|
-
const awsSqsClient = async (key = "default", config, vaultId, itemId) => {
|
|
7
|
-
if (awsSqsNamespaces.has(key)) return awsSqsNamespaces.get(key);
|
|
8
|
-
const namespace = new AwsSqsNamespace(key, await getConfig(key, config, vaultId, itemId));
|
|
9
|
-
awsSqsNamespaces.set(key, namespace);
|
|
10
|
-
return namespace;
|
|
11
|
-
};
|
|
12
|
-
//#endregion
|
|
13
|
-
export { awsSqsClient };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { BaseNamespace } from "../../../_class/BaseNamespace.cjs";
|
|
2
|
-
import { AwsConfig } from "../../server/aws.cjs";
|
|
3
|
-
import { SSMClient } from "@aws-sdk/client-ssm";
|
|
4
|
-
|
|
5
|
-
//#region src/aws/ssm/server/AwsSsmNamespace.d.ts
|
|
6
|
-
declare class AwsSsmNamespace extends BaseNamespace {
|
|
7
|
-
client: SSMClient;
|
|
8
|
-
config: AwsConfig;
|
|
9
|
-
parameters: Map<string, any>;
|
|
10
|
-
constructor(key: string, config: any);
|
|
11
|
-
ensureInit: () => Promise<void>;
|
|
12
|
-
getParameter: (name: string, withDecryption?: boolean, isJson?: boolean) => Promise<any>;
|
|
13
|
-
}
|
|
14
|
-
//#endregion
|
|
15
|
-
export { AwsSsmNamespace };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { BaseNamespace } from "../../../_class/BaseNamespace.mjs";
|
|
2
|
-
import { AwsConfig } from "../../server/aws.mjs";
|
|
3
|
-
import { SSMClient } from "@aws-sdk/client-ssm";
|
|
4
|
-
|
|
5
|
-
//#region src/aws/ssm/server/AwsSsmNamespace.d.ts
|
|
6
|
-
declare class AwsSsmNamespace extends BaseNamespace {
|
|
7
|
-
client: SSMClient;
|
|
8
|
-
config: AwsConfig;
|
|
9
|
-
parameters: Map<string, any>;
|
|
10
|
-
constructor(key: string, config: any);
|
|
11
|
-
ensureInit: () => Promise<void>;
|
|
12
|
-
getParameter: (name: string, withDecryption?: boolean, isJson?: boolean) => Promise<any>;
|
|
13
|
-
}
|
|
14
|
-
//#endregion
|
|
15
|
-
export { AwsSsmNamespace };
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { BaseNamespace } from "../../../_class/BaseNamespace.mjs";
|
|
2
|
-
//#region src/aws/ssm/server/AwsSsmNamespace.ts
|
|
3
|
-
var AwsSsmNamespace = class extends BaseNamespace {
|
|
4
|
-
parameters;
|
|
5
|
-
constructor(key, config) {
|
|
6
|
-
super(key, config);
|
|
7
|
-
this.parameters = /* @__PURE__ */ new Map();
|
|
8
|
-
}
|
|
9
|
-
ensureInit = async () => {
|
|
10
|
-
if (!this.client) try {
|
|
11
|
-
const { SSMClient } = await import("@aws-sdk/client-ssm");
|
|
12
|
-
this.client = new SSMClient(this.config);
|
|
13
|
-
} catch (e) {
|
|
14
|
-
throw new Error("AWS SSM Client not installed");
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
getParameter = async (name, withDecryption = false, isJson = true) => {
|
|
18
|
-
await this.ensureInit();
|
|
19
|
-
if (!this.parameters.has(name)) {
|
|
20
|
-
const { GetParameterCommand } = await import("@aws-sdk/client-ssm");
|
|
21
|
-
const apiResponse = await this.client.send(new GetParameterCommand({
|
|
22
|
-
Name: name,
|
|
23
|
-
WithDecryption: void 0 === withDecryption ? true : withDecryption
|
|
24
|
-
}));
|
|
25
|
-
if (apiResponse.Parameter.Value) if (void 0 === apiResponse.Parameter.Value) this.parameters.set(name, null);
|
|
26
|
-
else if (void 0 === isJson || true === isJson) this.parameters.set(name, JSON.parse(apiResponse.Parameter.Value) || null);
|
|
27
|
-
else this.parameters.set(name, apiResponse.Parameter.Value);
|
|
28
|
-
else this.parameters.set(name, null);
|
|
29
|
-
}
|
|
30
|
-
return this.parameters.get(name);
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
//#endregion
|
|
34
|
-
export { AwsSsmNamespace };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_aws_server_aws = require("../../server/aws.cjs");
|
|
3
|
-
require("../../server/index.cjs");
|
|
4
|
-
const require_aws_ssm_server_AwsSsmNamespace = require("./AwsSsmNamespace.cjs");
|
|
5
|
-
//#region src/aws/ssm/server/awsSsm.ts
|
|
6
|
-
const awsSsmNamespaces = /* @__PURE__ */ new Map();
|
|
7
|
-
const awsSsmClient = async (key = "default", config, vaultId, itemId) => {
|
|
8
|
-
if (awsSsmNamespaces.has(key)) return awsSsmNamespaces.get(key);
|
|
9
|
-
const namespace = new require_aws_ssm_server_AwsSsmNamespace.AwsSsmNamespace(key, await require_aws_server_aws.getConfig(key, config, vaultId, itemId));
|
|
10
|
-
awsSsmNamespaces.set(key, namespace);
|
|
11
|
-
return namespace;
|
|
12
|
-
};
|
|
13
|
-
//#endregion
|
|
14
|
-
exports.awsSsmClient = awsSsmClient;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { AwsConfig } from "../../server/aws.cjs";
|
|
2
|
-
import { AwsSsmNamespace } from "./AwsSsmNamespace.cjs";
|
|
3
|
-
|
|
4
|
-
//#region src/aws/ssm/server/awsSsm.d.ts
|
|
5
|
-
declare const awsSsmClient: (key?: string, config?: AwsConfig, vaultId?: string, itemId?: string) => Promise<AwsSsmNamespace>;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { awsSsmClient };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { AwsConfig } from "../../server/aws.mjs";
|
|
2
|
-
import { AwsSsmNamespace } from "./AwsSsmNamespace.mjs";
|
|
3
|
-
|
|
4
|
-
//#region src/aws/ssm/server/awsSsm.d.ts
|
|
5
|
-
declare const awsSsmClient: (key?: string, config?: AwsConfig, vaultId?: string, itemId?: string) => Promise<AwsSsmNamespace>;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { awsSsmClient };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { getConfig } from "../../server/aws.mjs";
|
|
2
|
-
import "../../server/index.mjs";
|
|
3
|
-
import { AwsSsmNamespace } from "./AwsSsmNamespace.mjs";
|
|
4
|
-
//#region src/aws/ssm/server/awsSsm.ts
|
|
5
|
-
const awsSsmNamespaces = /* @__PURE__ */ new Map();
|
|
6
|
-
const awsSsmClient = async (key = "default", config, vaultId, itemId) => {
|
|
7
|
-
if (awsSsmNamespaces.has(key)) return awsSsmNamespaces.get(key);
|
|
8
|
-
const namespace = new AwsSsmNamespace(key, await getConfig(key, config, vaultId, itemId));
|
|
9
|
-
awsSsmNamespaces.set(key, namespace);
|
|
10
|
-
return namespace;
|
|
11
|
-
};
|
|
12
|
-
//#endregion
|
|
13
|
-
export { awsSsmClient };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { BaseNamespace } from "../../_class/BaseNamespace.cjs";
|
|
2
|
-
import { DrizzleConfig } from "./drizzle.cjs";
|
|
3
|
-
|
|
4
|
-
//#region src/drizzle/server/DrizzleNamespace.d.ts
|
|
5
|
-
declare class DrizzleNamespace<TClient = any> extends BaseNamespace {
|
|
6
|
-
client: TClient;
|
|
7
|
-
config: DrizzleConfig;
|
|
8
|
-
ensureInit: () => Promise<void>;
|
|
9
|
-
}
|
|
10
|
-
//#endregion
|
|
11
|
-
export { DrizzleNamespace };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { BaseNamespace } from "../../_class/BaseNamespace.mjs";
|
|
2
|
-
import { DrizzleConfig } from "./drizzle.mjs";
|
|
3
|
-
|
|
4
|
-
//#region src/drizzle/server/DrizzleNamespace.d.ts
|
|
5
|
-
declare class DrizzleNamespace<TClient = any> extends BaseNamespace {
|
|
6
|
-
client: TClient;
|
|
7
|
-
config: DrizzleConfig;
|
|
8
|
-
ensureInit: () => Promise<void>;
|
|
9
|
-
}
|
|
10
|
-
//#endregion
|
|
11
|
-
export { DrizzleNamespace };
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_drizzle_server_DrizzleNamespace = require("./DrizzleNamespace.cjs");
|
|
3
|
-
//#region src/drizzle/server/drizzle.ts
|
|
4
|
-
const drizzleNamespaces = /* @__PURE__ */ new Map();
|
|
5
|
-
const drizzleClient = async (key = "default", config) => {
|
|
6
|
-
if (drizzleNamespaces.has(key)) return drizzleNamespaces.get(key);
|
|
7
|
-
let finalConfig = config ?? {};
|
|
8
|
-
if (key === "default") {
|
|
9
|
-
finalConfig.url = process.env.DATABASE_URL;
|
|
10
|
-
finalConfig.isDebug = "true" === process.env.DATABASE_IS_DEBUG;
|
|
11
|
-
finalConfig.isPlanetScale = "true" === process.env.DATABASE_IS_PLANETSCALE;
|
|
12
|
-
finalConfig.isMysql = "true" === process.env.DATABASE_IS_MYSQL;
|
|
13
|
-
finalConfig.isPostgres = "true" === process.env.DATABASE_IS_POSTGRES;
|
|
14
|
-
} else if ("default" !== key && config) finalConfig = config;
|
|
15
|
-
else throw new Error(`Config required for namespace '${key}'`);
|
|
16
|
-
const namespace = new require_drizzle_server_DrizzleNamespace.DrizzleNamespace(key, finalConfig);
|
|
17
|
-
await namespace.ensureInit();
|
|
18
|
-
drizzleNamespaces.set(key, namespace);
|
|
19
|
-
return namespace;
|
|
20
|
-
};
|
|
21
|
-
//#endregion
|
|
22
|
-
exports.drizzleClient = drizzleClient;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { DrizzleNamespace } from "./DrizzleNamespace.mjs";
|
|
2
|
-
//#region src/drizzle/server/drizzle.ts
|
|
3
|
-
const drizzleNamespaces = /* @__PURE__ */ new Map();
|
|
4
|
-
const drizzleClient = async (key = "default", config) => {
|
|
5
|
-
if (drizzleNamespaces.has(key)) return drizzleNamespaces.get(key);
|
|
6
|
-
let finalConfig = config ?? {};
|
|
7
|
-
if (key === "default") {
|
|
8
|
-
finalConfig.url = process.env.DATABASE_URL;
|
|
9
|
-
finalConfig.isDebug = "true" === process.env.DATABASE_IS_DEBUG;
|
|
10
|
-
finalConfig.isPlanetScale = "true" === process.env.DATABASE_IS_PLANETSCALE;
|
|
11
|
-
finalConfig.isMysql = "true" === process.env.DATABASE_IS_MYSQL;
|
|
12
|
-
finalConfig.isPostgres = "true" === process.env.DATABASE_IS_POSTGRES;
|
|
13
|
-
} else if ("default" !== key && config) finalConfig = config;
|
|
14
|
-
else throw new Error(`Config required for namespace '${key}'`);
|
|
15
|
-
const namespace = new DrizzleNamespace(key, finalConfig);
|
|
16
|
-
await namespace.ensureInit();
|
|
17
|
-
drizzleNamespaces.set(key, namespace);
|
|
18
|
-
return namespace;
|
|
19
|
-
};
|
|
20
|
-
//#endregion
|
|
21
|
-
export { drizzleClient };
|