bulletin-deploy 0.13.2-rc.1 → 0.13.2-rc.2

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 (36) hide show
  1. package/bin/bulletin-deploy +16 -5
  2. package/dist/auth-config.js +3 -3
  3. package/dist/bug-report.js +4 -4
  4. package/dist/{chunk-Z6RQSZNM.js → chunk-46BS77ZZ.js} +54 -1
  5. package/dist/{chunk-CHE5D3OO.js → chunk-A33TZ7T6.js} +3 -3
  6. package/dist/{chunk-5N5HND6Y.js → chunk-DPSGCV2F.js} +2 -2
  7. package/dist/{chunk-NNRJLXFB.js → chunk-G7Y7QZIE.js} +1 -1
  8. package/dist/{chunk-FH7SSPPT.js → chunk-IELQ4GO6.js} +2 -2
  9. package/dist/{chunk-6FP4PGF5.js → chunk-MYQO2UNZ.js} +1 -1
  10. package/dist/{chunk-KCZSMYLV.js → chunk-P7MXONT2.js} +1 -1
  11. package/dist/{chunk-HMJN4XJD.js → chunk-PEJQIIGR.js} +14 -7
  12. package/dist/{chunk-LLNSFXHF.js → chunk-PMYMVWFT.js} +1 -1
  13. package/dist/{chunk-H3D57D5J.js → chunk-XIMLHQX5.js} +1 -1
  14. package/dist/{chunk-PFVSY3YT.js → chunk-XOVXFR6G.js} +1 -1
  15. package/dist/chunk-probe.js +3 -3
  16. package/dist/commands/login.js +10 -10
  17. package/dist/commands/logout.js +4 -4
  18. package/dist/commands/transfer.js +3 -3
  19. package/dist/commands/whoami.js +3 -3
  20. package/dist/deploy-actors.js +5 -5
  21. package/dist/deploy.d.ts +16 -1
  22. package/dist/deploy.js +12 -10
  23. package/dist/dotns.d.ts +44 -1
  24. package/dist/dotns.js +11 -3
  25. package/dist/index.js +14 -14
  26. package/dist/manifest/publish.js +11 -11
  27. package/dist/memory-report.js +2 -2
  28. package/dist/merkle.js +10 -10
  29. package/dist/personhood/bootstrap.js +10 -10
  30. package/dist/personhood/people-client.js +3 -3
  31. package/dist/run-state.js +1 -1
  32. package/dist/sss-allowance-cache.js +4 -4
  33. package/dist/storage-signer.js +10 -10
  34. package/dist/telemetry.js +2 -2
  35. package/dist/version-check.js +3 -3
  36. package/package.json +1 -1
@@ -6,7 +6,7 @@
6
6
  // SDK modules that trigger the "@parity/product-sdk-logger" localStorage warning.
7
7
  import "../dist/suppress-localstorage-warning.js";
8
8
 
9
- import { deploy, DEFAULT_BULLETIN_RPC, DEFAULT_POOL_SIZE, NonRetryableError, EXIT_CODE_NO_RETRY, isConnectionError, isBenignTeardownError, unpublish } from "../dist/deploy.js";
9
+ import { deploy, DEFAULT_BULLETIN_RPC, DEFAULT_POOL_SIZE, NonRetryableError, EXIT_CODE_NO_RETRY, isConnectionError, isBenignTeardownError, unpublish, resolveEffectiveMnemonic } from "../dist/deploy.js";
10
10
  import { VERSION, setDeployAttribute, captureWarning, closeTelemetry, setRunStateActive, markRelaunchOomHintShown } from "../dist/telemetry.js";
11
11
  import { handleFailedDeploy, handlePreflightVersionCheck, fetchVersionInfo, preReleaseWarning, checkNodeVersion } from "../dist/version-check.js";
12
12
  import { setDeployContext, installLogCapture, buildCliFlagsSummary } from "../dist/bug-report.js";
@@ -78,6 +78,17 @@ if (flags.publish && flags.unpublish) {
78
78
  process.exit(1);
79
79
  }
80
80
 
81
+ // #1107: the mnemonic actually used to sign — --mnemonic flag > MNEMONIC env
82
+ // var > DOTNS_MNEMONIC env var. Used everywhere deploy/publish/unpublish need
83
+ // a signer identity (existence guards below intentionally keep checking
84
+ // flags.mnemonic / process.env.MNEMONIC directly — only the VALUE forwarded
85
+ // to options.mnemonic changes here).
86
+ const effectiveMnemonic = resolveEffectiveMnemonic({
87
+ flagMnemonic: flags.mnemonic,
88
+ envMnemonic: process.env.MNEMONIC,
89
+ envDotnsMnemonic: process.env.DOTNS_MNEMONIC,
90
+ });
91
+
81
92
  // --environment-file: propagate to the env var so all internal loadEnvironments()
82
93
  // call sites (deploy.ts, manifest/publish.ts, personhood) honor the override.
