@dao42/d42paas-front 0.7.22 → 0.7.23

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.
@@ -9053,6 +9053,7 @@ class sockerIO {
9053
9053
  return lookup((obj.debug ? "" : SOCKET_INSTANCE) || obj.ioPath, {
9054
9054
  transports: ["websocket"],
9055
9055
  auth: __spreadProps(__spreadValues({}, obj), {
9056
+ paasDomain: obj.passDomain ? obj.passDomain : "develop.1024paas.com",
9056
9057
  uuid: obj.userId
9057
9058
  })
9058
9059
  });
@@ -44570,7 +44571,7 @@ class DaoPaaS {
44570
44571
  username,
44571
44572
  components,
44572
44573
  serviceWorkerOrigin,
44573
- env: env2 = "develop",
44574
+ paasDomain,
44574
44575
  onMessage,
44575
44576
  onError
44576
44577
  }) {
@@ -44584,7 +44585,7 @@ class DaoPaaS {
44584
44585
  __publicField(this, "username");
44585
44586
  __publicField(this, "debug");
44586
44587
  __publicField(this, "userInfo", {});
44587
- __publicField(this, "env");
44588
+ __publicField(this, "paasDomain");
44588
44589
  __publicField(this, "components");
44589
44590
  __publicField(this, "mode");
44590
44591
  __publicField(this, "playgroundId");
@@ -44597,7 +44598,7 @@ class DaoPaaS {
44597
44598
  this.tenantId = tenantId;
44598
44599
  this.username = username ? username : "";
44599
44600
  this.debug = debug ? debug : false;
44600
- this.env = env2;
44601
+ this.paasDomain = paasDomain;
44601
44602
  this.components = components;
44602
44603
  this.onMessage = onMessage;
44603
44604
  this.serviceWorkerOrigin = serviceWorkerOrigin;
@@ -44645,7 +44646,7 @@ class DaoPaaS {
44645
44646
  tenantId: this.tenantId
44646
44647
  };
44647
44648
  try {
44648
- const response = await fetch(`https://${this.env}.1024paas.com/jssdk/ticket`, {
44649
+ const response = await fetch(`https://${this.passDomain}/jssdk/ticket`, {
44649
44650
  method: "POST",
44650
44651
  headers: {
44651
44652
  "Content-Type": "application/json"
@@ -198886,12 +198887,6 @@ const Editor = ({
198886
198887
  otherClients == null ? void 0 : otherClients.removeCursor(_d2.userInfo);
198887
198888
  }
198888
198889
  }
198889
- setTimeout(() => {
198890
- var _a3, _b3;
198891
- if ((_b3 = (_a3 = _d2 == null ? void 0 : _d2.file) == null ? void 0 : _a3.path) == null ? void 0 : _b3.includes("md")) {
198892
- setMarkdownVal(editor.getValue());
198893
- }
198894
- }, 100);
198895
198890
  setCRDTInfo2(_d2);
198896
198891
  setAsyncType("editor");
198897
198892
  setReplaySource(__spreadProps(__spreadValues({}, _d2), {