@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.mjs
CHANGED
|
@@ -4062,9 +4062,9 @@ var PGFhirAccessLayer = class extends TinyEmitter {
|
|
|
4062
4062
|
}
|
|
4063
4063
|
const lap3 = performance.now() - start;
|
|
4064
4064
|
const total = performance.now() - oa;
|
|
4065
|
-
if (total > 100) console.log(chalk.hex("#E33A36")`--> Slow: O/A:[${total.toFixed(2)}] Index Calc:[${lap1.toFixed(2)}] Delete:[${lap2.toFixed(2)}] Insert:[${lap3.toFixed(2)}]`);
|
|
4066
|
-
else if (total > 75) console.log(chalk.hex("#e27270")`--> Slow: O/A:[${total.toFixed(2)}] Index Calc:[${lap1.toFixed(2)}] Delete:[${lap2.toFixed(2)}] Insert:[${lap3.toFixed(2)}]`);
|
|
4067
|
-
else if (total > 50) console.log(chalk.hex("#e2c3c2")`--> Slow: O/A:[${total.toFixed(2)}] Index Calc:[${lap1.toFixed(2)}] Delete:[${lap2.toFixed(2)}] Insert:[${lap3.toFixed(2)}]`);
|
|
4065
|
+
if (total > 100) console.log(chalk.hex("#E33A36")(`--> Slow: O/A:[${total.toFixed(2)}] Index Calc:[${lap1.toFixed(2)}] Delete:[${lap2.toFixed(2)}] Insert:[${lap3.toFixed(2)}]`));
|
|
4066
|
+
else if (total > 75) console.log(chalk.hex("#e27270")(`--> Slow: O/A:[${total.toFixed(2)}] Index Calc:[${lap1.toFixed(2)}] Delete:[${lap2.toFixed(2)}] Insert:[${lap3.toFixed(2)}]`));
|
|
4067
|
+
else if (total > 50) console.log(chalk.hex("#e2c3c2")(`--> Slow: O/A:[${total.toFixed(2)}] Index Calc:[${lap1.toFixed(2)}] Delete:[${lap2.toFixed(2)}] Insert:[${lap3.toFixed(2)}]`));
|
|
4068
4068
|
};
|
|
4069
4069
|
#isInTransaction = async (client) => {
|
|
4070
4070
|
return (await client.query(`
|