@aws-amplify/auth
Version:
Auth category of aws-amplify
13 lines (10 loc) • 451 B
JavaScript
import { resolveCtxArgs } from '@aws-amplify/core/internals/utils';
import { getCurrentUser as getCurrentUser$1 } from './internal/getCurrentUser.mjs';
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
async function getCurrentUser(...args) {
const [ctx] = resolveCtxArgs(args);
return getCurrentUser$1(ctx);
}
export { getCurrentUser };
//# sourceMappingURL=getCurrentUser.mjs.map