{"_id":"@aws-sdk/signature-v4-node","_rev":"36-e1250019867dcf9e0b942bc3caaf7c87","name":"@aws-sdk/signature-v4-node","dist-tags":{"latest":"0.1.0-preview.2","preview":"0.1.0-preview.10","alpha":"1.0.0-alpha.9"},"versions":{"0.1.0-preview.1":{"name":"@aws-sdk/signature-v4-node","version":"0.1.0-preview.1","author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team","email":"aws-sdk-js@amazon.com"},"license":"Apache-2.0","_id":"@aws-sdk/signature-v4-node@0.1.0-preview.1","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},{"name":"cjradek","email":"cjradek@gmail.com"},{"name":"jpeddicord","email":"jacob@peddicord.net"},{"name":"zheallan","email":"zyp19930608@gmail.com"}],"dist":{"shasum":"902f18aa42c0f4acfa2f03efd8e11be0a582ac8b","tarball":"https://registry.npmjs.org/@aws-sdk/signature-v4-node/-/signature-v4-node-0.1.0-preview.1.tgz","fileCount":7,"integrity":"sha512-RbmMTq6VWs2tmHJqsmN8k9H12Ry9LAIvd7sN6ZU9v5NoZX5J4G2l+qQQl0sRGBE7RYlP4LFz36WjoO1OHyGhAg==","signatures":[{"sig":"MEUCIQDWoY9uSOQwRnorXhkBr3i3pGc0AiupSVl4rN8MC063kgIge4Is0+pdaBIXm3G1gsmluN25KF6GieO1Kk7DEpAksjI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19678,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb80YVCRA9TVsSAnZWagAAsSgP/1Zd+9uj8vpyvchjJQdw\nUSf6sjy3yYeGOB/QGWhTVrbbCaTJZ0Akgd76VZ0YQXkp8EogxpV9SuZdhbfc\nIMupVmMtYqc0zugCkPXFRJzbomS4LJs+slOm29J3UEWNGGlF9QejFVOrpz9u\nVrSrOWJ4ZdIyKjh2TlxjpIVvZ5Uu32VtcQPkYQa6a6MhQuxYxU4suI7Kgu9Z\nSHUy/dV/T90fEcLVfcxZOUNariJ+UQ651Zba8SenJBE85nPg2gT1uZP78+XV\nbccqnEd5KCxbWY1IVMAgsQvgRFFPEUgD4n5GkCOi3mvLOzKt1DJpTsy57uMM\n2pk+Np2imGcBBST357BpxVa3GZC7MGdbH25apBQ17VMGpup+kpqoGbf0sk0m\nMbb+8mHQ+g7vtvIR8SeCITRpv6v+f8vx/NvZV/6xv6JwgbCa/hh/xyzIkc2q\nQ3pUtOr6yaljyRka3sUV968RYPMCxWCV3nfNuD4l4JNCH6SwBbp2tU4lNXLp\nD3seQKPcOmJWT0+jwnV2vOstSCsNQc43n4YRQKd2S53rdsMDqRP0MdDVQe8p\np9fl+zPFuTmkC0UA45PRkvba8QYbxFded81bIwKlYiZnMf1ORKK+K7nwxlyM\nG85Vhk5tA160fRNVG4468SxeeRc2ALq//cc55bbu8GcggHXRggnFWdDGKem6\n0CsG\r\n=heas\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./build/index.js","_from":"file:aws-sdk-signature-v4-node-0.1.0-preview.1.tgz","types":"./build/index.d.ts","gitHead":"960970c0c25938a8d51d1a243d3f21f05acea92e","scripts":{"test":"jest","pretest":"tsc -p tsconfig.test.json","prepublishOnly":"tsc"},"_npmUser":{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},"_resolved":"","_integrity":"","deprecated":"The package @aws-sdk/signature-v4-node was released in Developer Preview. It is no longer supported.","_npmVersion":"6.4.1","description":"A standalone AWS Signature V4 request signer for Node.JS","directories":{},"_nodeVersion":"8.8.1","dependencies":{"tslib":"^1.8.0","@aws-sdk/hash-node":"^0.1.0-preview.1","@aws-sdk/signature-v4":"^0.1.0-preview.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^20.0.4","typescript":"^3.0.0","@types/jest":"^20.0.2","@types/node":"^8.10.29"},"_npmOperationalInternal":{"tmp":"tmp/signature-v4-node_0.1.0-preview.1_1542669844318_0.356983414357517","host":"s3://npm-registry-packages"}},"0.1.0-preview.2":{"name":"@aws-sdk/signature-v4-node","version":"0.1.0-preview.2","author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team","email":"aws-sdk-js@amazon.com"},"license":"Apache-2.0","_id":"@aws-sdk/signature-v4-node@0.1.0-preview.2","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},{"name":"cjradek","email":"cjradek@gmail.com"},{"name":"jpeddicord","email":"jacob@peddicord.net"},{"name":"zheallan","email":"zyp19930608@gmail.com"}],"dist":{"shasum":"7dea16ab577f3412cb9233d1f61f3510e9d712da","tarball":"https://registry.npmjs.org/@aws-sdk/signature-v4-node/-/signature-v4-node-0.1.0-preview.2.tgz","fileCount":7,"integrity":"sha512-BGZCdsy6r1WKb+NetpgfU4aALTHeLLV1aWvNRNIiFMkvqGHwzv9KzPRGsH0uWB3u2iOYB4yZtufvEq/xdyuKyg==","signatures":[{"sig":"MEQCIDACdGSFnDdnmFnxVVT3KV5FTEf1Ghaf0QP5RfFwZ9bAAiAvIWG7MBQ48bVOV8cvSMy3JojtYMZdOq040NLCUmKiqA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19619,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcS5IECRA9TVsSAnZWagAAZW8P/RHIQbmhByRMSQfik25I\nB11Lul021yaxrqdI+rr3OaA8x0Ds9oenED2nSb6kN8XTWQWIoxunH3/nrDVM\nME3nnOD/2y0OaPmt2BJ9oLyT/+EcL16LtDqf8ctKz3DS9kD1OChG2KZvVWrz\n1fi4tEgAbwiVWlHpfzkuuOStsoymOwE0ro5UKElZ+20IYYRN+RhqSGjCPL6J\nYComlxkdNpzILvtx8l7UbEXOlNKAaG5v/pJ1mZGpskLWwXo7iv7t1VvDRKRd\nr+rsVqpUEyg+DJ91nEgCIzemk84sT3tU/JYf3Af48uTDBpSpGuZVn5tj16A6\ngki1sgocXNS/riHr3ArHSNskUgRvRwEOtKqyX8/IW4f9/Svh4dTloyPXEUZ0\nu6I3ELimjfZTr8StTmv7ImwgJUNMihwqW5mCZ2mXyGczhKeiVGFFdtkw5XOE\nZTvp0KcFMV8FTZ7GCg71KAf974t9zrtfRx9Hjpaj4JMYurOrUu9+uYy5rDp0\n6pFeeDtIZGYY6nR4j7XItD30Vm4tqTdxod+HWZ4olhJzSONNCRPMbVUO/zzx\n1Y+FSVX7weRXsUbjeBnd9gPmtd4vdN4hWoKeLDQoPM6OyEIXPIp/r3prxuGm\n4TKhrR4Z19HmbHbLuJPUPrCJT/KI8oADJ/BmaBCM2mct3HRWRFsG0tANuWT2\n4U3U\r\n=dqbb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./build/index.js","types":"./build/index.d.ts","scripts":{"test":"jest","pretest":"tsc -p tsconfig.test.json","prepublishOnly":"tsc"},"_npmUser":{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},"deprecated":"The package @aws-sdk/signature-v4-node was released in Developer Preview. It is no longer supported.","_npmVersion":"6.4.1","description":"A standalone AWS Signature V4 request signer for Node.JS","directories":{},"_nodeVersion":"8.8.1","dependencies":{"tslib":"^1.8.0","@aws-sdk/hash-node":"^0.1.0-preview.1","@aws-sdk/signature-v4":"^0.1.0-preview.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^20.0.4","typescript":"^3.0.0","@types/jest":"^20.0.2","@types/node":"^8.10.29"},"_npmOperationalInternal":{"tmp":"tmp/signature-v4-node_0.1.0-preview.2_1548456451659_0.04914433799616069","host":"s3://npm-registry-packages"}},"0.1.0-preview.3":{"name":"@aws-sdk/signature-v4-node","version":"0.1.0-preview.3","author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team","email":"aws-sdk-js@amazon.com"},"license":"Apache-2.0","_id":"@aws-sdk/signature-v4-node@0.1.0-preview.3","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},{"name":"cjradek","email":"cjradek@gmail.com"},{"name":"jpeddicord","email":"jacob@peddicord.net"},{"name":"zheallan","email":"zyp19930608@gmail.com"}],"dist":{"shasum":"6fe02aa05fc3b3fcdf8f62a8af192f57a97869e6","tarball":"https://registry.npmjs.org/@aws-sdk/signature-v4-node/-/signature-v4-node-0.1.0-preview.3.tgz","fileCount":8,"integrity":"sha512-ihYQkkmThwwuCnyltp6XVbjFeqvcMy5o944NSaZ4RmjOZ0egr7AhdQs+bt/mj450hRDXp3joxOf5YsrsR4Zc7g==","signatures":[{"sig":"MEQCIBcvdG8GgqWPiEt4Y8Iw71oKGVjUV72xTLQlT56P+A+dAiA2ZDmzPZtch6pmL5hr12n0nCJgpV9S+4teMEt2qfNIpw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20080,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcm8v/CRA9TVsSAnZWagAAvtAP/0w8g8LNtC38biWf0f6F\ngVzHRH8N89R6MFHlJSAXod8GqCT6z5NgLwXmIx8I832sYST5tYCXBxgDUYrD\nhPW0bml52iq+dH1kCJTBjM5nLS3b1vg41rHybZ17pVvBTJDKAXt/Px8YFCRw\n+L8JKSTh5Lllb4uXr9YV8rN+k8ZzpeyFlC/ZoGCOTsodyAns8b4fpvkpYhv3\nsFFYn1vN5parzXV+hDhAoxPx1VVhoSpvq9ZEtHzamoIsSRwe55ZBOU90dbCR\n8J+3jZodCn10MT7MxdrCNF00Fc0Zv2rQW8tzvp8zfjhOYvSxmzKBXObULWf5\nrzjcu8I8NvOnGgatOFW+F3JDF0rvo7YMCS3oMMgJ2gIPSy0V1t1pQ+T+rSp3\noLZEwmq6XJc/oQQW9dxs8VQaBMm8aFjeW/CxLaEjVbxo4aImgpXw2NOGkVGr\na+QsWaTdBUD1za0fqR4YWsNzE/GuQvt91VAdbtcXH3lEtbWaLHAmONv/On0G\neP7H2YcOb+lKMddaKI8nsvK2mIXn4aUtdGlKGW9QGx7YSxltbDo9Zwu2FFwQ\nCXZhvEhDkl8kaJgkJwrsDlIZLIUBmRzsmE51B5/d4lnLt7QBmvalfyBRR6R1\nNM5WpXMinqGSsegc81uwa8owP5QfSxLKloLdOHki8DuGr4qNFveI6Gz9Nz3A\nUWbA\r\n=B/KJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./build/index.js","types":"./build/index.d.ts","readme":"# AWS Signature V4 Signer for Node.JS\n\nThis module provides a class, `SignatureV4`, that will attempt to sign requests.\n\n## Supported configuration\n\nThe Signature V4 Signer requires several options to be set, and additionally has several optional configuration settings.\nYou may provide these options in a hash to the `SignatureV4` constructor.\nThe following options are supported:\n\n  * `service` - The service signing name to use.\n  * `region` - The region name or a function that returns a promise \n  that will be resolved with the region name.\n  * `credentials` - The credentials with which the request should be\n  signed, or a function that returns a promise that will be resolved\n  with credentials\n  * `sha256` - Optional. A constructor function for a hash object that\n  will calculate SHA-256 HMAC checksums.\n  Defaults to an implementation using Node.JS' `crypto` module.\n  * `unsignedPayload` - Optional. Indicates whether to sign requests\n  in such a way as to allow arbitrary message bodies.\n  Useful for presigning requests for which the body is not known in advance.\n  Defaults to false.\n  * `uriEscapePath` - Optional. Indicates whether to uri-escape the\n  request URI path as part of computing the canonical request string.\n  This is required for every AWS service, except Amazon S3, as of\n  late 2017.\n  Defaults to true.\n  * `applyChecksum` - Optional. Indicates whether to calculate a\n  checksum of the request body and include it as either a request\n  header (when signing) or as a query string parameter (when presigning).\n  This is required for AWS Glacier and optional for every other AWS\n  service as of late 2017.\n  Defaults to false.\n\n## API\n\n### presignRequest\nThe `presignRequest` method accepts a request and returns a Promise that\nresolves with a presigned request. The presigned request will have an\nexpiration and can be passed directly to an HTTP client. The following options can be provided within a hash to the `presignRequest` method:\n\n  * `request` - The request to be signed. This parameter will not be\n  modified during the signing process but will instead be cloned.\n  The shape of the request should be an object with the following defined:\n    * `method` - HTTP method (e.g. 'GET', 'PUT', etc).\n    * `headers` - A mapping of header names to string values.\n    Multiple values for the same header should be represented as a single\n    string with values separated by `, `.\n    Keys should be considered case insensitive.\n    * `body` - Optional. May be a string, ArrayBuffer, or stream.\n  * `signingDate` - Optional. The date and time to be used as signature metadata.\n  This value should be a Date object, a unix (epoch) timestamp, or\n  a string that can be unerstood by the JavaScript `Date` constructor.\n  Defaults to `new Date()`.\n  * `expiration` - The time at which the signed URL should no longer\n  be honored.\n  This value should be a Date object, a unix (epoch) timestamp, or a\n  string that can be understood by the JavaScript `Date` constructor.\n  * `hoistHeaders` - Optional. Indicates whether to move all values that\n  would normally be sent as headers to the query string of the URL.\n  This allows the returned value to be used in contexts that do not\n  permit specifying additional headers, such as `<img>` tags or `<a>` links.\n  If set to false, then the request must be sent along with the headers\n  with which it was signed.\n  Defaults to true.\n  * `unsignableHeaders` - Optional. An object whose keys represents\n  headers that cannot be signed. All headers in the provided request\n  will have their names converted to lower case and then checked for\n  existence in the `unsignableHeaders` object using the `in` operator.\n  Defaults to an object whose keys are lower-cased transfer-specific\n  headers (such as `user-agent`, `referer`, `expect`, etc).\n  * `unsignedPayload` - Optional. Indicates whether to sign requests\n  in such a way as to allow arbitrary message bodies.\n  Useful for presigning requests for which the body is not known in advance.\n  Defaults to value passed into constructor.\n\n### signRequest\nThe `signRequest` method accepts a request and returns a Promise that\nresolves with a signed request. The signed request will have an\nexpiration and can be passed directly to an HTTP client. The following options can be provided within a hash to the `signRequest` method:\n\n  * `request` - The request to be signed. This parameter will not be\n  modified during the signing process but will instead be cloned.\n  The shape of the request should be an object with the following defined:\n    * `method` - HTTP method (e.g. 'GET', 'PUT', etc).\n    * `headers` - A mapping of header names to string values.\n    Multiple values for the same header should be represented as a single\n    string with values separated by `, `.\n    Keys should be considered case insensitive.\n    * `body` - Optional. May be a string, ArrayBuffer, or stream.\n  * `signingDate` - Optional. The date and time to be used as signature metadata.\n  This value should be a Date object, a unix (epoch) timestamp, or\n  a string that can be unerstood by the JavaScript `Date` constructor.\n  Defaults to `new Date()`.\n  * `unsignableHeaders` - Optional. An object whose keys represents\n  headers that cannot be signed. All headers in the provided request\n  will have their names converted to lower case and then checked for\n  existence in the `unsignableHeaders` object using the `in` operator.\n  Defaults to an object whose keys are lower-cased transfer-specific\n  headers (such as `user-agent`, `referer`, `expect`, etc).\n  * `unsignedPayload` - Optional. Indicates whether to sign requests\n  in such a way as to allow arbitrary message bodies.\n  Useful for presigning requests for which the body is not known in advance.\n  Defaults to value passed into constructor.","gitHead":"3dd9e610b159cadf8db49740ee8b0732e0c966e2","scripts":{"test":"jest","pretest":"tsc -p tsconfig.test.json","prepublishOnly":"tsc"},"_npmUser":{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},"deprecated":"The package @aws-sdk/signature-v4-node was released in Developer Preview. It is no longer supported.","_npmVersion":"lerna/3.13.1/node@v8.8.1+x64 (darwin)","description":"A standalone AWS Signature V4 request signer for Node.JS","directories":{},"_nodeVersion":"8.8.1","dependencies":{"tslib":"^1.8.0","@aws-sdk/hash-node":"^0.1.0-preview.2","@aws-sdk/signature-v4":"^0.1.0-preview.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^20.0.4","typescript":"^3.0.0","@types/jest":"^20.0.2","@types/node":"^8.10.29"},"_npmOperationalInternal":{"tmp":"tmp/signature-v4-node_0.1.0-preview.3_1553714174265_0.4902229011245822","host":"s3://npm-registry-packages"}},"0.1.0-preview.4":{"name":"@aws-sdk/signature-v4-node","version":"0.1.0-preview.4","author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team","email":"aws-sdk-js@amazon.com"},"license":"Apache-2.0","_id":"@aws-sdk/signature-v4-node@0.1.0-preview.4","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},{"name":"cjradek","email":"cjradek@gmail.com"},{"name":"jpeddicord","email":"jacob@peddicord.net"},{"name":"zheallan","email":"zyp19930608@gmail.com"}],"dist":{"shasum":"48703343a90af4ff686115459690f93947fc8b84","tarball":"https://registry.npmjs.org/@aws-sdk/signature-v4-node/-/signature-v4-node-0.1.0-preview.4.tgz","fileCount":7,"integrity":"sha512-Yl+IZlGWjJsUjowsPcsktcYFsThooWf+2Gi7yFEIAZnifx3cCrINu3DHwLTnHb1f6/vjq6hHCRYmsMOlVhDUXw==","signatures":[{"sig":"MEUCIQDi8jdJ5IAQ2cXKPtz2l2aUFeEOtQdgOPQZVD8/Fuw4nQIgRSIb33GFtIKJuGrFS8Y7rnv/e88f0dwYLEtsjyQUxZA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20869,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcujXsCRA9TVsSAnZWagAASLIP/1Uph+UjOg+fga5Acq39\no9lRyT4QKgPTIV+c8I0THOkeQRZN0tc7H7baY/VHSoKbmyAtHSiJ5Z7Qf66M\n64tVU4EMgPLGSE5uCmHvqvdAT7Fx56rqN+ekbmcxvgkjt8sdZXHENS63Lzku\nd/zFX9WzRNAN5RKwTY0OWYW11WIiXDn88fklhkle6S3wDoKEvvfFi2imQsp+\n3uLmhNx5VfjN8J00IhJxd+ocoOBDQgE4jIDgy+aZzzbRziSLZNvcg/MsGGj5\nwli3aAt59ndmmLHK61nFEAP6d4NH6J+melooXNHA+Wy07VOfMv40/8Trly1G\nhJbdUNmcQNNzzVdRfMfGeYgRrRZzF7vqfEabCd0pPOUCrQmfrkf8X2W+oozb\nTn2Wc0i84HjbfJlrPRYdZUWM5fHEx9r+pikESDfT+RzYYLSypfmQxSxqHJJy\n9UgAEZoY7mHLLqBF5TK6zAdSAVhc/dKrTqmYu3v9awOYdM5wvInr7fwAlkYR\n4xO+CF23tekZYOQsXlW/RE/PAw9bnW9IpYR6jUegdVRKUbOdWRWaei4QsAuk\nIBW/Czms5CwlDn21sv6T1SmWVayE3DCTqiiKnjYC59SJUEWQVaBF+muSpsc+\nCMfjegrdrCewLXXqkUEZxmCy+4NPmfHwY12zQwnnuBKtWjiISjV33Qhv6sLX\nPh+g\r\n=3k5m\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./build/index.js","types":"./build/index.d.ts","readme":"# AWS Signature V4 Signer for Node.JS\n\nThis module provides a class, `SignatureV4`, that will attempt to sign requests.\n\n## Supported configuration\n\nThe Signature V4 Signer requires several options to be set, and additionally has several optional configuration settings.\nYou may provide these options in a hash to the `SignatureV4` constructor.\nThe following options are supported:\n\n  * `service` - The service signing name to use.\n  * `region` - The region name or a function that returns a promise \n  that will be resolved with the region name.\n  * `credentials` - The credentials with which the request should be\n  signed, or a function that returns a promise that will be resolved\n  with credentials\n  * `sha256` - Optional. A constructor function for a hash object that\n  will calculate SHA-256 HMAC checksums.\n  Defaults to an implementation using Node.JS' `crypto` module.\n  * `unsignedPayload` - Optional. Indicates whether to sign requests\n  in such a way as to allow arbitrary message bodies.\n  Useful for presigning requests for which the body is not known in advance.\n  Defaults to false.\n  * `uriEscapePath` - Optional. Indicates whether to uri-escape the\n  request URI path as part of computing the canonical request string.\n  This is required for every AWS service, except Amazon S3, as of\n  late 2017.\n  Defaults to true.\n  * `applyChecksum` - Optional. Indicates whether to calculate a\n  checksum of the request body and include it as either a request\n  header (when signing) or as a query string parameter (when presigning).\n  This is required for AWS Glacier and optional for every other AWS\n  service as of late 2017.\n  Defaults to false.\n\n## API\n\n### presignRequest\nThe `presignRequest` method accepts a request and returns a Promise that\nresolves with a presigned request. The presigned request will have an\nexpiration and can be passed directly to an HTTP client. The following options can be provided within a hash to the `presignRequest` method:\n\n  * `request` - The request to be signed. This parameter will not be\n  modified during the signing process but will instead be cloned.\n  The shape of the request should be an object with the following defined:\n    * `method` - HTTP method (e.g. 'GET', 'PUT', etc).\n    * `headers` - A mapping of header names to string values.\n    Multiple values for the same header should be represented as a single\n    string with values separated by `, `.\n    Keys should be considered case insensitive.\n    * `body` - Optional. May be a string, ArrayBuffer, or stream.\n  * `signingDate` - Optional. The date and time to be used as signature metadata.\n  This value should be a Date object, a unix (epoch) timestamp, or\n  a string that can be unerstood by the JavaScript `Date` constructor.\n  Defaults to `new Date()`.\n  * `expiration` - The time at which the signed URL should no longer\n  be honored.\n  This value should be a Date object, a unix (epoch) timestamp, or a\n  string that can be understood by the JavaScript `Date` constructor.\n  * `hoistHeaders` - Optional. Indicates whether to move all values that\n  would normally be sent as headers to the query string of the URL.\n  This allows the returned value to be used in contexts that do not\n  permit specifying additional headers, such as `<img>` tags or `<a>` links.\n  If set to false, then the request must be sent along with the headers\n  with which it was signed.\n  Defaults to true.\n  * `unsignableHeaders` - Optional. An object whose keys represents\n  headers that cannot be signed. All headers in the provided request\n  will have their names converted to lower case and then checked for\n  existence in the `unsignableHeaders` object using the `in` operator.\n  Defaults to an object whose keys are lower-cased transfer-specific\n  headers (such as `user-agent`, `referer`, `expect`, etc).\n  * `unsignedPayload` - Optional. Indicates whether to sign requests\n  in such a way as to allow arbitrary message bodies.\n  Useful for presigning requests for which the body is not known in advance.\n  Defaults to value passed into constructor.\n\n### signRequest\nThe `signRequest` method accepts a request and returns a Promise that\nresolves with a signed request. The signed request will have an\nexpiration and can be passed directly to an HTTP client. The following options can be provided within a hash to the `signRequest` method:\n\n  * `request` - The request to be signed. This parameter will not be\n  modified during the signing process but will instead be cloned.\n  The shape of the request should be an object with the following defined:\n    * `method` - HTTP method (e.g. 'GET', 'PUT', etc).\n    * `headers` - A mapping of header names to string values.\n    Multiple values for the same header should be represented as a single\n    string with values separated by `, `.\n    Keys should be considered case insensitive.\n    * `body` - Optional. May be a string, ArrayBuffer, or stream.\n  * `signingDate` - Optional. The date and time to be used as signature metadata.\n  This value should be a Date object, a unix (epoch) timestamp, or\n  a string that can be unerstood by the JavaScript `Date` constructor.\n  Defaults to `new Date()`.\n  * `unsignableHeaders` - Optional. An object whose keys represents\n  headers that cannot be signed. All headers in the provided request\n  will have their names converted to lower case and then checked for\n  existence in the `unsignableHeaders` object using the `in` operator.\n  Defaults to an object whose keys are lower-cased transfer-specific\n  headers (such as `user-agent`, `referer`, `expect`, etc).\n  * `unsignedPayload` - Optional. Indicates whether to sign requests\n  in such a way as to allow arbitrary message bodies.\n  Useful for presigning requests for which the body is not known in advance.\n  Defaults to value passed into constructor.","scripts":{"test":"jest","pretest":"tsc -p tsconfig.test.json","prepublishOnly":"tsc"},"_npmUser":{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},"deprecated":"The package @aws-sdk/signature-v4-node was released in Developer Preview. It is no longer supported.","_npmVersion":"5.6.0","description":"A standalone AWS Signature V4 request signer for Node.JS","directories":{},"_nodeVersion":"10.1.0","dependencies":{"tslib":"^1.8.0","@aws-sdk/hash-node":"^0.1.0-preview.3","@aws-sdk/signature-v4":"^0.1.0-preview.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^20.0.4","typescript":"^3.0.0","@types/jest":"^20.0.2","@types/node":"^8.10.29"},"_npmOperationalInternal":{"tmp":"tmp/signature-v4-node_0.1.0-preview.4_1555707372053_0.6098718261401115","host":"s3://npm-registry-packages"}},"0.1.0-preview.5":{"name":"@aws-sdk/signature-v4-node","version":"0.1.0-preview.5","author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","_id":"@aws-sdk/signature-v4-node@0.1.0-preview.5","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},{"name":"trivikr-aws","email":"trivikr@amazon.com"},{"name":"zheallan","email":"zyp19930608@gmail.com"}],"dist":{"shasum":"86983a493fc120e789459530fed983af22eeab37","tarball":"https://registry.npmjs.org/@aws-sdk/signature-v4-node/-/signature-v4-node-0.1.0-preview.5.tgz","fileCount":9,"integrity":"sha512-a3eXHeDYtV6ZlOsBRJolJJgU/FuG+AXCWzSmPgWSRdNu/ihnhAsIkR6kDboJDg1a1jCl1CMM/5vX92bKghl4ZA==","signatures":[{"sig":"MEUCIAs8s4DGs9zJ+Q2Kk25asfHEEQ4ee5D4y/J/sL6OkwIKAiEAkXsG4/w3y3vD5ByhCsskze5yb8rDdpcT1uudooZZi10=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20912,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdKNjhCRA9TVsSAnZWagAADfUP/iJHm9x/EztLF9xR1EBX\n9UsKcpiOaoUpcXtcNQwCWi6RR6mwTAM9Jrz46Mfn96xa7kM7/DbIMK2YNKpL\n0+hCJ3pmqswtC/uQD3z/w4gFWZbtQVtPNf+qwcLJg3EKp/eYSbNjQxAWbYJB\nF8jedcOTNwt2kiDJIi6kC0Y9H87iI+4jUoA6Xe9waYdAm7FKF7YDy2icZq8t\nwCi3zH3mZ9U/QO8RujLrmGS8RpL1jUDoH4Z1EA87aYp6Er31bSQzi3LeoxzC\n3q6Z9vTuvVUOcCc6kn2ReyN/qBZxvpXNFivIbLriY1UM+2xc4UKIu+poBvqh\nkSRLk5zu90Mh10qCjMa1O3W+9Esl06ZYFAteUWnew4OiI1QyV3LJQlWEcLGI\nX4GlHNmZy04LHsL8bZMCG2FdBXPRHd7uDLbwYcpcDmlj7nkrW6mOzTy7Ef2L\nSjntvpQRtZYf1qrZXb1eFPzMSRZQj3hmCM5tDE1w6eOtZJjrmwshdQ1wxivj\ns66dwcTFylmR+kUI5oW5++PrQuOHBZNASm66aZwhVu3e3NtyrIz06bPI4HFh\nD33GG37uQcmbpwtg3QH7kuzxwH7L8GjM+L/Ops4ylP47CnoxXDkQqfznQalT\nm2E7ZBPXAVIdspTJcs5cj6nGfB1UDgIStMOYl6uvELK3k+pE/p5fnVVPKOsU\nx/mo\r\n=2L1U\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./build/index.js","types":"./build/index.d.ts","readme":"# AWS Signature V4 Signer for Node.JS\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/signature-v4-node/preview.svg)](https://www.npmjs.com/package/@aws-sdk/signature-v4-node)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/signature-v4-node.svg)](https://www.npmjs.com/package/@aws-sdk/signature-v4-node)\n\nThis module provides a class, `SignatureV4`, that will attempt to sign requests.\n\n## Supported configuration\n\nThe Signature V4 Signer requires several options to be set, and additionally has several optional configuration settings.\nYou may provide these options in a hash to the `SignatureV4` constructor.\nThe following options are supported:\n\n- `service` - The service signing name to use.\n- `region` - The region name or a function that returns a promise\n  that will be resolved with the region name.\n- `credentials` - The credentials with which the request should be\n  signed, or a function that returns a promise that will be resolved\n  with credentials\n- `sha256` - Optional. A constructor function for a hash object that\n  will calculate SHA-256 HMAC checksums.\n  Defaults to an implementation using Node.JS' `crypto` module.\n- `unsignedPayload` - Optional. Indicates whether to sign requests\n  in such a way as to allow arbitrary message bodies.\n  Useful for presigning requests for which the body is not known in advance.\n  Defaults to false.\n- `uriEscapePath` - Optional. Indicates whether to uri-escape the\n  request URI path as part of computing the canonical request string.\n  This is required for every AWS service, except Amazon S3, as of\n  late 2017.\n  Defaults to true.\n- `applyChecksum` - Optional. Indicates whether to calculate a\n  checksum of the request body and include it as either a request\n  header (when signing) or as a query string parameter (when presigning).\n  This is required for AWS Glacier and optional for every other AWS\n  service as of late 2017.\n  Defaults to false.\n\n## API\n\n### presignRequest\n\nThe `presignRequest` method accepts a request and returns a Promise that\nresolves with a presigned request. The presigned request will have an\nexpiration and can be passed directly to an HTTP client. The following options can be provided within a hash to the `presignRequest` method:\n\n- `request` - The request to be signed. This parameter will not be\n  modified during the signing process but will instead be cloned.\n  The shape of the request should be an object with the following defined:\n  - `method` - HTTP method (e.g. 'GET', 'PUT', etc).\n  - `headers` - A mapping of header names to string values.\n    Multiple values for the same header should be represented as a single\n    string with values separated by `,`.\n    Keys should be considered case insensitive.\n  - `body` - Optional. May be a string, ArrayBuffer, or stream.\n- `signingDate` - Optional. The date and time to be used as signature metadata.\n  This value should be a Date object, a unix (epoch) timestamp, or\n  a string that can be unerstood by the JavaScript `Date` constructor.\n  Defaults to `new Date()`.\n- `expiration` - The time at which the signed URL should no longer\n  be honored.\n  This value should be a Date object, a unix (epoch) timestamp, or a\n  string that can be understood by the JavaScript `Date` constructor.\n- `hoistHeaders` - Optional. Indicates whether to move all values that\n  would normally be sent as headers to the query string of the URL.\n  This allows the returned value to be used in contexts that do not\n  permit specifying additional headers, such as `<img>` tags or `<a>` links.\n  If set to false, then the request must be sent along with the headers\n  with which it was signed.\n  Defaults to true.\n- `unsignableHeaders` - Optional. An object whose keys represents\n  headers that cannot be signed. All headers in the provided request\n  will have their names converted to lower case and then checked for\n  existence in the `unsignableHeaders` object using the `in` operator.\n  Defaults to an object whose keys are lower-cased transfer-specific\n  headers (such as `user-agent`, `referer`, `expect`, etc).\n- `unsignedPayload` - Optional. Indicates whether to sign requests\n  in such a way as to allow arbitrary message bodies.\n  Useful for presigning requests for which the body is not known in advance.\n  Defaults to value passed into constructor.\n\n### signRequest\n\nThe `signRequest` method accepts a request and returns a Promise that\nresolves with a signed request. The signed request will have an\nexpiration and can be passed directly to an HTTP client. The following options can be provided within a hash to the `signRequest` method:\n\n- `request` - The request to be signed. This parameter will not be\n  modified during the signing process but will instead be cloned.\n  The shape of the request should be an object with the following defined:\n  - `method` - HTTP method (e.g. 'GET', 'PUT', etc).\n  - `headers` - A mapping of header names to string values.\n    Multiple values for the same header should be represented as a single\n    string with values separated by `,`.\n    Keys should be considered case insensitive.\n  - `body` - Optional. May be a string, ArrayBuffer, or stream.\n- `signingDate` - Optional. The date and time to be used as signature metadata.\n  This value should be a Date object, a unix (epoch) timestamp, or\n  a string that can be unerstood by the JavaScript `Date` constructor.\n  Defaults to `new Date()`.\n- `unsignableHeaders` - Optional. An object whose keys represents\n  headers that cannot be signed. All headers in the provided request\n  will have their names converted to lower case and then checked for\n  existence in the `unsignableHeaders` object using the `in` operator.\n  Defaults to an object whose keys are lower-cased transfer-specific\n  headers (such as `user-agent`, `referer`, `expect`, etc).\n- `unsignedPayload` - Optional. Indicates whether to sign requests\n  in such a way as to allow arbitrary message bodies.\n  Useful for presigning requests for which the body is not known in advance.\n  Defaults to value passed into constructor.\n","scripts":{"test":"jest","pretest":"tsc -p tsconfig.test.json","prepublishOnly":"tsc"},"_npmUser":{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},"deprecated":"The package @aws-sdk/signature-v4-node was released in Developer Preview. It is no longer supported.","_npmVersion":"6.9.0","description":"A standalone AWS Signature V4 request signer for Node.JS","directories":{},"_nodeVersion":"10.1.0","dependencies":{"tslib":"^1.8.0","@aws-sdk/hash-node":"^0.1.0-preview.4","@aws-sdk/signature-v4":"^0.1.0-preview.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.7.1","typescript":"~3.4.0","@types/jest":"^24.0.12","@types/node":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/signature-v4-node_0.1.0-preview.5_1562958048635_0.2890661171636508","host":"s3://npm-registry-packages"}},"0.1.0-preview.6":{"name":"@aws-sdk/signature-v4-node","version":"0.1.0-preview.6","author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","_id":"@aws-sdk/signature-v4-node@0.1.0-preview.6","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},{"name":"trivikr-aws","email":"trivikr@amazon.com"},{"name":"zheallan","email":"zyp19930608@gmail.com"}],"dist":{"shasum":"f7d4c48a54024c30b42cb90e9951abdd7e53060a","tarball":"https://registry.npmjs.org/@aws-sdk/signature-v4-node/-/signature-v4-node-0.1.0-preview.6.tgz","fileCount":9,"integrity":"sha512-aq61jpHCLhl48yyiaHVq46V/7p3F7zQJ6fepmxpMoW+yl6k4ZghW6T+4HmgixL0KvYVushdY63CSO63JpIfnJQ==","signatures":[{"sig":"MEYCIQDT0VckNcAogCsXbp/1WaKseQs2+xUqdH3rO2EBRgMKkAIhAPMSFU3UWGvEbXakwz2Ty2F9COE4Ooi++tzTuEUcR1Ci","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21628,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJddo3wCRA9TVsSAnZWagAAbdsQAJsvnxVSajKdBxZF+q9m\njN696w9LOssa6C7XRyD6OM0wrQsqkR4o71N9C3AuOTu0aeJ67xukZKTGXXlc\nqEm0Aax2OZEmUFl6q7DyAQssN5naiuvbii7ZO5Tzs8xi3APwkYBfkQMQ3ld9\nH1MHmjGSaBD+oNvn4L0xeNvwE5TlKcoZ9yG9o+yXUZXUM/kSKZUkhGzsUevt\nmu3vx/G+2KEbzkMA3fH0YyF6bQhDyGHrcEJIqtcxAkPxZz9aMLKkWU/LnOzP\nMulQX4g4jeD6uXjbAazADr0Xmgifr6r2arS6fm/esmcbJGIKQANPo7IG6Tdh\nAUggkax7E/0OS/8fz04Z+GNZDj9JUBuy9BLO3sPZFOWB7Qd/s/L8Hc3jKtUT\nmlXSquzvenlhdlQPDbcWzqRq32DQ3ZSs+0qoz0JSqPCRDzh3mjaFkylrF/7J\nHqqW934mvEnA9o/uOvvGCrsnvS6tkeZ9PyfMxulgngjLlKsI9ggpmANc3VmG\nrc8CkLsae2i7vM89eUw5nv0bbMai7Ohl+hLtBKGxZTxgYlwUgyS+ETjHEFNV\nX0BaRwrKS0ZezrskNPw0tTQn7xlnQFUGDzSnYUYvlyZfZAdhILyzh7SO78vV\no+XP4TDKVMWj6Oi469YI/G/klePQh18QvmQJIAe3HTq78OAuEgb4NScCubuS\nR1hw\r\n=WcyJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./build/index.js","types":"./build/index.d.ts","readme":"# AWS Signature V4 Signer for Node.JS\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/signature-v4-node/preview.svg)](https://www.npmjs.com/package/@aws-sdk/signature-v4-node)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/signature-v4-node.svg)](https://www.npmjs.com/package/@aws-sdk/signature-v4-node)\n\nThis module provides a class, `SignatureV4`, that will attempt to sign requests.\n\n## Supported configuration\n\nThe Signature V4 Signer requires several options to be set, and additionally has several optional configuration settings.\nYou may provide these options in a hash to the `SignatureV4` constructor.\nThe following options are supported:\n\n- `service` - The service signing name to use.\n- `region` - The region name or a function that returns a promise\n  that will be resolved with the region name.\n- `credentials` - The credentials with which the request should be\n  signed, or a function that returns a promise that will be resolved\n  with credentials\n- `sha256` - Optional. A constructor function for a hash object that\n  will calculate SHA-256 HMAC checksums.\n  Defaults to an implementation using Node.JS' `crypto` module.\n- `unsignedPayload` - Optional. Indicates whether to sign requests\n  in such a way as to allow arbitrary message bodies.\n  Useful for presigning requests for which the body is not known in advance.\n  Defaults to false.\n- `uriEscapePath` - Optional. Indicates whether to uri-escape the\n  request URI path as part of computing the canonical request string.\n  This is required for every AWS service, except Amazon S3, as of\n  late 2017.\n  Defaults to true.\n- `applyChecksum` - Optional. Indicates whether to calculate a\n  checksum of the request body and include it as either a request\n  header (when signing) or as a query string parameter (when presigning).\n  This is required for AWS Glacier and optional for every other AWS\n  service as of late 2017.\n  Defaults to false.\n\n## API\n\n### presignRequest\n\nThe `presignRequest` method accepts a request and returns a Promise that\nresolves with a presigned request. The presigned request will have an\nexpiration and can be passed directly to an HTTP client. The following options can be provided within a hash to the `presignRequest` method:\n\n- `request` - The request to be signed. This parameter will not be\n  modified during the signing process but will instead be cloned.\n  The shape of the request should be an object with the following defined:\n  - `method` - HTTP method (e.g. 'GET', 'PUT', etc).\n  - `headers` - A mapping of header names to string values.\n    Multiple values for the same header should be represented as a single\n    string with values separated by `,`.\n    Keys should be considered case insensitive.\n  - `body` - Optional. May be a string, ArrayBuffer, or stream.\n- `signingDate` - Optional. The date and time to be used as signature metadata.\n  This value should be a Date object, a unix (epoch) timestamp, or\n  a string that can be unerstood by the JavaScript `Date` constructor.\n  Defaults to `new Date()`.\n- `expiration` - The time at which the signed URL should no longer\n  be honored.\n  This value should be a Date object, a unix (epoch) timestamp, or a\n  string that can be understood by the JavaScript `Date` constructor.\n- `hoistHeaders` - Optional. Indicates whether to move all values that\n  would normally be sent as headers to the query string of the URL.\n  This allows the returned value to be used in contexts that do not\n  permit specifying additional headers, such as `<img>` tags or `<a>` links.\n  If set to false, then the request must be sent along with the headers\n  with which it was signed.\n  Defaults to true.\n- `unsignableHeaders` - Optional. An object whose keys represents\n  headers that cannot be signed. All headers in the provided request\n  will have their names converted to lower case and then checked for\n  existence in the `unsignableHeaders` object using the `in` operator.\n  Defaults to an object whose keys are lower-cased transfer-specific\n  headers (such as `user-agent`, `referer`, `expect`, etc).\n- `unsignedPayload` - Optional. Indicates whether to sign requests\n  in such a way as to allow arbitrary message bodies.\n  Useful for presigning requests for which the body is not known in advance.\n  Defaults to value passed into constructor.\n\n### signRequest\n\nThe `signRequest` method accepts a request and returns a Promise that\nresolves with a signed request. The signed request will have an\nexpiration and can be passed directly to an HTTP client. The following options can be provided within a hash to the `signRequest` method:\n\n- `request` - The request to be signed. This parameter will not be\n  modified during the signing process but will instead be cloned.\n  The shape of the request should be an object with the following defined:\n  - `method` - HTTP method (e.g. 'GET', 'PUT', etc).\n  - `headers` - A mapping of header names to string values.\n    Multiple values for the same header should be represented as a single\n    string with values separated by `,`.\n    Keys should be considered case insensitive.\n  - `body` - Optional. May be a string, ArrayBuffer, or stream.\n- `signingDate` - Optional. The date and time to be used as signature metadata.\n  This value should be a Date object, a unix (epoch) timestamp, or\n  a string that can be unerstood by the JavaScript `Date` constructor.\n  Defaults to `new Date()`.\n- `unsignableHeaders` - Optional. An object whose keys represents\n  headers that cannot be signed. All headers in the provided request\n  will have their names converted to lower case and then checked for\n  existence in the `unsignableHeaders` object using the `in` operator.\n  Defaults to an object whose keys are lower-cased transfer-specific\n  headers (such as `user-agent`, `referer`, `expect`, etc).\n- `unsignedPayload` - Optional. Indicates whether to sign requests\n  in such a way as to allow arbitrary message bodies.\n  Useful for presigning requests for which the body is not known in advance.\n  Defaults to value passed into constructor.\n","scripts":{"test":"jest","pretest":"tsc -p tsconfig.test.json","prepublishOnly":"tsc"},"_npmUser":{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},"deprecated":"The package @aws-sdk/signature-v4-node was released in Developer Preview. It is no longer supported.","_npmVersion":"6.9.0","description":"A standalone AWS Signature V4 request signer for Node.JS","directories":{},"_nodeVersion":"10.1.0","dependencies":{"tslib":"^1.8.0","@aws-sdk/hash-node":"^0.1.0-preview.5","@aws-sdk/signature-v4":"^0.1.0-preview.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.7.1","typescript":"~3.4.0","@types/jest":"^24.0.12","@types/node":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/signature-v4-node_0.1.0-preview.6_1568050671894_0.37881533171216253","host":"s3://npm-registry-packages"}},"0.1.0-preview.7":{"name":"@aws-sdk/signature-v4-node","version":"0.1.0-preview.7","author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","_id":"@aws-sdk/signature-v4-node@0.1.0-preview.7","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},{"name":"trivikr-aws","email":"trivikr@amazon.com"},{"name":"zheallan","email":"zyp19930608@gmail.com"}],"dist":{"shasum":"55e9c9d48f691a1a6c9ec08010c73a369e90d116","tarball":"https://registry.npmjs.org/@aws-sdk/signature-v4-node/-/signature-v4-node-0.1.0-preview.7.tgz","fileCount":9,"integrity":"sha512-0oBvOb76bCFtIGmNiCRrTCBgNRktkTi5lgnGS3zj+4cPdwCPQEQfeLh9qpdIT+xvMUpbD8e2Yoi8AYYadRUWJw==","signatures":[{"sig":"MEUCIQC+5bbjfwPOr6W3sqIOwvFja+hjKR8qgYBfX/x8OWDmMQIgOA5B/iyvu4ybeVUtVNKFq669Nvmc+br5YQ6tngTg2vA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22150,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdg6KHCRA9TVsSAnZWagAAXYwQAIVdoS9VdnAgC+j9HClm\nkS/99ga8oY62BJeBXu7CZkkFLBvzDaQs5yslmnykv2kYXbVF+6pDyd6i5cp3\nfHBMeuCadWsz/v8qv30Zltm0aiwNIOoSuhFtH9KK2wYjdEhtFMm8vh+gn9mC\n8AeLJipTlcWB2qaNEGlTVV+eW9/bNJqQ+vjvwgQDLuZuV1/WnLOK8vAGRrnE\nbVaBVYbV7QHpNwIT8YGq5lK4t81OUt0bTldwtJFqmL5DjUNwI9MvQWaxTP8y\nG/1g+d5rGoj5VvoJ19b/7et8mur/RqA2yIaLZOIzPGi7AnylcKfeQZIx86Ko\nvtEfVeEzuDuzdP4H8vgTgpGrKOvRVQ3/8dfiwaBTSG4bUJq+L/8QURg5l2p1\nkyOxVV4SIYTAhbIq7mhkzomoZwSjq9sJOYZvTJNAW4CGPMGC38I4bPswgcLQ\nUxrmruac9cUTu76XbGks+lulSRWAd5Qny/8dxYFaBmNZc/yxF7ee3gnnrs8C\n18MfYoOSkm/ss/zzgW575fcZ1F0R7omJE9TgqzyZ382v5ipNn99U3Mjj8j5t\nsclkqZUr5B6VrkeS5vRJB2mpvocSyHLpwM42wEybqqwvyJz3kSAJy/s68mm2\nxeH81nBCRSojNxLV57qcNrGkfID6PTqcWrwVwUwMygy6bEY35HLuMr8bI0zs\ndJ6p\r\n=qE2M\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./build/index.js","types":"./build/index.d.ts","readme":"# AWS Signature V4 Signer for Node.JS\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/signature-v4-node/preview.svg)](https://www.npmjs.com/package/@aws-sdk/signature-v4-node)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/signature-v4-node.svg)](https://www.npmjs.com/package/@aws-sdk/signature-v4-node)\n\nThis module provides a class, `SignatureV4`, that will attempt to sign requests.\n\n## Supported configuration\n\nThe Signature V4 Signer requires several options to be set, and additionally has several optional configuration settings.\nYou may provide these options in a hash to the `SignatureV4` constructor.\nThe following options are supported:\n\n- `service` - The service signing name to use.\n- `region` - The region name or a function that returns a promise\n  that will be resolved with the region name.\n- `credentials` - The credentials with which the request should be\n  signed, or a function that returns a promise that will be resolved\n  with credentials\n- `sha256` - Optional. A constructor function for a hash object that\n  will calculate SHA-256 HMAC checksums.\n  Defaults to an implementation using Node.JS' `crypto` module.\n- `unsignedPayload` - Optional. Indicates whether to sign requests\n  in such a way as to allow arbitrary message bodies.\n  Useful for presigning requests for which the body is not known in advance.\n  Defaults to false.\n- `uriEscapePath` - Optional. Indicates whether to uri-escape the\n  request URI path as part of computing the canonical request string.\n  This is required for every AWS service, except Amazon S3, as of\n  late 2017.\n  Defaults to true.\n- `applyChecksum` - Optional. Indicates whether to calculate a\n  checksum of the request body and include it as either a request\n  header (when signing) or as a query string parameter (when presigning).\n  This is required for AWS Glacier and optional for every other AWS\n  service as of late 2017.\n  Defaults to false.\n\n## API\n\n### presignRequest\n\nThe `presignRequest` method accepts a request and returns a Promise that\nresolves with a presigned request. The presigned request will have an\nexpiration and can be passed directly to an HTTP client. The following options can be provided within a hash to the `presignRequest` method:\n\n- `request` - The request to be signed. This parameter will not be\n  modified during the signing process but will instead be cloned.\n  The shape of the request should be an object with the following defined:\n  - `method` - HTTP method (e.g. 'GET', 'PUT', etc).\n  - `headers` - A mapping of header names to string values.\n    Multiple values for the same header should be represented as a single\n    string with values separated by `,`.\n    Keys should be considered case insensitive.\n  - `body` - Optional. May be a string, ArrayBuffer, or stream.\n- `signingDate` - Optional. The date and time to be used as signature metadata.\n  This value should be a Date object, a unix (epoch) timestamp, or\n  a string that can be unerstood by the JavaScript `Date` constructor.\n  Defaults to `new Date()`.\n- `expiration` - The time at which the signed URL should no longer\n  be honored.\n  This value should be a Date object, a unix (epoch) timestamp, or a\n  string that can be understood by the JavaScript `Date` constructor.\n- `hoistHeaders` - Optional. Indicates whether to move all values that\n  would normally be sent as headers to the query string of the URL.\n  This allows the returned value to be used in contexts that do not\n  permit specifying additional headers, such as `<img>` tags or `<a>` links.\n  If set to false, then the request must be sent along with the headers\n  with which it was signed.\n  Defaults to true.\n- `unsignableHeaders` - Optional. An object whose keys represents\n  headers that cannot be signed. All headers in the provided request\n  will have their names converted to lower case and then checked for\n  existence in the `unsignableHeaders` object using the `in` operator.\n  Defaults to an object whose keys are lower-cased transfer-specific\n  headers (such as `user-agent`, `referer`, `expect`, etc).\n- `unsignedPayload` - Optional. Indicates whether to sign requests\n  in such a way as to allow arbitrary message bodies.\n  Useful for presigning requests for which the body is not known in advance.\n  Defaults to value passed into constructor.\n\n### signRequest\n\nThe `signRequest` method accepts a request and returns a Promise that\nresolves with a signed request. The signed request will have an\nexpiration and can be passed directly to an HTTP client. The following options can be provided within a hash to the `signRequest` method:\n\n- `request` - The request to be signed. This parameter will not be\n  modified during the signing process but will instead be cloned.\n  The shape of the request should be an object with the following defined:\n  - `method` - HTTP method (e.g. 'GET', 'PUT', etc).\n  - `headers` - A mapping of header names to string values.\n    Multiple values for the same header should be represented as a single\n    string with values separated by `,`.\n    Keys should be considered case insensitive.\n  - `body` - Optional. May be a string, ArrayBuffer, or stream.\n- `signingDate` - Optional. The date and time to be used as signature metadata.\n  This value should be a Date object, a unix (epoch) timestamp, or\n  a string that can be unerstood by the JavaScript `Date` constructor.\n  Defaults to `new Date()`.\n- `unsignableHeaders` - Optional. An object whose keys represents\n  headers that cannot be signed. All headers in the provided request\n  will have their names converted to lower case and then checked for\n  existence in the `unsignableHeaders` object using the `in` operator.\n  Defaults to an object whose keys are lower-cased transfer-specific\n  headers (such as `user-agent`, `referer`, `expect`, etc).\n- `unsignedPayload` - Optional. Indicates whether to sign requests\n  in such a way as to allow arbitrary message bodies.\n  Useful for presigning requests for which the body is not known in advance.\n  Defaults to value passed into constructor.\n","scripts":{"test":"jest","pretest":"tsc -p tsconfig.test.json","prepublishOnly":"tsc"},"_npmUser":{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},"deprecated":"The package @aws-sdk/signature-v4-node was released in Developer Preview. It is no longer supported.","_npmVersion":"6.9.0","description":"A standalone AWS Signature V4 request signer for Node.JS","directories":{},"_nodeVersion":"10.1.0","dependencies":{"tslib":"^1.8.0","@aws-sdk/hash-node":"^0.1.0-preview.6","@aws-sdk/signature-v4":"^0.1.0-preview.7"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.7.1","typescript":"~3.4.0","@types/jest":"^24.0.12","@types/node":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/signature-v4-node_0.1.0-preview.7_1568907910562_0.5516203523516825","host":"s3://npm-registry-packages"}},"0.1.0-preview.8":{"name":"@aws-sdk/signature-v4-node","version":"0.1.0-preview.8","author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","_id":"@aws-sdk/signature-v4-node@0.1.0-preview.8","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},{"name":"trivikr-aws","email":"trivikr@amazon.com"},{"name":"zheallan","email":"zyp19930608@gmail.com"}],"dist":{"shasum":"ced4b0988e3f636ad49d998f1800c441b3435062","tarball":"https://registry.npmjs.org/@aws-sdk/signature-v4-node/-/signature-v4-node-0.1.0-preview.8.tgz","fileCount":9,"integrity":"sha512-l7kbEl+udtyCJXcv58JP6R0ATEGq/8aChW5gKXx4/14fIIf3Z3bntRXm9i9vZcXkMcryuAnrPTo3uxJfZb5jQA==","signatures":[{"sig":"MEUCIQCknJnEqI+HYtpKL1+SkaiMvFf/8BG6gSBJAtfS6XC1EAIgEsLazYcgyBNNDwS6n27XcLdnjhbxA70TYK9mofi94k8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduM4hCRA9TVsSAnZWagAAJyQP/j3R61DlidqUca8wK6Md\nt27JCWP7XypDnU+eyXtbHoLwa75ltYbit1GMemewzDDtclb8n9VRvetWYHh/\nYXGqf3QoggMsofQTK8VLopQKumNkyHw4gfJvfPpAbAwYcenZrXjD1z90wMcY\nPun/DtzL/YGCtbeWd2UPJnToi3NlOkNT13BRQK03RtLX8pAbEE7mXYWPJsen\nfC1BwgRQTYvx48eL4/zlOgeuNjaoxKwVTc0g+RP0p7xfOM5fjcOz6q7217pu\nYEsk4xi6HVDeqmk4IPoo9jw1Tg5EtmRw/uYBB7bT27hR6ckDYRtvE+2Q3Lt5\nqkq0k8RX0lpVIgkcEP6rYlKFNErYZOi7HoNhlt1vo7VLiaQyt5ZnSTsV4z2R\nXOjyFbEq71HhrD+VWSxC457dQZuDyjoN4SIkYGUIu4Wq2U7vIE3uTgEadBJa\nz3wZUkg5QMOpaBQD30i+1h7b4V23wWgu4spQnJCn7qxsJswUq3gvxTWRkyXq\n1AuYj3Z+N+Q6CY2OY2twCf1DmGQSDfsHVfIQKewEaN4Tu/kZ2XrK1XlQJu0z\nohqX0CjT//FWImr2ABUiggAmMMzmR/FRNrK9zp84aXp509iSFX2FEPj0Elrc\nsRL4FhAC/UbXxVLKlgcW7EhultGmbSuqRVKG/NLQHmk3p9exKGr6zbwFqc3+\nepun\r\n=9njq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./build/index.js","types":"./build/index.d.ts","readme":"# AWS Signature V4 Signer for Node.JS\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/signature-v4-node/preview.svg)](https://www.npmjs.com/package/@aws-sdk/signature-v4-node)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/signature-v4-node.svg)](https://www.npmjs.com/package/@aws-sdk/signature-v4-node)\n\nThis module provides a class, `SignatureV4`, that will attempt to sign requests.\n\n## Supported configuration\n\nThe Signature V4 Signer requires several options to be set, and additionally has several optional configuration settings.\nYou may provide these options in a hash to the `SignatureV4` constructor.\nThe following options are supported:\n\n- `service` - The service signing name to use.\n- `region` - The region name or a function that returns a promise\n  that will be resolved with the region name.\n- `credentials` - The credentials with which the request should be\n  signed, or a function that returns a promise that will be resolved\n  with credentials\n- `sha256` - Optional. A constructor function for a hash object that\n  will calculate SHA-256 HMAC checksums.\n  Defaults to an implementation using Node.JS' `crypto` module.\n- `unsignedPayload` - Optional. Indicates whether to sign requests\n  in such a way as to allow arbitrary message bodies.\n  Useful for presigning requests for which the body is not known in advance.\n  Defaults to false.\n- `uriEscapePath` - Optional. Indicates whether to uri-escape the\n  request URI path as part of computing the canonical request string.\n  This is required for every AWS service, except Amazon S3, as of\n  late 2017.\n  Defaults to true.\n- `applyChecksum` - Optional. Indicates whether to calculate a\n  checksum of the request body and include it as either a request\n  header (when signing) or as a query string parameter (when presigning).\n  This is required for AWS Glacier and optional for every other AWS\n  service as of late 2017.\n  Defaults to false.\n\n## API\n\n### presignRequest\n\nThe `presignRequest` method accepts a request and returns a Promise that\nresolves with a presigned request.\n\nThe presigned request will have an expiration and can be passed directly\nto an HTTP client.\n\nThe following options can be provided to the `presignRequest` method:\n\n- `request` - The request to be signed. This parameter will not be\n  modified during the signing process but will instead be cloned.\n  The shape of the request should be an object with the following defined:\n  - `method` - HTTP method (e.g. 'GET', 'PUT', etc).\n  - `headers` - A mapping of header names to string values.\n    Multiple values for the same header should be represented as a single\n    string with values separated by `,`.\n    Keys should be considered case insensitive.\n  - `body` - Optional. May be a string, ArrayBuffer, or stream.\n- `expiration` - The time at which the signed URL should no longer\n  be honored.\n  This value should be a Date object, a unix (epoch) timestamp, or a\n  string that can be understood by the JavaScript `Date` constructor.\n- `options` object\n  - `signingDate` - Optional. The date and time to be used as signature metadata.\n  This value should be a Date object, a unix (epoch) timestamp, or\n  a string that can be unerstood by the JavaScript `Date` constructor.\n  Defaults to `new Date()`.\n  - `unsignableHeaders` - Optional. An object whose keys represents\n    headers that cannot be signed. All headers in the provided request\n    will have their names converted to lower case and then checked for\n    existence in the `unsignableHeaders` object using the `in` operator.\n    Defaults to an object whose keys are lower-cased transfer-specific\n    headers (such as `user-agent`, `referer`, `expect`, etc).\n\n### sign\n\nThe `sign` method accepts a request or string and returns a Promise that\nresolves with a signed request or signed string.\n\nThe signed request will have an expiration and can be passed directly\nto an HTTP client.\n\nThe following options can be provided within a hash to the `sign` method:\n\n- `request` or `string`:\n  - `request` - The request to be signed. This parameter will not be\n    modified during the signing process but will instead be cloned.\n    The shape of the request should be an object with the following defined:\n    - `method` - HTTP method (e.g. 'GET', 'PUT', etc).\n    - `headers` - A mapping of header names to string values.\n      Multiple values for the same header should be represented as a single\n      string with values separated by `,`.\n      Keys should be considered case insensitive.\n    - `body` - Optional. May be a string, ArrayBuffer, or stream.\n  - or `string`\n- `options` object\n  - `signingDate` - Optional. The date and time to be used as signature metadata.\n  This value should be a Date object, a unix (epoch) timestamp, or\n  a string that can be unerstood by the JavaScript `Date` constructor.\n  Defaults to `new Date()`.\n  - `unsignableHeaders` - Optional. An object whose keys represents\n    headers that cannot be signed. All headers in the provided request\n    will have their names converted to lower case and then checked for\n    existence in the `unsignableHeaders` object using the `in` operator.\n    Defaults to an object whose keys are lower-cased transfer-specific\n    headers (such as `user-agent`, `referer`, `expect`, etc).\n","scripts":{"test":"jest","pretest":"tsc -p tsconfig.test.json","prepublishOnly":"tsc"},"_npmUser":{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},"deprecated":"The package @aws-sdk/signature-v4-node was released in Developer Preview. It is no longer supported.","_npmVersion":"6.9.0","description":"A standalone AWS Signature V4 request signer for Node.JS","directories":{},"_nodeVersion":"10.1.0","dependencies":{"tslib":"^1.8.0","@aws-sdk/hash-node":"^0.1.0-preview.7","@aws-sdk/signature-v4":"^0.1.0-preview.8"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.7.1","typescript":"~3.4.0","@types/jest":"^24.0.12","@types/node":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/signature-v4-node_0.1.0-preview.8_1572392481331_0.24529661589297636","host":"s3://npm-registry-packages"}},"0.1.0-preview.9":{"name":"@aws-sdk/signature-v4-node","version":"0.1.0-preview.9","author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","_id":"@aws-sdk/signature-v4-node@0.1.0-preview.9","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},{"name":"trivikr-aws","email":"trivikr@amazon.com"},{"name":"zheallan","email":"zyp19930608@gmail.com"}],"dist":{"shasum":"76311912e659c1baaa4965d9c801c4049b82b2d9","tarball":"https://registry.npmjs.org/@aws-sdk/signature-v4-node/-/signature-v4-node-0.1.0-preview.9.tgz","fileCount":9,"integrity":"sha512-Z0uuBnvAUi/8e6QiOlz7WmbBM02vo7ckyiVfdusZAyo6+GlHvzcroRxy4+oyF6PjutJ7CqGgsmqAMxWsTwStCw==","signatures":[{"sig":"MEYCIQD5aKnQuwgQBK/hG+BZLCTIV0SeOJF9VkN1WkJ/rVjq3wIhAJqSIksA67f/r8mod04vHxfjZI0Cy4CLmNOng93pAk7s","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22893,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdueEBCRA9TVsSAnZWagAA3/MP/Ajv0Y3id2DRkCdbA/OC\ntNxBuNItYgUyy3eeFPB1ygNavBAfCtD14Qbz64j+K4MWIYDGUo03hLyPv2eR\n8iLaGkS9caq2bDPKQPfhxmH8dS7xedDZrbgHkZdVQPrrZWREnhjZC//nHAXp\nTC0FsOUK29mTc5PZ9LHX4yCksp/v1SsogUUsxcsTibgZIRnQDlVK095xtv0D\nUHgmlCDISUHQIJ7GTriezOVsAlPY6h6P98gP2kDesds5sofcjgbzZc3kKNL1\nRTQjheErQPaVq63CqXsBBL8+bLtfakdSCEv0+Icvo9cVdba2TEE3O3C1B6G+\npYLtB/ZuH72t0Rzj0eYZOwxQXoeg5ubXMvQZy19CV38AHN7Yz1UosRnLWx0X\nmTwI7UVEsiufuLtx/o14JszNKVv5vuSEBoOZ5hj536OkEXLFeIAIE5wZcfN8\nHP8L6LWBt4IFgsRbsl0O9ndI5U3CRAWenO5JGSccPO5xSyu3WCBUKob13XpF\n5aYnqJQGRMSp7jydDaTCvvYBNyLNZN0TofniTQdNjiKkSU8kPGEAh0c4qiox\n3PcoXz+AQG87T4Xn9yjimHYd04mgdljqOjMPk5fEnFitb0gVqYIj5BPX5SMK\nsyqtbOqOgpT/k0xJfO0ztcakOep5tUBuF4LRm/xKfgzDZNOTR6Zd4/6PlL1X\nNDWP\r\n=+jtq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./build/index.js","types":"./build/index.d.ts","readme":"# AWS Signature V4 Signer for Node.JS\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/signature-v4-node/preview.svg)](https://www.npmjs.com/package/@aws-sdk/signature-v4-node)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/signature-v4-node.svg)](https://www.npmjs.com/package/@aws-sdk/signature-v4-node)\n\nThis module provides a class, `SignatureV4`, that will attempt to sign requests.\n\n## Supported configuration\n\nThe Signature V4 Signer requires several options to be set, and additionally has several optional configuration settings.\nYou may provide these options in a hash to the `SignatureV4` constructor.\nThe following options are supported:\n\n- `service` - The service signing name to use.\n- `region` - The region name or a function that returns a promise\n  that will be resolved with the region name.\n- `credentials` - The credentials with which the request should be\n  signed, or a function that returns a promise that will be resolved\n  with credentials\n- `sha256` - Optional. A constructor function for a hash object that\n  will calculate SHA-256 HMAC checksums.\n  Defaults to an implementation using Node.JS' `crypto` module.\n- `unsignedPayload` - Optional. Indicates whether to sign requests\n  in such a way as to allow arbitrary message bodies.\n  Useful for presigning requests for which the body is not known in advance.\n  Defaults to false.\n- `uriEscapePath` - Optional. Indicates whether to uri-escape the\n  request URI path as part of computing the canonical request string.\n  This is required for every AWS service, except Amazon S3, as of\n  late 2017.\n  Defaults to true.\n- `applyChecksum` - Optional. Indicates whether to calculate a\n  checksum of the request body and include it as either a request\n  header (when signing) or as a query string parameter (when presigning).\n  This is required for AWS Glacier and optional for every other AWS\n  service as of late 2017.\n  Defaults to false.\n\n## API\n\n### presignRequest\n\nThe `presignRequest` method accepts a request and returns a Promise that\nresolves with a presigned request.\n\nThe presigned request will have an expiration and can be passed directly\nto an HTTP client.\n\nThe following options can be provided to the `presignRequest` method:\n\n- `request` - The request to be signed. This parameter will not be\n  modified during the signing process but will instead be cloned.\n  The shape of the request should be an object with the following defined:\n  - `method` - HTTP method (e.g. 'GET', 'PUT', etc).\n  - `headers` - A mapping of header names to string values.\n    Multiple values for the same header should be represented as a single\n    string with values separated by `,`.\n    Keys should be considered case insensitive.\n  - `body` - Optional. May be a string, ArrayBuffer, or stream.\n- `expiration` - The time at which the signed URL should no longer\n  be honored.\n  This value should be a Date object, a unix (epoch) timestamp, or a\n  string that can be understood by the JavaScript `Date` constructor.\n- `options` object\n  - `signingDate` - Optional. The date and time to be used as signature metadata.\n  This value should be a Date object, a unix (epoch) timestamp, or\n  a string that can be unerstood by the JavaScript `Date` constructor.\n  Defaults to `new Date()`.\n  - `unsignableHeaders` - Optional. An object whose keys represents\n    headers that cannot be signed. All headers in the provided request\n    will have their names converted to lower case and then checked for\n    existence in the `unsignableHeaders` object using the `in` operator.\n    Defaults to an object whose keys are lower-cased transfer-specific\n    headers (such as `user-agent`, `referer`, `expect`, etc).\n\n### sign\n\nThe `sign` method accepts a request or string and returns a Promise that\nresolves with a signed request or signed string.\n\nThe signed request will have an expiration and can be passed directly\nto an HTTP client.\n\nThe following options can be provided within a hash to the `sign` method:\n\n- `request` or `string`:\n  - `request` - The request to be signed. This parameter will not be\n    modified during the signing process but will instead be cloned.\n    The shape of the request should be an object with the following defined:\n    - `method` - HTTP method (e.g. 'GET', 'PUT', etc).\n    - `headers` - A mapping of header names to string values.\n      Multiple values for the same header should be represented as a single\n      string with values separated by `,`.\n      Keys should be considered case insensitive.\n    - `body` - Optional. May be a string, ArrayBuffer, or stream.\n  - or `string`\n- `options` object\n  - `signingDate` - Optional. The date and time to be used as signature metadata.\n  This value should be a Date object, a unix (epoch) timestamp, or\n  a string that can be unerstood by the JavaScript `Date` constructor.\n  Defaults to `new Date()`.\n  - `unsignableHeaders` - Optional. An object whose keys represents\n    headers that cannot be signed. All headers in the provided request\n    will have their names converted to lower case and then checked for\n    existence in the `unsignableHeaders` object using the `in` operator.\n    Defaults to an object whose keys are lower-cased transfer-specific\n    headers (such as `user-agent`, `referer`, `expect`, etc).\n","scripts":{"test":"jest","pretest":"tsc -p tsconfig.test.json","prepublishOnly":"tsc"},"_npmUser":{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},"deprecated":"The package @aws-sdk/signature-v4-node was released in Developer Preview. It is no longer supported.","_npmVersion":"6.9.0","description":"A standalone AWS Signature V4 request signer for Node.JS","directories":{},"_nodeVersion":"10.1.0","dependencies":{"tslib":"^1.8.0","@aws-sdk/hash-node":"^0.1.0-preview.8","@aws-sdk/signature-v4":"^0.1.0-preview.9"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.7.1","typescript":"~3.4.0","@types/jest":"^24.0.12","@types/node":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/signature-v4-node_0.1.0-preview.9_1572462848871_0.8525762094717662","host":"s3://npm-registry-packages"}},"0.1.0-preview.10":{"name":"@aws-sdk/signature-v4-node","version":"0.1.0-preview.10","author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","_id":"@aws-sdk/signature-v4-node@0.1.0-preview.10","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},{"name":"trivikr-aws","email":"trivikr@amazon.com"},{"name":"zheallan","email":"zyp19930608@gmail.com"}],"dist":{"shasum":"f28f9f95931f3182638b2f562eafe5fa58359eaa","tarball":"https://registry.npmjs.org/@aws-sdk/signature-v4-node/-/signature-v4-node-0.1.0-preview.10.tgz","fileCount":8,"integrity":"sha512-rnDuvZHEcop2CLUlNvQIZD+YNFlSdMG7cOMBG36Mjza0OPOiupuzAxAJkCrO7CoV+h72vaYg+JJ18SzviFxSmg==","signatures":[{"sig":"MEUCIQCaLlAaQ4QPq+d4jr25xthWRi/PK9IE36JT8tjXuLzExAIgefM3SoBa3Ms01I+11w3aDKPZt4NmA82Q11gJb6u5hks=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24295,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd1FLyCRA9TVsSAnZWagAAxyQQAIo68NrfMxJKYrxN+7/Z\nYrfohMY2t0osscJtZPmRSE8/Cf6X2nDBaKtk4C9xuFej7gemF8+x/1BqS5nq\nsRrB6oHsIHBoBccx8DYyxMbbwPkK5Qq7O0k0OClchBVLTryNpW2cV4NS9cyw\n9B0pra0B5YNPzIWacXMfR0JFy7JIRtxRicYx6WrPwxvlAlv5HBFK+DJW2XPj\nrNlpcNI5BNp68NNGdLI7aa9c+EZ1zEomqvJUZ8A/vVJiQXi2vFDn7XN/pim3\nGLts7+Ve1gQrUi3sQOiX1s66nysV8Mq1jizg0md8cAw0Zu8tu1q8vtLe13r3\nTMGjC9dNptiEPA4L5ToygStxTU5RdvE/qvs7WD7cuilggdM8pBhLPjpcUpNB\nJzPJ4uGHetGZDt6LkFFTZtjmsqqwebcy9eBd23eOUtKRf0zn1SewRfli7no4\nzvVKOuna3/MHB5VJsIsNPq5c8iKxGpL/3NzDFn+fPANHOPZ73Y0a7FpzXyem\n1IK9gOrXAkcE8GJ2kZf1ZVtuXIW6k/FWumrNsP4fg5gC2lbgzUJyMkB90/oX\nzelKssNf1u73udOgCzdajgeu6WeEXJbHKGeDFXYO0I59Oo38BqJMKpd9ydRN\nYxbN650kPaJ9uY05UlPvLKugPfirJjt+jHFJ0If5cqIDl/4hfWB2Eh2D5xrC\nGQFf\r\n=u/+K\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./build/index.js","types":"./build/index.d.ts","readme":"# AWS Signature V4 Signer for Node.JS\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/signature-v4-node/preview.svg)](https://www.npmjs.com/package/@aws-sdk/signature-v4-node)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/signature-v4-node.svg)](https://www.npmjs.com/package/@aws-sdk/signature-v4-node)\n\nThis module provides a class, `SignatureV4`, that will attempt to sign requests.\n\n## Supported configuration\n\nThe Signature V4 Signer requires several options to be set, and additionally has several optional configuration settings.\nYou may provide these options in a hash to the `SignatureV4` constructor.\nThe following options are supported:\n\n- `service` - The service signing name to use.\n- `region` - The region name or a function that returns a promise\n  that will be resolved with the region name.\n- `credentials` - The credentials with which the request should be\n  signed, or a function that returns a promise that will be resolved\n  with credentials\n- `sha256` - Optional. A constructor function for a hash object that\n  will calculate SHA-256 HMAC checksums.\n  Defaults to an implementation using Node.JS' `crypto` module.\n- `unsignedPayload` - Optional. Indicates whether to sign requests\n  in such a way as to allow arbitrary message bodies.\n  Useful for presigning requests for which the body is not known in advance.\n  Defaults to false.\n- `uriEscapePath` - Optional. Indicates whether to uri-escape the\n  request URI path as part of computing the canonical request string.\n  This is required for every AWS service, except Amazon S3, as of\n  late 2017.\n  Defaults to true.\n- `applyChecksum` - Optional. Indicates whether to calculate a\n  checksum of the request body and include it as either a request\n  header (when signing) or as a query string parameter (when presigning).\n  This is required for AWS Glacier and optional for every other AWS\n  service as of late 2017.\n  Defaults to false.\n\n## API\n\n### presignRequest\n\nThe `presignRequest` method accepts a request and returns a Promise that\nresolves with a presigned request.\n\nThe presigned request will have an expiration and can be passed directly\nto an HTTP client.\n\nThe following options can be provided to the `presignRequest` method:\n\n- `request` - The request to be signed. This parameter will not be\n  modified during the signing process but will instead be cloned.\n  The shape of the request should be an object with the following defined:\n  - `method` - HTTP method (e.g. 'GET', 'PUT', etc).\n  - `headers` - A mapping of header names to string values.\n    Multiple values for the same header should be represented as a single\n    string with values separated by `,`.\n    Keys should be considered case insensitive.\n  - `body` - Optional. May be a string, ArrayBuffer, or stream.\n- `expiration` - The time at which the signed URL should no longer\n  be honored.\n  This value should be a Date object, a unix (epoch) timestamp, or a\n  string that can be understood by the JavaScript `Date` constructor.\n- `options` object\n  - `signingDate` - Optional. The date and time to be used as signature metadata.\n    This value should be a Date object, a unix (epoch) timestamp, or\n    a string that can be unerstood by the JavaScript `Date` constructor.\n    Defaults to `new Date()`.\n  - `unsignableHeaders` - Optional. An object whose keys represents\n    headers that cannot be signed. All headers in the provided request\n    will have their names converted to lower case and then checked for\n    existence in the `unsignableHeaders` object using the `in` operator.\n    Defaults to an object whose keys are lower-cased transfer-specific\n    headers (such as `user-agent`, `referer`, `expect`, etc).\n\n### sign\n\nThe `sign` method accepts a request or string and returns a Promise that\nresolves with a signed request or signed string.\n\nThe signed request will have an expiration and can be passed directly\nto an HTTP client.\n\nThe following options can be provided within a hash to the `sign` method:\n\n- `request` or `string`:\n  - `request` - The request to be signed. This parameter will not be\n    modified during the signing process but will instead be cloned.\n    The shape of the request should be an object with the following defined:\n    - `method` - HTTP method (e.g. 'GET', 'PUT', etc).\n    - `headers` - A mapping of header names to string values.\n      Multiple values for the same header should be represented as a single\n      string with values separated by `,`.\n      Keys should be considered case insensitive.\n    - `body` - Optional. May be a string, ArrayBuffer, or stream.\n  - or `string`\n- `options` object\n  - `signingDate` - Optional. The date and time to be used as signature metadata.\n    This value should be a Date object, a unix (epoch) timestamp, or\n    a string that can be unerstood by the JavaScript `Date` constructor.\n    Defaults to `new Date()`.\n  - `unsignableHeaders` - Optional. An object whose keys represents\n    headers that cannot be signed. All headers in the provided request\n    will have their names converted to lower case and then checked for\n    existence in the `unsignableHeaders` object using the `in` operator.\n    Defaults to an object whose keys are lower-cased transfer-specific\n    headers (such as `user-agent`, `referer`, `expect`, etc).\n","scripts":{"test":"jest","pretest":"tsc -p tsconfig.test.json","prepublishOnly":"tsc"},"_npmUser":{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},"deprecated":"The package @aws-sdk/signature-v4-node was released in Developer Preview. It is no longer supported.","_npmVersion":"6.9.0","description":"A standalone AWS Signature V4 request signer for Node.JS","directories":{},"_nodeVersion":"10.16.3","dependencies":{"tslib":"^1.8.0","@aws-sdk/hash-node":"^0.1.0-preview.8","@aws-sdk/signature-v4":"^0.1.0-preview.10"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.7.1","typescript":"~3.4.0","@types/jest":"^24.0.12","@types/node":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/signature-v4-node_0.1.0-preview.10_1574195953517_0.08674324185199822","host":"s3://npm-registry-packages"}},"1.0.0-alpha.1":{"name":"@aws-sdk/signature-v4-node","version":"1.0.0-alpha.1","author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","_id":"@aws-sdk/signature-v4-node@1.0.0-alpha.1","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},{"name":"trivikr-aws","email":"trivikr@amazon.com"},{"name":"zheallan","email":"zyp19930608@gmail.com"}],"dist":{"shasum":"5c3a4a2e77157bb4106bddbbebdd49eed0afebd5","tarball":"https://registry.npmjs.org/@aws-sdk/signature-v4-node/-/signature-v4-node-1.0.0-alpha.1.tgz","fileCount":8,"integrity":"sha512-8WclN59L0vXBqY4V3kbHsDLP9OLM9h5/0wYnyAAWoQx9Nzzp0XI+EUUV5OS5hdLuCeSSg3/3iohEmtflbAqIuw==","signatures":[{"sig":"MEYCIQCPNloAO+CMqjM234lBJ8F0Tf56gwQAnDWDfsFvacDZ5AIhAJI6xCklgkXtDzIecgDgjvt2Es6UnpxCG5ylkRX9zzTh","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25087,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeFUfDCRA9TVsSAnZWagAA2mwP/27STkN+sjzhWPtRbKj7\nx6cJmaKVFmhiE8yYAbYAK8daC4d+ycFUhkyTvLFyvuMJswQkB7x4ofw739Gm\n/eRk4NJ+V93YTRsYVSLLwqe6PEMU0SSbZlorAyJ3pJbsfLsCqovj0YGTiX/Q\nEQk+qhSU2ASv9jU9LFHMFLvObFE/3CmnccXcaRDouhVNaG5UG4P3x1pQ8dSs\nDzax3EJO+VSLsEJo6vJfNVeoarIFCPSlB4c9dJgUBBoi2pqLJAwlRHAyZilB\nDEneArasPxk3LccaGzNkchFPHhRcJqinpy45jx2T5i1dC4HyQJm5niTNZKVA\nAbGLWNEpqIDXblBhJ+bHJglrnoDOYVY0VxDKwQ9PO+dwr1trCxyCcuGKOvUB\nc4txFD/DAu1rr0nD7Dcs47SYS5/k4K1rMyBo5xGg8lXAT95j6vH1g2idOhaD\nfRVPNzsFNmoB8WYx2Sci3KPmjNNrt49+vourdGCWDef10TflqWOsF6gVuIFi\ndHdE30ciV0quTOnN5cXGw9NWXs9+B4lTcwmwkejbSPPe8dWFhaCA6ZHCgu3Z\n5EvsA+NDjAz5TFuiSFltEAmHfUSQmgX8/Oj2oNX5bIlKcV5BfLe/GGhlgnIW\nMjwVrH4UCrTVpw+x4mKf1Vc7b6ulUpzZUfmwIhzUs+lrvUiz1NODqDBVQOrP\nr1CC\r\n=l2/O\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./build/index.js","types":"./build/index.d.ts","readme":"# AWS Signature V4 Signer for Node.JS\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/signature-v4-node/preview.svg)](https://www.npmjs.com/package/@aws-sdk/signature-v4-node)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/signature-v4-node.svg)](https://www.npmjs.com/package/@aws-sdk/signature-v4-node)\n\nThis module provides a class, `SignatureV4`, that will attempt to sign requests.\n\n## Supported configuration\n\nThe Signature V4 Signer requires several options to be set, and additionally has several optional configuration settings.\nYou may provide these options in a hash to the `SignatureV4` constructor.\nThe following options are supported:\n\n- `service` - The service signing name to use.\n- `region` - The region name or a function that returns a promise\n  that will be resolved with the region name.\n- `credentials` - The credentials with which the request should be\n  signed, or a function that returns a promise that will be resolved\n  with credentials\n- `sha256` - Optional. A constructor function for a hash object that\n  will calculate SHA-256 HMAC checksums.\n  Defaults to an implementation using Node.JS' `crypto` module.\n- `unsignedPayload` - Optional. Indicates whether to sign requests\n  in such a way as to allow arbitrary message bodies.\n  Useful for presigning requests for which the body is not known in advance.\n  Defaults to false.\n- `uriEscapePath` - Optional. Indicates whether to uri-escape the\n  request URI path as part of computing the canonical request string.\n  This is required for every AWS service, except Amazon S3, as of\n  late 2017.\n  Defaults to true.\n- `applyChecksum` - Optional. Indicates whether to calculate a\n  checksum of the request body and include it as either a request\n  header (when signing) or as a query string parameter (when presigning).\n  This is required for AWS Glacier and optional for every other AWS\n  service as of late 2017.\n  Defaults to false.\n\n## API\n\n### presignRequest\n\nThe `presignRequest` method accepts a request and returns a Promise that\nresolves with a presigned request.\n\nThe presigned request will have an expiration and can be passed directly\nto an HTTP client.\n\nThe following options can be provided to the `presignRequest` method:\n\n- `request` - The request to be signed. This parameter will not be\n  modified during the signing process but will instead be cloned.\n  The shape of the request should be an object with the following defined:\n  - `method` - HTTP method (e.g. 'GET', 'PUT', etc).\n  - `headers` - A mapping of header names to string values.\n    Multiple values for the same header should be represented as a single\n    string with values separated by `,`.\n    Keys should be considered case insensitive.\n  - `body` - Optional. May be a string, ArrayBuffer, or stream.\n- `expiration` - The time at which the signed URL should no longer\n  be honored.\n  This value should be a Date object, a unix (epoch) timestamp, or a\n  string that can be understood by the JavaScript `Date` constructor.\n- `options` object\n  - `signingDate` - Optional. The date and time to be used as signature metadata.\n    This value should be a Date object, a unix (epoch) timestamp, or\n    a string that can be unerstood by the JavaScript `Date` constructor.\n    Defaults to `new Date()`.\n  - `unsignableHeaders` - Optional. An object whose keys represents\n    headers that cannot be signed. All headers in the provided request\n    will have their names converted to lower case and then checked for\n    existence in the `unsignableHeaders` object using the `in` operator.\n    Defaults to an object whose keys are lower-cased transfer-specific\n    headers (such as `user-agent`, `referer`, `expect`, etc).\n\n### sign\n\nThe `sign` method accepts a request or string and returns a Promise that\nresolves with a signed request or signed string.\n\nThe signed request will have an expiration and can be passed directly\nto an HTTP client.\n\nThe following options can be provided within a hash to the `sign` method:\n\n- `request` or `string`:\n  - `request` - The request to be signed. This parameter will not be\n    modified during the signing process but will instead be cloned.\n    The shape of the request should be an object with the following defined:\n    - `method` - HTTP method (e.g. 'GET', 'PUT', etc).\n    - `headers` - A mapping of header names to string values.\n      Multiple values for the same header should be represented as a single\n      string with values separated by `,`.\n      Keys should be considered case insensitive.\n    - `body` - Optional. May be a string, ArrayBuffer, or stream.\n  - or `string`\n- `options` object\n  - `signingDate` - Optional. The date and time to be used as signature metadata.\n    This value should be a Date object, a unix (epoch) timestamp, or\n    a string that can be unerstood by the JavaScript `Date` constructor.\n    Defaults to `new Date()`.\n  - `unsignableHeaders` - Optional. An object whose keys represents\n    headers that cannot be signed. All headers in the provided request\n    will have their names converted to lower case and then checked for\n    existence in the `unsignableHeaders` object using the `in` operator.\n    Defaults to an object whose keys are lower-cased transfer-specific\n    headers (such as `user-agent`, `referer`, `expect`, etc).\n","scripts":{"test":"jest","pretest":"tsc -p tsconfig.test.json","prepublishOnly":"tsc"},"_npmUser":{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},"deprecated":"The package @aws-sdk/signature-v4-node was released in Developer Preview. It is no longer supported.","_npmVersion":"6.9.0","description":"A standalone AWS Signature V4 request signer for Node.JS","directories":{},"_nodeVersion":"10.16.3","dependencies":{"tslib":"^1.8.0","@aws-sdk/hash-node":"^1.0.0-alpha.1","@aws-sdk/signature-v4":"^1.0.0-alpha.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.7.1","typescript":"~3.4.0","@types/jest":"^24.0.12","@types/node":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/signature-v4-node_1.0.0-alpha.1_1578452930771_0.48210439289090945","host":"s3://npm-registry-packages"}},"1.0.0-alpha.2":{"name":"@aws-sdk/signature-v4-node","version":"1.0.0-alpha.2","author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","_id":"@aws-sdk/signature-v4-node@1.0.0-alpha.2","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},{"name":"trivikr-aws","email":"trivikr@amazon.com"},{"name":"zheallan","email":"zyp19930608@gmail.com"}],"dist":{"shasum":"69304cde54643067aee701ee0b619097e59e6264","tarball":"https://registry.npmjs.org/@aws-sdk/signature-v4-node/-/signature-v4-node-1.0.0-alpha.2.tgz","fileCount":8,"integrity":"sha512-qMW/s4PKKyvdj1RXJdUgDwj3NtdVnol8BobUDHAIX02p0A1pbqL5OvRpgf4FAbsy1jaPfszPbp9ZBYlZwdFcqg==","signatures":[{"sig":"MEUCIQDcV0r/KWWCKZmNv4HUne5frp1SqRiIk0Hylv07JtwcrwIgUBgPOITQm9M5Yy516Nv6Szdn8cU2y13NqnFjoUrp9S4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25887,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeF7QECRA9TVsSAnZWagAAzYgP/i6WWFzR4T/aDgnIpyjm\nehBw11tHy5o81EfaEyHf5olkwIzj+zjQtcMYMcmY9B1gxSDKSSdDbKw0wxbL\nju8oFHnVubr/YZRTjNt0q6tvz4Y/KJ/cNbnXDSPIA3BAWVO3qStssC/bTMYQ\nPMNHWqJhp9CGBEcd4lUW4t9IHIFr4w95T4Qu0P1fkf56Gf+fa3FbglR74aGF\nrUTOo1RXpvgDDaSW+gLKZxzCa99BVeUvNS5zY9ij5boropcTAVdp0GJ1a5Kv\nx/NLjSsw4Bhv7b0qshSp4jywYbAv2WaemPklLbA8cWS23WMctq9awD3KaFIl\n33Eu5SfL66nVmtID7B95ZEtMwueZPqABHTAJbw03I0U59Rky+UvxMG8w6rXZ\nmk4oO63+jCd5OO/c1/Gu56lJNKfxeecwLWH4pXKMFNhbT58MXH1lVv1I2BUp\n1FDqW8bD/EabTSruRIwouILY1zNt9RvzttUH0DX1qwzdVLaDeewUk6Qje6Fy\n/Jj++fe2cneelnFy+UDMYAJYWklfz1aH5fY7T24CVHFFgk/hfY0of3WzxF3t\njOjoJv8UaTJ0dnAqApxFC8E/+TH86AKjPu91HTrGG8A7MVfyJO/HSCx8mGVr\nwCHofZZsxICHgp9aeVfgDGCYsVzHJwK0ngWlNgiTXSeTL+VVIUsGn4D4C6sF\nCqj3\r\n=XJAA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./build/index.js","types":"./build/index.d.ts","readme":"# AWS Signature V4 Signer for Node.JS\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/signature-v4-node/preview.svg)](https://www.npmjs.com/package/@aws-sdk/signature-v4-node)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/signature-v4-node.svg)](https://www.npmjs.com/package/@aws-sdk/signature-v4-node)\n\nThis module provides a class, `SignatureV4`, that will attempt to sign requests.\n\n## Supported configuration\n\nThe Signature V4 Signer requires several options to be set, and additionally has several optional configuration settings.\nYou may provide these options in a hash to the `SignatureV4` constructor.\nThe following options are supported:\n\n- `service` - The service signing name to use.\n- `region` - The region name or a function that returns a promise\n  that will be resolved with the region name.\n- `credentials` - The credentials with which the request should be\n  signed, or a function that returns a promise that will be resolved\n  with credentials\n- `sha256` - Optional. A constructor function for a hash object that\n  will calculate SHA-256 HMAC checksums.\n  Defaults to an implementation using Node.JS' `crypto` module.\n- `unsignedPayload` - Optional. Indicates whether to sign requests\n  in such a way as to allow arbitrary message bodies.\n  Useful for presigning requests for which the body is not known in advance.\n  Defaults to false.\n- `uriEscapePath` - Optional. Indicates whether to uri-escape the\n  request URI path as part of computing the canonical request string.\n  This is required for every AWS service, except Amazon S3, as of\n  late 2017.\n  Defaults to true.\n- `applyChecksum` - Optional. Indicates whether to calculate a\n  checksum of the request body and include it as either a request\n  header (when signing) or as a query string parameter (when presigning).\n  This is required for AWS Glacier and optional for every other AWS\n  service as of late 2017.\n  Defaults to false.\n\n## API\n\n### presignRequest\n\nThe `presignRequest` method accepts a request and returns a Promise that\nresolves with a presigned request.\n\nThe presigned request will have an expiration and can be passed directly\nto an HTTP client.\n\nThe following options can be provided to the `presignRequest` method:\n\n- `request` - The request to be signed. This parameter will not be\n  modified during the signing process but will instead be cloned.\n  The shape of the request should be an object with the following defined:\n  - `method` - HTTP method (e.g. 'GET', 'PUT', etc).\n  - `headers` - A mapping of header names to string values.\n    Multiple values for the same header should be represented as a single\n    string with values separated by `,`.\n    Keys should be considered case insensitive.\n  - `body` - Optional. May be a string, ArrayBuffer, or stream.\n- `expiration` - The time at which the signed URL should no longer\n  be honored.\n  This value should be a Date object, a unix (epoch) timestamp, or a\n  string that can be understood by the JavaScript `Date` constructor.\n- `options` object\n  - `signingDate` - Optional. The date and time to be used as signature metadata.\n    This value should be a Date object, a unix (epoch) timestamp, or\n    a string that can be unerstood by the JavaScript `Date` constructor.\n    Defaults to `new Date()`.\n  - `unsignableHeaders` - Optional. An object whose keys represents\n    headers that cannot be signed. All headers in the provided request\n    will have their names converted to lower case and then checked for\n    existence in the `unsignableHeaders` object using the `in` operator.\n    Defaults to an object whose keys are lower-cased transfer-specific\n    headers (such as `user-agent`, `referer`, `expect`, etc).\n\n### sign\n\nThe `sign` method accepts a request or string and returns a Promise that\nresolves with a signed request or signed string.\n\nThe signed request will have an expiration and can be passed directly\nto an HTTP client.\n\nThe following options can be provided within a hash to the `sign` method:\n\n- `request` or `string`:\n  - `request` - The request to be signed. This parameter will not be\n    modified during the signing process but will instead be cloned.\n    The shape of the request should be an object with the following defined:\n    - `method` - HTTP method (e.g. 'GET', 'PUT', etc).\n    - `headers` - A mapping of header names to string values.\n      Multiple values for the same header should be represented as a single\n      string with values separated by `,`.\n      Keys should be considered case insensitive.\n    - `body` - Optional. May be a string, ArrayBuffer, or stream.\n  - or `string`\n- `options` object\n  - `signingDate` - Optional. The date and time to be used as signature metadata.\n    This value should be a Date object, a unix (epoch) timestamp, or\n    a string that can be unerstood by the JavaScript `Date` constructor.\n    Defaults to `new Date()`.\n  - `unsignableHeaders` - Optional. An object whose keys represents\n    headers that cannot be signed. All headers in the provided request\n    will have their names converted to lower case and then checked for\n    existence in the `unsignableHeaders` object using the `in` operator.\n    Defaults to an object whose keys are lower-cased transfer-specific\n    headers (such as `user-agent`, `referer`, `expect`, etc).\n","scripts":{"test":"jest","pretest":"tsc -p tsconfig.test.json","prepublishOnly":"tsc"},"_npmUser":{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},"deprecated":"The package @aws-sdk/signature-v4-node was released in Developer Preview. It is no longer supported.","_npmVersion":"6.9.0","description":"A standalone AWS Signature V4 request signer for Node.JS","directories":{},"_nodeVersion":"10.16.3","dependencies":{"tslib":"^1.8.0","@aws-sdk/hash-node":"^1.0.0-alpha.2","@aws-sdk/signature-v4":"^1.0.0-alpha.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.7.1","typescript":"~3.4.0","@types/jest":"^24.0.12","@types/node":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/signature-v4-node_1.0.0-alpha.2_1578611716450_0.6981559550007133","host":"s3://npm-registry-packages"}},"1.0.0-alpha.3":{"name":"@aws-sdk/signature-v4-node","version":"1.0.0-alpha.3","author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","_id":"@aws-sdk/signature-v4-node@1.0.0-alpha.3","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},{"name":"trivikr-aws","email":"trivikr@amazon.com"},{"name":"zheallan","email":"zyp19930608@gmail.com"}],"dist":{"shasum":"e51a506b4df3bb9317547fa1f1455d22e9faa115","tarball":"https://registry.npmjs.org/@aws-sdk/signature-v4-node/-/signature-v4-node-1.0.0-alpha.3.tgz","fileCount":8,"integrity":"sha512-GLzcVTzQEF8z32ayJb6Nqt3j3AaMP/q9P/H5nb2iRe1UxLekbDd6kbEonlYuzy7/ZP1ZJclDn6SQ3bY65gpxRg==","signatures":[{"sig":"MEQCIHxW2i8bZnA+yWPJ4OLomy9VJAUh+Y/XHi7ONQfreuuVAiB6i7t8V++g5zQbN+3avZfWUv3Km7LjgjQ/sMgis3szQw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26711,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeGAZ2CRA9TVsSAnZWagAAScwP/0GMqBjwE7AB7+4MVQNQ\nRd/13kHuenWS4MIvWxx54p4sONyIBLMr2L4iyQb6zZ3mPl9IM6FoQQbf2xac\nUQhXwZkysXBpjvuLIoMY4upPYnD5XE7+w06E0j+jv6EdFfn0MNgsk5s+pxVr\nOVAwizS23bmZVnPmskjqdIXTGuyfIWReIa5rkqEOpQ47Z6I7gUf6Kbdhv+y6\nEreHhwWdUckK73mS4ibjb9mLBlWdmKhed1DzUJCUSz/aOvtlQH73haR65Cdm\nkoz/QR8ZbFpvUlyHaOk7eZGYSmy2hwubngULo/g3+6P/afRMzvpOBlvfAooD\n3PI4mHnIT+VqRmKnDFxrxetZ1kTzeQbjO6Db9V70EfIiK9yCjJIS0Ow6w3M4\nwyCcKtT67ZtAYL/fKgPkBF3qlulM8YgCBJSDxUcnLgz1xSbI2Lm/ty6KYx3r\nCF/jDlO4O9R8x1suj69ATXpw4RISTXrBVoZ2FrCfTxZUW9LglId0W7HV2ikL\nY5tX8933m5DEbu9vY3HZkeCBJEMCo6FIQ2A5zyjoiHIJGqjDdYIUDDxUEWdv\nTBQ9JQ/ldCuf4TcQILJL+XxsAsNHeqgEVvW2D8z3LYNvEk1NDNEfkDyy+Nl5\n/t+CEJZ7HBZmZmetpMwex4lUbEZ8iIaIqoGhjniTSfSVqb5q4eCgKi06bBNZ\nFz5Z\r\n=tTWW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./build/index.js","types":"./build/index.d.ts","readme":"# AWS Signature V4 Signer for Node.JS\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/signature-v4-node/preview.svg)](https://www.npmjs.com/package/@aws-sdk/signature-v4-node)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/signature-v4-node.svg)](https://www.npmjs.com/package/@aws-sdk/signature-v4-node)\n\nThis module provides a class, `SignatureV4`, that will attempt to sign requests.\n\n## Supported configuration\n\nThe Signature V4 Signer requires several options to be set, and additionally has several optional configuration settings.\nYou may provide these options in a hash to the `SignatureV4` constructor.\nThe following options are supported:\n\n- `service` - The service signing name to use.\n- `region` - The region name or a function that returns a promise\n  that will be resolved with the region name.\n- `credentials` - The credentials with which the request should be\n  signed, or a function that returns a promise that will be resolved\n  with credentials\n- `sha256` - Optional. A constructor function for a hash object that\n  will calculate SHA-256 HMAC checksums.\n  Defaults to an implementation using Node.JS' `crypto` module.\n- `unsignedPayload` - Optional. Indicates whether to sign requests\n  in such a way as to allow arbitrary message bodies.\n  Useful for presigning requests for which the body is not known in advance.\n  Defaults to false.\n- `uriEscapePath` - Optional. Indicates whether to uri-escape the\n  request URI path as part of computing the canonical request string.\n  This is required for every AWS service, except Amazon S3, as of\n  late 2017.\n  Defaults to true.\n- `applyChecksum` - Optional. Indicates whether to calculate a\n  checksum of the request body and include it as either a request\n  header (when signing) or as a query string parameter (when presigning).\n  This is required for AWS Glacier and optional for every other AWS\n  service as of late 2017.\n  Defaults to false.\n\n## API\n\n### presignRequest\n\nThe `presignRequest` method accepts a request and returns a Promise that\nresolves with a presigned request.\n\nThe presigned request will have an expiration and can be passed directly\nto an HTTP client.\n\nThe following options can be provided to the `presignRequest` method:\n\n- `request` - The request to be signed. This parameter will not be\n  modified during the signing process but will instead be cloned.\n  The shape of the request should be an object with the following defined:\n  - `method` - HTTP method (e.g. 'GET', 'PUT', etc).\n  - `headers` - A mapping of header names to string values.\n    Multiple values for the same header should be represented as a single\n    string with values separated by `,`.\n    Keys should be considered case insensitive.\n  - `body` - Optional. May be a string, ArrayBuffer, or stream.\n- `expiration` - The time at which the signed URL should no longer\n  be honored.\n  This value should be a Date object, a unix (epoch) timestamp, or a\n  string that can be understood by the JavaScript `Date` constructor.\n- `options` object\n  - `signingDate` - Optional. The date and time to be used as signature metadata.\n    This value should be a Date object, a unix (epoch) timestamp, or\n    a string that can be unerstood by the JavaScript `Date` constructor.\n    Defaults to `new Date()`.\n  - `unsignableHeaders` - Optional. An object whose keys represents\n    headers that cannot be signed. All headers in the provided request\n    will have their names converted to lower case and then checked for\n    existence in the `unsignableHeaders` object using the `in` operator.\n    Defaults to an object whose keys are lower-cased transfer-specific\n    headers (such as `user-agent`, `referer`, `expect`, etc).\n\n### sign\n\nThe `sign` method accepts a request or string and returns a Promise that\nresolves with a signed request or signed string.\n\nThe signed request will have an expiration and can be passed directly\nto an HTTP client.\n\nThe following options can be provided within a hash to the `sign` method:\n\n- `request` or `string`:\n  - `request` - The request to be signed. This parameter will not be\n    modified during the signing process but will instead be cloned.\n    The shape of the request should be an object with the following defined:\n    - `method` - HTTP method (e.g. 'GET', 'PUT', etc).\n    - `headers` - A mapping of header names to string values.\n      Multiple values for the same header should be represented as a single\n      string with values separated by `,`.\n      Keys should be considered case insensitive.\n    - `body` - Optional. May be a string, ArrayBuffer, or stream.\n  - or `string`\n- `options` object\n  - `signingDate` - Optional. The date and time to be used as signature metadata.\n    This value should be a Date object, a unix (epoch) timestamp, or\n    a string that can be unerstood by the JavaScript `Date` constructor.\n    Defaults to `new Date()`.\n  - `unsignableHeaders` - Optional. An object whose keys represents\n    headers that cannot be signed. All headers in the provided request\n    will have their names converted to lower case and then checked for\n    existence in the `unsignableHeaders` object using the `in` operator.\n    Defaults to an object whose keys are lower-cased transfer-specific\n    headers (such as `user-agent`, `referer`, `expect`, etc).\n","scripts":{"test":"jest","pretest":"tsc -p tsconfig.test.json","prepublishOnly":"tsc"},"_npmUser":{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},"deprecated":"The package @aws-sdk/signature-v4-node was released in Developer Preview. It is no longer supported.","_npmVersion":"6.9.0","description":"A standalone AWS Signature V4 request signer for Node.JS","directories":{},"_nodeVersion":"10.16.3","dependencies":{"tslib":"^1.8.0","@aws-sdk/hash-node":"^1.0.0-alpha.2","@aws-sdk/signature-v4":"^1.0.0-alpha.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.7.1","typescript":"~3.4.0","@types/jest":"^24.0.12","@types/node":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/signature-v4-node_1.0.0-alpha.3_1578632822592_0.46181410438380444","host":"s3://npm-registry-packages"}},"1.0.0-alpha.4":{"name":"@aws-sdk/signature-v4-node","version":"1.0.0-alpha.4","author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","_id":"@aws-sdk/signature-v4-node@1.0.0-alpha.4","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},{"name":"trivikr-aws","email":"trivikr@amazon.com"},{"name":"zheallan","email":"zyp19930608@gmail.com"}],"dist":{"shasum":"5e46c798113ee128e99e4dcbe8806f9a8413fee6","tarball":"https://registry.npmjs.org/@aws-sdk/signature-v4-node/-/signature-v4-node-1.0.0-alpha.4.tgz","fileCount":8,"integrity":"sha512-fhKgKktMJfAbV2BB8/cgg1QZ3yT3PkxXNYqRqeWx1ceRbSSePBuEQ3JYwvSk0c01JlqNJUq50KVnCqgv1mqoNg==","signatures":[{"sig":"MEQCIERAtyLkjOmrQCYxYB+6VpEb1JiyTKC9VUG/zFypVFasAiAZjz93Bx/lsTFsAdA3nP/8Q/pCpkk07zB+qXZD+zARcg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27756,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeHUnKCRA9TVsSAnZWagAAghMP/jGQgQSWKQk8gAZR00x/\nwdt0T4WpJy1o0Iu/2qd6S7q3ZIA4oUXeTYmF3UThqpDGxTPwpIURLZ1L5Pbd\nBIpi2AUuYrJu+5n5JpUHcEts28CMPLqhNDr7sEQcImTstrk7C8KmOSolB5+P\niiIk5VHYmPsFC/EjFvybL2aVqk1jNbsb5Yl88CwyoYW67ZZzeHTvziHYbh6u\nTgx13hQ6lMJ97Zvv5QKFEnhA/I16WuVVTiPPTB8p880doqwdDYh3iAUg0GEQ\nwrV2SqM9dzwZeykIw49oN2jCE+3pHJJ5UosBpkdoLkCjPf0mkB+AQ0Ba2/yU\nmty1vDgyEz6wWl+VmkQ8gTAhwyF0XXvFwEmhLMVtkj6dvsaYsLXvsdNiOzrX\nZaYmGyyOE8gMo5XhJGjBybfMWhuYAryfTRtJ4SNmhFbRJ0yvZV+T5hmfSsT2\nsbuqY02GSk+ATkUQafjJtiV7v0nJI6nSVTDDu3sBuxm8eYVWz4rQ+y0Gs6Ec\nVHRtScmEGLzrCLJcnjRKYdCedtUaCraVyqE1qqUdprUrXC/EDQD1gA/5dKWN\nVByUA826PsnrolS6oYhyYIBermFv2URK7TnAxEKsfUnfhHQAWb1BPIM9X3MK\ncL7huJ+lo4BYDdlbmFO8tKJKKVk1Cs+hbpS4cIlCUf53cxX8RSisPUKzsuD+\nxz8z\r\n=5hE6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./build/index.js","types":"./build/index.d.ts","readme":"# AWS Signature V4 Signer for Node.JS\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/signature-v4-node/preview.svg)](https://www.npmjs.com/package/@aws-sdk/signature-v4-node)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/signature-v4-node.svg)](https://www.npmjs.com/package/@aws-sdk/signature-v4-node)\n\nThis module provides a class, `SignatureV4`, that will attempt to sign requests.\n\n## Supported configuration\n\nThe Signature V4 Signer requires several options to be set, and additionally has several optional configuration settings.\nYou may provide these options in a hash to the `SignatureV4` constructor.\nThe following options are supported:\n\n- `service` - The service signing name to use.\n- `region` - The region name or a function that returns a promise\n  that will be resolved with the region name.\n- `credentials` - The credentials with which the request should be\n  signed, or a function that returns a promise that will be resolved\n  with credentials\n- `sha256` - Optional. A constructor function for a hash object that\n  will calculate SHA-256 HMAC checksums.\n  Defaults to an implementation using Node.JS' `crypto` module.\n- `unsignedPayload` - Optional. Indicates whether to sign requests\n  in such a way as to allow arbitrary message bodies.\n  Useful for presigning requests for which the body is not known in advance.\n  Defaults to false.\n- `uriEscapePath` - Optional. Indicates whether to uri-escape the\n  request URI path as part of computing the canonical request string.\n  This is required for every AWS service, except Amazon S3, as of\n  late 2017.\n  Defaults to true.\n- `applyChecksum` - Optional. Indicates whether to calculate a\n  checksum of the request body and include it as either a request\n  header (when signing) or as a query string parameter (when presigning).\n  This is required for AWS Glacier and optional for every other AWS\n  service as of late 2017.\n  Defaults to false.\n\n## API\n\n### presignRequest\n\nThe `presignRequest` method accepts a request and returns a Promise that\nresolves with a presigned request.\n\nThe presigned request will have an expiration and can be passed directly\nto an HTTP client.\n\nThe following options can be provided to the `presignRequest` method:\n\n- `request` - The request to be signed. This parameter will not be\n  modified during the signing process but will instead be cloned.\n  The shape of the request should be an object with the following defined:\n  - `method` - HTTP method (e.g. 'GET', 'PUT', etc).\n  - `headers` - A mapping of header names to string values.\n    Multiple values for the same header should be represented as a single\n    string with values separated by `,`.\n    Keys should be considered case insensitive.\n  - `body` - Optional. May be a string, ArrayBuffer, or stream.\n- `expiration` - The time at which the signed URL should no longer\n  be honored.\n  This value should be a Date object, a unix (epoch) timestamp, or a\n  string that can be understood by the JavaScript `Date` constructor.\n- `options` object\n  - `signingDate` - Optional. The date and time to be used as signature metadata.\n    This value should be a Date object, a unix (epoch) timestamp, or\n    a string that can be unerstood by the JavaScript `Date` constructor.\n    Defaults to `new Date()`.\n  - `unsignableHeaders` - Optional. An object whose keys represents\n    headers that cannot be signed. All headers in the provided request\n    will have their names converted to lower case and then checked for\n    existence in the `unsignableHeaders` object using the `in` operator.\n    Defaults to an object whose keys are lower-cased transfer-specific\n    headers (such as `user-agent`, `referer`, `expect`, etc).\n\n### sign\n\nThe `sign` method accepts a request or string and returns a Promise that\nresolves with a signed request or signed string.\n\nThe signed request will have an expiration and can be passed directly\nto an HTTP client.\n\nThe following options can be provided within a hash to the `sign` method:\n\n- `request` or `string`:\n  - `request` - The request to be signed. This parameter will not be\n    modified during the signing process but will instead be cloned.\n    The shape of the request should be an object with the following defined:\n    - `method` - HTTP method (e.g. 'GET', 'PUT', etc).\n    - `headers` - A mapping of header names to string values.\n      Multiple values for the same header should be represented as a single\n      string with values separated by `,`.\n      Keys should be considered case insensitive.\n    - `body` - Optional. May be a string, ArrayBuffer, or stream.\n  - or `string`\n- `options` object\n  - `signingDate` - Optional. The date and time to be used as signature metadata.\n    This value should be a Date object, a unix (epoch) timestamp, or\n    a string that can be unerstood by the JavaScript `Date` constructor.\n    Defaults to `new Date()`.\n  - `unsignableHeaders` - Optional. An object whose keys represents\n    headers that cannot be signed. All headers in the provided request\n    will have their names converted to lower case and then checked for\n    existence in the `unsignableHeaders` object using the `in` operator.\n    Defaults to an object whose keys are lower-cased transfer-specific\n    headers (such as `user-agent`, `referer`, `expect`, etc).\n","scripts":{"test":"jest","pretest":"tsc -p tsconfig.test.json","prepublishOnly":"tsc"},"_npmUser":{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},"deprecated":"The package @aws-sdk/signature-v4-node was released in Developer Preview. It is no longer supported.","_npmVersion":"6.9.0","description":"A standalone AWS Signature V4 request signer for Node.JS","directories":{},"_nodeVersion":"10.16.3","dependencies":{"tslib":"^1.8.0","@aws-sdk/hash-node":"^1.0.0-alpha.2","@aws-sdk/signature-v4":"^1.0.0-alpha.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.7.1","typescript":"~3.4.0","@types/jest":"^24.0.12","@types/node":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/signature-v4-node_1.0.0-alpha.4_1578977738157_0.825179404606158","host":"s3://npm-registry-packages"}},"1.0.0-alpha.5":{"name":"@aws-sdk/signature-v4-node","version":"1.0.0-alpha.5","author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","_id":"@aws-sdk/signature-v4-node@1.0.0-alpha.5","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},{"name":"trivikr-aws","email":"trivikr@amazon.com"},{"name":"zheallan","email":"zyp19930608@gmail.com"}],"dist":{"shasum":"037db649bbc9b091b83727989f67df5c24747a89","tarball":"https://registry.npmjs.org/@aws-sdk/signature-v4-node/-/signature-v4-node-1.0.0-alpha.5.tgz","fileCount":8,"integrity":"sha512-SHKxhYPDELGGUVrezjbJS0z3fKRuguWD7m7dL0p2+2COxE3Oo7uxv9FnFkNhNfqW+9Ttc/nt7e39ujdCysVB7w==","signatures":[{"sig":"MEYCIQCGgObBpmYMwuZAWaL+S1Hl7YnA6m9Xy63XYWff7b8wAgIhAPCjWoZgXKvQPfLI0Bnt4XpuIoNxWvDjlF/J8cjN17rY","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28833,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeIKWmCRA9TVsSAnZWagAAvh0P+QFcd5BQ6M79DMduh+9S\n0cjBt6e0HXAiLPLBaR8jZse7BvtR7l5BujnEGX63xaMVDuMfp+m9gWv+Z4sc\nde6WvdQaJOap1C7zJhwSRwFp7lr9copx3Tl2n/dUjdMLy5hOpS9vcrnZrtuv\nmw3jTcWhd47O7wHx1exCxoU5khW6H2G7dyp7Q2EwlOsBDZGLE8QYksk3iY8s\nh5nmMA2rtxwEMiZRJBa/g9F2T2q0zDbbiImRuNZT62r8YQEv9atu28VJlhKX\nPTkYFJnE1cc+S+OGoIDOCgC/HFg70DNo2OpsD89ViCB2yrLkhl0qvN0UOZRK\nh2vhe58QMWYho1XSsmTaGXnwi6MjEzjPK8djBgjLEWnU2dnPpwrpdJCIBq/q\nDZQy6B8F8jaWuDouJfRQANTmot0IetNbgt1DJZ/xDFIYdeofVugSdzJHR3W1\ntTXKDQdmCwKRzOpjoyR2wkiJnsZxY3I095Wdi44Ynid8PjTsC8ZyDLWfP3/1\nlqs5KDfafQyFAXAVlPsl5/ATQTlmELI/BlLon+SXnucK5nFBF6dh9KFS7+KK\nu3vMRAyHJ/Kcqm62d/rlufHEwMhM15Meskr/XQ+ftHSQoAsipkd08MFGv5Co\nlDYcZRGY2y/BRLMeS3OIfk97ewgJ8sJVKB87yLLXtfmPMkXs5sFACMgZEJFd\nfdRQ\r\n=NuP3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./build/index.js","types":"./build/index.d.ts","readme":"# AWS Signature V4 Signer for Node.JS\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/signature-v4-node/preview.svg)](https://www.npmjs.com/package/@aws-sdk/signature-v4-node)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/signature-v4-node.svg)](https://www.npmjs.com/package/@aws-sdk/signature-v4-node)\n\nThis module provides a class, `SignatureV4`, that will attempt to sign requests.\n\n## Supported configuration\n\nThe Signature V4 Signer requires several options to be set, and additionally has several optional configuration settings.\nYou may provide these options in a hash to the `SignatureV4` constructor.\nThe following options are supported:\n\n- `service` - The service signing name to use.\n- `region` - The region name or a function that returns a promise\n  that will be resolved with the region name.\n- `credentials` - The credentials with which the request should be\n  signed, or a function that returns a promise that will be resolved\n  with credentials\n- `sha256` - Optional. A constructor function for a hash object that\n  will calculate SHA-256 HMAC checksums.\n  Defaults to an implementation using Node.JS' `crypto` module.\n- `unsignedPayload` - Optional. Indicates whether to sign requests\n  in such a way as to allow arbitrary message bodies.\n  Useful for presigning requests for which the body is not known in advance.\n  Defaults to false.\n- `uriEscapePath` - Optional. Indicates whether to uri-escape the\n  request URI path as part of computing the canonical request string.\n  This is required for every AWS service, except Amazon S3, as of\n  late 2017.\n  Defaults to true.\n- `applyChecksum` - Optional. Indicates whether to calculate a\n  checksum of the request body and include it as either a request\n  header (when signing) or as a query string parameter (when presigning).\n  This is required for AWS Glacier and optional for every other AWS\n  service as of late 2017.\n  Defaults to false.\n\n## API\n\n### presignRequest\n\nThe `presignRequest` method accepts a request and returns a Promise that\nresolves with a presigned request.\n\nThe presigned request will have an expiration and can be passed directly\nto an HTTP client.\n\nThe following options can be provided to the `presignRequest` method:\n\n- `request` - The request to be signed. This parameter will not be\n  modified during the signing process but will instead be cloned.\n  The shape of the request should be an object with the following defined:\n  - `method` - HTTP method (e.g. 'GET', 'PUT', etc).\n  - `headers` - A mapping of header names to string values.\n    Multiple values for the same header should be represented as a single\n    string with values separated by `,`.\n    Keys should be considered case insensitive.\n  - `body` - Optional. May be a string, ArrayBuffer, or stream.\n- `expiration` - The time at which the signed URL should no longer\n  be honored.\n  This value should be a Date object, a unix (epoch) timestamp, or a\n  string that can be understood by the JavaScript `Date` constructor.\n- `options` object\n  - `signingDate` - Optional. The date and time to be used as signature metadata.\n    This value should be a Date object, a unix (epoch) timestamp, or\n    a string that can be unerstood by the JavaScript `Date` constructor.\n    Defaults to `new Date()`.\n  - `unsignableHeaders` - Optional. An object whose keys represents\n    headers that cannot be signed. All headers in the provided request\n    will have their names converted to lower case and then checked for\n    existence in the `unsignableHeaders` object using the `in` operator.\n    Defaults to an object whose keys are lower-cased transfer-specific\n    headers (such as `user-agent`, `referer`, `expect`, etc).\n\n### sign\n\nThe `sign` method accepts a request or string and returns a Promise that\nresolves with a signed request or signed string.\n\nThe signed request will have an expiration and can be passed directly\nto an HTTP client.\n\nThe following options can be provided within a hash to the `sign` method:\n\n- `request` or `string`:\n  - `request` - The request to be signed. This parameter will not be\n    modified during the signing process but will instead be cloned.\n    The shape of the request should be an object with the following defined:\n    - `method` - HTTP method (e.g. 'GET', 'PUT', etc).\n    - `headers` - A mapping of header names to string values.\n      Multiple values for the same header should be represented as a single\n      string with values separated by `,`.\n      Keys should be considered case insensitive.\n    - `body` - Optional. May be a string, ArrayBuffer, or stream.\n  - or `string`\n- `options` object\n  - `signingDate` - Optional. The date and time to be used as signature metadata.\n    This value should be a Date object, a unix (epoch) timestamp, or\n    a string that can be unerstood by the JavaScript `Date` constructor.\n    Defaults to `new Date()`.\n  - `unsignableHeaders` - Optional. An object whose keys represents\n    headers that cannot be signed. All headers in the provided request\n    will have their names converted to lower case and then checked for\n    existence in the `unsignableHeaders` object using the `in` operator.\n    Defaults to an object whose keys are lower-cased transfer-specific\n    headers (such as `user-agent`, `referer`, `expect`, etc).\n","scripts":{"test":"jest","pretest":"tsc -p tsconfig.test.json","prepublishOnly":"tsc"},"_npmUser":{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},"deprecated":"The package @aws-sdk/signature-v4-node was released in Developer Preview. It is no longer supported.","_npmVersion":"6.9.0","description":"A standalone AWS Signature V4 request signer for Node.JS","directories":{},"_nodeVersion":"10.16.3","dependencies":{"tslib":"^1.8.0","@aws-sdk/hash-node":"^1.0.0-alpha.2","@aws-sdk/signature-v4":"^1.0.0-alpha.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.7.1","typescript":"~3.4.0","@types/jest":"^24.0.12","@types/node":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/signature-v4-node_1.0.0-alpha.5_1579197861705_0.25863120848925036","host":"s3://npm-registry-packages"}},"1.0.0-alpha.6":{"name":"@aws-sdk/signature-v4-node","version":"1.0.0-alpha.6","author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","_id":"@aws-sdk/signature-v4-node@1.0.0-alpha.6","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},{"name":"trivikr-aws","email":"trivikr@amazon.com"},{"name":"zheallan","email":"zyp19930608@gmail.com"}],"dist":{"shasum":"ac5a0bb3d2c016eae1f7f1b7e78c22efade24408","tarball":"https://registry.npmjs.org/@aws-sdk/signature-v4-node/-/signature-v4-node-1.0.0-alpha.6.tgz","fileCount":8,"integrity":"sha512-hTOw85LSUGBP010kuv6Q3E+2ysicJQ+nYfI6r4tZp61sLogfinuWxtJfNTn09Vvn3Ndo/vLGAGO0R12bx3SBGw==","signatures":[{"sig":"MEYCIQC39p+nRIRsW5WMPd4DOhnKLgWKPKxPZ1Ys1zQW4N3tfwIhAIJmq15Hbhlp50o+HYMly0bp01UVDbXfo4h/STu7TA1X","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29942,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeIRK3CRA9TVsSAnZWagAAXQEP+QByr75PdZf7z1bmWp5C\nhnZoghFqq8pPQaga7uS4d1iaHaNIoKHwS5hi3se0lzpfxmsUDzuqwoxbwVZT\nRP3egzP8mKUV1VPFdCo3Fcj/uSljya13dXRGCR9AVwtFwyWMbxsnRA6Fw8cn\nPv84Td1ZyWSKLJD02KTmpOlUzElaibbTTnXRPVxllIWa9NFCWVX7ZhmreW26\nQuJLDldFhpAx+o4dPf/zZcnxyTkIHHTk3cWBrOqIYOJQKfwUZdOf9LzP6Wg2\nXAHjOWpFx3NupBytcBNOWtkNYmB6GluHjQ1phD2jgozrz7WVz5gWtMseCF1d\nXEHJMOT58TVCBz9W7n8THcIKv+ejMtMYQrG/BPfY/LpMzJydOa7svHC3UMLY\nYyPkt8jdeUhVwp3z0WweMe38zokipvM0pFoHM+Km+w8x18N8Zddze2mBZM9D\n+O7Eiinir671wf+rRg9VgUBRGUdk9ni4YZPoj/ywqVN8tuowTAH4HqiH3hlA\nsvmz3Sx7klFYsOurtfewts6t+DQDOfBH2j+2xsSObGfOohZY8hEcxP/G1AOG\norbsGXnAoYrQm0GD7v6KhNR4QaxP2Qs5c98+wpBqosq6KVB+XX80CBLunxiu\nP8JPK9HGIu1e6lGyYFb9LtXM0bSDi2EZd3V2RxJ/8aZFJtSIDFUs0p/fb42S\nihwn\r\n=Piry\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./build/index.js","types":"./build/index.d.ts","readme":"# AWS Signature V4 Signer for Node.JS\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/signature-v4-node/preview.svg)](https://www.npmjs.com/package/@aws-sdk/signature-v4-node)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/signature-v4-node.svg)](https://www.npmjs.com/package/@aws-sdk/signature-v4-node)\n\nThis module provides a class, `SignatureV4`, that will attempt to sign requests.\n\n## Supported configuration\n\nThe Signature V4 Signer requires several options to be set, and additionally has several optional configuration settings.\nYou may provide these options in a hash to the `SignatureV4` constructor.\nThe following options are supported:\n\n- `service` - The service signing name to use.\n- `region` - The region name or a function that returns a promise\n  that will be resolved with the region name.\n- `credentials` - The credentials with which the request should be\n  signed, or a function that returns a promise that will be resolved\n  with credentials\n- `sha256` - Optional. A constructor function for a hash object that\n  will calculate SHA-256 HMAC checksums.\n  Defaults to an implementation using Node.JS' `crypto` module.\n- `unsignedPayload` - Optional. Indicates whether to sign requests\n  in such a way as to allow arbitrary message bodies.\n  Useful for presigning requests for which the body is not known in advance.\n  Defaults to false.\n- `uriEscapePath` - Optional. Indicates whether to uri-escape the\n  request URI path as part of computing the canonical request string.\n  This is required for every AWS service, except Amazon S3, as of\n  late 2017.\n  Defaults to true.\n- `applyChecksum` - Optional. Indicates whether to calculate a\n  checksum of the request body and include it as either a request\n  header (when signing) or as a query string parameter (when presigning).\n  This is required for AWS Glacier and optional for every other AWS\n  service as of late 2017.\n  Defaults to false.\n\n## API\n\n### presignRequest\n\nThe `presignRequest` method accepts a request and returns a Promise that\nresolves with a presigned request.\n\nThe presigned request will have an expiration and can be passed directly\nto an HTTP client.\n\nThe following options can be provided to the `presignRequest` method:\n\n- `request` - The request to be signed. This parameter will not be\n  modified during the signing process but will instead be cloned.\n  The shape of the request should be an object with the following defined:\n  - `method` - HTTP method (e.g. 'GET', 'PUT', etc).\n  - `headers` - A mapping of header names to string values.\n    Multiple values for the same header should be represented as a single\n    string with values separated by `,`.\n    Keys should be considered case insensitive.\n  - `body` - Optional. May be a string, ArrayBuffer, or stream.\n- `expiration` - The time at which the signed URL should no longer\n  be honored.\n  This value should be a Date object, a unix (epoch) timestamp, or a\n  string that can be understood by the JavaScript `Date` constructor.\n- `options` object\n  - `signingDate` - Optional. The date and time to be used as signature metadata.\n    This value should be a Date object, a unix (epoch) timestamp, or\n    a string that can be unerstood by the JavaScript `Date` constructor.\n    Defaults to `new Date()`.\n  - `unsignableHeaders` - Optional. An object whose keys represents\n    headers that cannot be signed. All headers in the provided request\n    will have their names converted to lower case and then checked for\n    existence in the `unsignableHeaders` object using the `in` operator.\n    Defaults to an object whose keys are lower-cased transfer-specific\n    headers (such as `user-agent`, `referer`, `expect`, etc).\n\n### sign\n\nThe `sign` method accepts a request or string and returns a Promise that\nresolves with a signed request or signed string.\n\nThe signed request will have an expiration and can be passed directly\nto an HTTP client.\n\nThe following options can be provided within a hash to the `sign` method:\n\n- `request` or `string`:\n  - `request` - The request to be signed. This parameter will not be\n    modified during the signing process but will instead be cloned.\n    The shape of the request should be an object with the following defined:\n    - `method` - HTTP method (e.g. 'GET', 'PUT', etc).\n    - `headers` - A mapping of header names to string values.\n      Multiple values for the same header should be represented as a single\n      string with values separated by `,`.\n      Keys should be considered case insensitive.\n    - `body` - Optional. May be a string, ArrayBuffer, or stream.\n  - or `string`\n- `options` object\n  - `signingDate` - Optional. The date and time to be used as signature metadata.\n    This value should be a Date object, a unix (epoch) timestamp, or\n    a string that can be unerstood by the JavaScript `Date` constructor.\n    Defaults to `new Date()`.\n  - `unsignableHeaders` - Optional. An object whose keys represents\n    headers that cannot be signed. All headers in the provided request\n    will have their names converted to lower case and then checked for\n    existence in the `unsignableHeaders` object using the `in` operator.\n    Defaults to an object whose keys are lower-cased transfer-specific\n    headers (such as `user-agent`, `referer`, `expect`, etc).\n","scripts":{"test":"jest","pretest":"tsc -p tsconfig.test.json","prepublishOnly":"tsc"},"_npmUser":{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},"deprecated":"The package @aws-sdk/signature-v4-node was released in Developer Preview. It is no longer supported.","_npmVersion":"6.9.0","description":"A standalone AWS Signature V4 request signer for Node.JS","directories":{},"_nodeVersion":"10.16.3","dependencies":{"tslib":"^1.8.0","@aws-sdk/hash-node":"^1.0.0-alpha.2","@aws-sdk/signature-v4":"^1.0.0-alpha.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.7.1","typescript":"~3.4.0","@types/jest":"^24.0.12","@types/node":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/signature-v4-node_1.0.0-alpha.6_1579225782637_0.3125952492708759","host":"s3://npm-registry-packages"}},"1.0.0-alpha.7":{"name":"@aws-sdk/signature-v4-node","version":"1.0.0-alpha.7","author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","_id":"@aws-sdk/signature-v4-node@1.0.0-alpha.7","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},{"name":"trivikr-aws","email":"trivikr@amazon.com"},{"name":"zheallan","email":"zyp19930608@gmail.com"}],"dist":{"shasum":"7c8d48f11faa534f577d075c708532630d3665a5","tarball":"https://registry.npmjs.org/@aws-sdk/signature-v4-node/-/signature-v4-node-1.0.0-alpha.7.tgz","fileCount":8,"integrity":"sha512-csXRkNWsYqdSqUMkhLWTevYLPYIDfY1hQZDAGICJ+T5ZJdXdyf8+TYAtVRwso57FWMS1mcGiiBszLzMELvldDA==","signatures":[{"sig":"MEYCIQCU55U1OHKGvVOcrxC1ZIpEnmMS9GNIrvYRKX6zr6qQKAIhAMPlmFLPTcTtBNhw9P+DHkyqGvlocugX9aXKxBAHaOib","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31083,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeJ6AYCRA9TVsSAnZWagAA3FgP/RsCgqMqwOF3h5jIC4Cb\nvwc87/DykjPxKHkPC6H8msZoSP7P0Ms2ARRk5dM3qbc9gMC/+eelYsYRZwmd\ntOmYQXqaPA4b4ejp3H+rMy3w4r2MK8Ol89855RQ05+bKUWyjj+q50Od6emxU\n7o2MgQO9ireNSthAUr+y4Mmw/6EJiLWN8SgR+61tTVGk/S284c1aVR61mKkV\nTk014LBy8/uZZKNlDX5Tv8xXV5XNV9/OSZWcWlFMb6GAgCcgqUUo0RjrZfw5\na8LGpOjUFJ1OmHSjGncyAPaT/GpUZlp+DJWnV+8OeVMAdYAdJohG4c+SdIfw\nRpwy/zpSvsELZtk62yBCwCtSzSe9+W4j+eyI+2kvJzuIe0e20T7qT2lSY1ab\nCijli5GSm82RYC3Sel2rBxa8inFU0tXumSHoqo5P6dOCcWUfOJ/z34jscwSu\nYx9xMCihnB6abZ/VA36VdNtW7R+Ec2BntPt1q51YsxH3Kcx5gryGzd/ZLdYD\nKIZBeXiTqloEuof0NPU5G0Ku8vODfonJ7Dt1VgGDOnVWBr0PJUIiGWYLx/gN\n4wn/NF/FcHviVxzQkz/XEEFgVKRs1zO7BMHmvq7JGrYuVkv0+27g6SCffO3e\ndNAdg63X0mItFqkAvfibFZzTTHViuAhJBWGekzYwVgkee2Krr2jQiOX0ZenF\n3VtJ\r\n=bHWX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./build/index.js","types":"./build/index.d.ts","readme":"# AWS Signature V4 Signer for Node.JS\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/signature-v4-node/preview.svg)](https://www.npmjs.com/package/@aws-sdk/signature-v4-node)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/signature-v4-node.svg)](https://www.npmjs.com/package/@aws-sdk/signature-v4-node)\n\nThis module provides a class, `SignatureV4`, that will attempt to sign requests.\n\n## Supported configuration\n\nThe Signature V4 Signer requires several options to be set, and additionally has several optional configuration settings.\nYou may provide these options in a hash to the `SignatureV4` constructor.\nThe following options are supported:\n\n- `service` - The service signing name to use.\n- `region` - The region name or a function that returns a promise\n  that will be resolved with the region name.\n- `credentials` - The credentials with which the request should be\n  signed, or a function that returns a promise that will be resolved\n  with credentials\n- `sha256` - Optional. A constructor function for a hash object that\n  will calculate SHA-256 HMAC checksums.\n  Defaults to an implementation using Node.JS' `crypto` module.\n- `unsignedPayload` - Optional. Indicates whether to sign requests\n  in such a way as to allow arbitrary message bodies.\n  Useful for presigning requests for which the body is not known in advance.\n  Defaults to false.\n- `uriEscapePath` - Optional. Indicates whether to uri-escape the\n  request URI path as part of computing the canonical request string.\n  This is required for every AWS service, except Amazon S3, as of\n  late 2017.\n  Defaults to true.\n- `applyChecksum` - Optional. Indicates whether to calculate a\n  checksum of the request body and include it as either a request\n  header (when signing) or as a query string parameter (when presigning).\n  This is required for AWS Glacier and optional for every other AWS\n  service as of late 2017.\n  Defaults to false.\n\n## API\n\n### presignRequest\n\nThe `presignRequest` method accepts a request and returns a Promise that\nresolves with a presigned request.\n\nThe presigned request will have an expiration and can be passed directly\nto an HTTP client.\n\nThe following options can be provided to the `presignRequest` method:\n\n- `request` - The request to be signed. This parameter will not be\n  modified during the signing process but will instead be cloned.\n  The shape of the request should be an object with the following defined:\n  - `method` - HTTP method (e.g. 'GET', 'PUT', etc).\n  - `headers` - A mapping of header names to string values.\n    Multiple values for the same header should be represented as a single\n    string with values separated by `,`.\n    Keys should be considered case insensitive.\n  - `body` - Optional. May be a string, ArrayBuffer, or stream.\n- `expiration` - The time at which the signed URL should no longer\n  be honored.\n  This value should be a Date object, a unix (epoch) timestamp, or a\n  string that can be understood by the JavaScript `Date` constructor.\n- `options` object\n  - `signingDate` - Optional. The date and time to be used as signature metadata.\n    This value should be a Date object, a unix (epoch) timestamp, or\n    a string that can be unerstood by the JavaScript `Date` constructor.\n    Defaults to `new Date()`.\n  - `unsignableHeaders` - Optional. An object whose keys represents\n    headers that cannot be signed. All headers in the provided request\n    will have their names converted to lower case and then checked for\n    existence in the `unsignableHeaders` object using the `in` operator.\n    Defaults to an object whose keys are lower-cased transfer-specific\n    headers (such as `user-agent`, `referer`, `expect`, etc).\n\n### sign\n\nThe `sign` method accepts a request or string and returns a Promise that\nresolves with a signed request or signed string.\n\nThe signed request will have an expiration and can be passed directly\nto an HTTP client.\n\nThe following options can be provided within a hash to the `sign` method:\n\n- `request` or `string`:\n  - `request` - The request to be signed. This parameter will not be\n    modified during the signing process but will instead be cloned.\n    The shape of the request should be an object with the following defined:\n    - `method` - HTTP method (e.g. 'GET', 'PUT', etc).\n    - `headers` - A mapping of header names to string values.\n      Multiple values for the same header should be represented as a single\n      string with values separated by `,`.\n      Keys should be considered case insensitive.\n    - `body` - Optional. May be a string, ArrayBuffer, or stream.\n  - or `string`\n- `options` object\n  - `signingDate` - Optional. The date and time to be used as signature metadata.\n    This value should be a Date object, a unix (epoch) timestamp, or\n    a string that can be unerstood by the JavaScript `Date` constructor.\n    Defaults to `new Date()`.\n  - `unsignableHeaders` - Optional. An object whose keys represents\n    headers that cannot be signed. All headers in the provided request\n    will have their names converted to lower case and then checked for\n    existence in the `unsignableHeaders` object using the `in` operator.\n    Defaults to an object whose keys are lower-cased transfer-specific\n    headers (such as `user-agent`, `referer`, `expect`, etc).\n","scripts":{"test":"jest","pretest":"tsc -p tsconfig.test.json","prepublishOnly":"tsc"},"_npmUser":{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},"deprecated":"The package @aws-sdk/signature-v4-node was released in Developer Preview. It is no longer supported.","_npmVersion":"6.9.0","description":"A standalone AWS Signature V4 request signer for Node.JS","directories":{},"_nodeVersion":"10.16.3","dependencies":{"tslib":"^1.8.0","@aws-sdk/hash-node":"^1.0.0-alpha.3","@aws-sdk/signature-v4":"^1.0.0-alpha.7"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.7.1","typescript":"~3.4.0","@types/jest":"^24.0.12","@types/node":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/signature-v4-node_1.0.0-alpha.7_1579655191993_0.39543480500494455","host":"s3://npm-registry-packages"}},"1.0.0-alpha.8":{"name":"@aws-sdk/signature-v4-node","version":"1.0.0-alpha.8","author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","_id":"@aws-sdk/signature-v4-node@1.0.0-alpha.8","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},{"name":"trivikr-aws","email":"trivikr@amazon.com"},{"name":"zheallan","email":"zyp19930608@gmail.com"}],"dist":{"shasum":"6e82d23773b05001d1af606ac524456353f0ad82","tarball":"https://registry.npmjs.org/@aws-sdk/signature-v4-node/-/signature-v4-node-1.0.0-alpha.8.tgz","fileCount":8,"integrity":"sha512-BX1LhWlgZUfaFilf54oulNW7oNwXqopl/6thp3sT2JXHLem7M3E9K1RwFyahvQWmGVIGQBFyOL0D4EbTGcEJxw==","signatures":[{"sig":"MEYCIQD1rLoV2RHqVrFfI/2/yshLdolbISM+RMK7YcNr36aSWgIhAOfXVeWxB4xAtBI4ezlJp0MPQ560d1oYTnVNB73Ztp2p","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32257,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeKlAuCRA9TVsSAnZWagAAMeYQAKUL1ENDKs0alklJBMf0\n3OxHwC2V1llfvwiR3LyncZhiu20YKs8lBV0JnHGa/ni/yMEeme223BfaDqcJ\ncsMELZQLml5tgPFRgxoAYc5Tjnq81xE6dhM5krSXOPKDtREcpsh1Fz1M56Tj\nWmYt5KL/FmXuAwxuBMvvA38/DBXBI3qg2dwjZWt+ZnZ0OtuDc04Sk+feY5zp\nrqh5GjRo7SppLEoIJdgstZTD1fkk5p7M7IWMy2qjXttmtaMMksZf+Do52r2T\nWDsZ8svFRxSnDwmdZ421Pb064bKqmYeSbNCs9WCQMoNGWudnjP5+7F322u79\np5g7pzzNL7A8Pohj5/NB8oXX6vRmEpR7iQQ6FhlHk+fsJ6RQ/LNT9cyfv09F\n4vo1mRK0dFG8g7Kn0O6okCxFjKhBjS8BG9cw1KcAHd35RiJrN8VB253mXccR\n9ckBDypoFAfcgvMaVGPg9KPP8EwEHkR6RGHn/pRddURnM8vwOalmwZTEfvap\nZ405Se9avQYsCylER18iMk7p+wLAdJzxprGH6/pQxLla0qe8wBWN3tvgLrtj\nxvKDkjE07OpIoqtIAXi8AW25iFsTxKrhOqX/aZXQ+O0aHxuwY0ycB2u1URTy\nkfEkoEJpO+6avDA1r/lpSSbuiMepg6jCUF8HfjCbjmjHdROT3M5s4PLt18zu\nvjuN\r\n=bzV7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./build/index.js","types":"./build/index.d.ts","readme":"# AWS Signature V4 Signer for Node.JS\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/signature-v4-node/preview.svg)](https://www.npmjs.com/package/@aws-sdk/signature-v4-node)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/signature-v4-node.svg)](https://www.npmjs.com/package/@aws-sdk/signature-v4-node)\n\nThis module provides a class, `SignatureV4`, that will attempt to sign requests.\n\n## Supported configuration\n\nThe Signature V4 Signer requires several options to be set, and additionally has several optional configuration settings.\nYou may provide these options in a hash to the `SignatureV4` constructor.\nThe following options are supported:\n\n- `service` - The service signing name to use.\n- `region` - The region name or a function that returns a promise\n  that will be resolved with the region name.\n- `credentials` - The credentials with which the request should be\n  signed, or a function that returns a promise that will be resolved\n  with credentials\n- `sha256` - Optional. A constructor function for a hash object that\n  will calculate SHA-256 HMAC checksums.\n  Defaults to an implementation using Node.JS' `crypto` module.\n- `unsignedPayload` - Optional. Indicates whether to sign requests\n  in such a way as to allow arbitrary message bodies.\n  Useful for presigning requests for which the body is not known in advance.\n  Defaults to false.\n- `uriEscapePath` - Optional. Indicates whether to uri-escape the\n  request URI path as part of computing the canonical request string.\n  This is required for every AWS service, except Amazon S3, as of\n  late 2017.\n  Defaults to true.\n- `applyChecksum` - Optional. Indicates whether to calculate a\n  checksum of the request body and include it as either a request\n  header (when signing) or as a query string parameter (when presigning).\n  This is required for AWS Glacier and optional for every other AWS\n  service as of late 2017.\n  Defaults to false.\n\n## API\n\n### presignRequest\n\nThe `presignRequest` method accepts a request and returns a Promise that\nresolves with a presigned request.\n\nThe presigned request will have an expiration and can be passed directly\nto an HTTP client.\n\nThe following options can be provided to the `presignRequest` method:\n\n- `request` - The request to be signed. This parameter will not be\n  modified during the signing process but will instead be cloned.\n  The shape of the request should be an object with the following defined:\n  - `method` - HTTP method (e.g. 'GET', 'PUT', etc).\n  - `headers` - A mapping of header names to string values.\n    Multiple values for the same header should be represented as a single\n    string with values separated by `,`.\n    Keys should be considered case insensitive.\n  - `body` - Optional. May be a string, ArrayBuffer, or stream.\n- `expiration` - The time at which the signed URL should no longer\n  be honored.\n  This value should be a Date object, a unix (epoch) timestamp, or a\n  string that can be understood by the JavaScript `Date` constructor.\n- `options` object\n  - `signingDate` - Optional. The date and time to be used as signature metadata.\n    This value should be a Date object, a unix (epoch) timestamp, or\n    a string that can be unerstood by the JavaScript `Date` constructor.\n    Defaults to `new Date()`.\n  - `unsignableHeaders` - Optional. An object whose keys represents\n    headers that cannot be signed. All headers in the provided request\n    will have their names converted to lower case and then checked for\n    existence in the `unsignableHeaders` object using the `in` operator.\n    Defaults to an object whose keys are lower-cased transfer-specific\n    headers (such as `user-agent`, `referer`, `expect`, etc).\n\n### sign\n\nThe `sign` method accepts a request or string and returns a Promise that\nresolves with a signed request or signed string.\n\nThe signed request will have an expiration and can be passed directly\nto an HTTP client.\n\nThe following options can be provided within a hash to the `sign` method:\n\n- `request` or `string`:\n  - `request` - The request to be signed. This parameter will not be\n    modified during the signing process but will instead be cloned.\n    The shape of the request should be an object with the following defined:\n    - `method` - HTTP method (e.g. 'GET', 'PUT', etc).\n    - `headers` - A mapping of header names to string values.\n      Multiple values for the same header should be represented as a single\n      string with values separated by `,`.\n      Keys should be considered case insensitive.\n    - `body` - Optional. May be a string, ArrayBuffer, or stream.\n  - or `string`\n- `options` object\n  - `signingDate` - Optional. The date and time to be used as signature metadata.\n    This value should be a Date object, a unix (epoch) timestamp, or\n    a string that can be unerstood by the JavaScript `Date` constructor.\n    Defaults to `new Date()`.\n  - `unsignableHeaders` - Optional. An object whose keys represents\n    headers that cannot be signed. All headers in the provided request\n    will have their names converted to lower case and then checked for\n    existence in the `unsignableHeaders` object using the `in` operator.\n    Defaults to an object whose keys are lower-cased transfer-specific\n    headers (such as `user-agent`, `referer`, `expect`, etc).\n","scripts":{"test":"jest","pretest":"tsc -p tsconfig.test.json","prepublishOnly":"tsc"},"_npmUser":{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},"deprecated":"The package @aws-sdk/signature-v4-node was released in Developer Preview. It is no longer supported.","_npmVersion":"6.9.0","description":"A standalone AWS Signature V4 request signer for Node.JS","directories":{},"_nodeVersion":"10.16.3","dependencies":{"tslib":"^1.8.0","@aws-sdk/hash-node":"^1.0.0-alpha.4","@aws-sdk/signature-v4":"^1.0.0-alpha.8"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.7.1","typescript":"~3.4.0","@types/jest":"^24.0.12","@types/node":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/signature-v4-node_1.0.0-alpha.8_1579831342162_0.2725278322112321","host":"s3://npm-registry-packages"}},"1.0.0-alpha.9":{"name":"@aws-sdk/signature-v4-node","version":"1.0.0-alpha.9","author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team"},"license":"Apache-2.0","_id":"@aws-sdk/signature-v4-node@1.0.0-alpha.9","maintainers":[{"name":"amzn-oss","email":"osa-3p@amazon.com"},{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},{"name":"trivikr-aws","email":"trivikr@amazon.com"},{"name":"zheallan","email":"zyp19930608@gmail.com"}],"dist":{"shasum":"85bbc2965f631f8449cb779dfba7b40ab25ea438","tarball":"https://registry.npmjs.org/@aws-sdk/signature-v4-node/-/signature-v4-node-1.0.0-alpha.9.tgz","fileCount":8,"integrity":"sha512-TnupemCsaLnl3s3T+3zlnGhafsZcGrAXhJpljmkrhyN1F31Hkf8l134Lv4m3/dPg1XFfW7Ue9PiPpRR+LjCAug==","signatures":[{"sig":"MEUCIE62Gog178kmYeftp71fJKL0AtjBG7Rx9bDmPnGusX+oAiEAk2RnFTEUd3drLK5k99QPKBvP+u1GAvbwGLm5tPnneIA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33464,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeO4D6CRA9TVsSAnZWagAAn58P/2vleYLY2RTsQTl8rKpc\nx4IM4mQ3wZEIrl41j5yWjgb3bdb7ZYXMoyl8NZMymFMy7oNJoq8QP1d+ACxk\nosP+f+G6Sa4K7TygnVOFR4DAQwyzbcgKpmf4g9Usb/c/wrYEP82rlaSKlRpp\nCPvdo9q1yUrapPLaCSzfi3MOdsKluPs+r/o04u83WaBkvYD83GpVEMF7NLRx\nfr3OG/ZgqvD0/WPyVdEvity0pmd7suXmpSxTtaFR0IStP/B3FBJ+9rC5TJl0\nDiK0aB1zlD8SvHSWY3FDJeFVV+Z5S/5aNuHvY7rMM2a+gQ3bL+I13CkYzsBr\nZli9SY2DrNCC5rB9YkQSD2vR1fc3KYWT/aRijBMLv13SYCaS85cvvn/AX5IG\nRSqQA1irssyScbkFYBqYDUrJH1vEBZRF0WvWKZFCzfSesjTxxllIv9cbMR6S\nIbr7p8wkfde0Md22VC2tbNLVyAK6W9SrY3dEVHTn5ImITZKwjIl4KIbClXtR\nppriK3Jp/KK3GFMSParSOfO6tBPs4D+cJdWJJsS1ADi6SU2N3WKL4akOoOuH\nptyK6I2pEfE0dfCI2NYd5VC35ac426Y9equjTjv4i0mb3yPuQRjj/F4gml1g\nXf6WDPGsM8KpLRCqshJ1zhY8bK8FV9gRa7L4AV1at5tbnv9MEFS086pfwzK0\nLLPo\r\n=kNTL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./build/index.js","types":"./build/index.d.ts","readme":"# AWS Signature V4 Signer for Node.JS\n\n[![NPM version](https://img.shields.io/npm/v/@aws-sdk/signature-v4-node/preview.svg)](https://www.npmjs.com/package/@aws-sdk/signature-v4-node)\n[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/signature-v4-node.svg)](https://www.npmjs.com/package/@aws-sdk/signature-v4-node)\n\nThis module provides a class, `SignatureV4`, that will attempt to sign requests.\n\n## Supported configuration\n\nThe Signature V4 Signer requires several options to be set, and additionally has several optional configuration settings.\nYou may provide these options in a hash to the `SignatureV4` constructor.\nThe following options are supported:\n\n- `service` - The service signing name to use.\n- `region` - The region name or a function that returns a promise\n  that will be resolved with the region name.\n- `credentials` - The credentials with which the request should be\n  signed, or a function that returns a promise that will be resolved\n  with credentials\n- `sha256` - Optional. A constructor function for a hash object that\n  will calculate SHA-256 HMAC checksums.\n  Defaults to an implementation using Node.JS' `crypto` module.\n- `unsignedPayload` - Optional. Indicates whether to sign requests\n  in such a way as to allow arbitrary message bodies.\n  Useful for presigning requests for which the body is not known in advance.\n  Defaults to false.\n- `uriEscapePath` - Optional. Indicates whether to uri-escape the\n  request URI path as part of computing the canonical request string.\n  This is required for every AWS service, except Amazon S3, as of\n  late 2017.\n  Defaults to true.\n- `applyChecksum` - Optional. Indicates whether to calculate a\n  checksum of the request body and include it as either a request\n  header (when signing) or as a query string parameter (when presigning).\n  This is required for AWS Glacier and optional for every other AWS\n  service as of late 2017.\n  Defaults to false.\n\n## API\n\n### presignRequest\n\nThe `presignRequest` method accepts a request and returns a Promise that\nresolves with a presigned request.\n\nThe presigned request will have an expiration and can be passed directly\nto an HTTP client.\n\nThe following options can be provided to the `presignRequest` method:\n\n- `request` - The request to be signed. This parameter will not be\n  modified during the signing process but will instead be cloned.\n  The shape of the request should be an object with the following defined:\n  - `method` - HTTP method (e.g. 'GET', 'PUT', etc).\n  - `headers` - A mapping of header names to string values.\n    Multiple values for the same header should be represented as a single\n    string with values separated by `,`.\n    Keys should be considered case insensitive.\n  - `body` - Optional. May be a string, ArrayBuffer, or stream.\n- `expiration` - The time at which the signed URL should no longer\n  be honored.\n  This value should be a Date object, a unix (epoch) timestamp, or a\n  string that can be understood by the JavaScript `Date` constructor.\n- `options` object\n  - `signingDate` - Optional. The date and time to be used as signature metadata.\n    This value should be a Date object, a unix (epoch) timestamp, or\n    a string that can be unerstood by the JavaScript `Date` constructor.\n    Defaults to `new Date()`.\n  - `unsignableHeaders` - Optional. An object whose keys represents\n    headers that cannot be signed. All headers in the provided request\n    will have their names converted to lower case and then checked for\n    existence in the `unsignableHeaders` object using the `in` operator.\n    Defaults to an object whose keys are lower-cased transfer-specific\n    headers (such as `user-agent`, `referer`, `expect`, etc).\n\n### sign\n\nThe `sign` method accepts a request or string and returns a Promise that\nresolves with a signed request or signed string.\n\nThe signed request will have an expiration and can be passed directly\nto an HTTP client.\n\nThe following options can be provided within a hash to the `sign` method:\n\n- `request` or `string`:\n  - `request` - The request to be signed. This parameter will not be\n    modified during the signing process but will instead be cloned.\n    The shape of the request should be an object with the following defined:\n    - `method` - HTTP method (e.g. 'GET', 'PUT', etc).\n    - `headers` - A mapping of header names to string values.\n      Multiple values for the same header should be represented as a single\n      string with values separated by `,`.\n      Keys should be considered case insensitive.\n    - `body` - Optional. May be a string, ArrayBuffer, or stream.\n  - or `string`\n- `options` object\n  - `signingDate` - Optional. The date and time to be used as signature metadata.\n    This value should be a Date object, a unix (epoch) timestamp, or\n    a string that can be unerstood by the JavaScript `Date` constructor.\n    Defaults to `new Date()`.\n  - `unsignableHeaders` - Optional. An object whose keys represents\n    headers that cannot be signed. All headers in the provided request\n    will have their names converted to lower case and then checked for\n    existence in the `unsignableHeaders` object using the `in` operator.\n    Defaults to an object whose keys are lower-cased transfer-specific\n    headers (such as `user-agent`, `referer`, `expect`, etc).\n","scripts":{"test":"jest","pretest":"tsc -p tsconfig.test.json","prepublishOnly":"tsc"},"_npmUser":{"name":"aws-sdk-bot","email":"aws-sdk-js@amazon.com"},"deprecated":"The package @aws-sdk/signature-v4-node was released in Developer Preview. It is no longer supported.","_npmVersion":"6.9.0","description":"A standalone AWS Signature V4 request signer for Node.JS","directories":{},"_nodeVersion":"10.16.3","dependencies":{"tslib":"^1.8.0","@aws-sdk/hash-node":"^1.0.0-alpha.4","@aws-sdk/signature-v4":"^1.0.0-alpha.9"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.7.1","typescript":"~3.4.0","@types/jest":"^24.0.12","@types/node":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/signature-v4-node_1.0.0-alpha.9_1580957946150_0.7454490474263751","host":"s3://npm-registry-packages"}}},"time":{"created":"2018-11-19T23:24:04.069Z","modified":"2025-03-27T18:49:10.623Z","0.1.0-preview.1":"2018-11-19T23:24:04.506Z","0.1.0-preview.2":"2019-01-25T22:47:31.730Z","0.1.0-preview.3":"2019-03-27T19:16:14.442Z","0.1.0-preview.4":"2019-04-19T20:56:12.197Z","0.1.0-preview.5":"2019-07-12T19:00:48.845Z","0.1.0-preview.6":"2019-09-09T17:37:52.129Z","0.1.0-preview.7":"2019-09-19T15:45:10.704Z","0.1.0-preview.8":"2019-10-29T23:41:21.452Z","0.1.0-preview.9":"2019-10-30T19:14:09.036Z","0.1.0-preview.10":"2019-11-19T20:39:13.708Z","1.0.0-alpha.1":"2020-01-08T03:08:50.933Z","1.0.0-alpha.2":"2020-01-09T23:15:16.580Z","1.0.0-alpha.3":"2020-01-10T05:07:02.707Z","1.0.0-alpha.4":"2020-01-14T04:55:38.301Z","1.0.0-alpha.5":"2020-01-16T18:04:21.802Z","1.0.0-alpha.6":"2020-01-17T01:49:42.780Z","1.0.0-alpha.7":"2020-01-22T01:06:32.110Z","1.0.0-alpha.8":"2020-01-24T02:02:22.330Z","1.0.0-alpha.9":"2020-02-06T02:59:06.288Z"},"author":{"url":"https://aws.amazon.com/javascript/","name":"AWS SDK for JavaScript Team","email":"aws-sdk-js@amazon.com"},"license":"Apache-2.0","description":"A standalone AWS Signature V4 request signer for Node.JS","maintainers":[{"email":"osa-3p@amazon.com","name":"amzn-oss"},{"email":"aws-sdk-js-automation@amazon.com","name":"aws-sdk-bot"}],"readme":"","readmeFilename":""}