UNPKG

@aws-lambda-powertools/idempotency

Version:

The idempotency package for the Powertools for AWS Lambda (TypeScript) library. It provides options to make your Lambda functions idempotent and safe to retry.

132 lines 3.81 kB
{ "name": "@aws-lambda-powertools/idempotency", "version": "2.31.0", "description": "The idempotency package for the Powertools for AWS Lambda (TypeScript) library. It provides options to make your Lambda functions idempotent and safe to retry.", "author": { "name": "Amazon Web Services", "url": "https://aws.amazon.com" }, "license": "MIT-0", "homepage": "https://github.com/aws-powertools/powertools-lambda-typescript/tree/main/packages/idempotency#readme", "repository": { "type": "git", "url": "git+https://github.com/aws-powertools/powertools-lambda-typescript.git" }, "bugs": { "url": "https://github.com/aws-powertools/powertools-lambda-typescript/issues" }, "keywords": [ "aws", "lambda", "powertools", "idempotency", "serverless", "nodejs" ], "dependencies": { "@aws-lambda-powertools/commons": "2.31.0", "@aws-lambda-powertools/jmespath": "2.31.0" }, "peerDependencies": { "@aws-sdk/client-dynamodb": ">=3.x", "@aws-sdk/lib-dynamodb": ">=3.x", "@middy/core": "4.x || 5.x || 6.x || 7.x", "@redis/client": "^5.0.1", "@valkey/valkey-glide": "^1.3.4" }, "peerDependenciesMeta": { "@aws-sdk/client-dynamodb": { "optional": true }, "@aws-sdk/lib-dynamodb": { "optional": true }, "@middy/core": { "optional": true }, "@redis/client": { "optional": true }, "@valkey/valkey-glide": { "optional": true } }, "main": "./lib/cjs/index.js", "types": "./lib/cjs/index.d.ts", "files": [ "lib" ], "type": "module", "exports": { ".": { "require": { "types": "./lib/cjs/index.d.ts", "default": "./lib/cjs/index.js" }, "import": { "types": "./lib/esm/index.d.ts", "default": "./lib/esm/index.js" } }, "./persistence": { "import": "./lib/esm/persistence/index.js", "require": "./lib/cjs/persistence/index.js" }, "./dynamodb": { "import": "./lib/esm/persistence/DynamoDBPersistenceLayer.js", "require": "./lib/cjs/persistence/DynamoDBPersistenceLayer.js" }, "./dynamodb/types": { "import": "./lib/esm/types/DynamoDBPersistence.js", "require": "./lib/cjs/types/DynamoDBPersistence.js" }, "./cache": { "import": "./lib/esm/persistence/CachePersistenceLayer.js", "require": "./lib/cjs/persistence/CachePersistenceLayer.js" }, "./cache/types": { "import": "./lib/esm/types/CachePersistence.js", "require": "./lib/cjs/types/CachePersistence.js" }, "./middleware": { "import": "./lib/esm/middleware/makeHandlerIdempotent.js", "require": "./lib/cjs/middleware/makeHandlerIdempotent.js" }, "./types": { "import": "./lib/esm/types/index.js", "require": "./lib/cjs/types/index.js" } }, "typesVersions": { "*": { "persistence": [ "lib/cjs/persistence/index.d.ts", "lib/esm/persistence/index.d.ts" ], "dynamodb": [ "lib/cjs/persistence/DynamoDBPersistenceLayer.d.ts", "lib/esm/persistence/DynamoDBPersistenceLayer.d.ts" ], "dynamodb/types": [ "lib/cjs/types/DynamoDBPersistence.d.ts", "lib/esm/types/DynamoDBPersistence.d.ts" ], "cache": [ "lib/cjs/persistence/CachePersistenceLayer.d.ts", "lib/esm/persistence/CachePersistenceLayer.d.ts" ], "cache/types": [ "lib/cjs/types/CachePersistence.d.ts", "lib/esm/types/CachePersistence.d.ts" ], "middleware": [ "lib/cjs/middleware/makeHandlerIdempotent.d.ts", "lib/esm/middleware/makeHandlerIdempotent.d.ts" ], "types": [ "lib/cjs/types/index.d.ts", "lib/esm/types/index.d.ts" ] } } }