@veltdev/react 1.0.136 → 1.0.137

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/cjs/index.js CHANGED
@@ -140,7 +140,7 @@ var loadVelt = function (callback, version, staging, develop, proxyDomain) {
140
140
  }
141
141
  };
142
142
 
143
- var VELT_SDK_VERSION = '1.0.153';
143
+ var VELT_SDK_VERSION = '1.0.155';
144
144
  var VELT_SDK_INIT_EVENT = 'onVeltInit';
145
145
 
146
146
  var SnippylyProvider = function (props) {
@@ -2172,15 +2172,15 @@ function useVeltInitState() {
2172
2172
  var client = useVeltClient().client;
2173
2173
  var _a = React__default["default"].useState(), data = _a[0], setData = _a[1];
2174
2174
  React__default["default"].useEffect(function () {
2175
- if (!(client === null || client === void 0 ? void 0 : client.getVeltInitState$))
2175
+ if (!(client === null || client === void 0 ? void 0 : client.getVeltInitState))
2176
2176
  return;
2177
- var subscription = client === null || client === void 0 ? void 0 : client.getVeltInitState$().subscribe(function (res) {
2177
+ var subscription = client === null || client === void 0 ? void 0 : client.getVeltInitState().subscribe(function (res) {
2178
2178
  setData(res);
2179
2179
  });
2180
2180
  return function () {
2181
2181
  subscription.unsubscribe();
2182
2182
  };
2183
- }, [client === null || client === void 0 ? void 0 : client.getVeltInitState$]);
2183
+ }, [client === null || client === void 0 ? void 0 : client.getVeltInitState]);
2184
2184
  return data;
2185
2185
  }
2186
2186