diff --git a/.changeset/rich-bags-smile.md b/.changeset/rich-bags-smile.md new file mode 100644 index 00000000000..04cd2a360d2 --- /dev/null +++ b/.changeset/rich-bags-smile.md @@ -0,0 +1,20 @@ +--- +"@aws-amplify/ui-angular": patch +"@aws-amplify/ui-react-ai": patch +"@aws-amplify/ui-react-auth": patch +"@aws-amplify/ui-react-core-auth": patch +"@aws-amplify/ui-react-core-notifications": patch +"@aws-amplify/ui-react-core": patch +"@aws-amplify/ui-react-geo": patch +"@aws-amplify/ui-react-liveness": patch +"@aws-amplify/ui-react-native-auth": patch +"@aws-amplify/ui-react-native": patch +"@aws-amplify/ui-react-notifications": patch +"@aws-amplify/ui-react-storage": patch +"@aws-amplify/ui-react": patch +"@aws-amplify/ui": patch +"@aws-amplify/ui-vue": patch +"@aws-amplify/ui-angular": patch +--- + +chore(ai): adding UA string for AIConversation diff --git a/package.json b/package.json index 4d1ad50c164..267817ccbd4 100644 --- a/package.json +++ b/package.json @@ -125,7 +125,7 @@ "@types/jest": "^29.5.5", "@types/react-test-renderer": "^18.0.2", "@vitejs/plugin-vue": "^2.3.4", - "aws-amplify": "^6.6.0", + "aws-amplify": "^6.6.5", "esbuild-register": "^3.5.0", "eslint": "^8.44.0", "fs-extra": "^11.1.1", diff --git a/packages/angular/projects/ui-angular/package.json b/packages/angular/projects/ui-angular/package.json index 5ed5eaec8d1..c0ab2fccb47 100644 --- a/packages/angular/projects/ui-angular/package.json +++ b/packages/angular/projects/ui-angular/package.json @@ -16,7 +16,7 @@ "peerDependencies": { "@angular/core": ">= 14.0.0", "@angular/common": ">= 14.0.0", - "aws-amplify": "^6.6.0", + "aws-amplify": "^6.6.5", "rxjs": "^6.5.3 || ^7.4.0" }, "dependencies": { diff --git a/packages/react-ai/package.json b/packages/react-ai/package.json index 60e96280d83..1ee47e296b6 100644 --- a/packages/react-ai/package.json +++ b/packages/react-ai/package.json @@ -43,7 +43,7 @@ }, "peerDependencies": { "@aws-amplify/api-graphql": "^4.3.0", - "aws-amplify": "^6.6.0", + "aws-amplify": "^6.6.5", "react": "^16.14.0 || ^17.0 || ^18.0", "react-dom": "^16.14.0 || ^17.0 || ^18.0" }, diff --git a/packages/react-ai/src/components/AIConversation/AIConversation.tsx b/packages/react-ai/src/components/AIConversation/AIConversation.tsx index 248814a8e9f..382d1b380b3 100644 --- a/packages/react-ai/src/components/AIConversation/AIConversation.tsx +++ b/packages/react-ai/src/components/AIConversation/AIConversation.tsx @@ -14,6 +14,8 @@ import { PromptList } from './views/default/PromptList'; import { AutoHidablePromptControl } from './views/Controls'; import { ComponentClassName } from '@aws-amplify/ui'; import { AIConversationProvider } from './AIConversationProvider'; +import { useSetUserAgent } from '@aws-amplify/ui-react-core'; +import { VERSION } from '../../version'; interface AIConversationBaseProps extends AIConversationProps, @@ -32,6 +34,11 @@ function AIConversationBase({ displayText, allowAttachments, }: AIConversationBaseProps): JSX.Element { + useSetUserAgent({ + componentName: 'AIConversation', + packageName: 'react-ai', + version: VERSION, + }); const icons = useIcons('aiConversation'); const defaultAvatars: Avatars = { ai: { diff --git a/packages/react-ai/src/types.ts b/packages/react-ai/src/types.ts index d2c96f73fd2..ec7c108ece4 100644 --- a/packages/react-ai/src/types.ts +++ b/packages/react-ai/src/types.ts @@ -4,6 +4,7 @@ export type ConversationRoute = V6Client['conversations'][string]; export type Conversation = NonNullable< Awaited>['data'] >; + export type ConversationMessage = NonNullable< Awaited>['data'] >; @@ -14,20 +15,28 @@ export type TextContent = NonNullable; export type ImageContent = NonNullable; -export type InputContent = Parameters< - Conversation['sendMessage'] ->[0]['content'][number]; +// Note: the conversation sendMessage function is an overload +// that accepts a string OR an object +export type InputContent = Exclude< + Parameters[0], + string +>['content'][number]; -export type SendMessageContent = Parameters< - Conversation['sendMessage'] ->[0]['content']; +export type SendMessageContent = Exclude< + Parameters[0], + string +>['content']; -export type SendMessageContext = Parameters< - Conversation['sendMessage'] ->[0]['aiContext']; +export type SendMessageContext = Exclude< + Parameters[0], + string +>['aiContext']; export type ToolConfiguration = NonNullable< - Parameters[0]['toolConfiguration'] + Exclude< + Parameters[0], + string + >['toolConfiguration'] >; export interface SendMesageParameters { diff --git a/packages/react-ai/src/version.ts b/packages/react-ai/src/version.ts new file mode 100644 index 00000000000..7195b1090e2 --- /dev/null +++ b/packages/react-ai/src/version.ts @@ -0,0 +1 @@ +export const VERSION = '0.3.2'; diff --git a/packages/react-auth/package.json b/packages/react-auth/package.json index b21dd3fe055..ea607c6f624 100644 --- a/packages/react-auth/package.json +++ b/packages/react-auth/package.json @@ -49,7 +49,7 @@ "tslib": "^2.5.2" }, "peerDependencies": { - "aws-amplify": "^6.6.0", + "aws-amplify": "^6.6.5", "react": "^16.14.0 || ^17.0 || ^18.0", "react-dom": "^16.14.0 || ^17.0 || ^18.0" }, diff --git a/packages/react-core-auth/package.json b/packages/react-core-auth/package.json index f952bfbf1db..822916397f7 100644 --- a/packages/react-core-auth/package.json +++ b/packages/react-core-auth/package.json @@ -42,7 +42,7 @@ }, "peerDependencies": { "@aws-amplify/core": "*", - "aws-amplify": "^6.6.0", + "aws-amplify": "^6.6.5", "react": "^16.14.0 || ^17.0 || ^18.0" }, "sideEffects": false diff --git a/packages/react-core-notifications/package.json b/packages/react-core-notifications/package.json index 91526ecb4cc..466b49305fb 100644 --- a/packages/react-core-notifications/package.json +++ b/packages/react-core-notifications/package.json @@ -39,7 +39,7 @@ "@aws-amplify/ui-react-core": "3.0.28" }, "peerDependencies": { - "aws-amplify": "^6.6.0", + "aws-amplify": "^6.6.5", "react": "^16.14.0 || ^17.0 || ^18.0" }, "sideEffects": false diff --git a/packages/react-core/package.json b/packages/react-core/package.json index 6418a01ff8b..57c6edf4a2b 100644 --- a/packages/react-core/package.json +++ b/packages/react-core/package.json @@ -47,7 +47,7 @@ "xstate": "^4.33.6" }, "peerDependencies": { - "aws-amplify": "^6.6.0", + "aws-amplify": "^6.6.5", "react": "^16.14.0 || ^17.0 || ^18.0" }, "sideEffects": false diff --git a/packages/react-geo/package.json b/packages/react-geo/package.json index 007e7c72a08..e5ac85c6f31 100644 --- a/packages/react-geo/package.json +++ b/packages/react-geo/package.json @@ -48,7 +48,7 @@ }, "peerDependencies": { "@aws-amplify/geo": "^3.0.47", - "aws-amplify": "^6.6.0", + "aws-amplify": "^6.6.5", "react": "^16.14.0 || ^17.0 || ^18.0", "react-dom": "^16.14.0 || ^17.0 || ^18.0" }, diff --git a/packages/react-liveness/package.json b/packages/react-liveness/package.json index bf92963ce06..ba7b79bed44 100644 --- a/packages/react-liveness/package.json +++ b/packages/react-liveness/package.json @@ -43,7 +43,7 @@ }, "peerDependencies": { "@aws-amplify/core": "*", - "aws-amplify": "^6.6.0", + "aws-amplify": "^6.6.5", "react": "^16.14.0 || ^17.0 || ^18.0", "react-dom": "^16.14.0 || ^17.0 || ^18.0" }, diff --git a/packages/react-native-auth/package.json b/packages/react-native-auth/package.json index ebc4a170858..99d8828de7b 100644 --- a/packages/react-native-auth/package.json +++ b/packages/react-native-auth/package.json @@ -34,7 +34,7 @@ "qrcode": "1.5.0" }, "peerDependencies": { - "aws-amplify": "^6.6.0", + "aws-amplify": "^6.6.5", "react": "^18", "react-native": "^0.70 || ^0.71 || ^0.72" }, diff --git a/packages/react-native/package.json b/packages/react-native/package.json index ddd928879d0..553d86fe0ea 100644 --- a/packages/react-native/package.json +++ b/packages/react-native/package.json @@ -35,7 +35,7 @@ "@aws-amplify/ui-react-core-notifications": "2.0.28" }, "peerDependencies": { - "aws-amplify": "^6.6.0", + "aws-amplify": "^6.6.5", "react": "*", "react-native": "^0.70 || ^0.71 || ^0.72 || ^0.73 || ^0.74 || ^0.75", "react-native-safe-area-context": "^4.2.5" diff --git a/packages/react-notifications/package.json b/packages/react-notifications/package.json index 40525f880a9..4ad7e465448 100644 --- a/packages/react-notifications/package.json +++ b/packages/react-notifications/package.json @@ -46,7 +46,7 @@ "tinycolor2": "1.4.2" }, "peerDependencies": { - "aws-amplify": "^6.6.0", + "aws-amplify": "^6.6.5", "react": "^16.14.0 || ^17.0 || ^18.0", "react-dom": "^16.14.0 || ^17.0 || ^18.0" }, @@ -61,7 +61,7 @@ "name": "InAppMessaging", "path": "dist/esm/index.mjs", "import": "{ InAppMessagingProvider, InAppMessageDisplay }", - "limit": "22 kB" + "limit": "23 kB" } ] } diff --git a/packages/react-storage/package.json b/packages/react-storage/package.json index dea9c56045c..3b9b9de913b 100644 --- a/packages/react-storage/package.json +++ b/packages/react-storage/package.json @@ -46,7 +46,7 @@ "tslib": "^2.5.2" }, "peerDependencies": { - "aws-amplify": "^6.6.0", + "aws-amplify": "^6.6.5", "react": "^16.14.0 || ^17.0 || ^18.0", "react-dom": "^16.14.0 || ^17.0 || ^18.0" }, diff --git a/packages/react/package.json b/packages/react/package.json index b96d616b6fd..1b2361ed5c1 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -67,7 +67,7 @@ }, "peerDependencies": { "@aws-amplify/core": "*", - "aws-amplify": "^6.6.0", + "aws-amplify": "^6.6.5", "react": "^16.14.0 || ^17.0 || ^18.0", "react-dom": "^16.14.0 || ^17.0 || ^18.0" }, diff --git a/packages/ui/package.json b/packages/ui/package.json index 4b334820ca5..d259e4d93e0 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -50,7 +50,7 @@ }, "peerDependencies": { "@aws-amplify/core": "*", - "aws-amplify": "^6.6.0", + "aws-amplify": "^6.6.5", "xstate": "^4.33.6" }, "peerDependenciesMeta": { diff --git a/packages/ui/src/utils/setUserAgent/constants.ts b/packages/ui/src/utils/setUserAgent/constants.ts index 6ca75550a3d..f95c5c20a32 100644 --- a/packages/ui/src/utils/setUserAgent/constants.ts +++ b/packages/ui/src/utils/setUserAgent/constants.ts @@ -8,8 +8,23 @@ import { InAppMessagingAction, StorageAction, Category, + AiAction, + AiUserAgentInput, } from '@aws-amplify/core/internals/utils'; +export const AI_INPUT_BASE: Omit = { + category: Category.AI, + apis: [ + AiAction.CreateConversation, + AiAction.DeleteConversation, + AiAction.ListConversations, + AiAction.UpdateConversation, + AiAction.OnMessage, + AiAction.SendMessage, + AiAction.Generation, + ], +}; + export const ACCOUNT_SETTINGS_INPUT_BASE: Omit< AuthUserAgentInput, 'additionalDetails' diff --git a/packages/ui/src/utils/setUserAgent/setUserAgent.ts b/packages/ui/src/utils/setUserAgent/setUserAgent.ts index 45e4065c134..bf002dd21db 100644 --- a/packages/ui/src/utils/setUserAgent/setUserAgent.ts +++ b/packages/ui/src/utils/setUserAgent/setUserAgent.ts @@ -2,6 +2,7 @@ import { setCustomUserAgent } from '@aws-amplify/core/internals/utils'; import { ACCOUNT_SETTINGS_INPUT_BASE, + AI_INPUT_BASE, AUTHENTICATOR_INPUT_BASE, FILE_UPLOADER_BASE_INPUT, IN_APP_MESSAGING_INPUT_BASE, @@ -15,6 +16,7 @@ import { noop } from '../utils'; export type PackageName = | 'angular' | 'react' + | 'react-ai' | 'react-auth' | 'react-geo' | 'react-liveness' @@ -25,6 +27,7 @@ export type PackageName = | 'vue'; export type ComponentName = + | 'AIConversation' | 'Authenticator' | 'ChangePassword' | 'DeleteUser' @@ -63,6 +66,13 @@ export const setUserAgent = ({ const packageData: [string, string] = [`ui-${packageName}`, version]; switch (componentName) { + case 'AIConversation': { + setCustomUserAgent({ + ...AI_INPUT_BASE, + additionalDetails: [[componentName], packageData], + }); + break; + } case 'Authenticator': { setCustomUserAgent({ ...AUTHENTICATOR_INPUT_BASE, diff --git a/packages/vue/package.json b/packages/vue/package.json index 2a1ed3f57e6..5bb6c027df0 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -66,7 +66,7 @@ }, "peerDependencies": { "@aws-amplify/core": "*", - "aws-amplify": "^6.6.0", + "aws-amplify": "^6.6.5", "vue": "^3.0" } } diff --git a/scripts/generateVersion.js b/scripts/generateVersion.js index 222585d0207..2e9d901a1a1 100644 --- a/scripts/generateVersion.js +++ b/scripts/generateVersion.js @@ -8,6 +8,7 @@ const fs = require('fs-extra'); const packages = [ 'packages/angular/projects/ui-angular', 'packages/react', + 'packages/react-ai', 'packages/react-auth', 'packages/react-geo', 'packages/react-native', diff --git a/yarn.lock b/yarn.lock index 276ffa32622..9839269129f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -482,10 +482,10 @@ "@aws-sdk/client-bedrock-runtime" "^3.622.0" "@smithy/types" "^3.3.0" -"@aws-amplify/analytics@7.0.49": - version "7.0.49" - resolved "https://registry.yarnpkg.com/@aws-amplify/analytics/-/analytics-7.0.49.tgz#03f21ebef88cc8542a56b3493d8ff4fb6709c5e2" - integrity sha512-+HLuvrbTAVhsMtMpwZuiGVULM7NqSoy6+gByi3NodZjMFvIQX6SvbZlGdDGjT5vYb8r3GSLRbgvGnf2VvfTTFA== +"@aws-amplify/analytics@7.0.52": + version "7.0.52" + resolved "https://registry.yarnpkg.com/@aws-amplify/analytics/-/analytics-7.0.52.tgz#a3c942a4762fc998baecbce5abfa48b1288904dc" + integrity sha512-Ja6nKlKkIHlkZk/Rl5auLcLRwf8yFHlL65UVXzpBrafmVSl72ygNAT4dsxRMOWse/aiEw1Y/Jqb/XpkgAweBCw== dependencies: "@aws-sdk/client-firehose" "3.621.0" "@aws-sdk/client-kinesis" "3.621.0" @@ -493,34 +493,34 @@ "@smithy/util-utf8" "2.0.0" tslib "^2.5.0" -"@aws-amplify/api-graphql@4.3.2": - version "4.3.2" - resolved "https://registry.yarnpkg.com/@aws-amplify/api-graphql/-/api-graphql-4.3.2.tgz#596cd879d0be4d84f62ccdc28ee25e8cb3f6df92" - integrity sha512-izdaQOUMD/CuTY7eHI2ngjt2i80bMynNT63HueJszkeyc+N/eEl5qAQNRHx+VaVGiyGgiz82WxcEU6gfLKnvMA== +"@aws-amplify/api-graphql@4.4.1": + version "4.4.1" + resolved "https://registry.yarnpkg.com/@aws-amplify/api-graphql/-/api-graphql-4.4.1.tgz#681018e3082676fd65313f72d3534664195ebc7c" + integrity sha512-Waec2UbCQ4OssG2/lrAiZgQuS9WUlsth0AnuPjbsUKQpw7k7Rq0OOhGJepAXnn8v1YGVmr9ilyzKevN799qFCw== dependencies: - "@aws-amplify/api-rest" "4.0.49" - "@aws-amplify/core" "6.4.2" - "@aws-amplify/data-schema" "^1.5.0" + "@aws-amplify/api-rest" "4.0.52" + "@aws-amplify/core" "6.4.5" + "@aws-amplify/data-schema" "^1.7.0" "@aws-sdk/types" "3.387.0" graphql "15.8.0" rxjs "^7.8.1" tslib "^2.5.0" uuid "^9.0.0" -"@aws-amplify/api-rest@4.0.49": - version "4.0.49" - resolved "https://registry.yarnpkg.com/@aws-amplify/api-rest/-/api-rest-4.0.49.tgz#80f9c4cc2e31b87da0f14a1cfdf1d6914f33d660" - integrity sha512-o2C/62yAvn/KvKDkvHUtMEroT6aG0YAEgjSWjkerURipHx0o5JvQVcTuKAvop7ZxnzV/RO+8qdSg/iI14kzZnw== +"@aws-amplify/api-rest@4.0.52": + version "4.0.52" + resolved "https://registry.yarnpkg.com/@aws-amplify/api-rest/-/api-rest-4.0.52.tgz#711bc9addf8cf6656b99a3e64bd3ef66ec3e50d9" + integrity sha512-A1kI7/6UqLUyOoPbPrUUjg84dPORAJzyC+xnk+o9ZKbVZVcfyHDU/XsbZgEi9NGZBMMPNgCek/m6O/FI5hd1VQ== dependencies: tslib "^2.5.0" -"@aws-amplify/api@6.0.51": - version "6.0.51" - resolved "https://registry.yarnpkg.com/@aws-amplify/api/-/api-6.0.51.tgz#c493511e65320e9da2fef45570622a3162fdfff2" - integrity sha512-p5jWW6saazLuJ+8TkXLB8O7ZGXMCuP9HArIt9o0jP+nDRBIqsRb5IQQb14DDQ8PkBfleKjKHeI69c246uTsKSA== +"@aws-amplify/api@6.0.54": + version "6.0.54" + resolved "https://registry.yarnpkg.com/@aws-amplify/api/-/api-6.0.54.tgz#0e2b4b581171fa5318a028487e05fcd9eddedaf0" + integrity sha512-aZ2rqapEtZHuHKgGhZ9F+E9VTah61PqxGEJWuJFQYhBA3Ui5dA5m98Rt49666xvQ7dJo1KkUqw9vrpPyE/mW/Q== dependencies: - "@aws-amplify/api-graphql" "4.3.2" - "@aws-amplify/api-rest" "4.0.49" + "@aws-amplify/api-graphql" "4.4.1" + "@aws-amplify/api-rest" "4.0.52" tslib "^2.5.0" "@aws-amplify/appsync-modelgen-plugin@2.13.0": @@ -549,10 +549,10 @@ "@aws-amplify/plugin-types" "^1.2.1" "@aws-sdk/util-arn-parser" "^3.568.0" -"@aws-amplify/auth@6.4.2": - version "6.4.2" - resolved "https://registry.yarnpkg.com/@aws-amplify/auth/-/auth-6.4.2.tgz#319a2f264587886e0ff0b6be63c7d8dc3f189519" - integrity sha512-Mfx5AW5RgM0qE9DuJNlFAl4yzFAN1nSxCuLvGrWpKUrcYDomy5I2zzETCxRcJvrb94qzg3aPHlooR8Lgl6t6qg== +"@aws-amplify/auth@6.5.2": + version "6.5.2" + resolved "https://registry.yarnpkg.com/@aws-amplify/auth/-/auth-6.5.2.tgz#4aa286bc18fdf99ffeb6b91b9f540e6445a5ebd9" + integrity sha512-YxLcfhWWt9AtkePPo4aRH3OeRrlIWoo5+FV8gyOkeaHBiF3fkWcWZ3YAxMz7jG+iycgQMzj0bkFFTaNAy0Ohgw== dependencies: tslib "^2.5.0" @@ -665,10 +665,10 @@ "@aws-amplify/platform-core" "^1.0.7" zod "^3.22.2" -"@aws-amplify/core@6.4.2": - version "6.4.2" - resolved "https://registry.yarnpkg.com/@aws-amplify/core/-/core-6.4.2.tgz#db258b8118ec3eff25bdfb757492008f7dbf8af2" - integrity sha512-kumvcxy8dk+L78MBjzfCrd+iVefliTvrbYskNFFbxbKCxUB7QavgALrVi31VXQxBW5YvImjAsS1qS7SY1YkYHQ== +"@aws-amplify/core@6.4.5": + version "6.4.5" + resolved "https://registry.yarnpkg.com/@aws-amplify/core/-/core-6.4.5.tgz#a40e7c5d4857d9864fc44d94a0590844fdb2ad3d" + integrity sha512-YE1CUOEoDs6gwZbTXYcrg5BSC1yfKAPM5yh4/Yy7BdIyev3WZl0RwukWk6Z/rdM1/ePKyDAbVeiGO7GOaWhJNw== dependencies: "@aws-crypto/sha256-js" "5.2.0" "@aws-sdk/types" "3.398.0" @@ -735,7 +735,7 @@ graphql "15.8.0" rxjs "^7.8.1" -"@aws-amplify/data-schema@^1.0.0", "@aws-amplify/data-schema@^1.5.0": +"@aws-amplify/data-schema@^1.0.0": version "1.6.2" resolved "https://registry.yarnpkg.com/@aws-amplify/data-schema/-/data-schema-1.6.2.tgz#6d6537b163c723b7e138aaded2d32b2f94ed9bc3" integrity sha512-GCntMHsm2VPBAdfpsRSv35K1csSVJ/sCBbOHcPwb3it3hea5Z88B13fK+B4ktpvUJSjy4n/m9/m6tK9h9Yky8Q== @@ -746,12 +746,23 @@ "@types/json-schema" "^7.0.15" rxjs "^7.8.1" -"@aws-amplify/datastore@5.0.51": - version "5.0.51" - resolved "https://registry.yarnpkg.com/@aws-amplify/datastore/-/datastore-5.0.51.tgz#2fb1acd9b0915c601f04421e7498eca8d852daad" - integrity sha512-R4XAsmrT7psWnvgc6lr8hxbJwFd6iHgsiqazOH67h9tusgmIFAp+HEgKPV/sUrkT2aIEy8Ge7so5y1Tku70zBA== +"@aws-amplify/data-schema@^1.7.0": + version "1.10.0" + resolved "https://registry.yarnpkg.com/@aws-amplify/data-schema/-/data-schema-1.10.0.tgz#016fe8e9e1f40d268d26867c1bd925d71e902a12" + integrity sha512-tp1dtpNmc5X8B9M3yg1TmkXvnMH10UicPrnfpNCVfsuCQZk7r/hNkzLaLlAyD8/f5/sXatpYl91zo7owbIuPPw== dependencies: - "@aws-amplify/api" "6.0.51" + "@aws-amplify/data-schema-types" "*" + "@smithy/util-base64" "^3.0.0" + "@types/aws-lambda" "^8.10.134" + "@types/json-schema" "^7.0.15" + rxjs "^7.8.1" + +"@aws-amplify/datastore@5.0.54": + version "5.0.54" + resolved "https://registry.yarnpkg.com/@aws-amplify/datastore/-/datastore-5.0.54.tgz#1a1569737ec9000052c0010d2c0367cb97cb17e1" + integrity sha512-WYoUMWbpQci1Ah6Ft+EyWmTzKKxB+MrtgBa8CmYsNYm7PSGcOQ/SyGDdaxxBj0YnXv8KKA46/O/ofT9SrxX9Wg== + dependencies: + "@aws-amplify/api" "6.0.54" buffer "4.9.2" idb "5.0.6" immer "9.0.6" @@ -1111,10 +1122,10 @@ "@aws-sdk/types" "^3.609.0" graphql "^15.8.0" -"@aws-amplify/notifications@2.0.49": - version "2.0.49" - resolved "https://registry.yarnpkg.com/@aws-amplify/notifications/-/notifications-2.0.49.tgz#e226dd9cb9ba54651c72d332b5446dfdfc629ddf" - integrity sha512-26+vgiCnugF3wGyVPzOFsc0BFC/nGf+70LpzsYrxLes4OaLq1cBVJgh7q6p9nT+qjsrmlVGwl0kU49OIyPx7xg== +"@aws-amplify/notifications@2.0.52": + version "2.0.52" + resolved "https://registry.yarnpkg.com/@aws-amplify/notifications/-/notifications-2.0.52.tgz#332c401d65cfafadfa95c9c5f831182bff834394" + integrity sha512-jvReh1i4e80pY+XUtahIeGZ5I1plpQgq3lgYYky4Z9lViMQKJrrNdl6Yy0AKbkv+7/3h/m/wtKF2d/PSqJtrDw== dependencies: lodash "^4.17.21" tslib "^2.5.0" @@ -1193,10 +1204,10 @@ resolved "https://registry.npmjs.org/@aws-amplify/rtn-web-browser/-/rtn-web-browser-1.0.30.tgz#664053391226c956dce25402b77263059b914e1c" integrity sha512-1n3za9kmCOMjOXh3qMGZboQm6PlefiDZED1b78cOpeyha7AzynOfJm8y8jGd71gZPODSP94FD+6aa7VNq/S/4w== -"@aws-amplify/storage@6.6.7": - version "6.6.7" - resolved "https://registry.yarnpkg.com/@aws-amplify/storage/-/storage-6.6.7.tgz#5beb4943e72f8a6a44312231c83938a432f7f6b6" - integrity sha512-iTpVvTzAGoAzXpI72SJBez3qwqXH8I1IxRKJOURXkv4z2rBeFfCHYv8z+o2DHv7YQ+ATuuQF1TvmQ1Xsat1PLw== +"@aws-amplify/storage@6.6.10": + version "6.6.10" + resolved "https://registry.yarnpkg.com/@aws-amplify/storage/-/storage-6.6.10.tgz#ef0236b03456efbd0d4e96db3cdb9c562390e1e9" + integrity sha512-wQ4Xj74Xh+TOlT9Lt7xv8zlgE5Jgtswgzap10rcNxLd45mo0KzC3dMBvIN1EW5+25HUQaQMzSByyI1T1GijE2g== dependencies: "@aws-sdk/types" "3.398.0" "@smithy/md5-js" "2.0.7" @@ -12360,18 +12371,18 @@ available-typed-arrays@^1.0.5: resolved "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz#92f95616501069d07d10edb2fc37d3e1c65123b7" integrity sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw== -aws-amplify@^6.6.0: - version "6.6.2" - resolved "https://registry.yarnpkg.com/aws-amplify/-/aws-amplify-6.6.2.tgz#1584a89b3834e5678815b8f28904e06de83df832" - integrity sha512-VPboVLLQyyWQvpMfqrEQsF2SkVTqIKMQrEzakl01kIzyoaKKaPVefc7Gd9RmtuDuDcU/SalIR2pIRfE4ZkTMRQ== - dependencies: - "@aws-amplify/analytics" "7.0.49" - "@aws-amplify/api" "6.0.51" - "@aws-amplify/auth" "6.4.2" - "@aws-amplify/core" "6.4.2" - "@aws-amplify/datastore" "5.0.51" - "@aws-amplify/notifications" "2.0.49" - "@aws-amplify/storage" "6.6.7" +aws-amplify@^6.6.5: + version "6.6.5" + resolved "https://registry.yarnpkg.com/aws-amplify/-/aws-amplify-6.6.5.tgz#d033d165d9e29fabcb2be79f81f9e5029d6bb755" + integrity sha512-m8NzejjZi5ASY9ynkeEZ1maM+F2Ho1vb4IyM5ZLDPIHz4kk1zOZPIuWAPUbOPu4Q3kDr0jvoBSpq/rfTqa630w== + dependencies: + "@aws-amplify/analytics" "7.0.52" + "@aws-amplify/api" "6.0.54" + "@aws-amplify/auth" "6.5.2" + "@aws-amplify/core" "6.4.5" + "@aws-amplify/datastore" "5.0.54" + "@aws-amplify/notifications" "2.0.52" + "@aws-amplify/storage" "6.6.10" tslib "^2.5.0" aws-sign2@~0.7.0: @@ -25856,7 +25867,16 @@ string-natural-compare@^3.0.1: resolved "https://registry.npmjs.org/string-natural-compare/-/string-natural-compare-3.0.1.tgz#7a42d58474454963759e8e8b7ae63d71c1e7fdf4" integrity sha512-n3sPwynL1nwKi3WJ6AIsClwBMa0zTi54fn2oLU6ndfTSIO05xaznjSf15PcBZU6FNWbmN5Q6cxT4V5hGvB4taw== -"string-width-cjs@npm:string-width@^4.2.0", "string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: +"string-width-cjs@npm:string-width@^4.2.0": + version "4.2.3" + resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + +"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: version "4.2.3" resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -25981,7 +26001,14 @@ stringify-entities@^4.0.0: character-entities-html4 "^2.0.0" character-entities-legacy "^3.0.0" -"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@6.0.1, strip-ansi@^6.0.0, strip-ansi@^6.0.1: +"strip-ansi-cjs@npm:strip-ansi@^6.0.1": + version "6.0.1" + resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + +strip-ansi@6.0.1, strip-ansi@^6.0.0, strip-ansi@^6.0.1: version "6.0.1" resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== @@ -27995,7 +28022,7 @@ workerpool@6.2.1: resolved "https://registry.npmjs.org/workerpool/-/workerpool-6.2.1.tgz#46fc150c17d826b86a008e5a4508656777e9c343" integrity sha512-ILEIE97kDZvF9Wb9f6h5aXK4swSlKGUcOEGiIYb2OOu/IrDU9iwj0fD//SsA6E5ibwJxpEvhullJY4Sl4GcpAw== -"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0: +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": version "7.0.0" resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== @@ -28013,6 +28040,15 @@ wrap-ansi@^6.2.0: string-width "^4.1.0" strip-ansi "^6.0.0" +wrap-ansi@^7.0.0: + version "7.0.0" + resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + wrap-ansi@^8.1.0: version "8.1.0" resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214"