authscape 1.0.512 → 1.0.514

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/index.js CHANGED
@@ -7327,7 +7327,9 @@ var SpreadsheetViewer = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref)
7327
7327
  } catch (exp) {
7328
7328
  console.error(exp);
7329
7329
  }
7330
- _onFocusLocationChanged(location.rowId, location.columnId);
7330
+ if (_onFocusLocationChanged != null) {
7331
+ _onFocusLocationChanged(location.rowId, location.columnId);
7332
+ }
7331
7333
  },
7332
7334
  onCellsChanged: handleChanges,
7333
7335
  enableRowSelection: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "authscape",
3
- "version": "1.0.512",
3
+ "version": "1.0.514",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -713,7 +713,10 @@ export const SpreadsheetViewer = forwardRef(({loadedUser, currentUser, documentI
713
713
  console.error(exp);
714
714
  }
715
715
 
716
- onFocusLocationChanged(location.rowId, location.columnId);
716
+ if (onFocusLocationChanged != null)
717
+ {
718
+ onFocusLocationChanged(location.rowId, location.columnId);
719
+ }
717
720
  }}
718
721
  onCellsChanged={handleChanges}
719
722
  enableRowSelection={true}