@datapos/datapos-shared 0.3.119 → 0.3.120
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.
|
@@ -135,12 +135,12 @@ class J extends p {
|
|
|
135
135
|
super(t, a, r), this.name = "WindowHandledRuntimeError";
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
|
-
class
|
|
138
|
+
class z extends p {
|
|
139
139
|
constructor(t, a, r) {
|
|
140
140
|
super(t, a, r), this.name = "WindowHandledPromiseRejectionError";
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
|
-
class
|
|
143
|
+
class W extends I {
|
|
144
144
|
constructor(t, a, r) {
|
|
145
145
|
super(t, a, r), this.name = "OperationalError";
|
|
146
146
|
}
|
|
@@ -325,7 +325,7 @@ const D = "en-US", x = {}, K = (e) => {
|
|
|
325
325
|
async function se() {
|
|
326
326
|
try {
|
|
327
327
|
const e = await JSON.parse(await y.readFile("package.json", "utf8")), t = await JSON.parse(await y.readFile("config.json", "utf8")), a = await y.readFile("src/index.ts", "utf8"), r = /^\s{4}(?:async\s+)?(private\s+)?(?:public\s+|protected\s+)?([A-Za-z_]\w*)\s*\(/gm, o = [...a.matchAll(r)].filter((n) => !n[1] && n[2] !== "constructor").map((n) => n[2]);
|
|
328
|
-
e.name && (t.id = e.name), t.operations = o, e.version && (t.version = e.version), await y.writeFile("
|
|
328
|
+
e.name && (t.id = e.name), t.operations = o, e.version && (t.version = e.version), await y.writeFile("config.json", JSON.stringify(t, void 0, 4), "utf8");
|
|
329
329
|
} catch (e) {
|
|
330
330
|
console.warn("Error building connector configuration.", e);
|
|
331
331
|
}
|
|
@@ -338,9 +338,9 @@ export {
|
|
|
338
338
|
L as DefaultTimestamp,
|
|
339
339
|
H as EngineError,
|
|
340
340
|
v as FetchError,
|
|
341
|
-
|
|
341
|
+
W as OperationalError,
|
|
342
342
|
N as VueError,
|
|
343
|
-
|
|
343
|
+
z as WindowPromiseRejectionError,
|
|
344
344
|
J as WindowRuntimeError,
|
|
345
345
|
se as buildConnectorConfig,
|
|
346
346
|
P as buildFetchError,
|