UNPKG

@aws/bedrock-token-generator

Version:

A lightweight library for generating short-term bearer tokens for AWS Bedrock API authentication

76 lines (75 loc) 2.09 kB
{ "name": "@aws/bedrock-token-generator", "version": "1.1.0", "description": "A lightweight library for generating short-term bearer tokens for AWS Bedrock API authentication", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "build": "tsc", "test": "jest", "test:watch": "jest --watch", "clean": "rm -rf dist", "prepublishOnly": "npm run clean && npm run build", "lint": "eslint src/**/*.ts", "format": "prettier --write src/**/*.ts", "docs": "typedoc --options typedoc.json", "postbuild": "npm run docs" }, "keywords": [ "aws", "bedrock", "bearer-token", "authentication", "amazon", "token-generator" ], "author": { "name": "Amazon Web Services", "email": "bedrock-token-generator@amazon.com" }, "license": "Apache-2.0", "repository": { "type": "git", "url": "https://github.com/aws/aws-bedrock-token-generator-js.git" }, "homepage": "https://github.com/aws/aws-bedrock-token-generator-js#readme", "bugs": { "url": "https://github.com/aws/aws-bedrock-token-generator-js/issues" }, "files": [ "dist/**/*", "README.md", "LICENSE", "NOTICE" ], "browser": { "./dist/runtimeConfig": "./dist/runtimeConfig.browser" }, "dependencies": { "@aws-sdk/credential-providers": "^3.525.0", "@aws-sdk/util-format-url": ">=3.525.0", "@smithy/config-resolver": "^4.1.4", "@smithy/hash-node": ">=2.1.3", "@smithy/invalid-dependency": "^4.0.4", "@smithy/node-config-provider": "^4.1.3", "@smithy/protocol-http": ">=3.2.1", "@smithy/signature-v4": ">=2.1.3", "@smithy/types": ">=2.11.0" }, "devDependencies": { "@types/jest": "^29.5.5", "@types/node": "^20.6.0", "@typescript-eslint/eslint-plugin": "^6.7.0", "@typescript-eslint/parser": "^6.7.0", "eslint": "^8.49.0", "jest": "^29.7.0", "prettier": "^3.0.3", "ts-jest": "^29.1.1", "typedoc": "^0.28.7", "typedoc-plugin-markdown": "^4.7.0", "typescript": "^5.2.2" }, "engines": { "node": ">=16.0.0" } }