momentic 0.0.3 → 0.0.4
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.js +114 -91
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -331,99 +331,14 @@ function ArgumentError(message) {
|
|
|
331
331
|
}
|
|
332
332
|
|
|
333
333
|
|
|
334
|
-
/***/ })
|
|
334
|
+
/***/ }),
|
|
335
|
+
|
|
336
|
+
/***/ 811:
|
|
337
|
+
/***/ ((module, __webpack_exports__, __nccwpck_require__) => {
|
|
335
338
|
|
|
336
|
-
/******/ });
|
|
337
|
-
/************************************************************************/
|
|
338
|
-
/******/ // The module cache
|
|
339
|
-
/******/ var __webpack_module_cache__ = {};
|
|
340
|
-
/******/
|
|
341
|
-
/******/ // The require function
|
|
342
|
-
/******/ function __nccwpck_require__(moduleId) {
|
|
343
|
-
/******/ // Check if module is in cache
|
|
344
|
-
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
345
|
-
/******/ if (cachedModule !== undefined) {
|
|
346
|
-
/******/ return cachedModule.exports;
|
|
347
|
-
/******/ }
|
|
348
|
-
/******/ // Create a new module (and put it into the cache)
|
|
349
|
-
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
350
|
-
/******/ // no module.id needed
|
|
351
|
-
/******/ // no module.loaded needed
|
|
352
|
-
/******/ exports: {}
|
|
353
|
-
/******/ };
|
|
354
|
-
/******/
|
|
355
|
-
/******/ // Execute the module function
|
|
356
|
-
/******/ var threw = true;
|
|
357
|
-
/******/ try {
|
|
358
|
-
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __nccwpck_require__);
|
|
359
|
-
/******/ threw = false;
|
|
360
|
-
/******/ } finally {
|
|
361
|
-
/******/ if(threw) delete __webpack_module_cache__[moduleId];
|
|
362
|
-
/******/ }
|
|
363
|
-
/******/
|
|
364
|
-
/******/ // Return the exports of the module
|
|
365
|
-
/******/ return module.exports;
|
|
366
|
-
/******/ }
|
|
367
|
-
/******/
|
|
368
|
-
/************************************************************************/
|
|
369
|
-
/******/ /* webpack/runtime/compat get default export */
|
|
370
|
-
/******/ (() => {
|
|
371
|
-
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
372
|
-
/******/ __nccwpck_require__.n = (module) => {
|
|
373
|
-
/******/ var getter = module && module.__esModule ?
|
|
374
|
-
/******/ () => (module['default']) :
|
|
375
|
-
/******/ () => (module);
|
|
376
|
-
/******/ __nccwpck_require__.d(getter, { a: getter });
|
|
377
|
-
/******/ return getter;
|
|
378
|
-
/******/ };
|
|
379
|
-
/******/ })();
|
|
380
|
-
/******/
|
|
381
|
-
/******/ /* webpack/runtime/define property getters */
|
|
382
|
-
/******/ (() => {
|
|
383
|
-
/******/ // define getter functions for harmony exports
|
|
384
|
-
/******/ __nccwpck_require__.d = (exports, definition) => {
|
|
385
|
-
/******/ for(var key in definition) {
|
|
386
|
-
/******/ if(__nccwpck_require__.o(definition, key) && !__nccwpck_require__.o(exports, key)) {
|
|
387
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
388
|
-
/******/ }
|
|
389
|
-
/******/ }
|
|
390
|
-
/******/ };
|
|
391
|
-
/******/ })();
|
|
392
|
-
/******/
|
|
393
|
-
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
394
|
-
/******/ (() => {
|
|
395
|
-
/******/ __nccwpck_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
396
|
-
/******/ })();
|
|
397
|
-
/******/
|
|
398
|
-
/******/ /* webpack/runtime/make namespace object */
|
|
399
|
-
/******/ (() => {
|
|
400
|
-
/******/ // define __esModule on exports
|
|
401
|
-
/******/ __nccwpck_require__.r = (exports) => {
|
|
402
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
403
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
404
|
-
/******/ }
|
|
405
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
406
|
-
/******/ };
|
|
407
|
-
/******/ })();
|
|
408
|
-
/******/
|
|
409
|
-
/******/ /* webpack/runtime/compat */
|
|
410
|
-
/******/
|
|
411
|
-
/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/";
|
|
412
|
-
/******/
|
|
413
|
-
/************************************************************************/
|
|
414
|
-
var __webpack_exports__ = {};
|
|
415
|
-
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
416
|
-
(() => {
|
|
417
339
|
// ESM COMPAT FLAG
|
|
418
340
|
__nccwpck_require__.r(__webpack_exports__);
|
|
419
341
|
|
|
420
|
-
// EXPORTS
|
|
421
|
-
__nccwpck_require__.d(__webpack_exports__, {
|
|
422
|
-
"APIGenerator": () => (/* reexport */ APIGenerator),
|
|
423
|
-
"AgentController": () => (/* reexport */ AgentController),
|
|
424
|
-
"ChromeBrowser": () => (/* reexport */ ChromeBrowser)
|
|
425
|
-
});
|
|
426
|
-
|
|
427
342
|
;// CONCATENATED MODULE: external "playwright"
|
|
428
343
|
const external_playwright_namespaceObject = require("playwright");
|
|
429
344
|
;// CONCATENATED MODULE: ../../packages/web-agent/src/utils/url.ts
|
|
@@ -2974,14 +2889,122 @@ class APIGenerator {
|
|
|
2974
2889
|
}
|
|
2975
2890
|
|
|
2976
2891
|
;// CONCATENATED MODULE: ./src/index.ts
|
|
2892
|
+
/* module decorator */ module = __nccwpck_require__.hmd(module);
|
|
2977
2893
|
// NOTE: these paths are using the direct paths to these files to support treeshaking so we don't bundle unnecessary code
|
|
2978
2894
|
|
|
2979
2895
|
|
|
2980
2896
|
|
|
2897
|
+
module.exports = {
|
|
2898
|
+
APIGenerator: APIGenerator,
|
|
2899
|
+
AgentController: AgentController,
|
|
2900
|
+
ChromeBrowser: ChromeBrowser,
|
|
2901
|
+
};
|
|
2981
2902
|
|
|
2982
2903
|
|
|
2983
|
-
})
|
|
2904
|
+
/***/ })
|
|
2984
2905
|
|
|
2985
|
-
|
|
2906
|
+
/******/ });
|
|
2907
|
+
/************************************************************************/
|
|
2908
|
+
/******/ // The module cache
|
|
2909
|
+
/******/ var __webpack_module_cache__ = {};
|
|
2910
|
+
/******/
|
|
2911
|
+
/******/ // The require function
|
|
2912
|
+
/******/ function __nccwpck_require__(moduleId) {
|
|
2913
|
+
/******/ // Check if module is in cache
|
|
2914
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
2915
|
+
/******/ if (cachedModule !== undefined) {
|
|
2916
|
+
/******/ return cachedModule.exports;
|
|
2917
|
+
/******/ }
|
|
2918
|
+
/******/ // Create a new module (and put it into the cache)
|
|
2919
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
2920
|
+
/******/ id: moduleId,
|
|
2921
|
+
/******/ loaded: false,
|
|
2922
|
+
/******/ exports: {}
|
|
2923
|
+
/******/ };
|
|
2924
|
+
/******/
|
|
2925
|
+
/******/ // Execute the module function
|
|
2926
|
+
/******/ var threw = true;
|
|
2927
|
+
/******/ try {
|
|
2928
|
+
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __nccwpck_require__);
|
|
2929
|
+
/******/ threw = false;
|
|
2930
|
+
/******/ } finally {
|
|
2931
|
+
/******/ if(threw) delete __webpack_module_cache__[moduleId];
|
|
2932
|
+
/******/ }
|
|
2933
|
+
/******/
|
|
2934
|
+
/******/ // Flag the module as loaded
|
|
2935
|
+
/******/ module.loaded = true;
|
|
2936
|
+
/******/
|
|
2937
|
+
/******/ // Return the exports of the module
|
|
2938
|
+
/******/ return module.exports;
|
|
2939
|
+
/******/ }
|
|
2940
|
+
/******/
|
|
2941
|
+
/************************************************************************/
|
|
2942
|
+
/******/ /* webpack/runtime/compat get default export */
|
|
2943
|
+
/******/ (() => {
|
|
2944
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
2945
|
+
/******/ __nccwpck_require__.n = (module) => {
|
|
2946
|
+
/******/ var getter = module && module.__esModule ?
|
|
2947
|
+
/******/ () => (module['default']) :
|
|
2948
|
+
/******/ () => (module);
|
|
2949
|
+
/******/ __nccwpck_require__.d(getter, { a: getter });
|
|
2950
|
+
/******/ return getter;
|
|
2951
|
+
/******/ };
|
|
2952
|
+
/******/ })();
|
|
2953
|
+
/******/
|
|
2954
|
+
/******/ /* webpack/runtime/define property getters */
|
|
2955
|
+
/******/ (() => {
|
|
2956
|
+
/******/ // define getter functions for harmony exports
|
|
2957
|
+
/******/ __nccwpck_require__.d = (exports, definition) => {
|
|
2958
|
+
/******/ for(var key in definition) {
|
|
2959
|
+
/******/ if(__nccwpck_require__.o(definition, key) && !__nccwpck_require__.o(exports, key)) {
|
|
2960
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
2961
|
+
/******/ }
|
|
2962
|
+
/******/ }
|
|
2963
|
+
/******/ };
|
|
2964
|
+
/******/ })();
|
|
2965
|
+
/******/
|
|
2966
|
+
/******/ /* webpack/runtime/harmony module decorator */
|
|
2967
|
+
/******/ (() => {
|
|
2968
|
+
/******/ __nccwpck_require__.hmd = (module) => {
|
|
2969
|
+
/******/ module = Object.create(module);
|
|
2970
|
+
/******/ if (!module.children) module.children = [];
|
|
2971
|
+
/******/ Object.defineProperty(module, 'exports', {
|
|
2972
|
+
/******/ enumerable: true,
|
|
2973
|
+
/******/ set: () => {
|
|
2974
|
+
/******/ throw new Error('ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: ' + module.id);
|
|
2975
|
+
/******/ }
|
|
2976
|
+
/******/ });
|
|
2977
|
+
/******/ return module;
|
|
2978
|
+
/******/ };
|
|
2979
|
+
/******/ })();
|
|
2980
|
+
/******/
|
|
2981
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
2982
|
+
/******/ (() => {
|
|
2983
|
+
/******/ __nccwpck_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
2984
|
+
/******/ })();
|
|
2985
|
+
/******/
|
|
2986
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
2987
|
+
/******/ (() => {
|
|
2988
|
+
/******/ // define __esModule on exports
|
|
2989
|
+
/******/ __nccwpck_require__.r = (exports) => {
|
|
2990
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
2991
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2992
|
+
/******/ }
|
|
2993
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
2994
|
+
/******/ };
|
|
2995
|
+
/******/ })();
|
|
2996
|
+
/******/
|
|
2997
|
+
/******/ /* webpack/runtime/compat */
|
|
2998
|
+
/******/
|
|
2999
|
+
/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/";
|
|
3000
|
+
/******/
|
|
3001
|
+
/************************************************************************/
|
|
3002
|
+
/******/
|
|
3003
|
+
/******/ // startup
|
|
3004
|
+
/******/ // Load entry module and return exports
|
|
3005
|
+
/******/ // This entry module is referenced by other modules so it can't be inlined
|
|
3006
|
+
/******/ var __webpack_exports__ = __nccwpck_require__(811);
|
|
3007
|
+
/******/ module.exports = __webpack_exports__;
|
|
3008
|
+
/******/
|
|
2986
3009
|
/******/ })()
|
|
2987
3010
|
;
|