Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aws-amplify/api

Package Overview
Dependencies
Maintainers
9
Versions
2180
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-amplify/api - npm Package Compare versions

Comparing version 6.1.9-graphql-multi-client.93b5136.0 to 6.1.9-graphql-multi-client.ba4c61d.0

3

dist/cjs/API.js

@@ -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

4

dist/esm/API.d.ts
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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc