@nsshunt/stsfhirpg 1.2.21 → 1.2.22
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.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4069,9 +4069,9 @@ var PGFhirAccessLayer = class extends tiny_emitter.TinyEmitter {
|
|
|
4069
4069
|
}
|
|
4070
4070
|
const lap3 = performance.now() - start;
|
|
4071
4071
|
const total = performance.now() - oa;
|
|
4072
|
-
if (total > 100) console.log(chalk.default.hex("#E33A36")`--> Slow: O/A:[${total.toFixed(2)}] Index Calc:[${lap1.toFixed(2)}] Delete:[${lap2.toFixed(2)}] Insert:[${lap3.toFixed(2)}]`);
|
|
4073
|
-
else if (total > 75) console.log(chalk.default.hex("#e27270")`--> Slow: O/A:[${total.toFixed(2)}] Index Calc:[${lap1.toFixed(2)}] Delete:[${lap2.toFixed(2)}] Insert:[${lap3.toFixed(2)}]`);
|
|
4074
|
-
else if (total > 50) console.log(chalk.default.hex("#e2c3c2")`--> Slow: O/A:[${total.toFixed(2)}] Index Calc:[${lap1.toFixed(2)}] Delete:[${lap2.toFixed(2)}] Insert:[${lap3.toFixed(2)}]`);
|
|
4072
|
+
if (total > 100) console.log(chalk.default.hex("#E33A36")(`--> Slow: O/A:[${total.toFixed(2)}] Index Calc:[${lap1.toFixed(2)}] Delete:[${lap2.toFixed(2)}] Insert:[${lap3.toFixed(2)}]`));
|
|
4073
|
+
else if (total > 75) console.log(chalk.default.hex("#e27270")(`--> Slow: O/A:[${total.toFixed(2)}] Index Calc:[${lap1.toFixed(2)}] Delete:[${lap2.toFixed(2)}] Insert:[${lap3.toFixed(2)}]`));
|
|
4074
|
+
else if (total > 50) console.log(chalk.default.hex("#e2c3c2")(`--> Slow: O/A:[${total.toFixed(2)}] Index Calc:[${lap1.toFixed(2)}] Delete:[${lap2.toFixed(2)}] Insert:[${lap3.toFixed(2)}]`));
|
|
4075
4075
|
};
|
|
4076
4076
|
#isInTransaction = async (client) => {
|
|
4077
4077
|
return (await client.query(`
|