-
Notifications
You must be signed in to change notification settings - Fork 597
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
awstools
committed
Jan 15, 2025
1 parent
9ec4c95
commit 2a78a0b
Showing
11 changed files
with
78 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
// ToDo: set implementation in middleware-flexible-checksums container. | ||
import { crc64NvmeCrtContainer } from "@aws-sdk/middleware-flexible-checksums"; | ||
|
||
import { CrtCrc64Nvme } from "./CrtCrc64Nvme"; | ||
|
||
crc64NvmeCrtContainer.CrtCrc64Nvme = CrtCrc64Nvme; | ||
|
||
export * from "./CrtCrc64Nvme"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
packages/middleware-flexible-checksums/src/crc64-nvme-crt-container.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { ChecksumConstructor } from "@smithy/types"; | ||
|
||
/** | ||
* @public | ||
* | ||
* \@aws-sdk/crc64-nvme-crt will install the constructor in this | ||
* container if it is installed. | ||
* | ||
* This avoids a runtime-require being interpreted statically by bundlers. | ||
* | ||
*/ | ||
export const crc64NvmeCrtContainer: { | ||
CrtCrc64Nvme: null | ChecksumConstructor; | ||
} = { | ||
CrtCrc64Nvme: null, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
export * from "./NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS"; | ||
export * from "./NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS"; | ||
export * from "./constants"; | ||
export * from "./crc64-nvme-crt-container"; | ||
export * from "./flexibleChecksumsMiddleware"; | ||
export * from "./getFlexibleChecksumsPlugin"; | ||
export * from "./resolveFlexibleChecksumsConfig"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters