@aws-amplify/auth 6.13.2-unstable.43e28a6.0 → 6.13.2-unstable.f94a30b.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,7 +11,9 @@ exports.DEFAULT_SERVICE_CLIENT_API_CONFIG = {
11
11
  service: constants_1.COGNITO_IDP_SERVICE_NAME,
12
12
  retryDecider: (0, aws_client_utils_1.getRetryDecider)(aws_client_utils_1.parseJsonError),
13
13
  computeDelay: aws_client_utils_1.jitteredBackoff,
14
- userAgentValue: (0, utils_1.getAmplifyUserAgent)(),
14
+ get userAgentValue() {
15
+ return (0, utils_1.getAmplifyUserAgent)();
16
+ },
15
17
  cache: 'no-store',
16
18
  };
17
19
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sources":["../../../../../../src/foundation/factories/serviceClients/cognitoIdentityProvider/constants.ts"],"sourcesContent":["\"use strict\";\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DEFAULT_SERVICE_CLIENT_API_CONFIG = void 0;\nconst aws_client_utils_1 = require(\"@aws-amplify/core/internals/aws-client-utils\");\nconst utils_1 = require(\"@aws-amplify/core/internals/utils\");\nconst constants_1 = require(\"../../../constants\");\nexports.DEFAULT_SERVICE_CLIENT_API_CONFIG = {\n service: constants_1.COGNITO_IDP_SERVICE_NAME,\n retryDecider: (0, aws_client_utils_1.getRetryDecider)(aws_client_utils_1.parseJsonError),\n computeDelay: aws_client_utils_1.jitteredBackoff,\n userAgentValue: (0, utils_1.getAmplifyUserAgent)(),\n cache: 'no-store',\n};\n"],"names":[],"mappings":";;AACA;AACA;AACA,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;AAC7D,OAAO,CAAC,iCAAiC,GAAG,MAAM;AAClD,MAAM,kBAAkB,GAAG,OAAO,CAAC,8CAA8C,CAAC;AAClF,MAAM,OAAO,GAAG,OAAO,CAAC,mCAAmC,CAAC;AAC5D,MAAM,WAAW,GAAG,OAAO,CAAC,oBAAoB,CAAC;AACjD,OAAO,CAAC,iCAAiC,GAAG;AAC5C,IAAI,OAAO,EAAE,WAAW,CAAC,wBAAwB;AACjD,IAAI,YAAY,EAAE,IAAI,kBAAkB,CAAC,eAAe,EAAE,kBAAkB,CAAC,cAAc,CAAC;AAC5F,IAAI,YAAY,EAAE,kBAAkB,CAAC,eAAe;AACpD,IAAI,cAAc,EAAE,IAAI,OAAO,CAAC,mBAAmB,GAAG;AACtD,IAAI,KAAK,EAAE,UAAU;AACrB,CAAC;;"}
1
+ {"version":3,"file":"constants.js","sources":["../../../../../../src/foundation/factories/serviceClients/cognitoIdentityProvider/constants.ts"],"sourcesContent":["\"use strict\";\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DEFAULT_SERVICE_CLIENT_API_CONFIG = void 0;\nconst aws_client_utils_1 = require(\"@aws-amplify/core/internals/aws-client-utils\");\nconst utils_1 = require(\"@aws-amplify/core/internals/utils\");\nconst constants_1 = require(\"../../../constants\");\nexports.DEFAULT_SERVICE_CLIENT_API_CONFIG = {\n service: constants_1.COGNITO_IDP_SERVICE_NAME,\n retryDecider: (0, aws_client_utils_1.getRetryDecider)(aws_client_utils_1.parseJsonError),\n computeDelay: aws_client_utils_1.jitteredBackoff,\n get userAgentValue() {\n return (0, utils_1.getAmplifyUserAgent)();\n },\n cache: 'no-store',\n};\n"],"names":[],"mappings":";;AACA;AACA;AACA,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;AAC7D,OAAO,CAAC,iCAAiC,GAAG,MAAM;AAClD,MAAM,kBAAkB,GAAG,OAAO,CAAC,8CAA8C,CAAC;AAClF,MAAM,OAAO,GAAG,OAAO,CAAC,mCAAmC,CAAC;AAC5D,MAAM,WAAW,GAAG,OAAO,CAAC,oBAAoB,CAAC;AACjD,OAAO,CAAC,iCAAiC,GAAG;AAC5C,IAAI,OAAO,EAAE,WAAW,CAAC,wBAAwB;AACjD,IAAI,YAAY,EAAE,IAAI,kBAAkB,CAAC,eAAe,EAAE,kBAAkB,CAAC,cAAc,CAAC;AAC5F,IAAI,YAAY,EAAE,kBAAkB,CAAC,eAAe;AACpD,IAAI,IAAI,cAAc,GAAG;AACzB,QAAQ,OAAO,IAAI,OAAO,CAAC,mBAAmB,GAAG;AACjD,KAAK;AACL,IAAI,KAAK,EAAE,UAAU;AACrB,CAAC;;"}
@@ -2,6 +2,6 @@ export declare const DEFAULT_SERVICE_CLIENT_API_CONFIG: {
2
2
  service: string;
3
3
  retryDecider: (response?: import("@aws-amplify/core/internals/aws-client-utils").HttpResponse, error?: unknown) => Promise<import("@aws-amplify/core/internals/aws-client-utils").RetryDeciderOutput>;
4
4
  computeDelay: (attempt: number) => number;
5
- userAgentValue: string;
5
+ readonly userAgentValue: string;
6
6
  cache: string;
7
7
  };
