Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
ci:
runs-on:
- self-hosted
- ubuntu-24.04-arm

steps:
- name: Checkout Repo
Expand All @@ -17,7 +17,6 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@04c56d2f954f1e4c69436aa54cfef261a018f458
with:
cache: npm
node-version-file: .nvmrc

- name: Install Dependencies
Expand Down
3 changes: 2 additions & 1 deletion MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@

The following breaking changes were made in v2:
- Everything was migrated from AWS SDK v2 to AWS SDK v3. This means that you must now pass in V3-generation client instances for liveness checks.
- The library is now ESM-only. If you are using CommonJS, you will need to use `import()` to load the library or convert the code using this library to ESM.
- The library is now ESM-only. If you are using CommonJS, you will need to use `import()` to load the library or convert the code using this library to ESM.
- The package has been renamed to `@godaddy/aws-liveness` to follow the GoDaddy package naming convention. You will need to update your import statements accordingly.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ npm i --save aws-liveness
## Usage

```javascript
import AWSLiveness from 'aws-liveness';
import AWSLiveness from '@godaddy/aws-liveness';
import { DynamoDBClient } from '@aws-sdk/client-dynamodb';

const awsLiveness = new AWSLiveness();
Expand Down Expand Up @@ -53,7 +53,7 @@ By default, `AWSLiveness` supports running the following liveness commands for t
You can also create additional checks to customize liveness.

```js
import AWSLiveness from 'aws-liveness';
import AWSLiveness from '@godaddy/aws-liveness';
import { DynamoDBClient, DescribeTableCommand } from '@aws-sdk/client-dynamodb';

class MyCustomService {
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "aws-liveness",
"name": "@godaddy/aws-liveness",
"version": "2.0.0",
"description": "AWS Liveness tools",
"type": "module",
Expand Down
Loading