idea-aws 4.0.11 → 4.0.13

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.
@@ -1,5 +1,4 @@
1
1
  import * as DDB from '@aws-sdk/lib-dynamodb';
2
- import { TransactWriteItem } from '@aws-sdk/client-dynamodb';
3
2
  import * as DDBUtils from '@aws-sdk/util-dynamodb';
4
3
  import { Logger } from './logger';
5
4
  /**
@@ -117,5 +116,10 @@ export declare class DynamoDB {
117
116
  * Execute a series of max 10 write operations in a single transaction.
118
117
  * @param ops the operations to execute in the transaction
119
118
  */
120
- transactWrites(ops: TransactWriteItem[]): Promise<void>;
119
+ transactWrites(ops: {
120
+ ConditionCheck?: any;
121
+ Put?: any;
122
+ Delete?: any;
123
+ Update?: any;
124
+ }[]): Promise<void>;
121
125
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "idea-aws",
3
- "version": "4.0.11",
3
+ "version": "4.0.13",
4
4
  "description": "AWS wrappers to use in IDEA's back-ends",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",