@dvina/sdk 4.0.292 → 4.0.295
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.
- package/dist/adapters/angular/index.cjs +3 -3
- package/dist/adapters/angular/index.js +1 -1
- package/dist/{chunk-CTE5P2EZ.cjs → chunk-K7BABE6E.cjs} +8 -3
- package/dist/chunk-K7BABE6E.cjs.map +1 -0
- package/dist/{chunk-YNXLLHTI.js → chunk-UNCG3BQZ.js} +8 -3
- package/dist/chunk-UNCG3BQZ.js.map +1 -0
- package/dist/index.cjs +402 -402
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-CTE5P2EZ.cjs.map +0 -1
- package/dist/chunk-YNXLLHTI.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkK7BABE6E_cjs = require('../../chunk-K7BABE6E.cjs');
|
|
4
4
|
require('../../chunk-342BFYZZ.cjs');
|
|
5
5
|
require('../../chunk-UELAE75E.cjs');
|
|
6
6
|
require('../../chunk-4Y42KQCH.cjs');
|
|
@@ -147,10 +147,10 @@ function hasDispose(value) {
|
|
|
147
147
|
function provideDvina(optionsOrFactory) {
|
|
148
148
|
return core.makeEnvironmentProviders([
|
|
149
149
|
{
|
|
150
|
-
provide:
|
|
150
|
+
provide: chunkK7BABE6E_cjs.DvinaSdk,
|
|
151
151
|
useFactory: () => {
|
|
152
152
|
const options = typeof optionsOrFactory === "function" ? optionsOrFactory() : optionsOrFactory;
|
|
153
|
-
return new
|
|
153
|
+
return new chunkK7BABE6E_cjs.DvinaSdk(options);
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
156
|
]);
|
|
@@ -9470,12 +9470,17 @@ var QueryExecutor = class {
|
|
|
9470
9470
|
const data = await this._http.request(document2, merged);
|
|
9471
9471
|
const rootField = getRootField(data);
|
|
9472
9472
|
if (rootField) {
|
|
9473
|
-
const { entities, connection } = normalize(data, rootField);
|
|
9473
|
+
const { entities, connection, nestedConnections } = normalize(data, rootField);
|
|
9474
9474
|
await this.writeEntities(entities);
|
|
9475
9475
|
if (connection) {
|
|
9476
9476
|
const queryKey = buildQueryKey(operationName, variables, document2);
|
|
9477
9477
|
await this._cache.appendQueryResult(queryKey, connection);
|
|
9478
9478
|
}
|
|
9479
|
+
if (nestedConnections) {
|
|
9480
|
+
for (const [connKey, connInfo] of nestedConnections) {
|
|
9481
|
+
await this._cache.writeQueryResult(connKey, connInfo);
|
|
9482
|
+
}
|
|
9483
|
+
}
|
|
9479
9484
|
}
|
|
9480
9485
|
}
|
|
9481
9486
|
);
|
|
@@ -23802,5 +23807,5 @@ exports.getOrCreateDatabase = getOrCreateDatabase;
|
|
|
23802
23807
|
exports.reconstructConnectionNodes = reconstructConnectionNodes;
|
|
23803
23808
|
exports.reconstructEntity = reconstructEntity;
|
|
23804
23809
|
exports.uploadFile = uploadFile;
|
|
23805
|
-
//# sourceMappingURL=chunk-
|
|
23806
|
-
//# sourceMappingURL=chunk-
|
|
23810
|
+
//# sourceMappingURL=chunk-K7BABE6E.cjs.map
|
|
23811
|
+
//# sourceMappingURL=chunk-K7BABE6E.cjs.map
|