@overmap-ai/core 1.0.60-sdk-refactor.10 → 1.0.60-sdk-refactor.11

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.
@@ -14874,6 +14874,20 @@ function setClientSDK(sdkCtor) {
14874
14874
  function getClientSDK() {
14875
14875
  return clientSDK;
14876
14876
  }
14877
+ const CLASS_NAME_TO_SERVICE = {};
14878
+ class BaseService {
14879
+ constructor(sdk) {
14880
+ __publicField(this, "client");
14881
+ CLASS_NAME_TO_SERVICE[this.constructor.name] = this;
14882
+ this.client = sdk;
14883
+ }
14884
+ async enqueueRequest(requestDetails) {
14885
+ return this.client.enqueueRequest(requestDetails, this.host, this.constructor.name);
14886
+ }
14887
+ dispatch(action) {
14888
+ this.client.store.dispatch(action);
14889
+ }
14890
+ }
14877
14891
  const VERSION_REDUCER_KEY = "versioning";
14878
14892
  const overmapReducers = {
14879
14893
  // TODO: attachmentReducer,
@@ -15411,20 +15425,6 @@ const initSDK = (store, sdk) => {
15411
15425
  setClientStore(store);
15412
15426
  return sdkInstance;
15413
15427
  };
15414
- const CLASS_NAME_TO_SERVICE$1 = {};
15415
- class BaseService {
15416
- constructor(sdk) {
15417
- __publicField(this, "client");
15418
- CLASS_NAME_TO_SERVICE$1[this.constructor.name] = this;
15419
- this.client = sdk;
15420
- }
15421
- async enqueueRequest(requestDetails) {
15422
- return this.client.enqueueRequest(requestDetails, this.host, this.constructor.name);
15423
- }
15424
- dispatch(action) {
15425
- this.client.store.dispatch(action);
15426
- }
15427
- }
15428
15428
  class BaseAuthService extends BaseService {
15429
15429
  constructor(sdk) {
15430
15430
  super(sdk);
@@ -15613,7 +15613,6 @@ class JWTService extends BaseAuthService {
15613
15613
  return Promise.race([timeoutPromise, successPromise]);
15614
15614
  }
15615
15615
  }
15616
- const CLASS_NAME_TO_SERVICE = {};
15617
15616
  class BaseApiService extends BaseService {
15618
15617
  constructor(sdk, auth) {
15619
15618
  super(sdk);
@@ -18688,7 +18687,6 @@ export {
18688
18687
  BaseSDK,
18689
18688
  BooleanField,
18690
18689
  BooleanInput,
18691
- CLASS_NAME_TO_SERVICE,
18692
18690
  CategoryService,
18693
18691
  ColorPicker,
18694
18692
  Colors,