@aws-amplify/api-graphql 4.0.1-api-v6-models.ce6e561.0 → 4.0.1-api-v6-models.8035dfc.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.
@@ -100,7 +100,7 @@ export function generateModelsProperty(client, params) {
100
100
  _b = __read(Object.keys(data), 1), key_2 = _b[0];
101
101
  flattenedResult = flattenItems(data)[key_2];
102
102
  if (options === null || options === void 0 ? void 0 : options.selectionSet) {
103
- return [2 /*return*/, flattenedResult];
103
+ return [2 /*return*/, { data: flattenedResult, extensions: extensions }];
104
104
  }
105
105
  else {
106
106
  _c = __read(initializeModel(client, name_1, [flattenedResult], modelIntrospection), 1), initialized = _c[0];