Skip to content

Commit

Permalink
feat!: support AWS SDK v3.363.0
Browse files Browse the repository at this point in the history
AWS SDK v3.363.0 migrated from @aws-sdk/types to @smithy/types. See:
- https://github.com/aws/aws-sdk-js-v3/releases/tag/v3.363.0
- aws/aws-sdk-js-v3#4873
- #168
  • Loading branch information
m-radzikowski committed Jul 1, 2023
1 parent af32d28 commit 0865065
Show file tree
Hide file tree
Showing 6 changed files with 1,242 additions and 1,037 deletions.
4 changes: 2 additions & 2 deletions packages/aws-sdk-client-mock-jest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
"tslib": "^2.1.0"
},
"devDependencies": {
"@aws-sdk/client-sns": "3.49.0",
"@aws-sdk/types": "3.49.0",
"@aws-sdk/client-sns": "3.363.0",
"@smithy/types": "1.1.0",
"aws-sdk-client-mock": "workspace:*",
"jest-serializer-ansi-escapes": "2.0.1"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/aws-sdk-client-mock-jest/src/jestMatchers.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-disable @typescript-eslint/no-explicit-any, @typescript-eslint/no-empty-interface */
import assert from 'assert';
import type {MetadataBearer} from '@aws-sdk/types';
import type {MetadataBearer} from '@smithy/types';
import type {AwsCommand, AwsStub} from 'aws-sdk-client-mock';
import type {SinonSpyCall} from 'sinon';

Expand Down
12 changes: 6 additions & 6 deletions packages/aws-sdk-client-mock/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@
"tslib": "^2.1.0"
},
"devDependencies": {
"@aws-sdk/client-dynamodb": "3.49.0",
"@aws-sdk/client-s3": "3.49.0",
"@aws-sdk/client-sns": "3.49.0",
"@aws-sdk/client-sqs": "3.49.0",
"@aws-sdk/lib-dynamodb": "3.49.0",
"@aws-sdk/types": "3.49.0",
"@aws-sdk/client-dynamodb": "3.363.0",
"@aws-sdk/client-s3": "3.363.0",
"@aws-sdk/client-sns": "3.363.0",
"@aws-sdk/client-sqs": "3.363.0",
"@aws-sdk/lib-dynamodb": "3.363.0",
"@smithy/types": "1.1.0",
"typedoc": "0.23.26"
},
"jest": {
Expand Down
2 changes: 1 addition & 1 deletion packages/aws-sdk-client-mock/src/awsClientStub.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {Client, Command, MetadataBearer} from '@aws-sdk/types';
import {Client, Command, MetadataBearer} from '@smithy/types';
import {match, SinonSpyCall, SinonStub} from 'sinon';
import {mockClient} from './mockClient';

Expand Down
2 changes: 1 addition & 1 deletion packages/aws-sdk-client-mock/src/mockClient.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {Client, Command, MetadataBearer} from '@aws-sdk/types';
import {Client, Command, MetadataBearer} from '@smithy/types';
import {SinonStub, stub} from 'sinon';
import {isSinonStub} from './sinon';
import {AwsClientStub, AwsStub} from './awsClientStub';
Expand Down
Loading

0 comments on commit 0865065

Please sign in to comment.