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

@aws-amplify/auth

Package Overview
Dependencies
Maintainers
9
Versions
2158
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-amplify/auth - npm Package Compare versions

Comparing version 6.3.14 to 6.3.15-storage-browser.5e1740c.0

2

dist/esm/providers/cognito/utils/clients/base.d.ts

@@ -17,3 +17,3 @@ import { Endpoint, EndpointResolverOptions, Headers, HttpRequest, HttpResponse } from '@aws-amplify/core/internals/aws-client-utils';

};
retryDecider: (response?: HttpResponse | undefined, error?: unknown) => Promise<boolean>;
retryDecider: (response?: HttpResponse | undefined, error?: unknown) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>;
computeDelay: (attempt: number) => number;

@@ -20,0 +20,0 @@ userAgentValue: string;

@@ -17,3 +17,3 @@ import { Endpoint, EndpointResolverOptions, Headers, HttpRequest, HttpResponse } from '@aws-amplify/core/internals/aws-client-utils';

};
retryDecider: (response?: HttpResponse | undefined, error?: unknown) => Promise<boolean>;
retryDecider: (response?: HttpResponse | undefined, error?: unknown) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>;
computeDelay: (attempt: number) => number;

@@ -20,0 +20,0 @@ userAgentValue: string;

@@ -13,3 +13,3 @@ import { Endpoint, HttpResponse } from '@aws-amplify/core/internals/aws-client-utils';

})) | undefined;
retryDecider?: (((response?: HttpResponse | undefined, error?: unknown) => Promise<boolean>) & ((response?: HttpResponse | undefined, error?: unknown) => Promise<boolean>)) | undefined;
retryDecider?: (((response?: HttpResponse | undefined, error?: unknown, middlewareContext?: import("@aws-amplify/core/internals/aws-client-utils").MiddlewareContext | undefined) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>) & ((response?: HttpResponse | undefined, error?: unknown) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>)) | undefined;
computeDelay?: ((attempt: number) => number) | undefined;

@@ -26,3 +26,3 @@ userAgentValue?: string | undefined;

})) | undefined;
retryDecider?: (((response?: HttpResponse | undefined, error?: unknown) => Promise<boolean>) & ((response?: HttpResponse | undefined, error?: unknown) => Promise<boolean>)) | undefined;
retryDecider?: (((response?: HttpResponse | undefined, error?: unknown, middlewareContext?: import("@aws-amplify/core/internals/aws-client-utils").MiddlewareContext | undefined) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>) & ((response?: HttpResponse | undefined, error?: unknown) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>)) | undefined;
computeDelay?: ((attempt: number) => number) | undefined;

@@ -39,3 +39,3 @@ userAgentValue?: string | undefined;

})) | undefined;
retryDecider?: (((response?: HttpResponse | undefined, error?: unknown) => Promise<boolean>) & ((response?: HttpResponse | undefined, error?: unknown) => Promise<boolean>)) | undefined;
retryDecider?: (((response?: HttpResponse | undefined, error?: unknown, middlewareContext?: import("@aws-amplify/core/internals/aws-client-utils").MiddlewareContext | undefined) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>) & ((response?: HttpResponse | undefined, error?: unknown) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>)) | undefined;
computeDelay?: ((attempt: number) => number) | undefined;

@@ -52,3 +52,3 @@ userAgentValue?: string | undefined;

})) | undefined;
retryDecider?: (((response?: HttpResponse | undefined, error?: unknown) => Promise<boolean>) & ((response?: HttpResponse | undefined, error?: unknown) => Promise<boolean>)) | undefined;
retryDecider?: (((response?: HttpResponse | undefined, error?: unknown, middlewareContext?: import("@aws-amplify/core/internals/aws-client-utils").MiddlewareContext | undefined) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>) & ((response?: HttpResponse | undefined, error?: unknown) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>)) | undefined;
computeDelay?: ((attempt: number) => number) | undefined;

