Socket
Socket
Sign inDemoInstall

@aws-amplify/data-schema-types

Package Overview
Dependencies
1
Maintainers
10
Versions
48
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.6.1 to 0.6.2

5

lib-esm/client/index.d.ts

@@ -445,5 +445,6 @@ import { DeepReadOnlyObject, UnwrapArray, UnionToIntersection, Prettify } from '../util';

* Custom headers that can be passed either to the client or to individual
* calls, either as a static object or a function that returns a promise.
* model operations, either as a static object or a function that returns a
* promise.
*/
export type CustomHeaders = Record<string, string> | (() => Promise<Headers>);
export type CustomHeaders = Record<string, string> | (() => Promise<Record<string, string>>);
export {};

@@ -7,4 +7,5 @@ export declare const __modelMeta__: unique symbol;

* Custom headers that can be passed either to the client or to individual
* calls, either as a static object or a function that returns a promise.
* model operations, either as a static object or a function that returns a
* promise.
*/
export type CustomHeaders = Record<string, string> | (() => Promise<Headers>);
export type CustomHeaders = Record<string, string> | (() => Promise<Record<string, string>>);

2

package.json
{
"name": "@aws-amplify/data-schema-types",
"version": "0.6.1",
"version": "0.6.2",
"license": "Apache-2.0",

@@ -5,0 +5,0 @@ "main": "./lib-esm/index.d.ts",

@@ -698,4 +698,7 @@ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.

* Custom headers that can be passed either to the client or to individual
* calls, either as a static object or a function that returns a promise.
* model operations, either as a static object or a function that returns a
* promise.
*/
export type CustomHeaders = Record<string, string> | (() => Promise<Headers>);
export type CustomHeaders =
| Record<string, string>
| (() => Promise<Record<string, string>>);

@@ -19,4 +19,7 @@ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.

* Custom headers that can be passed either to the client or to individual
* calls, either as a static object or a function that returns a promise.
* model operations, either as a static object or a function that returns a
* promise.
*/
export type CustomHeaders = Record<string, string> | (() => Promise<Headers>);
export type CustomHeaders =
| Record<string, string>
| (() => Promise<Record<string, string>>);
SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc