@hardkas/accounts 0.7.7-alpha → 0.7.8-alpha

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -1
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -961,6 +961,7 @@ var KeystoreManager = class {
961
961
  import fs4 from "fs";
962
962
  import path4 from "path";
963
963
  import crypto2 from "crypto";
964
+ import { deterministicCompare } from "@hardkas/core";
964
965
  var DEV_ACCOUNTS_PASSWORD = "hardkas-local-dev";
965
966
  var SIMNET_DETERMINISTIC_SEED = "hardkas-deterministic-simnet-seed-v1";
966
967
  async function ensureDevAccounts(workspaceDir) {
@@ -1061,7 +1062,7 @@ function listDevAccountsSync(workspaceDir) {
1061
1062
  }
1062
1063
  }
1063
1064
  }
1064
- accounts.sort((a, b) => a.name.localeCompare(b.name));
1065
+ accounts.sort((a, b) => deterministicCompare(a.name, b.name));
1065
1066
  return accounts;
1066
1067
  }
1067
1068
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hardkas/accounts",
3
- "version": "0.7.7-alpha",
3
+ "version": "0.7.8-alpha",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -17,10 +17,10 @@
17
17
  ],
18
18
  "dependencies": {
19
19
  "hash-wasm": "^4.12.0",
20
- "@hardkas/artifacts": "0.7.7-alpha",
21
- "@hardkas/core": "0.7.7-alpha",
22
- "@hardkas/config": "0.7.7-alpha",
23
- "@hardkas/localnet": "0.7.7-alpha"
20
+ "@hardkas/artifacts": "0.7.8-alpha",
21
+ "@hardkas/config": "0.7.8-alpha",
22
+ "@hardkas/core": "0.7.8-alpha",
23
+ "@hardkas/localnet": "0.7.8-alpha"
24
24
  },
25
25
  "devDependencies": {
26
26
  "tsup": "^8.3.5",