@weapp-vite/miniprogram-automator 0.0.0 → 1.0.0

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/dist/index.d.mts CHANGED
@@ -301,5 +301,4 @@ declare function isPluginPath(p: string): boolean;
301
301
  /** extractPluginId 的方法封装。 */
302
302
  declare function extractPluginId(p: string): string;
303
303
  //#endregion
304
- export { Automator, Connection, ContextElement, CustomElement, Element, IConnectOptions, ILaunchOptions, InputElement, Launcher, MiniProgram, MovableViewElement, Native, Page, ScrollViewElement, SliderElement, SwiperElement, SwitchElement, TextareaElement, Transport, decodeQrCode, extractPluginId, isPluginPath, printQrCode };
305
- //# sourceMappingURL=index.d.mts.map
304
+ export { Automator, Connection, ContextElement, CustomElement, Element, IConnectOptions, ILaunchOptions, InputElement, Launcher, MiniProgram, MovableViewElement, Native, Page, ScrollViewElement, SliderElement, SwiperElement, SwitchElement, TextareaElement, Transport, decodeQrCode, extractPluginId, isPluginPath, printQrCode };
package/dist/index.mjs CHANGED
@@ -568,7 +568,7 @@ async function launchHeadlessAutomator(options) {
568
568
  }
569
569
  //#endregion
570
570
  //#region package.json
571
- var version = "0.0.0";
571
+ var version = "1.0.0";
572
572
  //#endregion
573
573
  //#region src/Native.ts
574
574
  /** Native 的实现。 */
@@ -5410,5 +5410,3 @@ var Automator = class {
5410
5410
  */
5411
5411
  //#endregion
5412
5412
  export { Automator, Connection, ContextElement, CustomElement, Element, InputElement, Launcher, MiniProgram, MovableViewElement, Native, Page, ScrollViewElement, SliderElement, SwiperElement, SwitchElement, TextareaElement, Transport, decodeQrCode, extractPluginId, isPluginPath, printQrCode };
5413
-
5414
- //# sourceMappingURL=index.mjs.map
@@ -6416,5 +6416,3 @@ async function launch(options) {
6416
6416
  }
6417
6417
  //#endregion
6418
6418
  export { launch };
6419
-
6420
- //# sourceMappingURL=launch-IFPMxQYb.mjs.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@weapp-vite/miniprogram-automator",
3
3
  "type": "module",
4
- "version": "0.0.0",
4
+ "version": "1.0.0",
5
5
  "description": "完全兼容微信 miniprogram-automator 的现代化替代实现",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",
@@ -26,12 +26,11 @@
26
26
  "exports": {
27
27
  ".": {
28
28
  "types": "./dist/index.d.mts",
29
- "import": "./dist/index.mjs",
30
- "require": "./dist/index.cjs"
29
+ "import": "./dist/index.mjs"
31
30
  },
32
31
  "./package.json": "./package.json"
33
32
  },
34
- "main": "./dist/index.cjs",
33
+ "main": "./dist/index.mjs",
35
34
  "module": "./dist/index.mjs",
36
35
  "types": "./dist/index.d.mts",
37
36
  "files": [
@@ -1,28 +0,0 @@
1
- //#region \0rolldown/runtime.js
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __copyProps = (to, from, except, desc) => {
9
- if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
10
- key = keys[i];
11
- if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
12
- get: ((k) => from[k]).bind(null, key),
13
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
14
- });
15
- }
16
- return to;
17
- };
18
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
19
- value: mod,
20
- enumerable: true
21
- }) : target, mod));
22
- //#endregion
23
- Object.defineProperty(exports, "__toESM", {
24
- enumerable: true,
25
- get: function() {
26
- return __toESM;
27
- }
28
- });