-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
encode path and query according to RFC 3986
- Loading branch information
Showing
10 changed files
with
323 additions
and
209 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,12 @@ | ||
import { AwsCredentialIdentity, Provider } from "@aws-sdk/types"; | ||
import { AwsCredentialIdentity, Provider } from '@aws-sdk/types'; | ||
|
||
type SignedFetcherOptions = { | ||
service: string; | ||
region?: string; | ||
credentials?: AwsCredentialIdentity | Provider<AwsCredentialIdentity>; | ||
fetch?: typeof fetch; | ||
service: string; | ||
region?: string; | ||
credentials?: AwsCredentialIdentity | Provider<AwsCredentialIdentity>; | ||
fetch?: typeof fetch; | ||
}; | ||
type CreateSignedFetcher = (init: SignedFetcherOptions) => typeof fetch; | ||
declare const createSignedFetcher: CreateSignedFetcher; | ||
|
||
export { | ||
type CreateSignedFetcher, | ||
type SignedFetcherOptions, | ||
createSignedFetcher, | ||
}; | ||
export { type CreateSignedFetcher, type SignedFetcherOptions, createSignedFetcher }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,12 @@ | ||
import { AwsCredentialIdentity, Provider } from "@aws-sdk/types"; | ||
import { AwsCredentialIdentity, Provider } from '@aws-sdk/types'; | ||
|
||
type SignedFetcherOptions = { | ||
service: string; | ||
region?: string; | ||
credentials?: AwsCredentialIdentity | Provider<AwsCredentialIdentity>; | ||
fetch?: typeof fetch; | ||
service: string; | ||
region?: string; | ||
credentials?: AwsCredentialIdentity | Provider<AwsCredentialIdentity>; | ||
fetch?: typeof fetch; | ||
}; | ||
type CreateSignedFetcher = (init: SignedFetcherOptions) => typeof fetch; | ||
declare const createSignedFetcher: CreateSignedFetcher; | ||
|
||
export { | ||
type CreateSignedFetcher, | ||
type SignedFetcherOptions, | ||
createSignedFetcher, | ||
}; | ||
export { type CreateSignedFetcher, type SignedFetcherOptions, createSignedFetcher }; |
Oops, something went wrong.