@aws-amplify/api
Advanced tools
Comparing version 6.1.9-graphql-multi-client.93b5136.0 to 6.1.9-graphql-multi-client.ba4c61d.0
@@ -7,5 +7,2 @@ 'use strict'; | ||
const core_1 = require("@aws-amplify/core"); | ||
// NOTE: The type narrowing on CommonPublicClientOptions seems to hinge on | ||
// defining these signatures separately. Not sure why offhand. This is worth | ||
// some investigation later. | ||
/** | ||
@@ -12,0 +9,0 @@ * Generates an API client that can work with models or raw GraphQL |
import { V6Client } from '@aws-amplify/api-graphql'; | ||
import { CommonPublicClientOptions } from '@aws-amplify/api-graphql/internals'; | ||
import { CommonPublicClientOptions, DefaultCommonClientOptions } from '@aws-amplify/api-graphql/internals'; | ||
/** | ||
@@ -9,2 +9,2 @@ * Generates an API client that can work with models or raw GraphQL | ||
*/ | ||
export declare function generateClient<T extends Record<any, any> = never, Options extends CommonPublicClientOptions = object>(options?: Options): V6Client<T, Options>; | ||
export declare function generateClient<T extends Record<any, any> = never, Options extends CommonPublicClientOptions = DefaultCommonClientOptions>(options?: Options): V6Client<T, Options>; |
{ | ||
"name": "@aws-amplify/api", | ||
"version": "6.1.9-graphql-multi-client.93b5136.0+93b5136", | ||
"version": "6.1.9-graphql-multi-client.ba4c61d.0+ba4c61d", | ||
"description": "Api category of aws-amplify", | ||
@@ -83,7 +83,7 @@ "main": "./dist/cjs/index.js", | ||
"dependencies": { | ||
"@aws-amplify/api-graphql": "4.6.7-graphql-multi-client.93b5136.0+93b5136", | ||
"@aws-amplify/api-rest": "4.0.64-graphql-multi-client.93b5136.0+93b5136", | ||
"@aws-amplify/api-graphql": "4.6.7-graphql-multi-client.ba4c61d.0+ba4c61d", | ||
"@aws-amplify/api-rest": "4.0.64-graphql-multi-client.ba4c61d.0+ba4c61d", | ||
"tslib": "^2.5.0" | ||
}, | ||
"gitHead": "93b51360e57e283a7d4ed64c6b701d85ec71e94b" | ||
"gitHead": "ba4c61dd1dd3014c8f3dfc1ebfc66bcf8170eaa9" | ||
} |
@@ -6,2 +6,3 @@ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
CommonPublicClientOptions, | ||
DefaultCommonClientOptions, | ||
generateClient as internalGenerateClient, | ||
@@ -11,6 +12,2 @@ } from '@aws-amplify/api-graphql/internals'; | ||
// NOTE: The type narrowing on CommonPublicClientOptions seems to hinge on | ||
// defining these signatures separately. Not sure why offhand. This is worth | ||
// some investigation later. | ||
/** | ||
@@ -24,3 +21,3 @@ * Generates an API client that can work with models or raw GraphQL | ||
T extends Record<any, any> = never, | ||
Options extends CommonPublicClientOptions = object, | ||
Options extends CommonPublicClientOptions = DefaultCommonClientOptions, | ||
>(options?: Options): V6Client<T, Options> { | ||
@@ -27,0 +24,0 @@ return internalGenerateClient({ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
55323
480