@aws-amplify/datastore 3.7.5 → 3.7.6-unstable.4

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.
@@ -70852,7 +70852,7 @@ var getAmplifyUserAgent = function getAmplifyUserAgent() {
70852
70852
  __webpack_require__.r(__webpack_exports__);
70853
70853
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "version", function() { return version; });
70854
70854
  // generated by genversion
70855
- var version = '4.3.12';
70855
+ var version = '4.3.13';
70856
70856
 
70857
70857
  /***/ }),
70858
70858
 
@@ -82304,7 +82304,7 @@ function () {
82304
82304
 
82305
82305
  case 6:
82306
82306
  _a.syncPredicates = _b.sent();
82307
- this.sync = new _sync__WEBPACK_IMPORTED_MODULE_7__["SyncEngine"](schema, namespaceResolver, syncClasses, userClasses, this.storage, modelInstanceCreator, this.maxRecordsToSync, this.syncPageSize, this.conflictHandler, this.errorHandler, this.syncPredicates, this.amplifyConfig, this.authModeStrategy);
82307
+ this.sync = new _sync__WEBPACK_IMPORTED_MODULE_7__["SyncEngine"](schema, namespaceResolver, syncClasses, userClasses, this.storage, modelInstanceCreator, this.conflictHandler, this.errorHandler, this.syncPredicates, this.amplifyConfig, this.authModeStrategy);
82308
82308
  fullSyncIntervalInMilliseconds = this.fullSyncInterval * 1000 * 60;
82309
82309
  syncSubscription = this.sync.start({
82310
82310
  fullSyncInterval: fullSyncIntervalInMilliseconds
@@ -82912,16 +82912,16 @@ function () {
82912
82912
 
82913
82913
 
82914
82914
  _this.amplifyConfig.authProviders = configDataStore && configDataStore.authProviders || configAuthProviders;
82915
- _this.syncExpressions = configDataStore && configDataStore.syncExpressions || _this.syncExpressions || configSyncExpressions;
82916
- _this.maxRecordsToSync = configDataStore && configDataStore.maxRecordsToSync || configMaxRecordsToSync || 10000; // store on config object, so that Sync, Subscription, and Mutation processors can have access
82915
+ _this.syncExpressions = configDataStore && configDataStore.syncExpressions || configSyncExpressions || _this.syncExpressions;
82916
+ _this.maxRecordsToSync = configDataStore && configDataStore.maxRecordsToSync || configMaxRecordsToSync || _this.maxRecordsToSync || 10000; // store on config object, so that Sync, Subscription, and Mutation processors can have access
82917
82917
 
82918
82918
  _this.amplifyConfig.maxRecordsToSync = _this.maxRecordsToSync;
82919
- _this.syncPageSize = configDataStore && configDataStore.syncPageSize || configSyncPageSize || 1000; // store on config object, so that Sync, Subscription, and Mutation processors can have access
82919
+ _this.syncPageSize = configDataStore && configDataStore.syncPageSize || configSyncPageSize || _this.syncPageSize || 1000; // store on config object, so that Sync, Subscription, and Mutation processors can have access
82920
82920
 
82921
82921
  _this.amplifyConfig.syncPageSize = _this.syncPageSize;
82922
- _this.fullSyncInterval = configDataStore && configDataStore.fullSyncInterval || _this.fullSyncInterval || configFullSyncInterval || 24 * 60; // 1 day
82922
+ _this.fullSyncInterval = configDataStore && configDataStore.fullSyncInterval || configFullSyncInterval || _this.fullSyncInterval || 24 * 60; // 1 day
82923
82923
 
82924
- _this.storageAdapter = configDataStore && configDataStore.storageAdapter || _this.storageAdapter || configStorageAdapter || undefined;
82924
+ _this.storageAdapter = configDataStore && configDataStore.storageAdapter || configStorageAdapter || _this.storageAdapter || undefined;
82925
82925
  _this.sessionId = _this.retrieveSessionId();
82926
82926
  };
82927
82927
 
@@ -89836,7 +89836,7 @@ var ControlMessage;
89836
89836
  var SyncEngine =
89837
89837
  /** @class */
89838
89838
  function () {
89839
- function SyncEngine(schema, namespaceResolver, modelClasses, userModelClasses, storage, modelInstanceCreator, maxRecordsToSync, syncPageSize, conflictHandler, errorHandler, syncPredicates, amplifyConfig, authModeStrategy) {
89839
+ function SyncEngine(schema, namespaceResolver, modelClasses, userModelClasses, storage, modelInstanceCreator, conflictHandler, errorHandler, syncPredicates, amplifyConfig, authModeStrategy) {
89840
89840
  if (amplifyConfig === void 0) {
89841
89841
  amplifyConfig = {};
89842
89842
  }
@@ -89847,8 +89847,6 @@ function () {
89847
89847
  this.userModelClasses = userModelClasses;
89848
89848
  this.storage = storage;
89849
89849
  this.modelInstanceCreator = modelInstanceCreator;
89850
- this.maxRecordsToSync = maxRecordsToSync;
89851
- this.syncPageSize = syncPageSize;
89852
89850
  this.syncPredicates = syncPredicates;
89853
89851
  this.amplifyConfig = amplifyConfig;
89854
89852
  this.authModeStrategy = authModeStrategy;