Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade deps to @smithy #12

Merged
merged 3 commits into from
Mar 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions dist/index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var __export = (target, all) => {
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
for (const key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
Expand All @@ -26,8 +26,8 @@ module.exports = __toCommonJS(src_exports);
// src/create-signed-fetcher.ts
var import_sha256_js = require("@aws-crypto/sha256-js");
var import_credential_provider_node = require("@aws-sdk/credential-provider-node");
var import_protocol_http = require("@aws-sdk/protocol-http");
var import_signature_v4 = require("@aws-sdk/signature-v4");
var import_protocol_http = require("@smithy/protocol-http");
var import_signature_v4 = require("@smithy/signature-v4");

// src/encode-rfc3986.ts
var encodeRfc3986 = (str) => {
Expand Down
4 changes: 2 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// src/create-signed-fetcher.ts
import { Sha256 } from "@aws-crypto/sha256-js";
import { defaultProvider } from "@aws-sdk/credential-provider-node";
import { HttpRequest } from "@aws-sdk/protocol-http";
import { SignatureV4 } from "@aws-sdk/signature-v4";
import { HttpRequest } from "@smithy/protocol-http";
import { SignatureV4 } from "@smithy/signature-v4";

// src/encode-rfc3986.ts
var encodeRfc3986 = (str) => {
Expand Down
9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aws-sigv4-fetch",
"version": "3.0.0",
"version": "3.0.1-alpha.0",
"description": "SignatureV4 fetch implemented with official @aws-sdk v3",
"packageManager": "[email protected]",
"type": "module",
Expand Down Expand Up @@ -45,10 +45,9 @@
"@aws-crypto/sha256-js": "^4.0.0",
"@aws-sdk/client-cognito-identity-provider": "^3.359.0",
"@aws-sdk/credential-provider-node": "^3.358.0",
"@aws-sdk/protocol-http": "^3.357.0",
"@aws-sdk/querystring-parser": "^3.357.0",
"@aws-sdk/signature-v4": "^3.357.0",
"@aws-sdk/types": "^3.357.0"
"@aws-sdk/types": "^3.357.0",
"@smithy/protocol-http": "^3.3.0",
"@smithy/signature-v4": "^2.2.0"
},
"devDependencies": {
"@biomejs/biome": "1.5.1",
Expand Down
Loading
Loading