Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aws-crypto/kms-keyring-node

Package Overview
Dependencies
Maintainers
8
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-crypto/kms-keyring-node - npm Package Compare versions

Comparing version 3.2.2 to 4.0.0

4

build/main/src/kms_keyring_node.d.ts
import { KmsKeyringInput, KMSConstructible, KmsClientSupplier, getClient, limitRegions, excludeRegions, cacheClients, AwsEsdkKMSInterface } from '@aws-crypto/kms-keyring';
import { NodeAlgorithmSuite } from '@aws-crypto/material-management-node';
import { KMS } from 'aws-sdk';
import { KMS, KMSClientConfig } from '@aws-sdk/client-kms';
declare const getKmsClient: KmsClientSupplier<KMS>;
declare const cacheKmsClients: KmsClientSupplier<KMS>;
export type KmsKeyringNodeInput = Partial<KmsKeyringInput<AwsEsdkKMSInterface>>;
export type KMSNodeConstructible = KMSConstructible<KMS, KMS.ClientConfiguration>;
export type KMSNodeConstructible = KMSConstructible<KMS, KMSClientConfig>;
export type KmsNodeClientSupplier = KmsClientSupplier<AwsEsdkKMSInterface>;

@@ -9,0 +9,0 @@ declare const KmsKeyringNode_base: import("@aws-crypto/kms-keyring").KmsKeyRingConstructible<NodeAlgorithmSuite, AwsEsdkKMSInterface>;

@@ -12,6 +12,6 @@ "use strict";

