@settlemint/sdk-utils 2.4.0-pra6821f69 → 2.4.0-praf6ea8ac

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.
@@ -11277,17 +11277,17 @@ function validate(schema, value) {
11277
11277
  * Schema for validating application access tokens.
11278
11278
  * Application access tokens start with 'sm_aat_' prefix.
11279
11279
  */
11280
- const ApplicationAccessTokenSchema = string$1().regex(/^sm_aat_.*$/);
11280
+ const ApplicationAccessTokenSchema = string$1().regex(/^sm_aat_.+$/);
11281
11281
  /**
11282
11282
  * Schema for validating personal access tokens.
11283
11283
  * Personal access tokens start with 'sm_pat_' prefix.
11284
11284
  */
11285
- const PersonalAccessTokenSchema = string$1().regex(/^sm_pat_.*$/);
11285
+ const PersonalAccessTokenSchema = string$1().regex(/^sm_pat_.+$/);
11286
11286
  /**
11287
11287
  * Schema for validating both application and personal access tokens.
11288
11288
  * Accepts tokens starting with either 'sm_pat_' or 'sm_aat_' prefix.
11289
11289
  */
11290
- const AccessTokenSchema = string$1().regex(/^sm_pat_.*|sm_aat_.*$/);
11290
+ const AccessTokenSchema = string$1().regex(/^(sm_pat_.+|sm_aat_.+)$/);
11291
11291
 
11292
11292
  //#endregion
11293
11293
  //#region src/json.ts
@@ -11320,7 +11320,7 @@ function tryParseJson(value, defaultValue = null) {
11320
11320
  return defaultValue;
11321
11321
  }
11322
11322
  return parsed;
11323
- } catch (err) {
11323
+ } catch (_err) {
11324
11324
  return defaultValue;
11325
11325
  }
11326
11326
  }
@@ -18211,7 +18211,7 @@ async function findMonoRepoPackages(projectDir) {
18211
18211
  }));
18212
18212
  const allPaths = packagePaths.flat();
18213
18213
  return allPaths.length === 0 ? [projectDir] : [monoRepoRoot, ...allPaths];
18214
- } catch (error$37) {
18214
+ } catch (_error) {
18215
18215
  return [projectDir];
18216
18216
  }
18217
18217
  }