83
94
  if (flags.environmentFile) {
@@ -119,7 +130,7 @@ if (flags.unpublish) {
119
130
  }
120
131
  try {
121
132
  const result = await unpublish(domain, {
122
- mnemonic: flags.mnemonic,
133
+ mnemonic: effectiveMnemonic,
123
134
  derivationPath: flags.derivationPath,
124
135
  rpc: flags.rpc,
125
136
  env: flags.env,
@@ -445,7 +456,7 @@ try {
445
456
  rpc: effectiveRpc,
446
457
  repo: process.env.GITHUB_REPOSITORY,
447
458
  branch: process.env.GITHUB_HEAD_REF || process.env.GITHUB_REF_NAME,
448
- signerMode: flags.mnemonic ? "direct" : "pool",
459
+ signerMode: effectiveMnemonic ? "direct" : "pool",
449
460
  deployTag,
450
461
  cliFlags: buildCliFlagsSummary(flags),
451
462
  ci,
@@ -473,7 +484,7 @@ try {
473
484
  }
474
485
 
475
486
  const result = await deploy(buildDir, domain, {
476
- mnemonic: flags.mnemonic,
487
+ mnemonic: effectiveMnemonic,
477
488
  derivationPath: flags.derivationPath,
478
489
  suri: flags.suri,
479
490
  rpc: flags.rpc,
@@ -557,7 +568,7 @@ try {
557
568
  buildDirCid: { absPath: buildDirAbs, cid: result.cid },
558
569
  env: flags.env,
559
570
  rpc: flags.rpc,
560
- mnemonic: flags.mnemonic,
571
+ mnemonic: effectiveMnemonic,
561
572
  derivationPath: flags.derivationPath,
562
573
  });
563
574
  } catch (err) {
@@ -9,10 +9,10 @@ import {
9
9
  getPeopleChainEndpoints,
10
10
  hasPersistedSession,
11
11
  resolveBulletinEndpoints
12
- } from "./chunk-KCZSMYLV.js";
12
+ } from "./chunk-P7MXONT2.js";
13
13
  import "./chunk-TSPERKUS.js";
14
- import "./chunk-6FP4PGF5.js";
15
- import "./chunk-H3D57D5J.js";
14
+ import "./chunk-MYQO2UNZ.js";
15
+ import "./chunk-XIMLHQX5.js";
16
16
  import "./chunk-3ZEMX4WD.js";
17
17
  import "./chunk-ZOC4GITL.js";
18
18
  export {
@@ -10,10 +10,10 @@ import {
10
10
  offerBugReport,
11
11
  scrubSecrets,
12
12
  setDeployContext
13
- } from "./chunk-CHE5D3OO.js";
14
- import "./chunk-PFVSY3YT.js";
15
- import "./chunk-6FP4PGF5.js";
16
- import "./chunk-H3D57D5J.js";
13
+ } from "./chunk-A33TZ7T6.js";
14
+ import "./chunk-XOVXFR6G.js";
15
+ import "./chunk-MYQO2UNZ.js";
16
+ import "./chunk-XIMLHQX5.js";
17
17
  export {
18
18
  buildCliFlagsSummary,
19
19
  buildLabels,
@@ -11,7 +11,7 @@ import {
11
11
  setDeploySentryTag,
12
12
  truncateAddress,
13
13
  withSpan
14
- } from "./chunk-6FP4PGF5.js";
14
+ } from "./chunk-MYQO2UNZ.js";
15
15
  import {
16
16
  validateContractAddresses
17
17
  } from "./chunk-3ZEMX4WD.js";
@@ -274,6 +274,42 @@ async function verifyNonceAdvanced(endpoints, ss58Address, originalNonce) {
274
274
  }
275
275
  return { advanced: false };
276
276
  }
277
+ var NONCE_CONTENTION_BACKOFF_BASE_MS = 250;
278
+ var NONCE_CONTENTION_BACKOFF_MAX_MS = 2e3;
279
+ function nonceContentionBackoffMs(attempt, rand = Math.random) {
280
+ const base = Math.min(NONCE_CONTENTION_BACKOFF_BASE_MS * 2 ** (attempt - 1), NONCE_CONTENTION_BACKOFF_MAX_MS);
281
+ const jitter = (rand() * 2 - 1) * NONCE_CONTENTION_BACKOFF_BASE_MS;
282
+ return Math.max(0, Math.round(base + jitter));
283
+ }
284
+ var DOTNS_NONCE_CONTENTION_MAX_ATTEMPTS = 5;
285
+ function isNonceContentionAmbiguous(err) {
286
+ const msg = err instanceof Error ? err.message : String(err);
287
+ return msg.startsWith("nonce-advance fallback:");
288
+ }
289
+ async function reacquireNonceOnContention(resubmit, nonceFallback, label, opts = {}) {
290
+ const fetchNonceFn = opts.fetchNonce ?? fetchNonce;
291
+ const sleepFn = opts.sleep ?? ((ms) => new Promise((r) => setTimeout(r, ms)));
292
+ const backoffFn = opts.backoffMs ?? nonceContentionBackoffMs;
293
+ const maxAttempts = opts.maxAttempts ?? DOTNS_NONCE_CONTENTION_MAX_ATTEMPTS;
294
+ for (let attempt = 1; attempt <= maxAttempts; attempt++) {
295
+ setDeployAttribute("deploy.dotns.nonce_contention_retries", attempt);
296
+ const ms = backoffFn(attempt);
297
+ console.log(` ${label}: nonce contention (attempt ${attempt}/${maxAttempts}) \u2014 re-acquiring nonce and resubmitting in ${ms}ms\u2026`);
298
+ await sleepFn(ms);
299
+ try {
300
+ nonceFallback.expectedNonce = await fetchNonceFn(nonceFallback.rpcs, nonceFallback.senderSS58);
301
+ } catch {
302
+ }
303
+ try {
304
+ return await resubmit();
305
+ } catch (e) {
306
+ if (!isNonceContentionAmbiguous(e)) throw e;
307
+ }
308
+ }
309
+ throw new NonRetryableError(
310
+ `DotNS write could not acquire a nonce slot after ${maxAttempts} attempts \u2014 the shared signer (${nonceFallback.senderSS58}) is under nonce contention; pass your own --mnemonic for an isolated nonce space.`
311
+ );
312
+ }
277
313
  var ProofOfPersonhoodStatus = {
278
314
  NoStatus: 0,
279
315
  ProofOfPersonhoodLite: 1,
@@ -875,6 +911,19 @@ var ReviveClientWrapper = class _ReviveClientWrapper {
875
911
  filter.flush();
876
912
  throw fastFail;
877
913
  }
914
+ if (opts.nonceFallback && isNonceContentionAmbiguous(e)) {
915
+ try {
916
+ return await reacquireNonceOnContention(
917
+ () => this.signAndSubmitExtrinsic(buildExtrinsic(), signer, filter.callback, opts),
918
+ opts.nonceFallback,
919
+ label,
920
+ { fetchNonce: opts.fetchNonce, sleep: opts.sleep, backoffMs: opts.nonceContentionBackoffMs }
921
+ );
922
+ } catch (contentionErr) {
923
+ filter.flush();
924
+ throw contentionErr;
925
+ }
926
+ }
878
927
  const decision = classifyTxRetryDecision(e);
879
928
  const msg = e?.message ?? String(e);
880
929
  if (!shouldRetryTxAttempt(attempt, DOTNS_TX_MAX_ATTEMPTS, decision)) {
@@ -2936,6 +2985,10 @@ export {
2936
2985
  DEFAULT_MNEMONIC,
2937
2986
  fetchNonce,
2938
2987
  verifyNonceAdvanced,
2988
+ nonceContentionBackoffMs,
2989
+ DOTNS_NONCE_CONTENTION_MAX_ATTEMPTS,
2990
+ isNonceContentionAmbiguous,
2991
+ reacquireNonceOnContention,
2939
2992
  ProofOfPersonhoodStatus,
2940
2993
  PUBLISHER_ABI,
2941
2994
  PublisherNotSupportedError,
@@ -2,15 +2,15 @@ import {
2
2
  classifyErrorArea,
3
3
  isInteractive,
4
4
  promptYesNo
5
- } from "./chunk-PFVSY3YT.js";
5
+ } from "./chunk-XOVXFR6G.js";
6
6
  import {
7
7
  VERSION,
8
8
  getCurrentSentryTraceId,
9
9
  resolveIssueRepoSlug
10
- } from "./chunk-6FP4PGF5.js";
10
+ } from "./chunk-MYQO2UNZ.js";
11
11
  import {
12
12
  package_default
13
- } from "./chunk-H3D57D5J.js";
13
+ } from "./chunk-XIMLHQX5.js";
14
14
 
15
15
  // src/bug-report.ts
16
16
  import { execSync, execFileSync } from "child_process";
@@ -4,10 +4,10 @@ import {
4
4
  } from "./chunk-5FLTDWWP.js";
5
5
  import {
6
6
  DOT_PRODUCT_ID
7
- } from "./chunk-KCZSMYLV.js";
7
+ } from "./chunk-P7MXONT2.js";
8
8
  import {
9
9
  DEFAULT_MNEMONIC
10
- } from "./chunk-Z6RQSZNM.js";
10
+ } from "./chunk-46BS77ZZ.js";
11
11
 
12
12
  // src/deploy-actors.ts
13
13
  var DEFAULT_WORKER_SURI = DEFAULT_MNEMONIC;
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-GRPLHUYC.js";
4
4
  import {
5
5
  DOT_DAPP_ID
6
- } from "./chunk-KCZSMYLV.js";
6
+ } from "./chunk-P7MXONT2.js";
7
7
 
8
8
  // src/sss-allowance-cache.ts
9
9
  import { mkdir, readFile, writeFile, unlink } from "fs/promises";
@@ -7,10 +7,10 @@ import {
7
7
  resolveDotnsConnectOptions,
8
8
  storeDirectory,
9
9
  storeFile
10
- } from "./chunk-HMJN4XJD.js";
10
+ } from "./chunk-PEJQIIGR.js";
11
11
  import {
12
12
  DotNS
13
- } from "./chunk-Z6RQSZNM.js";
13
+ } from "./chunk-46BS77ZZ.js";
14
14
  import {
15
15
  getPopSelfServeConfig,
16
16
  loadEnvironments,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  package_default,
3
3
  writeRunState
4
- } from "./chunk-H3D57D5J.js";
4
+ } from "./chunk-XIMLHQX5.js";
5
5
 
6
6
  // src/memory-report.ts
7
7
  import * as fs2 from "fs";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-TSPERKUS.js";
4
4
  import {
5
5
  VERSION
6
- } from "./chunk-6FP4PGF5.js";
6
+ } from "./chunk-MYQO2UNZ.js";
7
7
  import {
8
8
  loadEnvironments
9
9
  } from "./chunk-3ZEMX4WD.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  preflightSssAllowance
3
- } from "./chunk-NNRJLXFB.js";
3
+ } from "./chunk-G7Y7QZIE.js";
4
4
  import {
5
5
  statementSigningAccount
6
6
  } from "./chunk-GRPLHUYC.js";
@@ -31,18 +31,18 @@ import {
31
31
  } from "./chunk-S7EM5VMW.js";
32
32
  import {
33
33
  setDeployContext
34
- } from "./chunk-CHE5D3OO.js";
34
+ } from "./chunk-A33TZ7T6.js";
35
35
  import {
36
36
  getBestBlockNumber,
37
37
  probeChunks,
38
38
  probeFinalityGap
39
- } from "./chunk-LLNSFXHF.js";
39
+ } from "./chunk-PMYMVWFT.js";
40
40
  import {
41
41
  packSection
42
42
  } from "./chunk-C2TS5MER.js";
43
43
  import {
44
44
  resolveStorageSigner
45
- } from "./chunk-5N5HND6Y.js";
45
+ } from "./chunk-DPSGCV2F.js";
46
46
  import {
47
47
  createSlotAccountSigner,
48
48
  requestResourceAllocation
@@ -51,7 +51,7 @@ import {
51
51
  STALE_SESSION_MESSAGE,
52
52
  getPeopleChainEndpoints,
53
53
  hasPersistedSession
54
- } from "./chunk-KCZSMYLV.js";
54
+ } from "./chunk-P7MXONT2.js";
55
55
  import {
56
56
  CLI_NAME
57
57
  } from "./chunk-TSPERKUS.js";
@@ -64,7 +64,7 @@ import {
64
64
  parseDomainName,
65
65
  popStatusName,
66
66
  verifyNonceAdvanced
67
- } from "./chunk-Z6RQSZNM.js";
67
+ } from "./chunk-46BS77ZZ.js";
68
68
  import {
69
69
  derivePoolAccounts,
70
70
  detectTestnet,
@@ -86,7 +86,7 @@ import {
86
86
  truncateAddress,
87
87
  withDeploySpan,
88
88
  withSpan
89
- } from "./chunk-6FP4PGF5.js";
89
+ } from "./chunk-MYQO2UNZ.js";
90
90
  import {
91
91
  DEFAULT_ENV_ID,
92
92
  getPopSelfServeConfig,
@@ -641,6 +641,9 @@ function __selectStorageProviderModeForTest(options) {
641
641
  if (options.mnemonic) return "direct";
642
642
  return "pool";
643
643
  }
644
+ function resolveEffectiveMnemonic(opts) {
645
+ return opts.flagMnemonic ?? opts.envMnemonic ?? opts.envDotnsMnemonic;
646
+ }
644
647
  function chooseSignerInput(opts) {
645
648
  if (opts.mnemonic) return "mnemonic";
646
649
  if (opts.hasInjectedSigner) return "injected";
@@ -2138,6 +2141,9 @@ async function deploy(content, domainName = null, options = {}) {
2138
2141
  hasInjectedSigner: !!(options.signer && options.signerAddress),
2139
2142
  hasSession
2140
2143
  });
2144
+ if (signerChoice === "mnemonic" && hasSession) {
2145
+ console.error("Using the provided mnemonic; the persisted login session will be ignored for this deploy.");
2146
+ }
2141
2147
  let resolvedUserSession = void 0;
2142
2148
  if (signerChoice === "resolve") {
2143
2149
  const { resolveDeployActors } = await import("./deploy-actors.js");
@@ -3130,6 +3136,7 @@ export {
3130
3136
  ENCRYPT_PBKDF2_ITERATIONS,
3131
3137
  encryptContent,
3132
3138
  __selectStorageProviderModeForTest,
3139
+ resolveEffectiveMnemonic,
3133
3140
  chooseSignerInput,
3134
3141
  isPhoneSignerActive,
3135
3142
  shouldHandoverName,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  captureWarning
3
- } from "./chunk-6FP4PGF5.js";
3
+ } from "./chunk-MYQO2UNZ.js";
4
4
 
5
5
  // src/chunk-probe.ts
6
6
  import { Twox128, Blake2128Concat, decAnyMetadata, unifyMetadata } from "@polkadot-api/substrate-bindings";
@@ -6,7 +6,7 @@ import * as path from "path";
6
6
  // package.json
7
7
  var package_default = {
8
8
  name: "bulletin-deploy",
9
- version: "0.13.2-rc.1",
9
+ version: "0.13.2-rc.2",
10
10
  private: false,
11
11
  repository: {
12
12
  type: "git",
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-6FP4PGF5.js";
3
+ } from "./chunk-MYQO2UNZ.js";
4
4
 
5
5
  // src/version-check.ts
6
6
  import { execSync, execFileSync } from "child_process";
@@ -8,9 +8,9 @@ import {
8
8
  getBestBlockNumber,
9
9
  probeChunks,
10
10
  probeFinalityGap
11
- } from "./chunk-LLNSFXHF.js";
12
- import "./chunk-6FP4PGF5.js";
13
- import "./chunk-H3D57D5J.js";
11
+ } from "./chunk-PMYMVWFT.js";
12
+ import "./chunk-MYQO2UNZ.js";
13
+ import "./chunk-XIMLHQX5.js";
14
14
  export {
15
15
  ChainProbeCrossValidationError,
16
16
  ChainProbeMetadataError,
@@ -3,10 +3,10 @@ import {
3
3
  } from "../chunk-J7CYVTAW.js";
4
4
  import {
5
5
  waitForBulletinAuthorization
6
- } from "../chunk-HMJN4XJD.js";
6
+ } from "../chunk-PEJQIIGR.js";
7
7
  import {
8
8
  preflightSssAllowance
9
- } from "../chunk-NNRJLXFB.js";
9
+ } from "../chunk-G7Y7QZIE.js";
10
10
  import {
11
11
  statementSigningAccount
12
12
  } from "../chunk-GRPLHUYC.js";
@@ -15,11 +15,11 @@ import "../chunk-IW3X2MJF.js";
15
15
  import "../chunk-KOSF5FDO.js";
16
16
  import "../chunk-J3NIXHZZ.js";
17
17
  import "../chunk-S7EM5VMW.js";
18
- import "../chunk-CHE5D3OO.js";
19
- import "../chunk-PFVSY3YT.js";
20
- import "../chunk-LLNSFXHF.js";
18
+ import "../chunk-A33TZ7T6.js";
19
+ import "../chunk-XOVXFR6G.js";
20
+ import "../chunk-PMYMVWFT.js";
21
21
  import "../chunk-C2TS5MER.js";
22
- import "../chunk-5N5HND6Y.js";
22
+ import "../chunk-DPSGCV2F.js";
23
23
  import "../chunk-JQKKMUCT.js";
24
24
  import {
25
25
  BULLETIN_RESOURCE,
@@ -36,15 +36,15 @@ import {
36
36
  getAuthClient,
37
37
  getPeopleChainEndpoints,
38
38
  resolveBulletinEndpoints
39
- } from "../chunk-KCZSMYLV.js";
39
+ } from "../chunk-P7MXONT2.js";
40
40
  import {
41
41
  CLI_NAME
42
42
  } from "../chunk-TSPERKUS.js";
43
- import "../chunk-Z6RQSZNM.js";
43
+ import "../chunk-46BS77ZZ.js";
44
44
  import "../chunk-SI2ZUOYD.js";
45
45
  import "../chunk-4AEFFDHP.js";
46
- import "../chunk-6FP4PGF5.js";
47
- import "../chunk-H3D57D5J.js";
46
+ import "../chunk-MYQO2UNZ.js";
47
+ import "../chunk-XIMLHQX5.js";
48
48
  import {
49
49
  loadEnvironments
50
50
  } from "../chunk-3ZEMX4WD.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  clearSssAllowanceCache
3
- } from "../chunk-NNRJLXFB.js";
3
+ } from "../chunk-G7Y7QZIE.js";
4
4
  import "../chunk-GRPLHUYC.js";
5
5
  import "../chunk-JQKKMUCT.js";
6
6
  import "../chunk-5FLTDWWP.js";
@@ -9,10 +9,10 @@ import {
9
9
  } from "../chunk-RIRDBSBG.js";
