@quintype/components 3.3.2 → 3.3.3-at-global.0

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/cjs/index.js CHANGED
@@ -4638,7 +4638,11 @@ var AccessTypeBase = /*#__PURE__*/function (_React$Component) {
4638
4638
  return true;
4639
4639
  }
4640
4640
 
4641
- global.AccessType && callback();
4641
+ if (global.AccessType) {
4642
+ _this.props.onATGlobalSet && _this.props.onATGlobalSet();
4643
+ callback();
4644
+ }
4645
+
4642
4646
  return true;
4643
4647
  });
4644
4648
 
@@ -68,7 +68,11 @@ var AccessTypeBase = /*#__PURE__*/function (_React$Component) {
68
68
  return true;
69
69
  }
70
70
 
71
- global.AccessType && callback();
71
+ if (global.AccessType) {
72
+ _this.props.onATGlobalSet && _this.props.onATGlobalSet();
73
+ callback();
74
+ }
75
+
72
76
  return true;
73
77
  });
74
78
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quintype/components",
3
- "version": "3.3.2",
3
+ "version": "3.3.3-at-global.0",
4
4
  "description": "Components to help build Quintype Node.js apps",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/es/index.js",