Skip to content

Commit 2aa0d20

Browse files
committed
Remove types.ts
1 parent b323fea commit 2aa0d20

File tree

2 files changed

+9
-14
lines changed

2 files changed

+9
-14
lines changed

mod.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
import { sha256Hex } from "./deps.ts";
22
import { toAmz, toDateStamp } from "./src/date.ts";
33
import { getSignatureKey, signAwsV4 } from "./src/signing.ts";
4-
import type { Credentials, RequestHeaders } from "./src/types.ts";
5-
import { equal } from "https://deno.land/std@0.68.0/testing/asserts.ts";
6-
export type { Credentials, RequestHeaders };
4+
5+
/**
6+
* The AWS credentials to use for signing.
7+
*/
8+
export interface Credentials {
9+
awsAccessKeyId: string;
10+
awsSecretKey: string;
11+
sessionToken?: string;
12+
}
713

814
/**
915
* This class can be used to create AWS Signature V4

src/types.ts

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)