perstack 0.0.72 → 0.0.74

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/bin/cli.js CHANGED
@@ -20,7 +20,7 @@ import { useRun } from '@perstack/react';
20
20
  // package.json
21
21
  var package_default = {
22
22
  name: "perstack",
23
- version: "0.0.72",
23
+ version: "0.0.74",
24
24
  description: "PerStack CLI"};
25
25
  function getEnv(envPath) {
26
26
  const env = Object.fromEntries(
@@ -3221,7 +3221,7 @@ function toFixedPoint(str, e, z) {
3221
3221
  var BigNumber = clone();
3222
3222
  var bignumber_default = BigNumber;
3223
3223
 
3224
- // ../../node_modules/.pnpm/@paralleldrive+cuid2@3.0.4/node_modules/@paralleldrive/cuid2/src/index.js
3224
+ // ../../node_modules/.pnpm/@paralleldrive+cuid2@3.0.6/node_modules/@paralleldrive/cuid2/src/index.js
3225
3225
  var defaultLength = 24;
3226
3226
  var bigLength = 32;
3227
3227
  var createRandom = () => {
@@ -3293,7 +3293,16 @@ var init = ({
3293
3293
  return `${firstLetter + hash(hashInput).substring(1, length)}`;
3294
3294
  };
3295
3295
  };
3296
- var createId = init();
3296
+ var createId = lazy(init);
3297
+ function lazy(fn) {
3298
+ let initialized;
3299
+ return () => {
3300
+ if (!initialized) {
3301
+ initialized = fn();
3302
+ }
3303
+ return initialized();
3304
+ };
3305
+ }
3297
3306
  var BaseAdapter = class {
3298
3307
  convertExpert(expert) {
3299
3308
  return { instruction: expert.instruction };