@@ -8,7 +8,9 @@ const DEFAULT_SERVICE_CLIENT_API_CONFIG = {
8
8
  service: COGNITO_IDP_SERVICE_NAME,
9
9
  retryDecider: getRetryDecider(parseJsonError),
10
10
  computeDelay: jitteredBackoff,
11
- userAgentValue: getAmplifyUserAgent(),
11
+ get userAgentValue() {
12
+ return getAmplifyUserAgent();
13
+ },
12
14
  cache: 'no-store',
13
15
  };
14
16
 
@@ -1 +1 @@
1
- {"version":3,"file":"constants.mjs","sources":["../../../../../../src/foundation/factories/serviceClients/cognitoIdentityProvider/constants.ts"],"sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { getRetryDecider, jitteredBackoff, parseJsonError, } from '@aws-amplify/core/internals/aws-client-utils';\nimport { getAmplifyUserAgent } from '@aws-amplify/core/internals/utils';\nimport { COGNITO_IDP_SERVICE_NAME } from '../../../constants';\nexport const DEFAULT_SERVICE_CLIENT_API_CONFIG = {\n service: COGNITO_IDP_SERVICE_NAME,\n retryDecider: getRetryDecider(parseJsonError),\n computeDelay: jitteredBackoff,\n userAgentValue: getAmplifyUserAgent(),\n cache: 'no-store',\n};\n"],"names":[],"mappings":";;;;AAAA;AACA;AAIY,MAAC,iCAAiC,GAAG;AACjD,IAAI,OAAO,EAAE,wBAAwB;AACrC,IAAI,YAAY,EAAE,eAAe,CAAC,cAAc,CAAC;AACjD,IAAI,YAAY,EAAE,eAAe;AACjC,IAAI,cAAc,EAAE,mBAAmB,EAAE;AACzC,IAAI,KAAK,EAAE,UAAU;AACrB;;;;"}
1
+ {"version":3,"file":"constants.mjs","sources":["../../../../../../src/foundation/factories/serviceClients/cognitoIdentityProvider/constants.ts"],"sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { getRetryDecider, jitteredBackoff, parseJsonError, } from '@aws-amplify/core/internals/aws-client-utils';\nimport { getAmplifyUserAgent } from '@aws-amplify/core/internals/utils';\nimport { COGNITO_IDP_SERVICE_NAME } from '../../../constants';\nexport const DEFAULT_SERVICE_CLIENT_API_CONFIG = {\n service: COGNITO_IDP_SERVICE_NAME,\n retryDecider: getRetryDecider(parseJsonError),\n computeDelay: jitteredBackoff,\n get userAgentValue() {\n return getAmplifyUserAgent();\n },\n cache: 'no-store',\n};\n"],"names":[],"mappings":";;;;AAAA;AACA;AAIY,MAAC,iCAAiC,GAAG;AACjD,IAAI,OAAO,EAAE,wBAAwB;AACrC,IAAI,YAAY,EAAE,eAAe,CAAC,cAAc,CAAC;AACjD,IAAI,YAAY,EAAE,eAAe;AACjC,IAAI,IAAI,cAAc,GAAG;AACzB,QAAQ,OAAO,mBAAmB,EAAE;AACpC,KAAK;AACL,IAAI,KAAK,EAAE,UAAU;AACrB;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/auth",
3
- "version": "6.13.2-unstable.43e28a6.0+43e28a6",
3
+ "version": "6.13.2-unstable.f94a30b.0+f94a30b",
4
4
  "description": "Auth category of aws-amplify",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.mjs",
@@ -96,12 +96,12 @@
96
96
  "tslib": "^2.5.0"
97
97
  },
98
98
  "peerDependencies": {
99
- "@aws-amplify/core": "6.12.2-unstable.43e28a6.0+43e28a6"
99
+ "@aws-amplify/core": "6.12.2-unstable.f94a30b.0+f94a30b"
100
100
  },
101
101
  "devDependencies": {
102
- "@aws-amplify/core": "6.12.2-unstable.43e28a6.0+43e28a6",
103
- "@aws-amplify/react-native": "1.1.11-unstable.43e28a6.0+43e28a6",
102
+ "@aws-amplify/core": "6.12.2-unstable.f94a30b.0+f94a30b",
103
+ "@aws-amplify/react-native": "1.1.11-unstable.f94a30b.0+f94a30b",
104
104
  "@jest/test-sequencer": "^29.7.0"
105
105
  },
106
- "gitHead": "43e28a6e4393ea50d2ec6857ffb1cbbf8256b75d"
106
+ "gitHead": "f94a30b71e4e5abbce1ad8c215fbb67386721bff"
107
107
  }
@@ -14,6 +14,8 @@ export const DEFAULT_SERVICE_CLIENT_API_CONFIG = {
14
14
  service: COGNITO_IDP_SERVICE_NAME,
15
15
  retryDecider: getRetryDecider(parseJsonError),
16
16
  computeDelay: jitteredBackoff,
17
- userAgentValue: getAmplifyUserAgent(),
17
+ get userAgentValue() {
18
+ return getAmplifyUserAgent();
19
+ },
18
20
  cache: 'no-store',
19
21
  };