10
10
  import {
11
11
  getAuthClient
12
- } from "../chunk-KCZSMYLV.js";
12
+ } from "../chunk-P7MXONT2.js";
13
13
  import "../chunk-TSPERKUS.js";
14
- import "../chunk-6FP4PGF5.js";
15
- import "../chunk-H3D57D5J.js";
14
+ import "../chunk-MYQO2UNZ.js";
15
+ import "../chunk-XIMLHQX5.js";
16
16
  import "../chunk-3ZEMX4WD.js";
17
17
  import "../chunk-ZOC4GITL.js";
18
18
 
@@ -4,11 +4,11 @@ import {
4
4
  import {
5
5
  DEFAULT_MNEMONIC,
6
6
  DotNS
7
- } from "../chunk-Z6RQSZNM.js";
7
+ } from "../chunk-46BS77ZZ.js";
8
8
  import "../chunk-SI2ZUOYD.js";
9
9
  import "../chunk-4AEFFDHP.js";
10
- import "../chunk-6FP4PGF5.js";
11
- import "../chunk-H3D57D5J.js";
10
+ import "../chunk-MYQO2UNZ.js";
11
+ import "../chunk-XIMLHQX5.js";
12
12
  import {
13
13
  getPopSelfServeConfig,
14
14
  loadEnvironments,
@@ -2,12 +2,12 @@ import {
2
2
  STALE_SESSION_MESSAGE,
3
3
  getAuthClient,
4
4
  hasPersistedSession
5
- } from "../chunk-KCZSMYLV.js";
5
+ } from "../chunk-P7MXONT2.js";
6
6
  import {
7
7
  CLI_NAME
8
8
  } from "../chunk-TSPERKUS.js";
9
- import "../chunk-6FP4PGF5.js";
10
- import "../chunk-H3D57D5J.js";
9
+ import "../chunk-MYQO2UNZ.js";
10
+ import "../chunk-XIMLHQX5.js";
11
11
  import "../chunk-3ZEMX4WD.js";
12
12
  import "../chunk-ZOC4GITL.js";
13
13
 
@@ -2,17 +2,17 @@ import {
2
2
  MainnetDefaultWorkerError,
3
3
  resolveDeployActors,
4
4
  resolveStorageSigner
5
- } from "./chunk-5N5HND6Y.js";
5
+ } from "./chunk-DPSGCV2F.js";
6
6
  import "./chunk-JQKKMUCT.js";
7
7
  import "./chunk-5FLTDWWP.js";
8
8
  import "./chunk-RIRDBSBG.js";
9
- import "./chunk-KCZSMYLV.js";
9
+ import "./chunk-P7MXONT2.js";
10
10
  import "./chunk-TSPERKUS.js";
11
- import "./chunk-Z6RQSZNM.js";
11
+ import "./chunk-46BS77ZZ.js";
12
12
  import "./chunk-SI2ZUOYD.js";
13
13
  import "./chunk-4AEFFDHP.js";
14
- import "./chunk-6FP4PGF5.js";
15
- import "./chunk-H3D57D5J.js";
14
+ import "./chunk-MYQO2UNZ.js";
15
+ import "./chunk-XIMLHQX5.js";
16
16
  import "./chunk-3ZEMX4WD.js";
17
17
  import "./chunk-ZOC4GITL.js";
