hot-updater 0.12.3 → 0.12.4

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.
@@ -11,10 +11,15 @@ export declare function createOrSelectIamRole({ region, credentials, }: {
11
11
  * - Zip the local ./lambda folder, create a function in us-east-1 region,
12
12
  * - Publish a new version of the function
13
13
  */
14
- export declare const deployLambdaEdge: (credentials: {
15
- accessKeyId: string;
16
- secretAccessKey: string;
17
- } | undefined, lambdaRoleArn: string) => Promise<{
14
+ export declare const deployLambdaEdge: ({ region, bucketName, credentials, lambdaRoleArn, }: {
15
+ region: BucketLocationConstraint;
16
+ bucketName: string;
17
+ credentials: {
18
+ accessKeyId: string;
19
+ secretAccessKey: string;
20
+ };
21
+ lambdaRoleArn: string;
22
+ }) => Promise<{
18
23
  lambdaName: string;
19
24
  functionArn: string;
20
25
  }>;
@@ -1,2 +1,2 @@
1
1
  import type { BucketLocationConstraint } from "@hot-updater/aws/sdk";
2
- export declare const regionLocationMap: Record<BucketLocationConstraint, string>;
2
+ export declare const regionLocationMap: Record<BucketLocationConstraint | "ap-southeast-4" | "ap-southeast-5" | "il-central-1" | "me-central-1", string>;
@@ -0,0 +1 @@
1
+ export declare const transformEnv: <T extends Record<string, string>>(code: string, env: T) => Promise<string>;
@@ -0,0 +1 @@
1
+ export {};