@@ -65,3 +65,3 @@ userAgentValue?: string | undefined;

})) | undefined;
retryDecider?: (((response?: HttpResponse | undefined, error?: unknown) => Promise<boolean>) & ((response?: HttpResponse | undefined, error?: unknown) => Promise<boolean>)) | undefined;
retryDecider?: (((response?: HttpResponse | undefined, error?: unknown, middlewareContext?: import("@aws-amplify/core/internals/aws-client-utils").MiddlewareContext | undefined) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>) & ((response?: HttpResponse | undefined, error?: unknown) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>)) | undefined;
computeDelay?: ((attempt: number) => number) | undefined;

@@ -78,3 +78,3 @@ userAgentValue?: string | undefined;

})) | undefined;
retryDecider?: (((response?: HttpResponse | undefined, error?: unknown) => Promise<boolean>) & ((response?: HttpResponse | undefined, error?: unknown) => Promise<boolean>)) | undefined;
retryDecider?: (((response?: HttpResponse | undefined, error?: unknown, middlewareContext?: import("@aws-amplify/core/internals/aws-client-utils").MiddlewareContext | undefined) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>) & ((response?: HttpResponse | undefined, error?: unknown) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>)) | undefined;
computeDelay?: ((attempt: number) => number) | undefined;

@@ -91,3 +91,3 @@ userAgentValue?: string | undefined;

})) | undefined;
retryDecider?: (((response?: HttpResponse | undefined, error?: unknown) => Promise<boolean>) & ((response?: HttpResponse | undefined, error?: unknown) => Promise<boolean>)) | undefined;
retryDecider?: (((response?: HttpResponse | undefined, error?: unknown, middlewareContext?: import("@aws-amplify/core/internals/aws-client-utils").MiddlewareContext | undefined) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>) & ((response?: HttpResponse | undefined, error?: unknown) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>)) | undefined;
computeDelay?: ((attempt: number) => number) | undefined;

@@ -104,3 +104,3 @@ userAgentValue?: string | undefined;

})) | undefined;
retryDecider?: (((response?: HttpResponse | undefined, error?: unknown) => Promise<boolean>) & ((response?: HttpResponse | undefined, error?: unknown) => Promise<boolean>)) | undefined;
retryDecider?: (((response?: HttpResponse | undefined, error?: unknown, middlewareContext?: import("@aws-amplify/core/internals/aws-client-utils").MiddlewareContext | undefined) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>) & ((response?: HttpResponse | undefined, error?: unknown) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>)) | undefined;
computeDelay?: ((attempt: number) => number) | undefined;

@@ -117,3 +117,3 @@ userAgentValue?: string | undefined;

})) | undefined;
retryDecider?: (((response?: HttpResponse | undefined, error?: unknown) => Promise<boolean>) & ((response?: HttpResponse | undefined, error?: unknown) => Promise<boolean>)) | undefined;
retryDecider?: (((response?: HttpResponse | undefined, error?: unknown, middlewareContext?: import("@aws-amplify/core/internals/aws-client-utils").MiddlewareContext | undefined) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>) & ((response?: HttpResponse | undefined, error?: unknown) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>)) | undefined;
computeDelay?: ((attempt: number) => number) | undefined;

@@ -130,3 +130,3 @@ userAgentValue?: string | undefined;

})) | undefined;
retryDecider?: (((response?: HttpResponse | undefined, error?: unknown) => Promise<boolean>) & ((response?: HttpResponse | undefined, error?: unknown) => Promise<boolean>)) | undefined;
retryDecider?: (((response?: HttpResponse | undefined, error?: unknown, middlewareContext?: import("@aws-amplify/core/internals/aws-client-utils").MiddlewareContext | undefined) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>) & ((response?: HttpResponse | undefined, error?: unknown) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>)) | undefined;
computeDelay?: ((attempt: number) => number) | undefined;

