Skip to content

Commit a669cb3

Browse files
committed
fix: idempotency types
1 parent ac7b5e8 commit a669cb3

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

packages/idempotency/package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -59,30 +59,30 @@
5959
},
6060
"./types": {
6161
"import": "./lib/esm/types/index.d.ts",
62-
"require": "./lib/esm/types/index.d.ts"
62+
"require": "./lib/cjs/types/index.d.ts"
6363
}
6464
},
6565
"typesVersions": {
6666
"*": {
6767
"persistence": [
68-
"lib/esm/persistence/index.d.ts",
69-
"lib/cjs/persistence/index.d.ts"
68+
"lib/cjs/persistence/index.d.ts",
69+
"lib/esm/persistence/index.d.ts"
7070
],
7171
"dynamodb": [
72-
"lib/esm/persistence/DynamoDBPersistenceLayer.d.ts",
73-
"lib/cjs/persistence/DynamoDBPersistenceLayer.d.ts"
72+
"lib/cjs/persistence/DynamoDBPersistenceLayer.d.ts",
73+
"lib/esm/persistence/DynamoDBPersistenceLayer.d.ts"
7474
],
7575
"dynamodb/types": [
76-
"lib/esm/types/DynamoDBPersistence.d.ts",
77-
"lib/cjs/types/DynamoDBPersistence.d.ts"
76+
"lib/cjs/types/DynamoDBPersistence.d.ts",
77+
"lib/esm/types/DynamoDBPersistence.d.ts"
7878
],
7979
"middleware": [
80-
"lib/esm/middleware/makeHandlerIdempotent.d.ts",
81-
"lib/cjs/middleware/makeHandlerIdempotent.d.ts"
80+
"lib/cjs/middleware/makeHandlerIdempotent.d.ts",
81+
"lib/esm/middleware/makeHandlerIdempotent.d.ts"
8282
],
8383
"types": [
84-
"lib/esm/types/index.d.ts",
85-
"lib/cjs/types/index.d.ts"
84+
"lib/cjs/types/index.d.ts",
85+
"lib/esm/types/index.d.ts"
8686
]
8787
}
8888
},
@@ -135,4 +135,4 @@
135135
"aws-sdk-client-mock": "^3.0.0",
136136
"aws-sdk-client-mock-jest": "^3.0.0"
137137
}
138-
}
138+
}

packages/idempotency/src/types/IdempotencyOptions.ts

Lines changed: 2 additions & 2 deletions
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)