@emailmaker/extensions-app 1.1.53 → 1.1.56

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/externals.json CHANGED
@@ -19,14 +19,6 @@
19
19
  "promise __emailmaker__.modules",
20
20
  "ReactJsxDevRuntime"
21
21
  ],
22
- "prop-types": [
23
- "promise __emailmaker__.modules",
24
- "PropTypes"
25
- ],
26
- "react-router-dom": [
27
- "promise __emailmaker__.modules",
28
- "ReactRouterDom"
29
- ],
30
22
  "antd": [
31
23
  "promise __emailmaker__.modules",
32
24
  "Antd"
package/index.js CHANGED
@@ -164,52 +164,27 @@ function p(e) {
164
164
  globalThis[e] = n;
165
165
  let r = n.__diagnostics ??= {}, i = r.diModuleEval ??= {
166
166
  evalCount: 0,
167
- records: [],
168
- duplicateWarned: !1
167
+ records: []
169
168
  };
170
- if (i.records.push({
169
+ i.records.push({
171
170
  buildSource: t,
172
171
  timestamp: Date.now(),
173
172
  stack: (/* @__PURE__ */ Error()).stack
174
- }), i.evalCount += 1, i.evalCount <= 1 || i.duplicateWarned) return;
175
- i.duplicateWarned = !0;
176
- let a = {
177
- message: "[di] runtime-core/di evaluated more than once (duplicate bundle / duplicate graph)",
178
- evalCount: i.evalCount,
179
- buildSource: t,
180
- records: i.records
181
- };
182
- typeof console < "u" && typeof console.warn == "function" && console.warn(a.message, a);
173
+ }), i.evalCount += 1;
183
174
  }
184
175
  function m() {
185
176
  return "__emailmaker__";
186
177
  }
187
178
  function h(e, t) {
188
179
  if (p(t), typeof globalThis > "u") return e;
189
- let n = f(), r = globalThis, i = r[t] = r[t] || {}, a = i.__diagnostics = i.__diagnostics || {}, o = a.dependencyResolver = a.dependencyResolver || {
190
- entries: [],
191
- warnings: []
192
- }, s = {
180
+ let n = f(), r = globalThis, i = r[t] = r[t] || {}, a = i.__diagnostics = i.__diagnostics || {}, o = a.dependencyResolver = a.dependencyResolver || { entries: [] }, s = {
193
181
  container: e,
194
182
  source: "packages/runtime-core/di/index.ts",
195
183
  buildSource: n,
196
184
  timestamp: Date.now(),
197
185
  stack: (/* @__PURE__ */ Error()).stack
198
186
  };
199
- if (o.entries.push(s), o.entries.length > 1) {
200
- let e = o.entries[0];
201
- if (o.entries.some((t) => t.container !== e.container) && !o.duplicateWarningShown) {
202
- o.duplicateWarningShown = !0;
203
- let e = {
204
- message: "[di] Multiple DependencyResolver instances detected on namespace",
205
- namespaceKey: t,
206
- buildSource: n,
207
- entries: o.entries
208
- };
209
- o.warnings.push(e), typeof console < "u" && typeof console.warn == "function" && console.warn(e.message, e);
210
- }
211
- }
212
- return e;
187
+ return o.entries.push(s), e;
213
188
  }
214
189
  var g;
215
190
  function _() {
@@ -517,6 +492,6 @@ var P = class {
517
492
  function V(e = N()) {
518
493
  return e;
519
494
  }
520
- var H = C(v), U = "1.1.53";
495
+ var H = C(v), U = "1.1.56";
521
496
  //#endregion
522
497
  export { I as BlocksApi, H as DomComponentRegistry, F as ElementsApi, B as EmailSettingsApi, L as MessageService, z as ModalApi, P as SandboxScriptApi, R as SettingsPanelApi, k as blockInsertContextToInjectInfo, V as createComponentIdentifier, A as mergeBlockInjectAck, E as pluginRegistry, U as version };
package/package.json CHANGED
@@ -5,8 +5,8 @@
5
5
  "main": "index.js",
6
6
  "types": "types.d.ts",
7
7
  "name": "@emailmaker/extensions-app",
8
- "version": "1.1.53",
8
+ "version": "1.1.56",
9
9
  "dependencies": {
10
- "@emailmaker/emailmaker": "1.1.53"
10
+ "@emailmaker/emailmaker": "1.1.56"
11
11
  }
12
12
  }