Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Wire committed Dec 17, 2024
1 parent ce857c9 commit 4f8e7a9
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
1 change: 1 addition & 0 deletions packages/api-graphql/src/internals/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ export {

export { graphql, cancel, isCancelError } from './v6';
export { generateClient } from './generateClient';
export { CommonPublicClientOptions } from './types';
2 changes: 1 addition & 1 deletion packages/api-graphql/src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export { CONTROL_MSG, ConnectionState } from './PubSub';

export { SelectionSet } from '@aws-amplify/data-schema/runtime';

export { CommonPublicClientOptions };
export type { CommonPublicClientOptions };

/**
* Loose/Unknown options for raw GraphQLAPICategory `graphql()`.
Expand Down
6 changes: 3 additions & 3 deletions packages/api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aws-amplify/api",
"version": "6.1.3",
"version": "6.1.8",
"description": "Api category of aws-amplify",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.mjs",
Expand Down Expand Up @@ -80,8 +80,8 @@
"server"
],
"dependencies": {
"@aws-amplify/api-graphql": "4.6.1",
"@aws-amplify/api-rest": "4.0.58",
"@aws-amplify/api-graphql": "4.6.6",
"@aws-amplify/api-rest": "4.0.63",
"tslib": "^2.5.0"
}
}
7 changes: 5 additions & 2 deletions packages/api/src/API.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
import { CommonPublicClientOptions, V6Client } from '@aws-amplify/api-graphql';
import { generateClient as internalGenerateClient } from '@aws-amplify/api-graphql/internals';
import { V6Client } from '@aws-amplify/api-graphql';
import {
CommonPublicClientOptions,
generateClient as internalGenerateClient,
} from '@aws-amplify/api-graphql/internals';
import { Amplify } from '@aws-amplify/core';

// NOTE: The type narrowing on CommonPublicClientOptions seems to hinge on
Expand Down

0 comments on commit 4f8e7a9

Please sign in to comment.