18
18
  export {
package/dist/deploy.d.ts CHANGED
@@ -103,6 +103,21 @@ declare const ENCRYPT_PBKDF2_ITERATIONS = 100000;
103
103
  declare function encryptContent(data: Uint8Array, password: string): Promise<Uint8Array>;
104
104
  /** storageSigner > signer > mnemonic > pool precedence for storage routing. Exported for unit testing. */
105
105
  declare function __selectStorageProviderModeForTest(options: Pick<DeployOptions, "storageSigner" | "storageSignerAddress" | "signer" | "signerAddress" | "mnemonic">): "storageSigner" | "signer" | "direct" | "pool";
106
+ /**
107
+ * Resolve the mnemonic the CLI should act with, in precedence order:
108
+ * `--mnemonic` flag > `MNEMONIC` env var > `DOTNS_MNEMONIC` env var.
109
+ *
110
+ * Exists so the bin's flag/env resolution is unit-testable and so the two
111
+ * env vars are forwarded consistently (issue #1107: previously the bin only
112
+ * forwarded `flags.mnemonic` into `options.mnemonic`, so an env-only mnemonic
113
+ * never reached `chooseSignerInput` and a persisted session silently won
114
+ * instead — even though `chooseSignerInput` already prefers mnemonic first).
115
+ */
116
+ declare function resolveEffectiveMnemonic(opts: {
117
+ flagMnemonic: string | undefined;
118
+ envMnemonic: string | undefined;
119
+ envDotnsMnemonic: string | undefined;
120
+ }): string | undefined;
106
121
  /**
107
122
  * Decide how to source the signer for a deploy invocation. Exported for unit testing.
108
123
  *
@@ -525,4 +540,4 @@ declare function computePhoneSigningSteps(dotnsPreflight: {
525
540
  needsPopUpgrade: boolean;
526
541
  } | null, publishNeeded: boolean): string[];
527
542
 
528
- export { BLAKE2B_256_MULTIHASH_CODE, BULLETIN_ENDPOINTS, type BitswapErrorVariant, type BitswapProbeResult, CHUNK_MORTALITY_PERIOD, DEFAULT_BULLETIN_RPC, DEFAULT_POOL_SIZE, type DeployContent, type DeployOptions, type DeployResult, ENCRYPT_KEY_LEN, ENCRYPT_MAGIC, ENCRYPT_NONCE_LEN, ENCRYPT_PBKDF2_ITERATIONS, ENCRYPT_SALT_LEN, ENCRYPT_TAG_LEN, PhoneSignatureStep, SHA256_MULTIHASH_CODE, type SizeDecision, type StoreDirectoryOptions, WS_HEARTBEAT_TIMEOUT_MS, __assignDenseNoncesForTest, __selectStorageProviderModeForTest, __waitForChainLivenessForTest, applyManifestFetchAttributes, assertSubdomainOwnerMatchesSigner, browserUrlFor, buildFilesMap, checkDeploySize, chooseSignerInput, chunk, computePhoneSigningSteps, computeStorageCid, createCID, deploy, deriveRootSigner, describeSlotFallbackReason, detectFramework, encodeContenthash, encryptContent, estimateUploadBytes, formatStorageSignerLine, formatTransferModeDotnsLine, formatTransferModeStorageSignerLine, friendlyChainError, hasIPFS, interpretBitswapResult, isBenignTeardownError, isConnectionError, isPhoneSignerActive, makeBulletinStatusHandler, merkleize, probeP2pRetrieval, reconcileTimedOutChunk, resolveDotnsConnectOptions, resolveReproducibleTimestamp, retryBudgetExhausted, setWsHaltCallback, shouldHandoverName, storeChunkedContent, storeDirectory, storeDirectoryV2, storeFile, unpublish };
543
+ export { BLAKE2B_256_MULTIHASH_CODE, BULLETIN_ENDPOINTS, type BitswapErrorVariant, type BitswapProbeResult, CHUNK_MORTALITY_PERIOD, DEFAULT_BULLETIN_RPC, DEFAULT_POOL_SIZE, type DeployContent, type DeployOptions, type DeployResult, ENCRYPT_KEY_LEN, ENCRYPT_MAGIC, ENCRYPT_NONCE_LEN, ENCRYPT_PBKDF2_ITERATIONS, ENCRYPT_SALT_LEN, ENCRYPT_TAG_LEN, PhoneSignatureStep, SHA256_MULTIHASH_CODE, type SizeDecision, type StoreDirectoryOptions, WS_HEARTBEAT_TIMEOUT_MS, __assignDenseNoncesForTest, __selectStorageProviderModeForTest, __waitForChainLivenessForTest, applyManifestFetchAttributes, assertSubdomainOwnerMatchesSigner, browserUrlFor, buildFilesMap, checkDeploySize, chooseSignerInput, chunk, computePhoneSigningSteps, computeStorageCid, createCID, deploy, deriveRootSigner, describeSlotFallbackReason, detectFramework, encodeContenthash, encryptContent, estimateUploadBytes, formatStorageSignerLine, formatTransferModeDotnsLine, formatTransferModeStorageSignerLine, friendlyChainError, hasIPFS, interpretBitswapResult, isBenignTeardownError, isConnectionError, isPhoneSignerActive, makeBulletinStatusHandler, merkleize, probeP2pRetrieval, reconcileTimedOutChunk, resolveDotnsConnectOptions, resolveEffectiveMnemonic, resolveReproducibleTimestamp, retryBudgetExhausted, setWsHaltCallback, shouldHandoverName, storeChunkedContent, storeDirectory, storeDirectoryV2, storeFile, unpublish };
package/dist/deploy.js CHANGED
@@ -46,6 +46,7 @@ import {
46
46
  probeP2pRetrieval,
47
47
  reconcileTimedOutChunk,
48
48
  resolveDotnsConnectOptions,
49
+ resolveEffectiveMnemonic,
49
50
  resolveReproducibleTimestamp,
50
51
  retryBudgetExhausted,
51
52
  setWsHaltCallback,
@@ -55,29 +56,29 @@ import {
55
56
  storeDirectoryV2,
56
57
  storeFile,
57
58
  unpublish
58
- } from "./chunk-HMJN4XJD.js";
59
- import "./chunk-NNRJLXFB.js";
59
+ } from "./chunk-PEJQIIGR.js";
60
+ import "./chunk-G7Y7QZIE.js";
60
61
  import "./chunk-GRPLHUYC.js";
61
62
  import "./chunk-HOTQDYHD.js";
62
63
  import "./chunk-IW3X2MJF.js";
63
64
  import "./chunk-KOSF5FDO.js";
64
65
  import "./chunk-J3NIXHZZ.js";
65
66
  import "./chunk-S7EM5VMW.js";
66
- import "./chunk-CHE5D3OO.js";
67
- import "./chunk-PFVSY3YT.js";
68
- import "./chunk-LLNSFXHF.js";
67
+ import "./chunk-A33TZ7T6.js";
68
+ import "./chunk-XOVXFR6G.js";
69
+ import "./chunk-PMYMVWFT.js";
69
70
  import "./chunk-C2TS5MER.js";
70
- import "./chunk-5N5HND6Y.js";
71
+ import "./chunk-DPSGCV2F.js";
71
72
  import "./chunk-JQKKMUCT.js";
72
73
  import "./chunk-5FLTDWWP.js";
73
74
  import "./chunk-RIRDBSBG.js";
74
- import "./chunk-KCZSMYLV.js";
75
+ import "./chunk-P7MXONT2.js";
75
76
  import "./chunk-TSPERKUS.js";
76
- import "./chunk-Z6RQSZNM.js";
77
+ import "./chunk-46BS77ZZ.js";
77
78
  import "./chunk-SI2ZUOYD.js";
78
79
  import "./chunk-4AEFFDHP.js";
79
- import "./chunk-6FP4PGF5.js";
80
- import "./chunk-H3D57D5J.js";
80
+ import "./chunk-MYQO2UNZ.js";
81
+ import "./chunk-XIMLHQX5.js";
81
82
  import "./chunk-3ZEMX4WD.js";
82
83
  import {
83
84
  EXIT_CODE_NO_RETRY,
@@ -133,6 +134,7 @@ export {
133
134
  probeP2pRetrieval,
134
135
  reconcileTimedOutChunk,
135
136
  resolveDotnsConnectOptions,
137
+ resolveEffectiveMnemonic,
136
138
  resolveReproducibleTimestamp,
137
139
  retryBudgetExhausted,
138
140
  setWsHaltCallback,
package/dist/dotns.d.ts CHANGED
@@ -253,6 +253,46 @@ declare function verifyNonceAdvanced(endpoints: string[], ss58Address: string, o
253
253
  } | {
254
254
  advanced: false;
255
255
  }>;
256
+ declare function nonceContentionBackoffMs(attempt: number, rand?: () => number): number;
257
+ declare const DOTNS_NONCE_CONTENTION_MAX_ATTEMPTS: number;
258
+ declare function isNonceContentionAmbiguous(err: unknown): boolean;
259
+ /**
260
+ * #1158: bounded nonce re-acquisition for the ambiguous nonce-advance-fallback
261
+ * case on the zero-config write path, where concurrent deploys share ONE Asset
262
+ * Hub nonce space (the bare default signer, no derivation). When a sibling
263
+ * deploy's tx consumes the nonce slot our own tx was built against,
264
+ * `resubmit()` rejects with the ambiguous message (nonce advanced, but our
265
+ * effect isn't observable) instead of resolving. The old code fell through to
266
+ * signAndSubmitWithRetry's general retry loop, which reused the SAME stale
267
+ * nonceFallback.expectedNonce on every attempt — so the very next attempt's
268
+ * first poll tick saw "nonce already > (still-stale) N" and rejected again
269
+ * near-instantly, before its own freshly-submitted tx had any chance to land.
270
+ * That thrashing is the real #1158 repro.
271
+ *
272
+ * Fix: re-fetch the LIVE account nonce (never the stale expectedNonce a prior
273
+ * attempt was built against) so the next resubmit has a real chance to land,
274
+ * wait a short jittered backoff so concurrent siblings de-sync rather than
275
+ * lock-stepping onto the same slot again, and bound the whole thing to
276
+ * `maxAttempts` so a genuinely unlandable write fails FAST with a clear,
277
+ * actionable terminal error.
278
+ *
279
+ * `resubmit` is a full rebuild+sign+watch cycle — its own outcome already
280
+ * encodes the nonce-advance detection + verifyEffectWithGrace re-polls, so
281
+ * this function only decides whether/how to retry it; it never re-implements
282
+ * that detection. A resubmit failure that is NOT the ambiguous case (e.g. a
283
+ * websocket blip) is rethrown as-is — folding a genuinely different failure
284
+ * into the contention loop's own message would mask the real cause.
285
+ */
286
+ declare function reacquireNonceOnContention(resubmit: () => Promise<TxResolution>, nonceFallback: {
287
+ rpcs: string[];
288
+ senderSS58: string;
289
+ expectedNonce: number;
290
+ }, label: string, opts?: {
291
+ fetchNonce?: (rpcs: string[], ss58: string) => Promise<number>;
292
+ sleep?: (ms: number) => Promise<void>;
293
+ backoffMs?: (attempt: number) => number;
294
+ maxAttempts?: number;
295
+ }): Promise<TxResolution>;
256
296
  declare const ProofOfPersonhoodStatus: {
257
297
  readonly NoStatus: 0;
258
298
  readonly ProofOfPersonhoodLite: 1;
@@ -407,6 +447,9 @@ declare class ReviveClientWrapper {
407
447
  feeAsset?: "pgas";
408
448
  isPhoneSigner?: boolean;
409
449
  onResign?: (attempt: number) => Promise<void>;
450
+ fetchNonce?: (rpcs: string[], ss58: string) => Promise<number>;
451
+ sleep?: (ms: number) => Promise<void>;
452
+ nonceContentionBackoffMs?: (attempt: number) => number;
410
453
  }): Promise<TxResolution>;
411
454
  private dryRunReviveCall;
412
455
  submitTransaction(contractAddress: string, value: bigint, encodedData: string, signerSubstrateAddress: string, signer: PolkadotSigner, statusCallback: (status: string) => void, { rpcs, useNoncePolling, functionName, args, contracts, verifyEffect, feeAsset, isPhoneSigner, onResign }: {
@@ -735,4 +778,4 @@ declare class DotNS {
735
778
  }
736
779
  declare const dotns: DotNS;
737
780
 
738
- export { ATTR_TX_RESOLUTION_KIND, type AliasAccountClassification, type AliasAccountState, CONNECTION_TIMEOUT_MS, CONTENTHASH_VERIFY_ATTEMPTS, CONTRACTS, ContractDryRunRevertError, DECIMALS, DEFAULT_MNEMONIC, DOTNS_BEST_BLOCK_GRACE_MS, DOTNS_TX_MAX_ATTEMPTS, DOT_NODE, DotNS, type DotNSConnectOptions, type DotnsPreflightResult, type DotnsSuccessAction, MINIMUM_REGISTER_STORAGE_DEPOSIT, NATIVE_TO_ETH_RATIO, NONCE_ADVANCE_VERIFY_RETRIES, NONCE_ADVANCE_VERIFY_RETRY_INTERVAL_MS, OPERATION_TIMEOUT_MS, type OwnershipResult, PUBLISHER_ABI, type ParsedDomainName, type PhoneSignatureStep, type PriceValidationResult, ProofOfPersonhoodStatus, PublisherNotSupportedError, REVIVE_ADDRESS_ATTEMPTS, RPC_ENDPOINTS, ReviveClientWrapper, TX_CHAIN_TIME_BUDGET_MS, TX_KIND_BEST_BLOCK, TX_KIND_HASH, TX_KIND_NONCE_ADVANCED, TX_NO_PROGRESS_MS, TX_TIMEOUT_MS, TX_WALL_CLOCK_CEILING_MS, type TxResolution, VERIFY_EFFECT_CHAIN_SECONDS, WS_HEARTBEAT_TIMEOUT_MS, WatcherSilentNoEventError, __formatContractDryRunFailureForTest, bufferedWeiToNative, canRegister, classifyAliasAccountRow, classifyDotnsLabel, classifyTxRetryDecision, classifyWatcherSilentFastFail, computeDomainTokenId, convertToHexString, convertWeiToNative, countTrailingDigits, decodePublisherRevert, dotns, dotnsRetryBackoffMs, feeFloorFor, fetchNonce, fmtPas, formatDispatchError, formatPersonhoodRemediation, formatPopShortfallReason, isCommitmentMature, isCommitmentTimingBarerevert, makeRetryStatusFilter, parseDomainName, parseProofOfPersonhoodStatus, pickVerifyEndpoint, popStatusName, registerDepositWei, sanitizeDomainLabel, shouldRegateBeforeResign, shouldRetryTxAttempt, stripTrailingDigits, validateDomainLabel, verifyEffectWithGrace, verifyNonceAdvanced, weiToNative, withRetry };
781
+ export { ATTR_TX_RESOLUTION_KIND, type AliasAccountClassification, type AliasAccountState, CONNECTION_TIMEOUT_MS, CONTENTHASH_VERIFY_ATTEMPTS, CONTRACTS, ContractDryRunRevertError, DECIMALS, DEFAULT_MNEMONIC, DOTNS_BEST_BLOCK_GRACE_MS, DOTNS_NONCE_CONTENTION_MAX_ATTEMPTS, DOTNS_TX_MAX_ATTEMPTS, DOT_NODE, DotNS, type DotNSConnectOptions, type DotnsPreflightResult, type DotnsSuccessAction, MINIMUM_REGISTER_STORAGE_DEPOSIT, NATIVE_TO_ETH_RATIO, NONCE_ADVANCE_VERIFY_RETRIES, NONCE_ADVANCE_VERIFY_RETRY_INTERVAL_MS, OPERATION_TIMEOUT_MS, type OwnershipResult, PUBLISHER_ABI, type ParsedDomainName, type PhoneSignatureStep, type PriceValidationResult, ProofOfPersonhoodStatus, PublisherNotSupportedError, REVIVE_ADDRESS_ATTEMPTS, RPC_ENDPOINTS, ReviveClientWrapper, TX_CHAIN_TIME_BUDGET_MS, TX_KIND_BEST_BLOCK, TX_KIND_HASH, TX_KIND_NONCE_ADVANCED, TX_NO_PROGRESS_MS, TX_TIMEOUT_MS, TX_WALL_CLOCK_CEILING_MS, type TxResolution, VERIFY_EFFECT_CHAIN_SECONDS, WS_HEARTBEAT_TIMEOUT_MS, WatcherSilentNoEventError, __formatContractDryRunFailureForTest, bufferedWeiToNative, canRegister, classifyAliasAccountRow, classifyDotnsLabel, classifyTxRetryDecision, classifyWatcherSilentFastFail, computeDomainTokenId, convertToHexString, convertWeiToNative, countTrailingDigits, decodePublisherRevert, dotns, dotnsRetryBackoffMs, feeFloorFor, fetchNonce, fmtPas, formatDispatchError, formatPersonhoodRemediation, formatPopShortfallReason, isCommitmentMature, isCommitmentTimingBarerevert, isNonceContentionAmbiguous, makeRetryStatusFilter, nonceContentionBackoffMs, parseDomainName, parseProofOfPersonhoodStatus, pickVerifyEndpoint, popStatusName, reacquireNonceOnContention, registerDepositWei, sanitizeDomainLabel, shouldRegateBeforeResign, shouldRetryTxAttempt, stripTrailingDigits, validateDomainLabel, verifyEffectWithGrace, verifyNonceAdvanced, weiToNative, withRetry };
package/dist/dotns.js CHANGED
@@ -7,6 +7,7 @@ import {
7
7
  DECIMALS,
8
8
  DEFAULT_MNEMONIC,
9
9
  DOTNS_BEST_BLOCK_GRACE_MS,
10
+ DOTNS_NONCE_CONTENTION_MAX_ATTEMPTS,
10
11
  DOTNS_TX_MAX_ATTEMPTS,
11
12
  DOT_NODE,
12
13
  DotNS,
@@ -53,11 +54,14 @@ import {
53
54
  formatPopShortfallReason,
54
55
  isCommitmentMature,
55
56
  isCommitmentTimingBarerevert,
57
+ isNonceContentionAmbiguous,
56
58
  makeRetryStatusFilter,
59
+ nonceContentionBackoffMs,
57
60
  parseDomainName,
58
61
  parseProofOfPersonhoodStatus,
59
62
  pickVerifyEndpoint,
60
63
  popStatusName,
64
+ reacquireNonceOnContention,
61
65
  registerDepositWei,
62
66
  sanitizeDomainLabel,
63
67
  shouldRegateBeforeResign,
@@ -68,11 +72,11 @@ import {
68
72
  verifyNonceAdvanced,
69
73
  weiToNative,
70
74
  withRetry
71
- } from "./chunk-Z6RQSZNM.js";
75
+ } from "./chunk-46BS77ZZ.js";
72
76
  import "./chunk-SI2ZUOYD.js";
73
77
  import "./chunk-4AEFFDHP.js";
74
- import "./chunk-6FP4PGF5.js";
75
- import "./chunk-H3D57D5J.js";
78
+ import "./chunk-MYQO2UNZ.js";
79
+ import "./chunk-XIMLHQX5.js";
76
80
  import "./chunk-3ZEMX4WD.js";
77
81
  import "./chunk-ZOC4GITL.js";
78
82
  export {
@@ -84,6 +88,7 @@ export {
84
88
  DECIMALS,
85
89
  DEFAULT_MNEMONIC,
86
90
  DOTNS_BEST_BLOCK_GRACE_MS,
91
+ DOTNS_NONCE_CONTENTION_MAX_ATTEMPTS,
87
92
  DOTNS_TX_MAX_ATTEMPTS,
88
93
  DOT_NODE,
89
94
  DotNS,
@@ -130,11 +135,14 @@ export {
130
135
  formatPopShortfallReason,
131
136
  isCommitmentMature,
132
137
  isCommitmentTimingBarerevert,
138
+ isNonceContentionAmbiguous,
133
139
  makeRetryStatusFilter,
140
+ nonceContentionBackoffMs,
134
141
  parseDomainName,
135
142
  parseProofOfPersonhoodStatus,
136
143
  pickVerifyEndpoint,
137
144
  popStatusName,
145
+ reacquireNonceOnContention,
138
146
  registerDepositWei,
139
147
  sanitizeDomainLabel,
140
148
  shouldRegateBeforeResign,
package/dist/index.js CHANGED
@@ -1,13 +1,10 @@
1
- import {
2
- defineConfig
3
- } from "./chunk-GZD2UFLR.js";
4
1
  import {
5
2
  loadProductConfig,
6
3
  tryLoadProductConfig
7
4
  } from "./chunk-362JEZKM.js";
8
5
  import {
9
6
  publishManifest
10
- } from "./chunk-FH7SSPPT.js";
7
+ } from "./chunk-IELQ4GO6.js";
11
8
  import {
12
9
  DEFAULT_TEXT_RECORD_BUDGET_BYTES,
13
10
  PLACEHOLDER_CID,
@@ -20,12 +17,15 @@ import {
20
17
  validateProductConfig,
21
18
  validateRootManifest
22
19
  } from "./chunk-DHIDLUMK.js";
20
+ import {
21
+ defineConfig
22
+ } from "./chunk-GZD2UFLR.js";
23
23
  import {
24
24
  deploy,
25
25
  merkleizeJS,
26
26
  merkleizeWithStableOrder
27
- } from "./chunk-HMJN4XJD.js";
28
- import "./chunk-NNRJLXFB.js";
27
+ } from "./chunk-PEJQIIGR.js";
28
+ import "./chunk-G7Y7QZIE.js";
29
29
  import "./chunk-GRPLHUYC.js";
30
30
  import "./chunk-HOTQDYHD.js";
31
31
  import {
@@ -49,24 +49,24 @@ import {
49
49
  isVolatilePath,
50
50
  parseManifest
51
51
  } from "./chunk-S7EM5VMW.js";
52
- import "./chunk-CHE5D3OO.js";
53
- import "./chunk-PFVSY3YT.js";
52
+ import "./chunk-A33TZ7T6.js";
53
+ import "./chunk-XOVXFR6G.js";
54
54
  import {
55
55
  probeChunks
56
- } from "./chunk-LLNSFXHF.js";
56
+ } from "./chunk-PMYMVWFT.js";
57
57
  import "./chunk-C2TS5MER.js";
58
- import "./chunk-5N5HND6Y.js";
58
+ import "./chunk-DPSGCV2F.js";
59
59
  import "./chunk-JQKKMUCT.js";
60
60
  import "./chunk-5FLTDWWP.js";
61
61
  import "./chunk-RIRDBSBG.js";
62
- import "./chunk-KCZSMYLV.js";
62
+ import "./chunk-P7MXONT2.js";
63
63
  import "./chunk-TSPERKUS.js";
64
64
  import {
65
65
  DEFAULT_MNEMONIC,
66
66
  DotNS,
67
67
  parseDomainName,
68
68
  sanitizeDomainLabel
69
- } from "./chunk-Z6RQSZNM.js";
69
+ } from "./chunk-46BS77ZZ.js";
70
70
  import "./chunk-SI2ZUOYD.js";
71
71
  import {
72
72
  BULLETIN_BLOCKS_PER_DAY,
@@ -82,7 +82,7 @@ import {
82
82
  poolAccountDerivationPath,
83
83
  selectAccount
84
84
  } from "./chunk-4AEFFDHP.js";
85
- import "./chunk-6FP4PGF5.js";
85
+ import "./chunk-MYQO2UNZ.js";
86
86
  import {
87
87
  VERSION,
88
88
  loadRunState,
@@ -92,7 +92,7 @@ import {
92
92
  shouldSkipStaleWarning,
93
93
  stateFilePath,
94
94
  writeRunState
95
- } from "./chunk-H3D57D5J.js";
95
+ } from "./chunk-XIMLHQX5.js";
96
96
  import {
97
97
  DEFAULT_ENV_ID,
98
98
  deepMergeEnvironments,
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  publishManifest
3
- } from "../chunk-FH7SSPPT.js";
3
+ } from "../chunk-IELQ4GO6.js";
4
4
  import "../chunk-WIMRJK32.js";
5
- import "../chunk-HMJN4XJD.js";
6
- import "../chunk-NNRJLXFB.js";
5
+ import "../chunk-PEJQIIGR.js";
6
+ import "../chunk-G7Y7QZIE.js";
7
7
  import "../chunk-GRPLHUYC.js";
8
8
  import "../chunk-HOTQDYHD.js";
9
9
  import "../chunk-IW3X2MJF.js";
10
10
  import "../chunk-KOSF5FDO.js";
11
11
  import "../chunk-J3NIXHZZ.js";
12
12
  import "../chunk-S7EM5VMW.js";
13
- import "../chunk-CHE5D3OO.js";
14
- import "../chunk-PFVSY3YT.js";
15
- import "../chunk-LLNSFXHF.js";
13
+ import "../chunk-A33TZ7T6.js";
14
+ import "../chunk-XOVXFR6G.js";
15
+ import "../chunk-PMYMVWFT.js";
16
16
  import "../chunk-C2TS5MER.js";
17
- import "../chunk-5N5HND6Y.js";
17
+ import "../chunk-DPSGCV2F.js";
18
18
  import "../chunk-JQKKMUCT.js";
19
19
  import "../chunk-5FLTDWWP.js";
20
20
  import "../chunk-RIRDBSBG.js";
21
- import "../chunk-KCZSMYLV.js";
21
+ import "../chunk-P7MXONT2.js";
22
22
  import "../chunk-TSPERKUS.js";
23
- import "../chunk-Z6RQSZNM.js";
23
+ import "../chunk-46BS77ZZ.js";
24
24
  import "../chunk-SI2ZUOYD.js";
25
25
  import "../chunk-4AEFFDHP.js";
26
- import "../chunk-6FP4PGF5.js";
27
- import "../chunk-H3D57D5J.js";
26
+ import "../chunk-MYQO2UNZ.js";
27
+ import "../chunk-XIMLHQX5.js";
28
28
  import "../chunk-3ZEMX4WD.js";
29
29
  import "../chunk-ZOC4GITL.js";
30
30
  export {
@@ -5,8 +5,8 @@ import {
5
5
  maybeWriteMemoryReport,
6
6
  safeHeap,
7
7
  sampleFromBytes
8
- } from "./chunk-6FP4PGF5.js";
9
- import "./chunk-H3D57D5J.js";
8
+ } from "./chunk-MYQO2UNZ.js";
9
+ import "./chunk-XIMLHQX5.js";
10
10
  export {
11
11
  DEFAULT_THRESHOLD_MB,
12
12
  buildMemoryReport,
package/dist/merkle.js CHANGED
@@ -6,29 +6,29 @@ import {
6
6
  merkleizeKuboBackend,
7
7
  merkleizeWithStableOrder,
8
8
  rebuildOrderedCarFromBytes
9
- } from "./chunk-HMJN4XJD.js";
10
- import "./chunk-NNRJLXFB.js";
9
+ } from "./chunk-PEJQIIGR.js";
10
+ import "./chunk-G7Y7QZIE.js";
11
11
  import "./chunk-GRPLHUYC.js";
12
12
  import "./chunk-HOTQDYHD.js";
13
13
  import "./chunk-IW3X2MJF.js";
14
14
  import "./chunk-KOSF5FDO.js";
15
15
  import "./chunk-J3NIXHZZ.js";
16
16
  import "./chunk-S7EM5VMW.js";
17
- import "./chunk-CHE5D3OO.js";
18
- import "./chunk-PFVSY3YT.js";
19
- import "./chunk-LLNSFXHF.js";
17
+ import "./chunk-A33TZ7T6.js";
18
+ import "./chunk-XOVXFR6G.js";
19
+ import "./chunk-PMYMVWFT.js";
20
20
  import "./chunk-C2TS5MER.js";
21
- import "./chunk-5N5HND6Y.js";
21
+ import "./chunk-DPSGCV2F.js";
22
22
  import "./chunk-JQKKMUCT.js";
23
23
  import "./chunk-5FLTDWWP.js";
24
24
  import "./chunk-RIRDBSBG.js";
25
- import "./chunk-KCZSMYLV.js";
25
+ import "./chunk-P7MXONT2.js";
26
26
  import "./chunk-TSPERKUS.js";
27
- import "./chunk-Z6RQSZNM.js";
27
+ import "./chunk-46BS77ZZ.js";
28
28
  import "./chunk-SI2ZUOYD.js";
29
29
  import "./chunk-4AEFFDHP.js";
30
- import "./chunk-6FP4PGF5.js";
31
- import "./chunk-H3D57D5J.js";
30
+ import "./chunk-MYQO2UNZ.js";
31
+ import "./chunk-XIMLHQX5.js";
32
32
  import "./chunk-3ZEMX4WD.js";
33
33
  import "./chunk-ZOC4GITL.js";
34
34
  export {
@@ -1,7 +1,14 @@
1
+ import {
2
+ runChainPrereqProbes
3
+ } from "../chunk-XAB7WM3S.js";
4
+ import {
5
+ claimPgas
6
+ } from "../chunk-EATOPQFR.js";
1
7
  import {
2
8
  deriveMemberEntropy,
3
9
  deriveMemberKey
4
10
  } from "../chunk-AFBOKCCQ.js";
11
+ import "../chunk-UPWEOGLQ.js";
5
12
  import {
6
13
  bindPaidAliasToAccount
7
14
  } from "../chunk-OCKCB72S.js";
@@ -9,27 +16,20 @@ import "../chunk-EJI3MX4G.js";
9
16
  import {
10
17
  bindPersonalIdToAccount
11
18
  } from "../chunk-7URNKK6J.js";
12
- import {
13
- runChainPrereqProbes
14
- } from "../chunk-XAB7WM3S.js";
15
- import {
16
- claimPgas
17
- } from "../chunk-EATOPQFR.js";
18
19
  import {
19
20
  bytesToHex
20
21
  } from "../chunk-ZYVGHDMU.js";
21
- import "../chunk-UPWEOGLQ.js";
22
22
  import {
23
23
  WS_HEARTBEAT_TIMEOUT_MS
24
- } from "../chunk-Z6RQSZNM.js";
24
+ } from "../chunk-46BS77ZZ.js";
25
25
  import {
26
26
  DOTNS_CONTEXT_BYTES,
27
27
  PEOPLE_MEMBER_IDENTIFIER_HEX,
28
28
  PGAS_ASSET_ID
29
29
  } from "../chunk-SI2ZUOYD.js";
30
30
  import "../chunk-4AEFFDHP.js";
31
- import "../chunk-6FP4PGF5.js";
32
- import "../chunk-H3D57D5J.js";
31
+ import "../chunk-MYQO2UNZ.js";
32
+ import "../chunk-XIMLHQX5.js";
33
33
  import {
34
34
  loadEnvironments
35
35
  } from "../chunk-3ZEMX4WD.js";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  WS_HEARTBEAT_TIMEOUT_MS
3
- } from "../chunk-Z6RQSZNM.js";
3
+ } from "../chunk-46BS77ZZ.js";
4
4
  import "../chunk-SI2ZUOYD.js";
5
5
  import "../chunk-4AEFFDHP.js";
6
- import "../chunk-6FP4PGF5.js";
7
- import "../chunk-H3D57D5J.js";
6
+ import "../chunk-MYQO2UNZ.js";
7
+ import "../chunk-XIMLHQX5.js";
8
8
  import {
9
9
  loadEnvironments
10
10
  } from "../chunk-3ZEMX4WD.js";
package/dist/run-state.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  shouldSkipStaleWarning,
8
8
  stateFilePath,
9
9
  writeRunState
10
- } from "./chunk-H3D57D5J.js";
10
+ } from "./chunk-XIMLHQX5.js";
11
11
  export {
12
12
  VERSION,
13
13
  loadRunState,
@@ -4,12 +4,12 @@ import {
4
4
  preflightSssAllowance,
5
5
  sssPeriodEndSec,
6
6
  writeSssAllowanceCache
7
- } from "./chunk-NNRJLXFB.js";
7
+ } from "./chunk-G7Y7QZIE.js";
8
8
  import "./chunk-GRPLHUYC.js";
9
- import "./chunk-KCZSMYLV.js";
9
+ import "./chunk-P7MXONT2.js";
10
10
  import "./chunk-TSPERKUS.js";
11
- import "./chunk-6FP4PGF5.js";
12
- import "./chunk-H3D57D5J.js";
11
+ import "./chunk-MYQO2UNZ.js";
12
+ import "./chunk-XIMLHQX5.js";
13
13
  import "./chunk-3ZEMX4WD.js";
14
14
  import "./chunk-ZOC4GITL.js";
15
15
  export {
@@ -8,29 +8,29 @@ import {
8
8
  waitForBulletinAuthorization,
9
9
  withTransientRetry,
10
10
  writeBulletinSlotKey
11
- } from "./chunk-HMJN4XJD.js";
12
- import "./chunk-NNRJLXFB.js";
11
+ } from "./chunk-PEJQIIGR.js";
12
+ import "./chunk-G7Y7QZIE.js";
13
13
  import "./chunk-GRPLHUYC.js";
14
14
  import "./chunk-HOTQDYHD.js";
15
15
  import "./chunk-IW3X2MJF.js";
16
16
  import "./chunk-KOSF5FDO.js";
17
17
  import "./chunk-J3NIXHZZ.js";
18
18
  import "./chunk-S7EM5VMW.js";
19
- import "./chunk-CHE5D3OO.js";
20
- import "./chunk-PFVSY3YT.js";
21
- import "./chunk-LLNSFXHF.js";
19
+ import "./chunk-A33TZ7T6.js";
20
+ import "./chunk-XOVXFR6G.js";
21
+ import "./chunk-PMYMVWFT.js";
22
22
  import "./chunk-C2TS5MER.js";
23
- import "./chunk-5N5HND6Y.js";
23
+ import "./chunk-DPSGCV2F.js";
24
24
  import "./chunk-JQKKMUCT.js";
25
25
  import "./chunk-5FLTDWWP.js";
26
26
  import "./chunk-RIRDBSBG.js";
27
- import "./chunk-KCZSMYLV.js";
27
+ import "./chunk-P7MXONT2.js";
28
28
  import "./chunk-TSPERKUS.js";
29
- import "./chunk-Z6RQSZNM.js";
29
+ import "./chunk-46BS77ZZ.js";
30
30
  import "./chunk-SI2ZUOYD.js";
31
31
  import "./chunk-4AEFFDHP.js";
32
- import "./chunk-6FP4PGF5.js";
33
- import "./chunk-H3D57D5J.js";
32
+ import "./chunk-MYQO2UNZ.js";
33
+ import "./chunk-XIMLHQX5.js";
34
34
  import "./chunk-3ZEMX4WD.js";
35
35
  import "./chunk-ZOC4GITL.js";
36
36
  export {
package/dist/telemetry.js CHANGED
@@ -36,8 +36,8 @@ import {
36
36
  truncateAddress,
37
37
  withDeploySpan,
38
38
  withSpan
39
- } from "./chunk-6FP4PGF5.js";
40
- import "./chunk-H3D57D5J.js";
39
+ } from "./chunk-MYQO2UNZ.js";
40
+ import "./chunk-XIMLHQX5.js";
41
41
  export {
42
42
  VERSION,
43
43
  __setDeployRootSpanForTest,
@@ -11,9 +11,9 @@ import {
11
11
  isPreReleaseVersion,
12
12
  preReleaseWarning,
13
13
  promptYesNo
14
- } from "./chunk-PFVSY3YT.js";
15
- import "./chunk-6FP4PGF5.js";
16
- import "./chunk-H3D57D5J.js";
14
+ } from "./chunk-XOVXFR6G.js";
15
+ import "./chunk-MYQO2UNZ.js";
16
+ import "./chunk-XIMLHQX5.js";
17
17
  export {
18
18
  assessVersion,
19
19
  checkNodeVersion,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bulletin-deploy",
3
- "version": "0.13.2-rc.1",
3
+ "version": "0.13.2-rc.2",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",