module-develop-kit 1.0.0 → 1.0.1

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.
@@ -1,7 +1,5 @@
1
- import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.js";
2
- import { __require as o } from "../vendor/sdp-transform/lib/index.js";
3
- var t = o();
4
- const a = /* @__PURE__ */ r(t);
1
+ import { __require as r } from "../vendor/gm-crypt/index.js";
2
+ var p = r();
5
3
  export {
6
- a as default
4
+ p as g
7
5
  };
@@ -1,5 +1,7 @@
1
- import { __require as r } from "../vendor/gm-crypt/index.js";
2
- var p = r();
1
+ import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.js";
2
+ import { __require as o } from "../vendor/sdp-transform/lib/index.js";
3
+ var t = o();
4
+ const a = /* @__PURE__ */ r(t);
3
5
  export {
4
- p as g
6
+ a as default
5
7
  };
@@ -1,4 +1,4 @@
1
- var r = {};
1
+ var e = { exports: {} };
2
2
  export {
3
- r as __exports
3
+ e as __module
4
4
  };
@@ -1,4 +1,4 @@
1
- var e = { exports: {} };
1
+ var r = {};
2
2
  export {
3
- e as __module
3
+ r as __exports
4
4
  };
package/dist/main.d.ts CHANGED
@@ -199,6 +199,9 @@ export declare interface ICallConfig extends SipAccount {
199
199
  * 用于拨打电话的相关信息
200
200
  */
201
201
  export declare interface ICallOptions {
202
+ /**
203
+ * 外呼需要拨打的号码
204
+ */
202
205
  call: string;
203
206
  }
204
207
 
@@ -1,4 +1,4 @@
1
- import a from "../../commonjs-virtual-dir/index2.js";
1
+ import a from "../../commonjs-virtual-dir/index3.js";
2
2
  const u = {
3
3
  log(e, ...r) {
4
4
  console.log(`%c【${(/* @__PURE__ */ new Date()).toLocaleString()}】`, "color: green; font-weight: bold;", e, ...r);
@@ -1,4 +1,4 @@
1
- import { g as o } from "../../../commonjs-virtual-dir/index3.js";
1
+ import { g as o } from "../../../commonjs-virtual-dir/index2.js";
2
2
  import { dataToStr as r } from "./util.js";
3
3
  const c = "cbc", n = (t, e) => new o.sm4({
4
4
  key: t.key,
@@ -1,24 +1,24 @@
1
1
  import c from "@vitejs/plugin-legacy";
2
2
  import { vitePluginCompatibilityDetection as l } from "./vitePluginCompatibilityDetection.js";
3
3
  const f = {
4
- targets: "since 2021 and > 0.1% in CN",
4
+ targets: "since 2020",
5
5
  renderModernChunks: !1,
6
6
  modernPolyfills: !1
7
- }, g = (o) => {
7
+ }, a = (n) => {
8
8
  const e = {
9
9
  open: !0,
10
10
  openDetection: !0,
11
- ...o || {}
12
- }, i = e.detectionConfig?.platform === "h5", t = [], { open: s, openDetection: r, detectionConfig: p, ...n } = e;
11
+ ...n || {}
12
+ }, i = e.detectionConfig?.platform === "h5", t = [], { open: s, openDetection: r, detectionConfig: p, ...o } = e;
13
13
  return s && (t.push(
14
14
  c(
15
15
  i ? {
16
16
  ...f,
17
- ...n || {}
18
- } : n
17
+ ...o || {}
18
+ } : o
19
19
  )
20
20
  ), r && t.push(l(p))), t;
21
21
  };
22
22
  export {
23
- g as getCompatibilityPlugins
23
+ a as getCompatibilityPlugins
24
24
  };
@@ -1,4 +1,4 @@
1
- import { __module as C } from "../../commonjs-virtual-dir/index5.js";
1
+ import { __module as C } from "../../commonjs-virtual-dir/index4.js";
2
2
  var $i = C.exports, Y;
3
3
  function Qi() {
4
4
  return Y ? C.exports : (Y = 1, function(x, Hi) {
@@ -1,4 +1,4 @@
1
- import { __exports as r } from "../../../commonjs-virtual-dir/index4.js";
1
+ import { __exports as r } from "../../../commonjs-virtual-dir/index5.js";
2
2
  import { __require as t } from "./parser.js";
3
3
  import { __require as m } from "./writer.js";
4
4
  import { __require as p } from "./grammar.js";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "module-develop-kit",
3
3
  "author": "Front-End team",
4
- "version": "1.0.0",
4
+ "version": "1.0.1",
5
5
  "type": "module",
6
6
  "description": "前端项目通用工具包",
7
7
  "module": "dist/main.js",