@@ -143,3 +143,3 @@ userAgentValue?: string | undefined;

})) | undefined;
retryDecider?: (((response?: HttpResponse | undefined, error?: unknown) => Promise<boolean>) & ((response?: HttpResponse | undefined, error?: unknown) => Promise<boolean>)) | undefined;
retryDecider?: (((response?: HttpResponse | undefined, error?: unknown, middlewareContext?: import("@aws-amplify/core/internals/aws-client-utils").MiddlewareContext | undefined) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>) & ((response?: HttpResponse | undefined, error?: unknown) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>)) | undefined;
computeDelay?: ((attempt: number) => number) | undefined;

@@ -156,3 +156,3 @@ userAgentValue?: string | undefined;

})) | undefined;
retryDecider?: (((response?: HttpResponse | undefined, error?: unknown) => Promise<boolean>) & ((response?: HttpResponse | undefined, error?: unknown) => Promise<boolean>)) | undefined;
retryDecider?: (((response?: HttpResponse | undefined, error?: unknown, middlewareContext?: import("@aws-amplify/core/internals/aws-client-utils").MiddlewareContext | undefined) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>) & ((response?: HttpResponse | undefined, error?: unknown) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>)) | undefined;
computeDelay?: ((attempt: number) => number) | undefined;

@@ -169,3 +169,3 @@ userAgentValue?: string | undefined;

})) | undefined;
retryDecider?: (((response?: HttpResponse | undefined, error?: unknown) => Promise<boolean>) & ((response?: HttpResponse | undefined, error?: unknown) => Promise<boolean>)) | undefined;
retryDecider?: (((response?: HttpResponse | undefined, error?: unknown, middlewareContext?: import("@aws-amplify/core/internals/aws-client-utils").MiddlewareContext | undefined) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>) & ((response?: HttpResponse | undefined, error?: unknown) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>)) | undefined;
computeDelay?: ((attempt: number) => number) | undefined;

@@ -182,3 +182,3 @@ userAgentValue?: string | undefined;

})) | undefined;
retryDecider?: (((response?: HttpResponse | undefined, error?: unknown) => Promise<boolean>) & ((response?: HttpResponse | undefined, error?: unknown) => Promise<boolean>)) | undefined;
retryDecider?: (((response?: HttpResponse | undefined, error?: unknown, middlewareContext?: import("@aws-amplify/core/internals/aws-client-utils").MiddlewareContext | undefined) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>) & ((response?: HttpResponse | undefined, error?: unknown) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>)) | undefined;
computeDelay?: ((attempt: number) => number) | undefined;

@@ -195,3 +195,3 @@ userAgentValue?: string | undefined;

})) | undefined;
retryDecider?: (((response?: HttpResponse | undefined, error?: unknown) => Promise<boolean>) & ((response?: HttpResponse | undefined, error?: unknown) => Promise<boolean>)) | undefined;
retryDecider?: (((response?: HttpResponse | undefined, error?: unknown, middlewareContext?: import("@aws-amplify/core/internals/aws-client-utils").MiddlewareContext | undefined) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>) & ((response?: HttpResponse | undefined, error?: unknown) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>)) | undefined;
computeDelay?: ((attempt: number) => number) | undefined;

@@ -208,3 +208,3 @@ userAgentValue?: string | undefined;

})) | undefined;
retryDecider?: (((response?: HttpResponse | undefined, error?: unknown) => Promise<boolean>) & ((response?: HttpResponse | undefined, error?: unknown) => Promise<boolean>)) | undefined;
retryDecider?: (((response?: HttpResponse | undefined, error?: unknown, middlewareContext?: import("@aws-amplify/core/internals/aws-client-utils").MiddlewareContext | undefined) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>) & ((response?: HttpResponse | undefined, error?: unknown) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>)) | undefined;
computeDelay?: ((attempt: number) => number) | undefined;

@@ -221,3 +221,3 @@ userAgentValue?: string | undefined;

})) | undefined;
retryDecider?: (((response?: HttpResponse | undefined, error?: unknown) => Promise<boolean>) & ((response?: HttpResponse | undefined, error?: unknown) => Promise<boolean>)) | undefined;
retryDecider?: (((response?: HttpResponse | undefined, error?: unknown, middlewareContext?: import("@aws-amplify/core/internals/aws-client-utils").MiddlewareContext | undefined) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>) & ((response?: HttpResponse | undefined, error?: unknown) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>)) | undefined;
computeDelay?: ((attempt: number) => number) | undefined;

