@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.
@@ -103,7 +103,7 @@ function generateModelsProperty(client, params) {
103
103
  _b = tslib_1.__read(Object.keys(data), 1), key_2 = _b[0];
104
104
  flattenedResult = (0, APIClient_1.flattenItems)(data)[key_2];
105
105
  if (options === null || options === void 0 ? void 0 : options.selectionSet) {
106
- return [2 /*return*/, flattenedResult];
106
+ return [2 /*return*/, { data: flattenedResult, extensions: extensions }];
107
107
  }
108
108
  else {
109
109
  _c = tslib_1.__read((0, APIClient_1.initializeModel)(client, name_1, [flattenedResult], modelIntrospection), 1), initialized = _c[0];