const material_management_node_1 = require("@aws-crypto/material-management-node");
const aws_sdk_1 = require("aws-sdk");
Object.defineProperty(exports, "KMS", { enumerable: true, get: function () { return aws_sdk_1.KMS; } });
const client_kms_1 = require("@aws-sdk/client-kms");
Object.defineProperty(exports, "KMS", { enumerable: true, get: function () { return client_kms_1.KMS; } });
const version_1 = require("./version");
const getKmsClient = (0, kms_keyring_1.getClient)(aws_sdk_1.KMS, {
const getKmsClient = (0, kms_keyring_1.getClient)(client_kms_1.KMS, {
customUserAgent: `AwsEncryptionSdkJavascriptNodejs/${version_1.version}`,

@@ -29,2 +29,2 @@ });

(0, material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0FBQyxDQUFBO0lBQzNFLENBQUM7Q0FDRjtBQWJELHdDQWFDO0FBQ0QsSUFBQSx5Q0FBYyxFQUFDLGNBQWMsQ0FBQyxDQUFBIn0=

@@ -1,2 +0,2 @@

export declare const version = "3.2.2";
export declare const version = "4.0.0";
//# sourceMappingURL=version.d.ts.map

@@ -5,3 +5,3 @@ "use strict";

// Generated by genversion.
exports.version = '3.2.2';
exports.version = '4.0.0';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy92ZXJzaW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLDJCQUEyQjtBQUNkLFFBQUEsT0FBTyxHQUFHLE9BQU8sQ0FBQSJ9
import { KmsKeyringInput, KMSConstructible, KmsClientSupplier, getClient, limitRegions, excludeRegions, cacheClients, AwsEsdkKMSInterface } from '@aws-crypto/kms-keyring';
import { NodeAlgorithmSuite } from '@aws-crypto/material-management-node';
import { KMS } from 'aws-sdk';
import { KMS, KMSClientConfig } from '@aws-sdk/client-kms';
declare const getKmsClient: KmsClientSupplier<KMS>;
declare const cacheKmsClients: KmsClientSupplier<KMS>;
export type KmsKeyringNodeInput = Partial<KmsKeyringInput<AwsEsdkKMSInterface>>;
export type KMSNodeConstructible = KMSConstructible<KMS, KMS.ClientConfiguration>;
export type KMSNodeConstructible = KMSConstructible<KMS, KMSClientConfig>;
export type KmsNodeClientSupplier = KmsClientSupplier<AwsEsdkKMSInterface>;

@@ -9,0 +9,0 @@ declare const KmsKeyringNode_base: import("@aws-crypto/kms-keyring").KmsKeyRingConstructible<NodeAlgorithmSuite, AwsEsdkKMSInterface>;

@@ -5,3 +5,3 @@ // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.

import { immutableClass, KeyringNode, } from '@aws-crypto/material-management-node';
import { KMS } from 'aws-sdk';
import { KMS } from '@aws-sdk/client-kms';
import { version } from './version';

@@ -19,2 +19,2 @@ const getKmsClient = getClient(KMS, {

export { getKmsClient, cacheKmsClients, getClient, limitRegions, excludeRegions, cacheClients, KMS, };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia21zX2tleXJpbmdfbm9kZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9rbXNfa2V5cmluZ19ub2RlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLG9FQUFvRTtBQUNwRSxzQ0FBc0M7QUFFdEMsT0FBTyxFQUNMLGVBQWUsRUFJZixTQUFTLEVBQ1QsWUFBWSxFQUNaLGNBQWMsRUFDZCxZQUFZLEdBRWIsTUFBTSx5QkFBeUIsQ0FBQTtBQUNoQyxPQUFPLEVBQ0wsY0FBYyxFQUNkLFdBQVcsR0FHWixNQUFNLHNDQUFzQyxDQUFBO0FBQzdDLE9BQU8sRUFBRSxHQUFHLEVBQUUsTUFBTSxTQUFTLENBQUE7QUFDN0IsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLFdBQVcsQ0FBQTtBQUNuQyxNQUFNLFlBQVksR0FBRyxTQUFTLENBQUMsR0FBRyxFQUFFO0lBQ2xDLGVBQWUsRUFBRSxvQ0FBb0MsT0FBTyxFQUFFO0NBQy9ELENBQUMsQ0FBQTtBQUNGLE1BQU0sZUFBZSxHQUFHLFlBQVksQ0FBQyxZQUFZLENBQUMsQ0FBQTtBQVNsRCxNQUFNLE9BQU8sY0FBZSxTQUFRLGVBQWUsQ0FHakQsV0FBbUMsQ0FBQztJQUNwQyxZQUFZLEVBQ1YsY0FBYyxHQUFHLGVBQWUsRUFDaEMsTUFBTSxFQUNOLGNBQWMsRUFDZCxXQUFXLEVBQ1gsU0FBUyxNQUNjLEVBQUU7UUFDekIsS0FBSyxDQUFDLEVBQUUsY0FBYyxFQUFFLE1BQU0s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1YsY0FBYyxHQUFHLGVBQWUsRUFDaEMsTUFBTSxFQUNOLGNBQWMsRUFDZCxXQUFXLEVBQ1gsU0FBUyxNQUNjLEVBQUU7UUFDekIsS0FBSyxDQUFDLEVBQUUsY0FBYyxFQUFFLE1BQU0sRUFBRSxjQUFjLEVBQUUsV0FBVyxFQUFFLFNBQVMsRUFBRSxDQUFDLENBQUE7SUFDM0UsQ0FBQztDQUNGO0FBQ0QsY0FBYyxDQUFDLGNBQWMsQ0FBQyxDQUFBO0FBRTlCLE9BQU8sRUFDTCxZQUFZLEVBQ1osZUFBZSxFQUNmLFNBQVMsRUFDVCxZQUFZLEVBQ1osY0FBYyxFQUNkLFlBQVksRUFDWixHQUFHLEdBQ0osQ0FBQSJ9

@@ -1,2 +0,2 @@

export declare const version = "3.2.2";
export declare const version = "4.0.0";
//# sourceMappingURL=version.d.ts.map
// Generated by genversion.
export const version = '3.2.2';
export const version = '4.0.0';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy92ZXJzaW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLDJCQUEyQjtBQUMzQixNQUFNLENBQUMsTUFBTSxPQUFPLEdBQUcsT0FBTyxDQUFBIn0=
{
"name": "@aws-crypto/kms-keyring-node",
"version": "3.2.2",
"version": "4.0.0",
"scripts": {

@@ -22,5 +22,5 @@ "prepublishOnly": "npm run generate-version.ts; npm run build",

"dependencies": {
"@aws-crypto/kms-keyring": "^3.2.2",
"@aws-crypto/material-management-node": "^3.2.2",
"aws-sdk": "^2.1360.0",
"@aws-crypto/kms-keyring": "^4.0.0",
"@aws-crypto/material-management-node": "^4.0.0",
"@aws-sdk/client-kms": "^3.362.0",
"tslib": "^2.2.0"

@@ -35,3 +35,3 @@ },

],
"gitHead": "c97442ae9f1c35c918eb07549c137fb736eef811"
"gitHead": "ad6d29822fecf3f3f6c8c676ea3b6c3156257e87"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc