@aws-amplify/core 4.6.2-next.36 → 4.6.2-next.41

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.
Files changed (136) hide show
  1. package/lib/ClientDevice/android.js +2 -12
  2. package/lib/ClientDevice/android.js.map +1 -1
  3. package/lib/ClientDevice/browser.js +2 -12
  4. package/lib/ClientDevice/browser.js.map +1 -1
  5. package/lib/ClientDevice/index.js +2 -12
  6. package/lib/ClientDevice/index.js.map +1 -1
  7. package/lib/ClientDevice/ios.js +2 -12
  8. package/lib/ClientDevice/ios.js.map +1 -1
  9. package/lib/ClientDevice/reactnative.js +2 -12
  10. package/lib/ClientDevice/reactnative.js.map +1 -1
  11. package/lib/Errors.js +2 -12
  12. package/lib/Errors.js.map +1 -1
  13. package/lib/Hub.js +2 -12
  14. package/lib/Hub.js.map +1 -1
  15. package/lib/I18n/I18n.js +2 -12
  16. package/lib/I18n/I18n.js.map +1 -1
  17. package/lib/I18n/index.js +2 -12
  18. package/lib/I18n/index.js.map +1 -1
  19. package/lib/I18n/types.js +2 -12
  20. package/lib/I18n/types.js.map +1 -1
  21. package/lib/JS.js +2 -12
  22. package/lib/JS.js.map +1 -1
  23. package/lib/Logger/ConsoleLogger.js +2 -12
  24. package/lib/Logger/ConsoleLogger.js.map +1 -1
  25. package/lib/Logger/index.js +2 -12
  26. package/lib/Logger/index.js.map +1 -1
  27. package/lib/Logger/logger-interface.js +2 -12
  28. package/lib/Logger/logger-interface.js.map +1 -1
  29. package/lib/OAuthHelper/FacebookOAuth.js +2 -12
  30. package/lib/OAuthHelper/FacebookOAuth.js.map +1 -1
  31. package/lib/OAuthHelper/GoogleOAuth.js +2 -12
  32. package/lib/OAuthHelper/GoogleOAuth.js.map +1 -1
  33. package/lib/OAuthHelper/index.js +2 -12
  34. package/lib/OAuthHelper/index.js.map +1 -1
  35. package/lib/Platform/index.js +2 -12
  36. package/lib/Platform/index.js.map +1 -1
  37. package/lib/Providers/AWSCloudWatchProvider.js +2 -12
  38. package/lib/Providers/AWSCloudWatchProvider.js.map +1 -1
  39. package/lib/RNComponents/index.js +2 -12
  40. package/lib/RNComponents/index.js.map +1 -1
  41. package/lib/RNComponents/reactnative.js +2 -12
  42. package/lib/RNComponents/reactnative.js.map +1 -1
  43. package/lib/Signer.js +2 -12
  44. package/lib/Signer.js.map +1 -1
  45. package/lib/StorageHelper/index.js +2 -12
  46. package/lib/StorageHelper/index.js.map +1 -1
  47. package/lib/StorageHelper/reactnative.js +2 -12
  48. package/lib/StorageHelper/reactnative.js.map +1 -1
  49. package/lib/Util/Constants.js +2 -12
  50. package/lib/Util/Constants.js.map +1 -1
  51. package/lib/constants.js +2 -12
  52. package/lib/constants.js.map +1 -1
  53. package/lib/index.js +2 -12
  54. package/lib/index.js.map +1 -1
  55. package/lib-esm/ClientDevice/android.js +2 -12
  56. package/lib-esm/ClientDevice/android.js.map +1 -1
  57. package/lib-esm/ClientDevice/browser.js +2 -12
  58. package/lib-esm/ClientDevice/browser.js.map +1 -1
  59. package/lib-esm/ClientDevice/index.js +2 -12
  60. package/lib-esm/ClientDevice/index.js.map +1 -1
  61. package/lib-esm/ClientDevice/ios.js +2 -12
  62. package/lib-esm/ClientDevice/ios.js.map +1 -1
  63. package/lib-esm/ClientDevice/reactnative.js +2 -12
  64. package/lib-esm/ClientDevice/reactnative.js.map +1 -1
  65. package/lib-esm/Errors.js +2 -12
  66. package/lib-esm/Errors.js.map +1 -1
  67. package/lib-esm/Hub.js +2 -12
  68. package/lib-esm/Hub.js.map +1 -1
  69. package/lib-esm/I18n/I18n.js +2 -12
  70. package/lib-esm/I18n/I18n.js.map +1 -1
  71. package/lib-esm/I18n/index.js +2 -12
  72. package/lib-esm/I18n/index.js.map +1 -1
  73. package/lib-esm/I18n/types.js +2 -12
  74. package/lib-esm/I18n/types.js.map +1 -1
  75. package/lib-esm/JS.js +2 -12
  76. package/lib-esm/JS.js.map +1 -1
  77. package/lib-esm/Logger/ConsoleLogger.js +2 -12
  78. package/lib-esm/Logger/ConsoleLogger.js.map +1 -1
  79. package/lib-esm/Logger/index.js +2 -12
  80. package/lib-esm/Logger/index.js.map +1 -1
  81. package/lib-esm/Logger/logger-interface.js +2 -12
  82. package/lib-esm/Logger/logger-interface.js.map +1 -1
  83. package/lib-esm/OAuthHelper/FacebookOAuth.js +2 -12
  84. package/lib-esm/OAuthHelper/FacebookOAuth.js.map +1 -1
  85. package/lib-esm/OAuthHelper/GoogleOAuth.js +2 -12
  86. package/lib-esm/OAuthHelper/GoogleOAuth.js.map +1 -1
  87. package/lib-esm/OAuthHelper/index.js +2 -12
  88. package/lib-esm/OAuthHelper/index.js.map +1 -1
  89. package/lib-esm/Platform/index.js +2 -12
  90. package/lib-esm/Platform/index.js.map +1 -1
  91. package/lib-esm/Providers/AWSCloudWatchProvider.js +2 -12
  92. package/lib-esm/Providers/AWSCloudWatchProvider.js.map +1 -1
  93. package/lib-esm/RNComponents/index.js +2 -12
  94. package/lib-esm/RNComponents/index.js.map +1 -1
  95. package/lib-esm/RNComponents/reactnative.js +2 -12
  96. package/lib-esm/RNComponents/reactnative.js.map +1 -1
  97. package/lib-esm/Signer.js +2 -12
  98. package/lib-esm/Signer.js.map +1 -1
  99. package/lib-esm/StorageHelper/index.js +2 -12
  100. package/lib-esm/StorageHelper/index.js.map +1 -1
  101. package/lib-esm/StorageHelper/reactnative.js +2 -12
  102. package/lib-esm/StorageHelper/reactnative.js.map +1 -1
  103. package/lib-esm/Util/Constants.js +2 -12
  104. package/lib-esm/Util/Constants.js.map +1 -1
  105. package/lib-esm/constants.js +2 -12
  106. package/lib-esm/constants.js.map +1 -1
  107. package/lib-esm/index.js +2 -12
  108. package/lib-esm/index.js.map +1 -1
  109. package/package.json +2 -2
  110. package/src/ClientDevice/android.ts +2 -12
  111. package/src/ClientDevice/browser.ts +2 -12
  112. package/src/ClientDevice/index.ts +2 -12
  113. package/src/ClientDevice/ios.ts +2 -12
  114. package/src/ClientDevice/reactnative.ts +2 -12
  115. package/src/Errors.ts +2 -12
  116. package/src/Hub.ts +2 -12
  117. package/src/I18n/I18n.ts +2 -12
  118. package/src/I18n/index.ts +2 -12
  119. package/src/I18n/types.ts +2 -12
  120. package/src/JS.ts +2 -12
  121. package/src/Logger/ConsoleLogger.ts +2 -12
  122. package/src/Logger/index.ts +2 -12
  123. package/src/Logger/logger-interface.ts +2 -12
  124. package/src/OAuthHelper/FacebookOAuth.ts +2 -12
  125. package/src/OAuthHelper/GoogleOAuth.ts +2 -12
  126. package/src/OAuthHelper/index.ts +2 -12
  127. package/src/Platform/index.ts +2 -12
  128. package/src/Providers/AWSCloudWatchProvider.ts +2 -12
  129. package/src/RNComponents/index.ts +2 -12
  130. package/src/RNComponents/reactnative.ts +2 -12
  131. package/src/Signer.ts +2 -12
  132. package/src/StorageHelper/index.ts +2 -12
  133. package/src/StorageHelper/reactnative.ts +2 -12
  134. package/src/Util/Constants.ts +2 -12
  135. package/src/constants.ts +2 -12
  136. package/src/index.ts +2 -12
package/lib-esm/index.js CHANGED
@@ -1,15 +1,5 @@
1
- /*
2
- * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
5
- * the License. A copy of the License is located at
6
- *
7
- * http://aws.amazon.com/apache2.0/
8
- *
9
- * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
10
- * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
11
- * and limitations under the License.
12
- */
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
13
3
  import { Amplify } from './Amplify';
14
4
  import { Platform } from './Platform';
15
5
  export { Amplify } from './Amplify';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,OAAO,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"4.6.2-next.41+f6ee89f54",
4
4
  "description": "Core category of aws-amplify",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib-esm/index.js",
@@ -116,5 +116,5 @@
116
116
  "lib-esm"
117
117
  ]
118
118
  },
119
- "gitHead": "580cda186f10ead3bb99acb7a4825c435c657d33"
119
+ "gitHead": "f6ee89f54b4176f680529bfdb7205b3a29cf3be2"
120
120
  }
@@ -1,15 +1,5 @@
1
- /*
2
- * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
5
- * the License. A copy of the License is located at
6
- *
7
- * http://aws.amazon.com/apache2.0/
8
- *
9
- * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
10
- * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
11
- * and limitations under the License.
12
- */
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
13
3
 
14
4
  import { Platform, Dimensions } from 'react-native';
15
5
  import { ConsoleLogger as Logger } from '../Logger';
@@ -1,15 +1,5 @@
1
- /*
2
- * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
5
- * the License. A copy of the License is located at
6
- *
7
- * http://aws.amazon.com/apache2.0/
8
- *
9
- * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
10
- * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
11
- * and limitations under the License.
12
- */
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
13
3
  import { ConsoleLogger as Logger } from '../Logger';
14
4
 
15
5
  const logger = new Logger('ClientDevice_Browser');
@@ -1,15 +1,5 @@
1
- /*
2
- * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
5
- * the License. A copy of the License is located at
6
- *
7
- * http://aws.amazon.com/apache2.0/
8
- *
9
- * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
10
- * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
11
- * and limitations under the License.
12
- */
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
13
3
 
14
4
  import { clientInfo, dimension } from './browser';
15
5
 
@@ -1,15 +1,5 @@
1
- /*
2
- * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
5
- * the License. A copy of the License is located at
6
- *
7
- * http://aws.amazon.com/apache2.0/
8
- *
9
- * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
10
- * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
11
- * and limitations under the License.
12
- */
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
13
3
 
14
4
  import { Platform, Dimensions } from 'react-native';
15
5
  import { ConsoleLogger as Logger } from '../Logger';
@@ -1,15 +1,5 @@
1
- /*
2
- * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
5
- * the License. A copy of the License is located at
6
- *
7
- * http://aws.amazon.com/apache2.0/
8
- *
9
- * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
10
- * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
11
- * and limitations under the License.
12
- */
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
13
3
 
14
4
  import { Platform } from 'react-native';
15
5
  import { clientInfo as iOSClientInfo } from './ios';
package/src/Errors.ts CHANGED
@@ -1,15 +1,5 @@
1
- /*
2
- * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
5
- * the License. A copy of the License is located at
6
- *
7
- * http://aws.amazon.com/apache2.0/
8
- *
9
- * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
10
- * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
11
- * and limitations under the License.
12
- */
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
13
3
 
14
4
  export function missingConfig(name: string) {
15
5
  return new Error('Missing config value of ' + name);
package/src/Hub.ts CHANGED
@@ -1,15 +1,5 @@
1
- /*
2
- * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
5
- * the License. A copy of the License is located at
6
- *
7
- * http://aws.amazon.com/apache2.0/
8
- *
9
- * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
10
- * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
11
- * and limitations under the License.
12
- */
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
13
3
 
14
4
  import { ConsoleLogger as Logger } from './Logger';
15
5
 
package/src/I18n/I18n.ts CHANGED
@@ -1,15 +1,5 @@
1
- /*
2
- * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
5
- * the License. A copy of the License is located at
6
- *
7
- * http://aws.amazon.com/apache2.0/
8
- *
9
- * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
10
- * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
11
- * and limitations under the License.
12
- */
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
13
3
 
14
4
  import { I18nOptions } from './types';
15
5
  import { ConsoleLogger as Logger } from '../Logger';
package/src/I18n/index.ts CHANGED
@@ -1,15 +1,5 @@
1
- /*
2
- * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
5
- * the License. A copy of the License is located at
6
- *
7
- * http://aws.amazon.com/apache2.0/
8
- *
9
- * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
10
- * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
11
- * and limitations under the License.
12
- */
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
13
3
 
14
4
  import { I18n as I18nClass } from './I18n';
15
5
 
package/src/I18n/types.ts CHANGED
@@ -1,15 +1,5 @@
1
- /*
2
- * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
5
- * the License. A copy of the License is located at
6
- *
7
- * http://aws.amazon.com/apache2.0/
8
- *
9
- * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
10
- * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
11
- * and limitations under the License.
12
- */
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
13
3
 
14
4
  export class I18nOptions {
15
5
  language = null;
package/src/JS.ts CHANGED
@@ -1,15 +1,5 @@
1
- /*
2
- * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
5
- * the License. A copy of the License is located at
6
- *
7
- * http://aws.amazon.com/apache2.0/
8
- *
9
- * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
10
- * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
11
- * and limitations under the License.
12
- */
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
13
3
 
14
4
  const MIME_MAP = [
15
5
  { type: 'text/plain', ext: 'txt' },
@@ -1,15 +1,5 @@
1
- /*
2
- * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
5
- * the License. A copy of the License is located at
6
- *
7
- * http://aws.amazon.com/apache2.0/
8
- *
9
- * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
10
- * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
11
- * and limitations under the License.
12
- */
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
13
3
 
14
4
  import { InputLogEvent } from '@aws-sdk/client-cloudwatch-logs';
15
5
  import { LoggingProvider } from '../types';
@@ -1,14 +1,4 @@
1
- /*
2
- * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
5
- * the License. A copy of the License is located at
6
- *
7
- * http://aws.amazon.com/apache2.0/
8
- *
9
- * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
10
- * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
11
- * and limitations under the License.
12
- */
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
13
3
 
14
4
  export { ConsoleLogger, LOG_TYPE } from './ConsoleLogger';
@@ -1,15 +1,5 @@
1
- /*
2
- * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
5
- * the License. A copy of the License is located at
6
- *
7
- * http://aws.amazon.com/apache2.0/
8
- *
9
- * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
10
- * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
11
- * and limitations under the License.
12
- */
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
13
3
 
14
4
  import { LoggingProvider } from '../types';
15
5
 
@@ -1,15 +1,5 @@
1
- /*
2
- * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
5
- * the License. A copy of the License is located at
6
- *
7
- * http://aws.amazon.com/apache2.0/
8
- *
9
- * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
10
- * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
11
- * and limitations under the License.
12
- */
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
13
3
  import { ConsoleLogger as Logger } from '../Logger';
14
4
  import { browserOrNode } from '../JS';
15
5
  import { NonRetryableError } from '../Util';
@@ -1,15 +1,5 @@
1
- /*
2
- * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
5
- * the License. A copy of the License is located at
6
- *
7
- * http://aws.amazon.com/apache2.0/
8
- *
9
- * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
10
- * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
11
- * and limitations under the License.
12
- */
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
13
3
  import { ConsoleLogger as Logger } from '../Logger';
14
4
  import { browserOrNode } from '../JS';
15
5
  import { NonRetryableError } from '../Util';
@@ -1,15 +1,5 @@
1
- /*
2
- * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
5
- * the License. A copy of the License is located at
6
- *
7
- * http://aws.amazon.com/apache2.0/
8
- *
9
- * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
10
- * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
11
- * and limitations under the License.
12
- */
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
13
3
  import { GoogleOAuth as GoogleOAuthClass } from './GoogleOAuth';
14
4
  import { FacebookOAuth as FacebookOAuthClass } from './FacebookOAuth';
15
5
 
@@ -1,15 +1,5 @@
1
- /*
2
- * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
5
- * the License. A copy of the License is located at
6
- *
7
- * http://aws.amazon.com/apache2.0/
8
- *
9
- * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
10
- * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
11
- * and limitations under the License.
12
- */
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
13
3
  import { version } from './version';
14
4
 
15
5
  const BASE_USER_AGENT = `aws-amplify/${version}`;
@@ -1,15 +1,5 @@
1
- /*
2
- * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
5
- * the License. A copy of the License is located at
6
- *
7
- * http://aws.amazon.com/apache2.0/
8
- *
9
- * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
10
- * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
11
- * and limitations under the License.
12
- */
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
13
3
 
14
4
  import {
15
5
  CloudWatchLogsClient,
@@ -1,15 +1,5 @@
1
- /*
2
- * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
5
- * the License. A copy of the License is located at
6
- *
7
- * http://aws.amazon.com/apache2.0/
8
- *
9
- * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
10
- * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
11
- * and limitations under the License.
12
- */
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
13
3
 
14
4
  import { browserOrNode } from '../JS';
15
5
  import { StorageHelper } from '../StorageHelper';
@@ -1,15 +1,5 @@
1
- /*
2
- * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
5
- * the License. A copy of the License is located at
6
- *
7
- * http://aws.amazon.com/apache2.0/
8
- *
9
- * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
10
- * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
11
- * and limitations under the License.
12
- */
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
13
3
 
14
4
  import { Linking, AppState } from 'react-native';
15
5
  import AsyncStorage from '@react-native-async-storage/async-storage';
package/src/Signer.ts CHANGED
@@ -1,15 +1,5 @@
1
- /*
2
- * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
5
- * the License. A copy of the License is located at
6
- *
7
- * http://aws.amazon.com/apache2.0/
8
- *
9
- * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
10
- * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
11
- * and limitations under the License.
12
- */
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
13
3
 
14
4
  import { ConsoleLogger as Logger } from './Logger';
15
5
  import { Sha256 as jsSha256 } from '@aws-crypto/sha256-js';
@@ -1,15 +1,5 @@
1
- /*
2
- * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
5
- * the License. A copy of the License is located at
6
- *
7
- * http://aws.amazon.com/apache2.0/
8
- *
9
- * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
10
- * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
11
- * and limitations under the License.
12
- */
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
13
3
 
14
4
  let dataMemory = {};
15
5
 
@@ -1,15 +1,5 @@
1
- /*
2
- * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
5
- * the License. A copy of the License is located at
6
- *
7
- * http://aws.amazon.com/apache2.0/
8
- *
9
- * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
10
- * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
11
- * and limitations under the License.
12
- */
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
13
3
  import AsyncStorage from '@react-native-async-storage/async-storage';
14
4
 
15
5
  const MEMORY_KEY_PREFIX = '@MemoryStorage:';
@@ -1,15 +1,5 @@
1
- /*
2
- * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
5
- * the License. A copy of the License is located at
6
- *
7
- * http://aws.amazon.com/apache2.0/
8
- *
9
- * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
10
- * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
11
- * and limitations under the License.
12
- */
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
13
3
 
14
4
  // Logging constants
15
5
  const AWS_CLOUDWATCH_BASE_BUFFER_SIZE = 26;
package/src/constants.ts CHANGED
@@ -1,15 +1,5 @@
1
- /*
2
- * Copyright 2018-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
5
- * the License. A copy of the License is located at
6
- *
7
- * http://aws.amazon.com/apache2.0/
8
- *
9
- * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
10
- * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
11
- * and limitations under the License.
12
- */
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
13
3
 
14
4
  /**
15
5
  * This Symbol is used to reference an internal-only PubSub provider that
package/src/index.ts CHANGED
@@ -1,15 +1,5 @@
1
- /*
2
- * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
5
- * the License. A copy of the License is located at
6
- *
7
- * http://aws.amazon.com/apache2.0/
8
- *
9
- * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
10
- * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
11
- * and limitations under the License.
12
- */
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
13
3
 
14
4
  import { Amplify } from './Amplify';
15
5
  import { Platform } from './Platform';