@stacksjs/cloud 0.59.6 → 0.59.7

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/helpers.d.ts CHANGED
@@ -2,7 +2,7 @@ import { _InstanceType as InstanceType } from '@aws-sdk/client-ec2';
2
2
  import type { CountryCode } from '@aws-sdk/client-route-53-domains';
3
3
  import { ContactType } from '@aws-sdk/client-route-53-domains';
4
4
  export { InstanceType };
5
- export declare function getSecurityGroupId(securityGroupName: string): Promise<import("neverthrow").Err<never, string> | import("neverthrow").Ok<string | undefined, never>>;
5
+ export declare function getSecurityGroupId(securityGroupName: string): Promise<any>;
6
6
  export interface PurchaseOptions {
7
7
  domain: string;
8
8
  years: number;
@@ -47,20 +47,20 @@ export interface PurchaseOptions {
47
47
  contactType: ContactType;
48
48
  verbose: boolean;
49
49
  }
50
- export declare function purchaseDomain(domain: string, options: PurchaseOptions): import("neverthrow").Ok<Promise<import("@aws-sdk/client-route-53-domains").RegisterDomainCommandOutput>, never> | import("neverthrow").Err<never, any>;
50
+ export declare function purchaseDomain(domain: string, options: PurchaseOptions): any;
51
51
  export declare function getJumpBoxInstanceId(name?: string): Promise<string | undefined>;
52
- export declare function deleteEc2Instance(id: string, stackName?: string): Promise<import("neverthrow").Err<never, string> | import("neverthrow").Ok<string, never>>;
53
- export declare function deleteJumpBox(stackName?: string): Promise<import("neverthrow").Err<never, string> | import("neverthrow").Ok<string, never>>;
54
- export declare function deleteIamUsers(): Promise<import("neverthrow").Ok<string, never>>;
55
- export declare function deleteStacksBuckets(): Promise<import("neverthrow").Err<never, string> | import("neverthrow").Ok<string, never> | import("neverthrow").Err<never, Error>>;
56
- export declare function deleteStacksFunctions(): Promise<import("neverthrow").Ok<string, never>>;
57
- export declare function deleteLogGroups(): Promise<import("neverthrow").Err<never, string> | import("neverthrow").Ok<string, never> | import("neverthrow").Err<never, Error>>;
58
- export declare function deleteParameterStore(): Promise<import("neverthrow").Ok<string, never>>;
59
- export declare function deleteCdkRemnants(): Promise<import("neverthrow").Err<never, Error> | import("neverthrow").Ok<any, never>>;
60
- export declare function hasBeenDeployed(): Promise<import("neverthrow").Err<never, Error> | import("neverthrow").Ok<boolean, never>>;
61
- export declare function getJumpBoxInstanceProfileName(): Promise<import("neverthrow").Err<never, string> | import("neverthrow").Ok<string | undefined, never>>;
62
- export declare function addJumpBox(stackName?: string): Promise<import("neverthrow").Err<never, string> | import("neverthrow").Ok<string, never>>;
63
- export declare function getJumpBoxSecurityGroupName(): Promise<import("neverthrow").Err<never, string> | import("neverthrow").Ok<string | undefined, never>>;
52
+ export declare function deleteEc2Instance(id: string, stackName?: string): Promise<any>;
53
+ export declare function deleteJumpBox(stackName?: string): Promise<any>;
54
+ export declare function deleteIamUsers(): Promise<any>;
55
+ export declare function deleteStacksBuckets(): Promise<any>;
56
+ export declare function deleteStacksFunctions(): Promise<any>;
57
+ export declare function deleteLogGroups(): Promise<any>;
58
+ export declare function deleteParameterStore(): Promise<any>;
59
+ export declare function deleteCdkRemnants(): Promise<any>;
60
+ export declare function hasBeenDeployed(): Promise<any>;
61
+ export declare function getJumpBoxInstanceProfileName(): Promise<any>;
62
+ export declare function addJumpBox(stackName?: string): Promise<any>;
63
+ export declare function getJumpBoxSecurityGroupName(): Promise<any>;
64
64
  export declare function getSecurityGroupFromInstanceId(instanceId: string): Promise<string | undefined>;
65
65
  export declare function isFirstDeployment(): Promise<boolean>;
66
66
  export declare function isFailedState(): Promise<boolean>;
package/dist/index.js CHANGED
@@ -1175,7 +1175,7 @@ class DeploymentStack {
1175
1175
  this.websiteSource = config12.app.docMode === true ? this.docsSource : "../views/dist/";
1176
1176
  new s3deploy.BucketDeployment(scope, "Website", {
1177
1177
  sources: [s3deploy.Source.asset(this.websiteSource, {
1178
- assetHash: websiteSourceHash,
1178
+ assetHash: websiteSourceHash(),
1179
1179
  assetHashType: AssetHashType2.CUSTOM
1180
1180
  })],
1181
1181
  destinationBucket: props.publicBucket,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/cloud",
3
3
  "type": "module",
4
- "version": "0.59.6",
4
+ "version": "0.59.7",
5
5
  "description": "The Stacks cloud/serverless integration & implementation.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aws-sdk-layer",
3
- "version": "0.59.6",
3
+ "version": "0.59.7",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "ISC",
@@ -25,7 +25,7 @@ export class DeploymentStack {
25
25
 
26
26
  new s3deploy.BucketDeployment(scope, 'Website', {
27
27
  sources: [s3deploy.Source.asset(this.websiteSource, {
28
- assetHash: websiteSourceHash,
28
+ assetHash: websiteSourceHash(),
29
29
  assetHashType: AssetHashType.CUSTOM,
30
30
  })],
31
31
  destinationBucket: props.publicBucket,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stacks-router-layer",
3
- "version": "0.59.6",
3
+ "version": "0.59.7",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "MIT",
@@ -10,6 +10,6 @@
10
10
  "test": "echo \"Error: no test specified\" && exit 1"
11
11
  },
12
12
  "dependencies": {
13
- "@stacksjs/router": "^0.59.4"
13
+ "@stacksjs/router": "^0.59.6"
14
14
  }
15
15
  }