Skip to content

Commit 792cded

Browse files
committed
chore: updated occurrences
1 parent 56eb95c commit 792cded

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/idempotency/src/IdempotencyConfig.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { EnvironmentVariablesService } from './config/EnvironmentVariablesService.js';
22
import type { Context } from 'aws-lambda';
33
import type { IdempotencyConfigOptions } from './types/IdempotencyOptions.js';
4-
import type { ParsingOptions } from '@aws-lambda-powertools/jmespath/types';
4+
import type { JMESPathParsingOptions } from '@aws-lambda-powertools/jmespath/types';
55
import { PowertoolsFunctions } from '@aws-lambda-powertools/jmespath/functions';
66

77
/**
@@ -31,7 +31,7 @@ class IdempotencyConfig {
3131
* {@link https://docs.powertools.aws.dev/lambda/typescript/latest/api/classes/_aws_lambda_powertools_jmespath.PowertoolsFunctions.PowertoolsFunctions.html | custom functions provided}
3232
* by the `@aws-lambda-powertools/jmespath` package.
3333
*/
34-
public jmesPathOptions: ParsingOptions;
34+
public jmesPathOptions: JMESPathParsingOptions;
3535
/**
3636
* The lambda context object.
3737
*/

packages/idempotency/src/persistence/BasePersistenceLayer.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { createHash, Hash } from 'node:crypto';
22
import { search } from '@aws-lambda-powertools/jmespath';
3-
import type { ParsingOptions } from '@aws-lambda-powertools/jmespath/types';
3+
import type { JMESPathParsingOptions } from '@aws-lambda-powertools/jmespath/types';
44
import type {
55
BasePersistenceLayerOptions,
66
BasePersistenceLayerInterface,
@@ -37,7 +37,7 @@ abstract class BasePersistenceLayer implements BasePersistenceLayerInterface {
3737
private throwOnNoIdempotencyKey = false;
3838
private useLocalCache = false;
3939
private validationKeyJmesPath?: string;
40-
#jmesPathOptions?: ParsingOptions;
40+
#jmesPathOptions?: JMESPathParsingOptions;
4141

4242
public constructor() {
4343
this.envVarsService = new EnvironmentVariablesService();

0 commit comments

Comments
 (0)