@qikdev/sdk 0.1.159 → 0.1.161

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qikdev/sdk",
3
- "version": "0.1.159",
3
+ "version": "0.1.161",
4
4
  "type": "module",
5
5
  "description": "Promise based Javascript SDK",
6
6
  "scripts": {
@@ -148,7 +148,7 @@ export default function (qik) {
148
148
 
149
149
  // Check if we already have the scope glossary cached
150
150
  let cached = scopeGlossaryCache.get("scopes");
151
- var reload = options.refresh || options.reload || !scopeGlossary.data;
151
+ var reload = options.refresh || options.reload || !cached;
152
152
 
153
153
  if (reload) {
154
154
  if (!inflightScopeGlossaryRequest) {
@@ -170,7 +170,7 @@ export default function (qik) {
170
170
  }
171
171
 
172
172
  if (options.hash) {
173
- var result = qik.utils.hash(scopeGlossary.data, "_id");
173
+ var result = qik.utils.hash(cached, "_id");
174
174
  return result;
175
175
  }
176
176
 
package/src/version.js CHANGED
@@ -1 +1 @@
1
- export const version = "0.1.159";
1
+ export const version = "0.1.161";