@@ -234,3 +234,3 @@ userAgentValue?: string | undefined;

})) | undefined;
retryDecider?: (((response?: HttpResponse | undefined, error?: unknown) => Promise<boolean>) & ((response?: HttpResponse | undefined, error?: unknown) => Promise<boolean>)) | undefined;
retryDecider?: (((response?: HttpResponse | undefined, error?: unknown, middlewareContext?: import("@aws-amplify/core/internals/aws-client-utils").MiddlewareContext | undefined) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>) & ((response?: HttpResponse | undefined, error?: unknown) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>)) | undefined;
computeDelay?: ((attempt: number) => number) | undefined;

@@ -247,3 +247,3 @@ userAgentValue?: string | undefined;

})) | undefined;
retryDecider?: (((response?: HttpResponse | undefined, error?: unknown) => Promise<boolean>) & ((response?: HttpResponse | undefined, error?: unknown) => Promise<boolean>)) | undefined;
retryDecider?: (((response?: HttpResponse | undefined, error?: unknown, middlewareContext?: import("@aws-amplify/core/internals/aws-client-utils").MiddlewareContext | undefined) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>) & ((response?: HttpResponse | undefined, error?: unknown) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>)) | undefined;
computeDelay?: ((attempt: number) => number) | undefined;

@@ -260,3 +260,3 @@ userAgentValue?: string | undefined;

})) | undefined;
retryDecider?: (((response?: HttpResponse | undefined, error?: unknown) => Promise<boolean>) & ((response?: HttpResponse | undefined, error?: unknown) => Promise<boolean>)) | undefined;
retryDecider?: (((response?: HttpResponse | undefined, error?: unknown, middlewareContext?: import("@aws-amplify/core/internals/aws-client-utils").MiddlewareContext | undefined) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>) & ((response?: HttpResponse | undefined, error?: unknown) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>)) | undefined;
computeDelay?: ((attempt: number) => number) | undefined;

@@ -273,3 +273,3 @@ userAgentValue?: string | undefined;

})) | undefined;
retryDecider?: (((response?: HttpResponse | undefined, error?: unknown) => Promise<boolean>) & ((response?: HttpResponse | undefined, error?: unknown) => Promise<boolean>)) | undefined;
retryDecider?: (((response?: HttpResponse | undefined, error?: unknown, middlewareContext?: import("@aws-amplify/core/internals/aws-client-utils").MiddlewareContext | undefined) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>) & ((response?: HttpResponse | undefined, error?: unknown) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>)) | undefined;
computeDelay?: ((attempt: number) => number) | undefined;

@@ -286,3 +286,3 @@ userAgentValue?: string | undefined;

})) | undefined;
retryDecider?: (((response?: HttpResponse | undefined, error?: unknown) => Promise<boolean>) & ((response?: HttpResponse | undefined, error?: unknown) => Promise<boolean>)) | undefined;
retryDecider?: (((response?: HttpResponse | undefined, error?: unknown, middlewareContext?: import("@aws-amplify/core/internals/aws-client-utils").MiddlewareContext | undefined) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>) & ((response?: HttpResponse | undefined, error?: unknown) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>)) | undefined;
computeDelay?: ((attempt: number) => number) | undefined;

@@ -299,3 +299,3 @@ userAgentValue?: string | undefined;

})) | undefined;
retryDecider?: (((response?: HttpResponse | undefined, error?: unknown) => Promise<boolean>) & ((response?: HttpResponse | undefined, error?: unknown) => Promise<boolean>)) | undefined;
retryDecider?: (((response?: HttpResponse | undefined, error?: unknown, middlewareContext?: import("@aws-amplify/core/internals/aws-client-utils").MiddlewareContext | undefined) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>) & ((response?: HttpResponse | undefined, error?: unknown) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>)) | undefined;
computeDelay?: ((attempt: number) => number) | undefined;

