Skip to content

Commit

Permalink
Remove types.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacasonato committed Sep 9, 2020
1 parent b323fea commit 2aa0d20
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 14 deletions.
12 changes: 9 additions & 3 deletions mod.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
import { sha256Hex } from "./deps.ts";
import { toAmz, toDateStamp } from "./src/date.ts";
import { getSignatureKey, signAwsV4 } from "./src/signing.ts";
import type { Credentials, RequestHeaders } from "./src/types.ts";
import { equal } from "https://deno.land/[email protected]/testing/asserts.ts";
export type { Credentials, RequestHeaders };

/**
* The AWS credentials to use for signing.
*/
export interface Credentials {
awsAccessKeyId: string;
awsSecretKey: string;
sessionToken?: string;
}

/**
* This class can be used to create AWS Signature V4
Expand Down
11 changes: 0 additions & 11 deletions src/types.ts

This file was deleted.

0 comments on commit 2aa0d20

Please sign in to comment.