Skip to content

Commit 0e9a1c3

Browse files
committed
fix: idempotency types
1 parent 65493c7 commit 0e9a1c3

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

Diff for: packages/idempotency/package.json

+12-12
Original file line numberDiff line numberDiff line change
@@ -60,30 +60,30 @@
6060
},
6161
"./types": {
6262
"import": "./lib/esm/types/index.d.ts",
63-
"require": "./lib/esm/types/index.d.ts"
63+
"require": "./lib/cjs/types/index.d.ts"
6464
}
6565
},
6666
"typesVersions": {
6767
"*": {
6868
"persistence": [
69-
"lib/esm/persistence/index.d.ts",
70-
"lib/cjs/persistence/index.d.ts"
69+
"lib/cjs/persistence/index.d.ts",
70+
"lib/esm/persistence/index.d.ts"
7171
],
7272
"dynamodb": [
73-
"lib/esm/persistence/DynamoDBPersistenceLayer.d.ts",
74-
"lib/cjs/persistence/DynamoDBPersistenceLayer.d.ts"
73+
"lib/cjs/persistence/DynamoDBPersistenceLayer.d.ts",
74+
"lib/esm/persistence/DynamoDBPersistenceLayer.d.ts"
7575
],
7676
"dynamodb/types": [
77-
"lib/esm/types/DynamoDBPersistence.d.ts",
78-
"lib/cjs/types/DynamoDBPersistence.d.ts"
77+
"lib/cjs/types/DynamoDBPersistence.d.ts",
78+
"lib/esm/types/DynamoDBPersistence.d.ts"
7979
],
8080
"middleware": [
81-
"lib/esm/middleware/makeHandlerIdempotent.d.ts",
82-
"lib/cjs/middleware/makeHandlerIdempotent.d.ts"
81+
"lib/cjs/middleware/makeHandlerIdempotent.d.ts",
82+
"lib/esm/middleware/makeHandlerIdempotent.d.ts"
8383
],
8484
"types": [
85-
"lib/esm/types/index.d.ts",
86-
"lib/cjs/types/index.d.ts"
85+
"lib/cjs/types/index.d.ts",
86+
"lib/esm/types/index.d.ts"
8787
]
8888
}
8989
},
@@ -136,4 +136,4 @@
136136
"aws-sdk-client-mock": "^3.0.1",
137137
"aws-sdk-client-mock-jest": "^3.0.1"
138138
}
139-
}
139+
}

Diff for: packages/idempotency/src/types/IdempotencyOptions.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { Context } from 'aws-lambda';
2-
import { BasePersistenceLayer } from '../persistence/BasePersistenceLayer.js';
3-
import { IdempotencyConfig } from '../IdempotencyConfig.js';
2+
import type { BasePersistenceLayer } from '../persistence/BasePersistenceLayer.js';
3+
import type { IdempotencyConfig } from '../IdempotencyConfig.js';
44
import type { JSONValue } from '@aws-lambda-powertools/commons/types';
55

66
/**

0 commit comments

Comments
 (0)