@@ -302,0 +302,0 @@ userAgentValue?: string | undefined;

{
"name": "@aws-amplify/auth",
"version": "6.3.14",
"description": "Auth category of aws-amplify",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.mjs",
"typings": "./dist/esm/index.d.ts",
"react-native": "./src/index.ts",
"sideEffects": [
"./dist/cjs/providers/cognito/apis/signInWithRedirect.js",
"./dist/esm/providers/cognito/apis/signInWithRedirect.mjs",
"./dist/cjs/providers/cognito/utils/oauth/enableOAuthListener.js",
"./dist/esm/providers/cognito/utils/oauth/enableOAuthListener.mjs"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"test": "yarn lint --fix && jest -w 1 --coverage --logHeapUsage",
"build-with-test": "npm test && npm run build",
"build:umd": "webpack && webpack --config ./webpack.config.dev.js",
"build:esm-cjs": "rollup --forceExit -c rollup.config.mjs",
"build:watch": "npm run build:esm-cjs -- --watch",
"build": "npm run clean && npm run build:esm-cjs && npm run build:umd",
"clean": "npm run clean:size && rimraf lib-esm lib dist",
"clean:size": "rimraf dual-publish-tmp tmp*",
"format": "echo \"Not implemented\"",
"lint": "eslint '**/*.{ts,tsx}' && npm run ts-coverage",
"lint:fix": "eslint '**/*.{ts,tsx}' --fix",
"ts-coverage": "typescript-coverage-report -p ./tsconfig.build.json -t 91.18"
},
"typesVersions": {
">=4.2": {
"cognito": [
"./dist/esm/providers/cognito/index.d.ts"
],
"cognito/server": [
"./dist/esm/providers/cognito/apis/server/index.d.ts"
],
"server": [
"./dist/esm/server.d.ts"
]
}
},
"exports": {
".": {
"types": "./dist/esm/index.d.ts",
"import": "./dist/esm/index.mjs",
"require": "./dist/cjs/index.js",
"react-native": "./src/index.ts"
},
"./cognito": {
"types": "./dist/esm/providers/cognito/index.d.ts",
"import": "./dist/esm/providers/cognito/index.mjs",
"require": "./dist/cjs/providers/cognito/index.js",
"react-native": "./src/providers/cognito/index.ts"
},
"./cognito/server": {
"types": "./dist/esm/providers/cognito/apis/server/index.d.ts",
"import": "./dist/esm/providers/cognito/apis/server/index.mjs",
"require": "./dist/cjs/providers/cognito/apis/server/index.js"
},
"./server": {
"types": "./dist/esm/server.d.ts",
"import": "./dist/esm/server.mjs",
"require": "./dist/cjs/server.js"
},
"./enable-oauth-listener": {
"types": "./dist/esm/providers/cognito/utils/oauth/enableOAuthListener.d.ts",
"import": "./dist/esm/providers/cognito/utils/oauth/enableOAuthListener.mjs",
"require": "./dist/cjs/providers/cognito/utils/oauth/enableOAuthListener.js"
},
"./package.json": "./package.json"
},
"repository": {
"type": "git",
"url": "https://github.com/aws-amplify/amplify-js.git"
},
"author": "Amazon Web Services",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/aws/aws-amplify/issues"
},
"homepage": "https://aws-amplify.github.io/",
"files": [
"dist/cjs",
"dist/esm",
"src",
"cognito",
"server",
"enable-oauth-listener"
],
"dependencies": {
"tslib": "^2.5.0"
},
"peerDependencies": {
"@aws-amplify/core": "^6.1.0"
},
"devDependencies": {
"@aws-amplify/core": "6.3.10",
"@aws-amplify/react-native": "1.1.4",
"@jest/test-sequencer": "^29.7.0",
"typescript": "5.0.2"
},
"gitHead": "5b2fac4fbe7886572fa8dbadbf3fd6045b10e624"
"name": "@aws-amplify/auth",
"version": "6.3.15-storage-browser.5e1740c.0+5e1740c",
"description": "Auth category of aws-amplify",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.mjs",
"typings": "./dist/esm/index.d.ts",
"react-native": "./src/index.ts",
"sideEffects": [
"./dist/cjs/providers/cognito/apis/signInWithRedirect.js",
"./dist/esm/providers/cognito/apis/signInWithRedirect.mjs",
"./dist/cjs/providers/cognito/utils/oauth/enableOAuthListener.js",
"./dist/esm/providers/cognito/utils/oauth/enableOAuthListener.mjs"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"test": "yarn lint --fix && jest -w 1 --coverage --logHeapUsage",
"build-with-test": "npm test && npm run build",
"build:umd": "webpack && webpack --config ./webpack.config.dev.js",
"build:esm-cjs": "rollup --forceExit -c rollup.config.mjs",
"build:watch": "npm run build:esm-cjs -- --watch",
"build": "npm run clean && npm run build:esm-cjs && npm run build:umd",
"clean": "npm run clean:size && rimraf lib-esm lib dist",
"clean:size": "rimraf dual-publish-tmp tmp*",
"format": "echo \"Not implemented\"",
"lint": "eslint '**/*.{ts,tsx}' && npm run ts-coverage",
"lint:fix": "eslint '**/*.{ts,tsx}' --fix",
"ts-coverage": "typescript-coverage-report -p ./tsconfig.build.json -t 91.18"
},
"typesVersions": {
">=4.2": {
"cognito": [
"./dist/esm/providers/cognito/index.d.ts"
],
"cognito/server": [
"./dist/esm/providers/cognito/apis/server/index.d.ts"
],
"server": [
"./dist/esm/server.d.ts"
]
}
},
"exports": {
".": {
"types": "./dist/esm/index.d.ts",
"import": "./dist/esm/index.mjs",
"require": "./dist/cjs/index.js",
"react-native": "./src/index.ts"
},
"./cognito": {
"types": "./dist/esm/providers/cognito/index.d.ts",
"import": "./dist/esm/providers/cognito/index.mjs",
"require": "./dist/cjs/providers/cognito/index.js",
"react-native": "./src/providers/cognito/index.ts"
},
"./cognito/server": {
"types": "./dist/esm/providers/cognito/apis/server/index.d.ts",
"import": "./dist/esm/providers/cognito/apis/server/index.mjs",
"require": "./dist/cjs/providers/cognito/apis/server/index.js"
},
"./server": {
"types": "./dist/esm/server.d.ts",
"import": "./dist/esm/server.mjs",
"require": "./dist/cjs/server.js"
},
"./enable-oauth-listener": {
"types": "./dist/esm/providers/cognito/utils/oauth/enableOAuthListener.d.ts",
"import": "./dist/esm/providers/cognito/utils/oauth/enableOAuthListener.mjs",
"require": "./dist/cjs/providers/cognito/utils/oauth/enableOAuthListener.js"
},
"./package.json": "./package.json"
},
"repository": {
"type": "git",
"url": "https://github.com/aws-amplify/amplify-js.git"
},
"author": "Amazon Web Services",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/aws/aws-amplify/issues"
},
"homepage": "https://aws-amplify.github.io/",
"files": [
"dist/cjs",
"dist/esm",
"src",
"cognito",
"server",
"enable-oauth-listener"
],
"dependencies": {
"tslib": "^2.5.0"
},
"peerDependencies": {
"@aws-amplify/core": "6.3.11-storage-browser.5e1740c.0+5e1740c"
},
"devDependencies": {
"@aws-amplify/core": "6.3.11-storage-browser.5e1740c.0+5e1740c",
"@aws-amplify/react-native": "1.1.5-storage-browser.5e1740c.0+5e1740c",
"@jest/test-sequencer": "^29.7.0",
"typescript": "5.0.2"
},
"gitHead": "5e1740c19d461c017fd7fcd1b192a8597ac56ff9"
}
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