aws-amplify 6.13.2 → 6.13.3-unstable.580740.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.
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
export { runWithAmplifyServerContext } from './runWithAmplifyServerContext';
|
|
2
2
|
export { createKeyValueStorageFromCookieStorageAdapter } from './storageFactories';
|
|
3
3
|
export { createAWSCredentialsAndIdentityIdProvider, createUserPoolsTokenProvider, } from './authProvidersFactories/cognito';
|
|
4
|
-
export {
|
|
4
|
+
export {
|
|
5
|
+
/** @deprecated This type is deprecated and will be removed in future versions. */
|
|
6
|
+
LegacyConfig,
|
|
7
|
+
/** @deprecated This type is deprecated and will be removed in future versions. */
|
|
8
|
+
AmplifyOutputs, } from '@aws-amplify/core/internals/utils';
|
|
5
9
|
export { AmplifyServer, CookieStorage, } from '@aws-amplify/core/internals/adapter-core';
|
|
6
10
|
export { generateState, getRedirectUrl, generateCodeVerifier, validateState, createKeysForAuthStorage, AUTH_KEY_PREFIX, } from '@aws-amplify/auth/cognito';
|
|
7
11
|
export { DEFAULT_AUTH_TOKEN_COOKIES_MAX_AGE } from './constants';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { KeyValueStorageMethodValidator, AmplifyServerContextError, getAmplifyServerContext, AmplifyServer, CookieStorage, } from '@aws-amplify/core/internals/adapter-core';
|
|
2
2
|
export { OAuthConfig } from '@aws-amplify/core';
|
|
3
|
-
export { assertOAuthConfig, assertTokenProviderConfig, urlSafeEncode, decodeJWT, } from '@aws-amplify/core/internals/utils';
|
|
3
|
+
export { assertOAuthConfig, assertTokenProviderConfig, urlSafeEncode, decodeJWT, LegacyConfig, AmplifyOutputsUnknown, } from '@aws-amplify/core/internals/utils';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LibraryOptions, ResourcesConfig } from '@aws-amplify/core';
|
|
2
|
-
import {
|
|
2
|
+
import { AmplifyOutputsUnknown, LegacyConfig } from '@aws-amplify/core/internals/utils';
|
|
3
3
|
export declare const DefaultAmplify: {
|
|
4
4
|
/**
|
|
5
5
|
* Configures Amplify with the {@link resourceConfig} and {@link libraryOptions}.
|
|
@@ -13,7 +13,7 @@ export declare const DefaultAmplify: {
|
|
|
13
13
|
*
|
|
14
14
|
* Amplify.configure(config);
|
|
15
15
|
*/
|
|
16
|
-
configure(resourceConfig: ResourcesConfig | LegacyConfig |
|
|
16
|
+
configure(resourceConfig: ResourcesConfig | LegacyConfig | AmplifyOutputsUnknown, libraryOptions?: LibraryOptions): void;
|
|
17
17
|
/**
|
|
18
18
|
* Returns the {@link ResourcesConfig} object passed in as the `resourceConfig` parameter when calling
|
|
19
19
|
* `Amplify.configure`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aws-amplify",
|
|
3
|
-
"version": "6.13.
|
|
3
|
+
"version": "6.13.3-unstable.0580740.0+0580740",
|
|
4
4
|
"description": "AWS Amplify is a JavaScript library for Frontend and mobile developers building cloud-enabled applications.",
|
|
5
5
|
"main": "./dist/cjs/index.js",
|
|
6
6
|
"module": "./dist/esm/index.mjs",
|
|
@@ -293,13 +293,13 @@
|
|
|
293
293
|
"utils"
|
|
294
294
|
],
|
|
295
295
|
"dependencies": {
|
|
296
|
-
"@aws-amplify/analytics": "7.0.
|
|
297
|
-
"@aws-amplify/api": "6.3.
|
|
298
|
-
"@aws-amplify/auth": "6.11.
|
|
299
|
-
"@aws-amplify/core": "6.10.
|
|
300
|
-
"@aws-amplify/datastore": "5.0.
|
|
301
|
-
"@aws-amplify/notifications": "2.0.
|
|
302
|
-
"@aws-amplify/storage": "6.7.
|
|
296
|
+
"@aws-amplify/analytics": "7.0.72-unstable.0580740.0+0580740",
|
|
297
|
+
"@aws-amplify/api": "6.3.3-unstable.0580740.0+0580740",
|
|
298
|
+
"@aws-amplify/auth": "6.11.3-unstable.0580740.0+0580740",
|
|
299
|
+
"@aws-amplify/core": "6.10.3-unstable.0580740.0+0580740",
|
|
300
|
+
"@aws-amplify/datastore": "5.0.74-unstable.0580740.0+0580740",
|
|
301
|
+
"@aws-amplify/notifications": "2.0.72-unstable.0580740.0+0580740",
|
|
302
|
+
"@aws-amplify/storage": "6.7.13-unstable.0580740.0+0580740",
|
|
303
303
|
"tslib": "^2.5.0"
|
|
304
304
|
},
|
|
305
305
|
"devDependencies": {
|
|
@@ -535,5 +535,5 @@
|
|
|
535
535
|
"limit": "23.00 kB"
|
|
536
536
|
}
|
|
537
537
|
],
|
|
538
|
-
"gitHead": "
|
|
538
|
+
"gitHead": "0580740b0f19fd20fe03a6c8ee8f5a8c6cd91a37"
|
|
539
539
|
}
|
|
@@ -8,7 +8,9 @@ export {
|
|
|
8
8
|
createUserPoolsTokenProvider,
|
|
9
9
|
} from './authProvidersFactories/cognito';
|
|
10
10
|
export {
|
|
11
|
+
/** @deprecated This type is deprecated and will be removed in future versions. */
|
|
11
12
|
LegacyConfig,
|
|
13
|
+
/** @deprecated This type is deprecated and will be removed in future versions. */
|
|
12
14
|
AmplifyOutputs,
|
|
13
15
|
} from '@aws-amplify/core/internals/utils';
|
|
14
16
|
export {
|
package/src/initSingleton.ts
CHANGED
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
defaultStorage,
|
|
9
9
|
} from '@aws-amplify/core';
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
AmplifyOutputsUnknown,
|
|
12
12
|
LegacyConfig,
|
|
13
13
|
parseAmplifyConfig,
|
|
14
14
|
} from '@aws-amplify/core/internals/utils';
|
|
@@ -32,7 +32,7 @@ export const DefaultAmplify = {
|
|
|
32
32
|
* Amplify.configure(config);
|
|
33
33
|
*/
|
|
34
34
|
configure(
|
|
35
|
-
resourceConfig: ResourcesConfig | LegacyConfig |
|
|
35
|
+
resourceConfig: ResourcesConfig | LegacyConfig | AmplifyOutputsUnknown,
|
|
36
36
|
libraryOptions?: LibraryOptions,
|
|
37
37
|
): void {
|
|
38
38
|
const resolvedResourceConfig = parseAmplifyConfig(resourceConfig);
|