diff --git a/packages/api-graphql/__tests__/internals/generateClient.test.ts b/packages/api-graphql/__tests__/internals/generateClient.test.ts index 94c375768df..48477337076 100644 --- a/packages/api-graphql/__tests__/internals/generateClient.test.ts +++ b/packages/api-graphql/__tests__/internals/generateClient.test.ts @@ -185,7 +185,7 @@ describe('generateClient', () => { const client = generateClient({ amplify: Amplify }); expect(() => { - client.enums.Status.values(); + client.enums.SecondaryIndexModelStatus.values(); }).toThrow( 'Client could not be generated. This is likely due to `Amplify.configure()` not being called prior to `generateClient()` or because the configuration passed to `Amplify.configure()` is missing GraphQL provider configuration.', ); diff --git a/packages/api-graphql/package.json b/packages/api-graphql/package.json index 69a02b2ca8e..c63ef755a09 100644 --- a/packages/api-graphql/package.json +++ b/packages/api-graphql/package.json @@ -71,7 +71,7 @@ }, "homepage": "https://aws-amplify.github.io/", "devDependencies": { - "@aws-amplify/data-schema": "^0.13.2", + "@aws-amplify/data-schema": "^0.13.4", "@rollup/plugin-typescript": "11.1.5", "rollup": "^4.9.6", "typescript": "5.0.2" @@ -86,7 +86,7 @@ "dependencies": { "@aws-amplify/api-rest": "4.0.17", "@aws-amplify/core": "6.0.17", - "@aws-amplify/data-schema-types": "^0.7.2", + "@aws-amplify/data-schema-types": "^0.7.3", "@aws-sdk/types": "3.387.0", "graphql": "15.8.0", "rxjs": "^7.8.1", diff --git a/yarn.lock b/yarn.lock index fe13f3ac8e9..8dad1937941 100644 --- a/yarn.lock +++ b/yarn.lock @@ -15,17 +15,17 @@ "@jridgewell/gen-mapping" "^0.3.0" "@jridgewell/trace-mapping" "^0.3.9" -"@aws-amplify/data-schema-types@*", "@aws-amplify/data-schema-types@^0.7.2": +"@aws-amplify/data-schema-types@*", "@aws-amplify/data-schema-types@^0.7.3": version "0.7.3" resolved "https://registry.yarnpkg.com/@aws-amplify/data-schema-types/-/data-schema-types-0.7.3.tgz#9effe97a17660025a7debeb257500ea071a50381" integrity sha512-C9RKp83oEgvHMRaWhToBhMeK3Ij7XfwGgf1wH5O/xSClrrKzOyO9Cccq8JyFRlJZdnzgBMSBeNa3bGwbjsOYlg== dependencies: rxjs "^7.8.1" -"@aws-amplify/data-schema@^0.13.2": - version "0.13.3" - resolved "https://registry.yarnpkg.com/@aws-amplify/data-schema/-/data-schema-0.13.3.tgz#f115ed5babb4c95dd9a64f5ac72971c6939e975f" - integrity sha512-OklJGegil47S/fLXZBqlpA2vj0fn5wX0WC/nNPGwT0ObLLBaSPBogzNB0LZxDziGzh4sUhXbYEyff8Tusk5rAg== +"@aws-amplify/data-schema@^0.13.4": + version "0.13.4" + resolved "https://registry.yarnpkg.com/@aws-amplify/data-schema/-/data-schema-0.13.4.tgz#bfec56fe62addf36311e651883223bd831055566" + integrity sha512-GFgdcM862+I4US6tUmdLIReP9Qk8TlS4WR8CGcOKPewt13+fauYgr0Dv2waHUEal+YTMX57Q8nUntyCwC41ApA== dependencies: "@aws-amplify/data-schema-types" "*"