@katlux/providers 0.1.1-alpha.122 → 0.1.1-alpha.124

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.
Files changed (3) hide show
  1. package/dist/index.cjs +100 -50
  2. package/dist/index.mjs +100 -50
  3. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -4020,7 +4020,8 @@ async function encryptRows(rows, encryption, apiUrl, idKey) {
4020
4020
  if (item && typeof item === "object") {
4021
4021
  for (let f = 0; f < fields.length; f++) {
4022
4022
  const val = item[fields[f]];
4023
- if (val !== void 0 && val !== null && !cipherProvider.isEncrypted(val)) {
4023
+ const isEnc = cipherProvider.isEncrypted?.(val) ?? CWebCryptoEncryptionProvider.isEncrypted(val);
4024
+ if (val !== void 0 && val !== null && !isEnc) {
4024
4025
  allEncrypted = false;
4025
4026
  break;
4026
4027
  }
@@ -4056,7 +4057,8 @@ async function encryptRowsChunked(rows, encryption, options, apiUrl, idKey, onCh
4056
4057
  if (item && typeof item === "object") {
4057
4058
  for (let f = 0; f < fields.length; f++) {
4058
4059
  const val = item[fields[f]];
4059
- if (val !== void 0 && val !== null && !cipherProvider.isEncrypted(val)) {
4060
+ const isEnc = cipherProvider.isEncrypted?.(val) ?? CWebCryptoEncryptionProvider.isEncrypted(val);
4061
+ if (val !== void 0 && val !== null && !isEnc) {
4060
4062
  allEncrypted = false;
4061
4063
  break;
4062
4064
  }
@@ -4831,7 +4833,7 @@ class CFlatClientDataProvider extends AEncryptedClientProvider {
4831
4833
  }
4832
4834
  if (this.pageSize <= 0) {
4833
4835
  this.pageData = this._rowMap;
4834
- } else {
4836
+ } else if (!this.isEncryptionEnabled) {
4835
4837
  const startIndex = (this.currentPage - 1) * this.pageSize;
4836
4838
  const endIndex = startIndex + this.pageSize;
4837
4839
  this.pageData = this._rowMap.slice(startIndex, endIndex);
@@ -4868,18 +4870,24 @@ class CFlatClientDataProvider extends AEncryptedClientProvider {
4868
4870
  this.error = null;
4869
4871
  try {
4870
4872
  this._computeFilteredAndSorted();
4871
- if (this._rowMap && this._rowMap.length > 0) {
4872
- const { rows, decrypted } = await this.decryptRows(this._rowMap);
4873
- if (decrypted) {
4874
- this._rowMap = rows;
4875
- }
4876
- }
4877
4873
  if (this.pageSize <= 0) {
4874
+ if (this._rowMap && this._rowMap.length > 0) {
4875
+ const { rows, decrypted } = await this.decryptRows(this._rowMap);
4876
+ if (decrypted) {
4877
+ this._rowMap = rows;
4878
+ }
4879
+ }
4878
4880
  this.pageData = this._rowMap;
4879
4881
  } else {
4880
4882
  const startIndex = (this.currentPage - 1) * this.pageSize;
4881
4883
  const endIndex = startIndex + this.pageSize;
4882
- this.pageData = this._rowMap.slice(startIndex, endIndex);
4884
+ const pageSlice = this._rowMap.slice(startIndex, endIndex);
4885
+ if (pageSlice && pageSlice.length > 0) {
4886
+ const { rows, decrypted } = await this.decryptRows(pageSlice);
4887
+ this.pageData = decrypted ? rows : pageSlice;
4888
+ } else {
4889
+ this.pageData = [];
4890
+ }
4883
4891
  }
4884
4892
  } catch (err) {
4885
4893
  this.error = err;
@@ -6907,13 +6915,15 @@ class CAPIFlatClientDataProvider extends CFlatClientDataProvider {
6907
6915
  try {
6908
6916
  if (this.apiUrl) {
6909
6917
  const nextPage = this.currentPage + 1;
6918
+ const shouldSkipDecryption = Boolean(this.encryption?.lazy ?? (this.encryption?.fields && this.encryption.fields.length > 0));
6910
6919
  await this.requestProvider.registerRequest(this.apiUrl, {
6911
6920
  query: {
6912
6921
  pageNumber: nextPage,
6913
6922
  pageSize: this.pageSize
6914
6923
  },
6915
6924
  deduplicate: this.deduplicate,
6916
- context: this.context
6925
+ context: this.context,
6926
+ skipDecryption: shouldSkipDecryption
6917
6927
  });
6918
6928
  if (this._lastDataReceivedPromise) {
6919
6929
  await this._lastDataReceivedPromise;
@@ -7847,7 +7857,33 @@ class CTreeClientDataProvider extends CFlatClientDataProvider {
7847
7857
  const filteredNodes = this._filteredNodesCache;
7848
7858
  this.filteredData = filteredNodes;
7849
7859
  const paginated = this.paginateNodes(filteredNodes);
7850
- this.pageData = paginated.map((node) => {
7860
+ if (this.pageSize <= 0) {
7861
+ this.pageData = paginated.map((node) => {
7862
+ const decrypted = this.isEncryptionEnabled ? this._decryptedNodeMap.get(node.id) : void 0;
7863
+ const nodeData = decrypted ? { ...node.data, ...decrypted } : node.data;
7864
+ return {
7865
+ ...nodeData,
7866
+ ...node,
7867
+ __treeNode: node
7868
+ };
7869
+ });
7870
+ } else if (!this.isEncryptionEnabled) {
7871
+ this.pageData = paginated.map((node) => {
7872
+ return {
7873
+ ...node.data,
7874
+ ...node,
7875
+ __treeNode: node
7876
+ };
7877
+ });
7878
+ }
7879
+ if (this.allData.length > 0) {
7880
+ this.initialLoad = false;
7881
+ }
7882
+ return;
7883
+ }
7884
+ const visible = this.visibleRows;
7885
+ if (this.pageSize <= 0) {
7886
+ this.pageData = visible.map((node) => {
7851
7887
  const decrypted = this.isEncryptionEnabled ? this._decryptedNodeMap.get(node.id) : void 0;
7852
7888
  const nodeData = decrypted ? { ...node.data, ...decrypted } : node.data;
7853
7889
  return {
@@ -7856,21 +7892,15 @@ class CTreeClientDataProvider extends CFlatClientDataProvider {
7856
7892
  __treeNode: node
7857
7893
  };
7858
7894
  });
7859
- if (this.allData.length > 0) {
7860
- this.initialLoad = false;
7861
- }
7862
- return;
7895
+ } else if (!this.isEncryptionEnabled) {
7896
+ this.pageData = visible.map((node) => {
7897
+ return {
7898
+ ...node.data,
7899
+ ...node,
7900
+ __treeNode: node
7901
+ };
7902
+ });
7863
7903
  }
7864
- const visible = this.visibleRows;
7865
- this.pageData = visible.map((node) => {
7866
- const decrypted = this.isEncryptionEnabled ? this._decryptedNodeMap.get(node.id) : void 0;
7867
- const nodeData = decrypted ? { ...node.data, ...decrypted } : node.data;
7868
- return {
7869
- ...nodeData,
7870
- ...node,
7871
- __treeNode: node
7872
- };
7873
- });
7874
7904
  if (this.allData.length > 0) {
7875
7905
  this.initialLoad = false;
7876
7906
  }
@@ -7915,25 +7945,40 @@ class CTreeClientDataProvider extends CFlatClientDataProvider {
7915
7945
  __treeNode: node
7916
7946
  };
7917
7947
  });
7918
- if (visibleNodes.length > 0) {
7919
- const { rows, decrypted } = await this.decryptRows(visibleNodes);
7920
- if (decrypted) {
7921
- for (const r of rows) {
7922
- const id = r[this.idKey] ?? r.id;
7923
- if (id !== void 0 && id !== null) {
7924
- this._decryptedNodeMap.set(id, r);
7948
+ if (this.pageSize <= 0) {
7949
+ if (visibleNodes.length > 0) {
7950
+ const { rows, decrypted } = await this.decryptRows(visibleNodes);
7951
+ if (decrypted) {
7952
+ for (const r of rows) {
7953
+ const id = r[this.idKey] ?? r.id;
7954
+ if (id !== void 0 && id !== null) {
7955
+ this._decryptedNodeMap.set(id, r);
7956
+ }
7925
7957
  }
7926
7958
  }
7959
+ this._allVisibleRowsCache = decrypted ? rows : visibleNodes;
7960
+ } else {
7961
+ this._allVisibleRowsCache = [];
7927
7962
  }
7928
- this._allVisibleRowsCache = decrypted ? rows : visibleNodes;
7929
- } else {
7930
- this._allVisibleRowsCache = [];
7931
- }
7932
- if (this.pageSize <= 0) {
7933
- this.pageData = [...this._allVisibleRowsCache];
7963
+ this.pageData = [...this._allVisibleRowsCache ?? []];
7934
7964
  } else {
7965
+ this._allVisibleRowsCache = null;
7935
7966
  const startIndex = (this.currentPage - 1) * this.pageSize;
7936
- this.pageData = this._allVisibleRowsCache.slice(startIndex, startIndex + this.pageSize);
7967
+ const pageSlice = visibleNodes.slice(startIndex, startIndex + this.pageSize);
7968
+ if (pageSlice.length > 0) {
7969
+ const { rows, decrypted } = await this.decryptRows(pageSlice);
7970
+ if (decrypted) {
7971
+ for (const r of rows) {
7972
+ const id = r[this.idKey] ?? r.id;
7973
+ if (id !== void 0 && id !== null) {
7974
+ this._decryptedNodeMap.set(id, r);
7975
+ }
7976
+ }
7977
+ }
7978
+ this.pageData = decrypted ? rows : pageSlice;
7979
+ } else {
7980
+ this.pageData = [];
7981
+ }
7937
7982
  }
7938
7983
  if (this.allData.length > 0) {
7939
7984
  this.initialLoad = false;
@@ -8028,8 +8073,9 @@ class CTreeClientDataProvider extends CFlatClientDataProvider {
8028
8073
  this.expandedNodes.add(nodeId);
8029
8074
  }
8030
8075
  this.updatePageData();
8031
- this.notify();
8032
- if (this.isEncryptionEnabled) {
8076
+ if (!this.isEncryptionEnabled) {
8077
+ this.notify();
8078
+ } else {
8033
8079
  this.loadPageData();
8034
8080
  }
8035
8081
  }
@@ -8040,8 +8086,9 @@ class CTreeClientDataProvider extends CFlatClientDataProvider {
8040
8086
  this._allVisibleRowsCache = null;
8041
8087
  this.expandedNodes.add(nodeId);
8042
8088
  this.updatePageData();
8043
- this.notify();
8044
- if (this.isEncryptionEnabled) {
8089
+ if (!this.isEncryptionEnabled) {
8090
+ this.notify();
8091
+ } else {
8045
8092
  this.loadPageData();
8046
8093
  }
8047
8094
  }
@@ -8052,8 +8099,9 @@ class CTreeClientDataProvider extends CFlatClientDataProvider {
8052
8099
  this._allVisibleRowsCache = null;
8053
8100
  this.expandedNodes.delete(nodeId);
8054
8101
  this.updatePageData();
8055
- this.notify();
8056
- if (this.isEncryptionEnabled) {
8102
+ if (!this.isEncryptionEnabled) {
8103
+ this.notify();
8104
+ } else {
8057
8105
  this.loadPageData();
8058
8106
  }
8059
8107
  }
@@ -8071,8 +8119,9 @@ class CTreeClientDataProvider extends CFlatClientDataProvider {
8071
8119
  const allIds = this._staticNodes.filter((n) => n.hasChildren).map((n) => n.id);
8072
8120
  this.expandedNodes = new Set(allIds);
8073
8121
  this.updatePageData();
8074
- this.notify();
8075
- if (this.isEncryptionEnabled) {
8122
+ if (!this.isEncryptionEnabled) {
8123
+ this.notify();
8124
+ } else {
8076
8125
  this.loadPageData();
8077
8126
  }
8078
8127
  }
@@ -8083,8 +8132,9 @@ class CTreeClientDataProvider extends CFlatClientDataProvider {
8083
8132
  this._allVisibleRowsCache = null;
8084
8133
  this.expandedNodes = /* @__PURE__ */ new Set();
8085
8134
  this.updatePageData();
8086
- this.notify();
8087
- if (this.isEncryptionEnabled) {
8135
+ if (!this.isEncryptionEnabled) {
8136
+ this.notify();
8137
+ } else {
8088
8138
  this.loadPageData();
8089
8139
  }
8090
8140
  }
package/dist/index.mjs CHANGED
@@ -4003,7 +4003,8 @@ async function encryptRows(rows, encryption, apiUrl, idKey) {
4003
4003
  if (item && typeof item === "object") {
4004
4004
  for (let f = 0; f < fields.length; f++) {
4005
4005
  const val = item[fields[f]];
4006
- if (val !== void 0 && val !== null && !cipherProvider.isEncrypted(val)) {
4006
+ const isEnc = cipherProvider.isEncrypted?.(val) ?? CWebCryptoEncryptionProvider.isEncrypted(val);
4007
+ if (val !== void 0 && val !== null && !isEnc) {
4007
4008
  allEncrypted = false;
4008
4009
  break;
4009
4010
  }
@@ -4039,7 +4040,8 @@ async function encryptRowsChunked(rows, encryption, options, apiUrl, idKey, onCh
4039
4040
  if (item && typeof item === "object") {
4040
4041
  for (let f = 0; f < fields.length; f++) {
4041
4042
  const val = item[fields[f]];
4042
- if (val !== void 0 && val !== null && !cipherProvider.isEncrypted(val)) {
4043
+ const isEnc = cipherProvider.isEncrypted?.(val) ?? CWebCryptoEncryptionProvider.isEncrypted(val);
4044
+ if (val !== void 0 && val !== null && !isEnc) {
4043
4045
  allEncrypted = false;
4044
4046
  break;
4045
4047
  }
@@ -4814,7 +4816,7 @@ class CFlatClientDataProvider extends AEncryptedClientProvider {
4814
4816
  }
4815
4817
  if (this.pageSize <= 0) {
4816
4818
  this.pageData = this._rowMap;
4817
- } else {
4819
+ } else if (!this.isEncryptionEnabled) {
4818
4820
  const startIndex = (this.currentPage - 1) * this.pageSize;
4819
4821
  const endIndex = startIndex + this.pageSize;
4820
4822
  this.pageData = this._rowMap.slice(startIndex, endIndex);
@@ -4851,18 +4853,24 @@ class CFlatClientDataProvider extends AEncryptedClientProvider {
4851
4853
  this.error = null;
4852
4854
  try {
4853
4855
  this._computeFilteredAndSorted();
4854
- if (this._rowMap && this._rowMap.length > 0) {
4855
- const { rows, decrypted } = await this.decryptRows(this._rowMap);
4856
- if (decrypted) {
4857
- this._rowMap = rows;
4858
- }
4859
- }
4860
4856
  if (this.pageSize <= 0) {
4857
+ if (this._rowMap && this._rowMap.length > 0) {
4858
+ const { rows, decrypted } = await this.decryptRows(this._rowMap);
4859
+ if (decrypted) {
4860
+ this._rowMap = rows;
4861
+ }
4862
+ }
4861
4863
  this.pageData = this._rowMap;
4862
4864
  } else {
4863
4865
  const startIndex = (this.currentPage - 1) * this.pageSize;
4864
4866
  const endIndex = startIndex + this.pageSize;
4865
- this.pageData = this._rowMap.slice(startIndex, endIndex);
4867
+ const pageSlice = this._rowMap.slice(startIndex, endIndex);
4868
+ if (pageSlice && pageSlice.length > 0) {
4869
+ const { rows, decrypted } = await this.decryptRows(pageSlice);
4870
+ this.pageData = decrypted ? rows : pageSlice;
4871
+ } else {
4872
+ this.pageData = [];
4873
+ }
4866
4874
  }
4867
4875
  } catch (err) {
4868
4876
  this.error = err;
@@ -6890,13 +6898,15 @@ class CAPIFlatClientDataProvider extends CFlatClientDataProvider {
6890
6898
  try {
6891
6899
  if (this.apiUrl) {
6892
6900
  const nextPage = this.currentPage + 1;
6901
+ const shouldSkipDecryption = Boolean(this.encryption?.lazy ?? (this.encryption?.fields && this.encryption.fields.length > 0));
6893
6902
  await this.requestProvider.registerRequest(this.apiUrl, {
6894
6903
  query: {
6895
6904
  pageNumber: nextPage,
6896
6905
  pageSize: this.pageSize
6897
6906
  },
6898
6907
  deduplicate: this.deduplicate,
6899
- context: this.context
6908
+ context: this.context,
6909
+ skipDecryption: shouldSkipDecryption
6900
6910
  });
6901
6911
  if (this._lastDataReceivedPromise) {
6902
6912
  await this._lastDataReceivedPromise;
@@ -7830,7 +7840,33 @@ class CTreeClientDataProvider extends CFlatClientDataProvider {
7830
7840
  const filteredNodes = this._filteredNodesCache;
7831
7841
  this.filteredData = filteredNodes;
7832
7842
  const paginated = this.paginateNodes(filteredNodes);
7833
- this.pageData = paginated.map((node) => {
7843
+ if (this.pageSize <= 0) {
7844
+ this.pageData = paginated.map((node) => {
7845
+ const decrypted = this.isEncryptionEnabled ? this._decryptedNodeMap.get(node.id) : void 0;
7846
+ const nodeData = decrypted ? { ...node.data, ...decrypted } : node.data;
7847
+ return {
7848
+ ...nodeData,
7849
+ ...node,
7850
+ __treeNode: node
7851
+ };
7852
+ });
7853
+ } else if (!this.isEncryptionEnabled) {
7854
+ this.pageData = paginated.map((node) => {
7855
+ return {
7856
+ ...node.data,
7857
+ ...node,
7858
+ __treeNode: node
7859
+ };
7860
+ });
7861
+ }
7862
+ if (this.allData.length > 0) {
7863
+ this.initialLoad = false;
7864
+ }
7865
+ return;
7866
+ }
7867
+ const visible = this.visibleRows;
7868
+ if (this.pageSize <= 0) {
7869
+ this.pageData = visible.map((node) => {
7834
7870
  const decrypted = this.isEncryptionEnabled ? this._decryptedNodeMap.get(node.id) : void 0;
7835
7871
  const nodeData = decrypted ? { ...node.data, ...decrypted } : node.data;
7836
7872
  return {
@@ -7839,21 +7875,15 @@ class CTreeClientDataProvider extends CFlatClientDataProvider {
7839
7875
  __treeNode: node
7840
7876
  };
7841
7877
  });
7842
- if (this.allData.length > 0) {
7843
- this.initialLoad = false;
7844
- }
7845
- return;
7878
+ } else if (!this.isEncryptionEnabled) {
7879
+ this.pageData = visible.map((node) => {
7880
+ return {
7881
+ ...node.data,
7882
+ ...node,
7883
+ __treeNode: node
7884
+ };
7885
+ });
7846
7886
  }
7847
- const visible = this.visibleRows;
7848
- this.pageData = visible.map((node) => {
7849
- const decrypted = this.isEncryptionEnabled ? this._decryptedNodeMap.get(node.id) : void 0;
7850
- const nodeData = decrypted ? { ...node.data, ...decrypted } : node.data;
7851
- return {
7852
- ...nodeData,
7853
- ...node,
7854
- __treeNode: node
7855
- };
7856
- });
7857
7887
  if (this.allData.length > 0) {
7858
7888
  this.initialLoad = false;
7859
7889
  }
@@ -7898,25 +7928,40 @@ class CTreeClientDataProvider extends CFlatClientDataProvider {
7898
7928
  __treeNode: node
7899
7929
  };
7900
7930
  });
7901
- if (visibleNodes.length > 0) {
7902
- const { rows, decrypted } = await this.decryptRows(visibleNodes);
7903
- if (decrypted) {
7904
- for (const r of rows) {
7905
- const id = r[this.idKey] ?? r.id;
7906
- if (id !== void 0 && id !== null) {
7907
- this._decryptedNodeMap.set(id, r);
7931
+ if (this.pageSize <= 0) {
7932
+ if (visibleNodes.length > 0) {
7933
+ const { rows, decrypted } = await this.decryptRows(visibleNodes);
7934
+ if (decrypted) {
7935
+ for (const r of rows) {
7936
+ const id = r[this.idKey] ?? r.id;
7937
+ if (id !== void 0 && id !== null) {
7938
+ this._decryptedNodeMap.set(id, r);
7939
+ }
7908
7940
  }
7909
7941
  }
7942
+ this._allVisibleRowsCache = decrypted ? rows : visibleNodes;
7943
+ } else {
7944
+ this._allVisibleRowsCache = [];
7910
7945
  }
7911
- this._allVisibleRowsCache = decrypted ? rows : visibleNodes;
7912
- } else {
7913
- this._allVisibleRowsCache = [];
7914
- }
7915
- if (this.pageSize <= 0) {
7916
- this.pageData = [...this._allVisibleRowsCache];
7946
+ this.pageData = [...this._allVisibleRowsCache ?? []];
7917
7947
  } else {
7948
+ this._allVisibleRowsCache = null;
7918
7949
  const startIndex = (this.currentPage - 1) * this.pageSize;
7919
- this.pageData = this._allVisibleRowsCache.slice(startIndex, startIndex + this.pageSize);
7950
+ const pageSlice = visibleNodes.slice(startIndex, startIndex + this.pageSize);
7951
+ if (pageSlice.length > 0) {
7952
+ const { rows, decrypted } = await this.decryptRows(pageSlice);
7953
+ if (decrypted) {
7954
+ for (const r of rows) {
7955
+ const id = r[this.idKey] ?? r.id;
7956
+ if (id !== void 0 && id !== null) {
7957
+ this._decryptedNodeMap.set(id, r);
7958
+ }
7959
+ }
7960
+ }
7961
+ this.pageData = decrypted ? rows : pageSlice;
7962
+ } else {
7963
+ this.pageData = [];
7964
+ }
7920
7965
  }
7921
7966
  if (this.allData.length > 0) {
7922
7967
  this.initialLoad = false;
@@ -8011,8 +8056,9 @@ class CTreeClientDataProvider extends CFlatClientDataProvider {
8011
8056
  this.expandedNodes.add(nodeId);
8012
8057
  }
8013
8058
  this.updatePageData();
8014
- this.notify();
8015
- if (this.isEncryptionEnabled) {
8059
+ if (!this.isEncryptionEnabled) {
8060
+ this.notify();
8061
+ } else {
8016
8062
  this.loadPageData();
8017
8063
  }
8018
8064
  }
@@ -8023,8 +8069,9 @@ class CTreeClientDataProvider extends CFlatClientDataProvider {
8023
8069
  this._allVisibleRowsCache = null;
8024
8070
  this.expandedNodes.add(nodeId);
8025
8071
  this.updatePageData();
8026
- this.notify();
8027
- if (this.isEncryptionEnabled) {
8072
+ if (!this.isEncryptionEnabled) {
8073
+ this.notify();
8074
+ } else {
8028
8075
  this.loadPageData();
8029
8076
  }
8030
8077
  }
@@ -8035,8 +8082,9 @@ class CTreeClientDataProvider extends CFlatClientDataProvider {
8035
8082
  this._allVisibleRowsCache = null;
8036
8083
  this.expandedNodes.delete(nodeId);
8037
8084
  this.updatePageData();
8038
- this.notify();
8039
- if (this.isEncryptionEnabled) {
8085
+ if (!this.isEncryptionEnabled) {
8086
+ this.notify();
8087
+ } else {
8040
8088
  this.loadPageData();
8041
8089
  }
8042
8090
  }
@@ -8054,8 +8102,9 @@ class CTreeClientDataProvider extends CFlatClientDataProvider {
8054
8102
  const allIds = this._staticNodes.filter((n) => n.hasChildren).map((n) => n.id);
8055
8103
  this.expandedNodes = new Set(allIds);
8056
8104
  this.updatePageData();
8057
- this.notify();
8058
- if (this.isEncryptionEnabled) {
8105
+ if (!this.isEncryptionEnabled) {
8106
+ this.notify();
8107
+ } else {
8059
8108
  this.loadPageData();
8060
8109
  }
8061
8110
  }
@@ -8066,8 +8115,9 @@ class CTreeClientDataProvider extends CFlatClientDataProvider {
8066
8115
  this._allVisibleRowsCache = null;
8067
8116
  this.expandedNodes = /* @__PURE__ */ new Set();
8068
8117
  this.updatePageData();
8069
- this.notify();
8070
- if (this.isEncryptionEnabled) {
8118
+ if (!this.isEncryptionEnabled) {
8119
+ this.notify();
8120
+ } else {
8071
8121
  this.loadPageData();
8072
8122
  }
8073
8123
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@katlux/providers",
3
- "version": "0.1.1-alpha.122",
3
+ "version": "0.1.1-alpha.124",
4
4
  "description": "Core data calculation and caching providers for the Katlux ecosystem",
5
5
  "author": "Katlux",
6
6
  "license": "Apache-2.0",