@parity/product-deploy 0.13.1-rc.1 → 0.13.1-rc.3

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 (38) hide show
  1. package/assets/environments.json +2 -1
  2. package/dist/auth-config.js +4 -4
  3. package/dist/bug-report.js +4 -4
  4. package/dist/{chunk-ANF5NDU2.js → chunk-2HJICWSO.js} +1 -1
  5. package/dist/{chunk-IXVJQN5O.js → chunk-4OFBDVBD.js} +3 -3
  6. package/dist/{chunk-BEDLXKQV.js → chunk-BGSJMWRJ.js} +1 -1
  7. package/dist/{chunk-PQRM4JXJ.js → chunk-BTEGBTIB.js} +8 -8
  8. package/dist/{chunk-TI7NNIBX.js → chunk-DJAVEOV7.js} +1 -1
  9. package/dist/{chunk-SL4YUEQH.js → chunk-H7RYBQ55.js} +2 -2
  10. package/dist/{chunk-O7ZEZAR4.js → chunk-LUVKGJB5.js} +1 -1
  11. package/dist/{chunk-7W2AMGNR.js → chunk-NMQHAEUR.js} +3 -3
  12. package/dist/{chunk-EY6RE2E3.js → chunk-PHYPRRLY.js} +1 -1
  13. package/dist/{chunk-NTXIXOCN.js → chunk-PYCUFN2I.js} +2 -1
  14. package/dist/{chunk-7X42WZHQ.js → chunk-QIBBM2QU.js} +2 -2
  15. package/dist/{chunk-DLVUVYFZ.js → chunk-XMXRIUVA.js} +40 -13
  16. package/dist/chunk-probe.js +3 -3
  17. package/dist/commands/login.js +11 -11
  18. package/dist/commands/logout.js +5 -5
  19. package/dist/commands/transfer.js +4 -4
  20. package/dist/commands/whoami.js +4 -4
  21. package/dist/deploy-actors.js +6 -6
  22. package/dist/deploy.js +11 -11
  23. package/dist/dotns.d.ts +11 -1
  24. package/dist/dotns.js +6 -4
  25. package/dist/environments.js +1 -1
  26. package/dist/index.js +12 -12
  27. package/dist/manifest/publish.js +12 -12
  28. package/dist/memory-report.js +2 -2
  29. package/dist/merkle.js +11 -11
  30. package/dist/personhood/bootstrap.js +4 -4
  31. package/dist/personhood/people-client.js +4 -4
  32. package/dist/run-state.js +1 -1
  33. package/dist/sss-allowance-cache.js +5 -5
  34. package/dist/storage-signer.js +11 -11
  35. package/dist/telemetry.js +2 -2
  36. package/dist/version-check.js +3 -3
  37. package/docs/bootstrap.md +14 -0
  38. package/package.json +1 -1
@@ -155,7 +155,8 @@
155
155
  "POP_RULES": "0x2181a14081fF2D4477BAA8FB1aEB4C9c44F5F2b0",
156
156
  "STORE_FACTORY": "0xD81DC23FAa69B311C1FC553Ea63798772e7D253D",
157
157
  "LABEL_STORE_BEACON": "0xc7E86B8DE97AF57F937201d8d372F75ED4BE6633",
158
- "USER_STORE_BEACON": "0x5924A0dDBb550514A744407F4Ec4b4B7BB6CD736"
158
+ "USER_STORE_BEACON": "0x5924A0dDBb550514A744407F4Ec4b4B7BB6CD736",
159
+ "PUBLISHER": "0xaab42efbe8ea4d4228c3a11e973f94c17b9a0f2c"
159
160
  }
160
161
  },
161
162
  {
@@ -9,11 +9,11 @@ import {
9
9
  getPeopleChainEndpoints,
10
10
  hasPersistedSession,
11
11
  resolveBulletinEndpoints
12
- } from "./chunk-SL4YUEQH.js";
12
+ } from "./chunk-H7RYBQ55.js";
13
13
  import "./chunk-TSPERKUS.js";
14
- import "./chunk-ANF5NDU2.js";
15
- import "./chunk-EY6RE2E3.js";
16
- import "./chunk-NTXIXOCN.js";
14
+ import "./chunk-2HJICWSO.js";
15
+ import "./chunk-PHYPRRLY.js";
16
+ import "./chunk-PYCUFN2I.js";
17
17
  import "./chunk-ZOC4GITL.js";
18
18
  export {
19
19
  DOT_DAPP_ID,
@@ -10,10 +10,10 @@ import {
10
10
  offerBugReport,
11
11
  scrubSecrets,
12
12
  setDeployContext
13
- } from "./chunk-IXVJQN5O.js";
14
- import "./chunk-O7ZEZAR4.js";
15
- import "./chunk-ANF5NDU2.js";
16
- import "./chunk-EY6RE2E3.js";
13
+ } from "./chunk-4OFBDVBD.js";
14
+ import "./chunk-LUVKGJB5.js";
15
+ import "./chunk-2HJICWSO.js";
16
+ import "./chunk-PHYPRRLY.js";
17
17
  export {
18
18
  buildCliFlagsSummary,
19
19
  buildLabels,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  package_default,
3
3
  writeRunState
4
- } from "./chunk-EY6RE2E3.js";
4
+ } from "./chunk-PHYPRRLY.js";
5
5
 
6
6
  // src/memory-report.ts
7
7
  import * as fs2 from "fs";
@@ -2,15 +2,15 @@ import {
2
2
  classifyErrorArea,
3
3
  isInteractive,
4
4
  promptYesNo
5
- } from "./chunk-O7ZEZAR4.js";
5
+ } from "./chunk-LUVKGJB5.js";
6
6
  import {
7
7
  VERSION,
8
8
  getCurrentSentryTraceId,
9
9
  resolveIssueRepoSlug
10
- } from "./chunk-ANF5NDU2.js";
10
+ } from "./chunk-2HJICWSO.js";
11
11
  import {
12
12
  package_default
13
- } from "./chunk-EY6RE2E3.js";
13
+ } from "./chunk-PHYPRRLY.js";
14
14
 
15
15
  // src/bug-report.ts
16
16
  import { execSync, execFileSync } from "child_process";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-GRPLHUYC.js";
4
4
  import {
5
5
  DOT_DAPP_ID
6
- } from "./chunk-SL4YUEQH.js";
6
+ } from "./chunk-H7RYBQ55.js";
7
7
 
8
8
  // src/sss-allowance-cache.ts
9
9
  import { mkdir, readFile, writeFile, unlink } from "fs/promises";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  preflightSssAllowance
3
- } from "./chunk-BEDLXKQV.js";
3
+ } from "./chunk-BGSJMWRJ.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-IXVJQN5O.js";
34
+ } from "./chunk-4OFBDVBD.js";
35
35
  import {
36
36
  getBestBlockNumber,
37
37
  probeChunks,
38
38
  probeFinalityGap
39
- } from "./chunk-TI7NNIBX.js";
39
+ } from "./chunk-DJAVEOV7.js";
40
40
  import {
41
41
  packSection
42
42
  } from "./chunk-C2TS5MER.js";
43
43
  import {
44
44
  resolveStorageSigner
45
- } from "./chunk-7X42WZHQ.js";
45
+ } from "./chunk-QIBBM2QU.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-SL4YUEQH.js";
54
+ } from "./chunk-H7RYBQ55.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-DLVUVYFZ.js";
67
+ } from "./chunk-XMXRIUVA.js";
68
68
  import {
69
69
  derivePoolAccounts,
70
70
  detectTestnet,
@@ -86,13 +86,13 @@ import {
86
86
  truncateAddress,
87
87
  withDeploySpan,
88
88
  withSpan
89
- } from "./chunk-ANF5NDU2.js";
89
+ } from "./chunk-2HJICWSO.js";
90
90
  import {
91
91
  DEFAULT_ENV_ID,
92
92
  getPopSelfServeConfig,
93
93
  loadEnvironments,
94
94
  resolveEndpoints
95
- } from "./chunk-NTXIXOCN.js";
95
+ } from "./chunk-PYCUFN2I.js";
96
96
  import {
97
97
  NonRetryableError
98
98
  } from "./chunk-ZOC4GITL.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  captureWarning
3
- } from "./chunk-ANF5NDU2.js";
3
+ } from "./chunk-2HJICWSO.js";
4
4
 
5
5
  // src/chunk-probe.ts
6
6
  import { Twox128, Blake2128Concat, decAnyMetadata, unifyMetadata } from "@polkadot-api/substrate-bindings";
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk-TSPERKUS.js";
4
4
  import {
5
5
  VERSION
6
- } from "./chunk-ANF5NDU2.js";
6
+ } from "./chunk-2HJICWSO.js";
7
7
  import {
8
8
  loadEnvironments
9
- } from "./chunk-NTXIXOCN.js";
9
+ } from "./chunk-PYCUFN2I.js";
10
10
 
11
11
  // src/auth-config.ts
12
12
  import { existsSync, readdirSync } from "fs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-ANF5NDU2.js";
3
+ } from "./chunk-2HJICWSO.js";
4
4
 
5
5
  // src/version-check.ts
6
6
  import { execSync, execFileSync } from "child_process";
@@ -7,15 +7,15 @@ import {
7
7
  resolveDotnsConnectOptions,
8
8
  storeDirectory,
9
9
  storeFile
10
- } from "./chunk-PQRM4JXJ.js";
10
+ } from "./chunk-BTEGBTIB.js";
11
11
  import {
12
12
  DotNS
13
- } from "./chunk-DLVUVYFZ.js";
13
+ } from "./chunk-XMXRIUVA.js";
14
14
  import {
15
15
  getPopSelfServeConfig,
16
16
  loadEnvironments,
17
17
  resolveEndpoints
18
- } from "./chunk-NTXIXOCN.js";
18
+ } from "./chunk-PYCUFN2I.js";
19
19
  import {
20
20
  NonRetryableError
21
21
  } from "./chunk-ZOC4GITL.js";
@@ -6,7 +6,7 @@ import * as path from "path";
6
6
  // package.json
7
7
  var package_default = {
8
8
  name: "@parity/product-deploy",
9
- version: "0.13.1-rc.1",
9
+ version: "0.13.1-rc.3",
10
10
  private: false,
11
11
  repository: {
12
12
  type: "git",
@@ -164,7 +164,8 @@ var environments_default = {
164
164
  POP_RULES: "0x2181a14081fF2D4477BAA8FB1aEB4C9c44F5F2b0",
165
165
  STORE_FACTORY: "0xD81DC23FAa69B311C1FC553Ea63798772e7D253D",
166
166
  LABEL_STORE_BEACON: "0xc7E86B8DE97AF57F937201d8d372F75ED4BE6633",
167
- USER_STORE_BEACON: "0x5924A0dDBb550514A744407F4Ec4b4B7BB6CD736"
167
+ USER_STORE_BEACON: "0x5924A0dDBb550514A744407F4Ec4b4B7BB6CD736",
168
+ PUBLISHER: "0xaab42efbe8ea4d4228c3a11e973f94c17b9a0f2c"
168
169
  }
169
170
  },
170
171
  {
@@ -4,10 +4,10 @@ import {
4
4
  } from "./chunk-5FLTDWWP.js";
5
5
  import {
6
6
  DOT_PRODUCT_ID
7
- } from "./chunk-SL4YUEQH.js";
7
+ } from "./chunk-H7RYBQ55.js";
8
8
  import {
9
9
  DEFAULT_MNEMONIC
10
- } from "./chunk-DLVUVYFZ.js";
10
+ } from "./chunk-XMXRIUVA.js";
11
11
 
12
12
  // src/deploy-actors.ts
13
13
  var DEFAULT_WORKER_SURI = DEFAULT_MNEMONIC;
@@ -11,10 +11,10 @@ import {
11
11
  setDeploySentryTag,
12
12
  truncateAddress,
13
13
  withSpan
14
- } from "./chunk-ANF5NDU2.js";
14
+ } from "./chunk-2HJICWSO.js";
15
15
  import {
16
16
  validateContractAddresses
17
- } from "./chunk-NTXIXOCN.js";
17
+ } from "./chunk-PYCUFN2I.js";
18
18
  import {
19
19
  NonRetryableError
20
20
  } from "./chunk-ZOC4GITL.js";
@@ -127,6 +127,11 @@ var NATIVE_TO_ETH_RATIO = 1000000n;
127
127
  var CONNECTION_TIMEOUT_MS = 3e4;
128
128
  var REVIVE_ADDRESS_ATTEMPTS = 3;
129
129
  var CONTENTHASH_VERIFY_ATTEMPTS = 3;
130
+ function pickVerifyEndpoint(attempt, rpc, assetHubEndpoints) {
131
+ const endpoints = rpc ? [rpc, ...assetHubEndpoints.filter((ep) => ep !== rpc)] : assetHubEndpoints;
132
+ if (endpoints.length === 0) throw new Error("pickVerifyEndpoint: no asset hub endpoints available");
133
+ return endpoints[(attempt - 1) % endpoints.length];
134
+ }
130
135
  var OPERATION_TIMEOUT_MS = 3e5;
131
136
  var TX_TIMEOUT_MS = 9e4;
132
137
  var TX_CHAIN_TIME_BUDGET_MS = 18e4;
@@ -1116,6 +1121,24 @@ var DotNS = class {
1116
1121
  this.connected = false;
1117
1122
  this.assetHubEndpoints = RPC_ENDPOINTS;
1118
1123
  }
1124
+ /**
1125
+ * Tear down the current papi client (if any) and stand up a fresh WS
1126
+ * connection + ReviveClientWrapper against `endpoint`. Escapes a
1127
+ * wedged/slow/stale connection — used by connect()'s ReviveApi.address
1128
+ * retry (#1131) and by setContenthash's post-deploy read-back retry
1129
+ * (#1131-follow-up), which is the single reason this is a shared helper
1130
+ * rather than two copies of the same three lines.
1131
+ */
1132
+ recreateReviveClient(endpoint) {
1133
+ if (this.client) {
1134
+ try {
1135
+ this.client.destroy();
1136
+ } catch {
1137
+ }
1138
+ }
1139
+ this.client = createClient(getWsProvider(endpoint, { heartbeatTimeout: WS_HEARTBEAT_TIMEOUT_MS }));
1140
+ this.clientWrapper = new ReviveClientWrapper(this.client.getUnsafeApi());
1141
+ }
1119
1142
  async connect(options = {}) {
1120
1143
  if (options.assetHubEndpoints && options.assetHubEndpoints.length > 0) {
1121
1144
  this.assetHubEndpoints = options.assetHubEndpoints;
@@ -1169,15 +1192,7 @@ var DotNS = class {
1169
1192
  return withSpan("deploy.dotns.connect", "dotns connect", {}, async () => {
1170
1193
  try {
1171
1194
  this.evmAddress = await withRetry(async (attempt) => {
1172
- if (this.client) {
1173
- try {
1174
- this.client.destroy();
1175
- } catch {
1176
- }
1177
- }
1178
- this.client = createClient(getWsProvider(rpc, { heartbeatTimeout: WS_HEARTBEAT_TIMEOUT_MS }));
1179
- const unsafeApi = this.client.getUnsafeApi();
1180
- this.clientWrapper = new ReviveClientWrapper(unsafeApi);
1195
+ this.recreateReviveClient(rpc);
1181
1196
  const addr = await withTimeout(
1182
1197
  this.clientWrapper.getEvmAddress(this.substrateAddress),
1183
1198
  CONNECTION_TIMEOUT_MS,
@@ -1875,10 +1890,21 @@ var DotNS = class {
1875
1890
  const txRes = await this.contractTransaction(this._contracts.DOTNS_CONTENT_RESOLVER, 0n, DOTNS_CONTENT_RESOLVER_ABI, "setContenthash", [node, contenthashHex], (s) => console.log(` ${s}`), { useNoncePolling: true, verifyEffect, feeAsset: opts.feeAsset, phoneLabel: "Link content" });
1876
1891
  let finalOnChain = "0x";
1877
1892
  try {
1878
- await withRetry(async () => {
1893
+ await withRetry(async (attempt) => {
1894
+ if (attempt > 1) {
1895
+ const endpoint = pickVerifyEndpoint(attempt, this.rpc, this.assetHubEndpoints);
1896
+ this.recreateReviveClient(endpoint);
1897
+ }
1879
1898
  finalOnChain = (await this.getContenthash(domainName) || "0x").toLowerCase();
1880
1899
  if (finalOnChain !== expected) throw new Error(`contenthash still ${finalOnChain}, awaiting ${expected}`);
1881
- }, { attempts: CONTENTHASH_VERIFY_ATTEMPTS });
1900
+ if (attempt > 1) setDeployAttribute("deploy.contenthash.verify_attempts", String(attempt));
1901
+ }, {
1902
+ attempts: CONTENTHASH_VERIFY_ATTEMPTS,
1903
+ onRetry: (attempt, e, backoff) => {
1904
+ const inner = e?.message?.slice(0, 160) ?? String(e).slice(0, 160);
1905
+ console.log(` Read-back attempt ${attempt}/${CONTENTHASH_VERIFY_ATTEMPTS} saw a mismatch (${inner}) \u2014 retrying against a fresh connection in ${Math.round(backoff / 1e3)}s\u2026`);
1906
+ }
1907
+ });
1882
1908
  } catch {
1883
1909
  }
1884
1910
  if (finalOnChain !== expected) {
@@ -2886,6 +2912,7 @@ export {
2886
2912
  CONNECTION_TIMEOUT_MS,
2887
2913
  REVIVE_ADDRESS_ATTEMPTS,
2888
2914
  CONTENTHASH_VERIFY_ATTEMPTS,
2915
+ pickVerifyEndpoint,
2889
2916
  OPERATION_TIMEOUT_MS,
2890
2917
  TX_TIMEOUT_MS,
2891
2918
  TX_CHAIN_TIME_BUDGET_MS,
@@ -8,9 +8,9 @@ import {
8
8
  getBestBlockNumber,
9
9
  probeChunks,
10
10
  probeFinalityGap
11
- } from "./chunk-TI7NNIBX.js";
12
- import "./chunk-ANF5NDU2.js";
13
- import "./chunk-EY6RE2E3.js";
11
+ } from "./chunk-DJAVEOV7.js";
12
+ import "./chunk-2HJICWSO.js";
13
+ import "./chunk-PHYPRRLY.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-PQRM4JXJ.js";
6
+ } from "../chunk-BTEGBTIB.js";
7
7
  import {
8
8
  preflightSssAllowance
9
- } from "../chunk-BEDLXKQV.js";
9
+ } from "../chunk-BGSJMWRJ.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-IXVJQN5O.js";
19
- import "../chunk-O7ZEZAR4.js";
20
- import "../chunk-TI7NNIBX.js";
18
+ import "../chunk-4OFBDVBD.js";
19
+ import "../chunk-LUVKGJB5.js";
20
+ import "../chunk-DJAVEOV7.js";
21
21
  import "../chunk-C2TS5MER.js";
22
- import "../chunk-7X42WZHQ.js";
22
+ import "../chunk-QIBBM2QU.js";
23
23
  import "../chunk-JQKKMUCT.js";
24
24
  import {
25
25
  BULLETIN_RESOURCE,
@@ -36,18 +36,18 @@ import {
36
36
  getAuthClient,
37
37
  getPeopleChainEndpoints,
38
38
  resolveBulletinEndpoints
39
- } from "../chunk-SL4YUEQH.js";
39
+ } from "../chunk-H7RYBQ55.js";
40
40
  import {
41
41
  CLI_NAME
42
42
  } from "../chunk-TSPERKUS.js";
43
- import "../chunk-DLVUVYFZ.js";
43
+ import "../chunk-XMXRIUVA.js";
44
44
  import "../chunk-SI2ZUOYD.js";
45
45
  import "../chunk-4AEFFDHP.js";
46
- import "../chunk-ANF5NDU2.js";
47
- import "../chunk-EY6RE2E3.js";
46
+ import "../chunk-2HJICWSO.js";
47
+ import "../chunk-PHYPRRLY.js";
48
48
  import {
49
49
  loadEnvironments
50
- } from "../chunk-NTXIXOCN.js";
50
+ } from "../chunk-PYCUFN2I.js";
51
51
  import "../chunk-ZOC4GITL.js";
52
52
 
53
53
  // src/commands/login.ts
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  clearSssAllowanceCache
3
- } from "../chunk-BEDLXKQV.js";
3
+ } from "../chunk-BGSJMWRJ.js";
4
4
  import "../chunk-GRPLHUYC.js";
5
5
  import "../chunk-JQKKMUCT.js";
6
6
  import "../chunk-5FLTDWWP.js";
@@ -9,11 +9,11 @@ import {
9
9
  } from "../chunk-RIRDBSBG.js";
10
10
  import {
11
11
  getAuthClient
12
- } from "../chunk-SL4YUEQH.js";
12
+ } from "../chunk-H7RYBQ55.js";
13
13
  import "../chunk-TSPERKUS.js";
14
- import "../chunk-ANF5NDU2.js";
15
- import "../chunk-EY6RE2E3.js";
16
- import "../chunk-NTXIXOCN.js";
14
+ import "../chunk-2HJICWSO.js";
15
+ import "../chunk-PHYPRRLY.js";
16
+ import "../chunk-PYCUFN2I.js";
17
17
  import "../chunk-ZOC4GITL.js";
18
18
 
19
19
  // src/commands/logout.ts
@@ -4,16 +4,16 @@ import {
4
4
  import {
5
5
  DEFAULT_MNEMONIC,
6
6
  DotNS
7
- } from "../chunk-DLVUVYFZ.js";
7
+ } from "../chunk-XMXRIUVA.js";
8
8
  import "../chunk-SI2ZUOYD.js";
9
9
  import "../chunk-4AEFFDHP.js";
10
- import "../chunk-ANF5NDU2.js";
11
- import "../chunk-EY6RE2E3.js";
10
+ import "../chunk-2HJICWSO.js";
11
+ import "../chunk-PHYPRRLY.js";
12
12
  import {
13
13
  getPopSelfServeConfig,
14
14
  loadEnvironments,
15
15
  resolveEndpoints
16
- } from "../chunk-NTXIXOCN.js";
16
+ } from "../chunk-PYCUFN2I.js";
17
17
  import "../chunk-ZOC4GITL.js";
18
18
 
19
19
  // src/commands/transfer.ts
@@ -2,13 +2,13 @@ import {
2
2
  STALE_SESSION_MESSAGE,
3
3
  getAuthClient,
4
4
  hasPersistedSession
5
- } from "../chunk-SL4YUEQH.js";
5
+ } from "../chunk-H7RYBQ55.js";
6
6
  import {
7
7
  CLI_NAME
8
8
  } from "../chunk-TSPERKUS.js";
9
- import "../chunk-ANF5NDU2.js";
10
- import "../chunk-EY6RE2E3.js";
11
- import "../chunk-NTXIXOCN.js";
9
+ import "../chunk-2HJICWSO.js";
10
+ import "../chunk-PHYPRRLY.js";
11
+ import "../chunk-PYCUFN2I.js";
12
12
  import "../chunk-ZOC4GITL.js";
13
13
 
14
14
  // src/commands/whoami.ts
@@ -2,18 +2,18 @@ import {
2
2
  MainnetDefaultWorkerError,
3
3
  resolveDeployActors,
4
4
  resolveStorageSigner
5
- } from "./chunk-7X42WZHQ.js";
5
+ } from "./chunk-QIBBM2QU.js";
6
6
  import "./chunk-JQKKMUCT.js";
7
7
  import "./chunk-5FLTDWWP.js";
8
8
  import "./chunk-RIRDBSBG.js";
9
- import "./chunk-SL4YUEQH.js";
9
+ import "./chunk-H7RYBQ55.js";
10
10
  import "./chunk-TSPERKUS.js";
11
- import "./chunk-DLVUVYFZ.js";
11
+ import "./chunk-XMXRIUVA.js";
12
12
  import "./chunk-SI2ZUOYD.js";
13
13
  import "./chunk-4AEFFDHP.js";
14
- import "./chunk-ANF5NDU2.js";
15
- import "./chunk-EY6RE2E3.js";
16
- import "./chunk-NTXIXOCN.js";
14
+ import "./chunk-2HJICWSO.js";
15
+ import "./chunk-PHYPRRLY.js";
16
+ import "./chunk-PYCUFN2I.js";
17
17
  import "./chunk-ZOC4GITL.js";
18
18
  export {
19
19
  MainnetDefaultWorkerError,
package/dist/deploy.js CHANGED
@@ -55,30 +55,30 @@ import {
55
55
  storeDirectoryV2,
56
56
  storeFile,
57
57
  unpublish
58
- } from "./chunk-PQRM4JXJ.js";
59
- import "./chunk-BEDLXKQV.js";
58
+ } from "./chunk-BTEGBTIB.js";
59
+ import "./chunk-BGSJMWRJ.js";
60
60
  import "./chunk-GRPLHUYC.js";
61
61
  import "./chunk-HOTQDYHD.js";
62
62
  import "./chunk-IW3X2MJF.js";
63
63
  import "./chunk-KOSF5FDO.js";
64
64
  import "./chunk-J3NIXHZZ.js";
65
65
  import "./chunk-S7EM5VMW.js";
66
- import "./chunk-IXVJQN5O.js";
67
- import "./chunk-O7ZEZAR4.js";
68
- import "./chunk-TI7NNIBX.js";
66
+ import "./chunk-4OFBDVBD.js";
67
+ import "./chunk-LUVKGJB5.js";
68
+ import "./chunk-DJAVEOV7.js";
69
69
  import "./chunk-C2TS5MER.js";
70
- import "./chunk-7X42WZHQ.js";
70
+ import "./chunk-QIBBM2QU.js";
71
71
  import "./chunk-JQKKMUCT.js";
72
72
  import "./chunk-5FLTDWWP.js";
73
73
  import "./chunk-RIRDBSBG.js";
74
- import "./chunk-SL4YUEQH.js";
74
+ import "./chunk-H7RYBQ55.js";
75
75
  import "./chunk-TSPERKUS.js";
76
- import "./chunk-DLVUVYFZ.js";
76
+ import "./chunk-XMXRIUVA.js";
77
77
  import "./chunk-SI2ZUOYD.js";
78
78
  import "./chunk-4AEFFDHP.js";
79
- import "./chunk-ANF5NDU2.js";
80
- import "./chunk-EY6RE2E3.js";
81
- import "./chunk-NTXIXOCN.js";
79
+ import "./chunk-2HJICWSO.js";
80
+ import "./chunk-PHYPRRLY.js";
81
+ import "./chunk-PYCUFN2I.js";
82
82
  import {
83
83
  EXIT_CODE_NO_RETRY,
84
84
  NonRetryableError
package/dist/dotns.d.ts CHANGED
@@ -147,6 +147,7 @@ declare const NATIVE_TO_ETH_RATIO: bigint;
147
147
  declare const CONNECTION_TIMEOUT_MS: number;
148
148
  declare const REVIVE_ADDRESS_ATTEMPTS: number;
149
149
  declare const CONTENTHASH_VERIFY_ATTEMPTS: number;
150
+ declare function pickVerifyEndpoint(attempt: number, rpc: string | null, assetHubEndpoints: string[]): string;
150
151
  declare const OPERATION_TIMEOUT_MS: number;
151
152
  declare const TX_TIMEOUT_MS: number;
152
153
  declare const TX_CHAIN_TIME_BUDGET_MS: number;
@@ -531,6 +532,15 @@ declare class DotNS {
531
532
  blockHash: string;
532
533
  }): void;
533
534
  constructor();
535
+ /**
536
+ * Tear down the current papi client (if any) and stand up a fresh WS
537
+ * connection + ReviveClientWrapper against `endpoint`. Escapes a
538
+ * wedged/slow/stale connection — used by connect()'s ReviveApi.address
539
+ * retry (#1131) and by setContenthash's post-deploy read-back retry
540
+ * (#1131-follow-up), which is the single reason this is a shared helper
541
+ * rather than two copies of the same three lines.
542
+ */
543
+ private recreateReviveClient;
534
544
  connect(options?: DotNSConnectOptions): Promise<this>;
535
545
  ensureMappedAccountReady(autoAccountMapping?: boolean): Promise<void>;
536
546
  ensureAutoMappedAccountReady(): Promise<void>;
@@ -725,4 +735,4 @@ declare class DotNS {
725
735
  }
726
736
  declare const dotns: DotNS;
727
737
 
728
- 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, popStatusName, registerDepositWei, sanitizeDomainLabel, shouldRegateBeforeResign, shouldRetryTxAttempt, stripTrailingDigits, validateDomainLabel, verifyEffectWithGrace, verifyNonceAdvanced, weiToNative, withRetry };
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 };
package/dist/dotns.js CHANGED
@@ -56,6 +56,7 @@ import {
56
56
  makeRetryStatusFilter,
57
57
  parseDomainName,
58
58
  parseProofOfPersonhoodStatus,
59
+ pickVerifyEndpoint,
59
60
  popStatusName,
60
61
  registerDepositWei,
61
62
  sanitizeDomainLabel,
@@ -67,12 +68,12 @@ import {
67
68
  verifyNonceAdvanced,
68
69
  weiToNative,
69
70
  withRetry
70
- } from "./chunk-DLVUVYFZ.js";
71
+ } from "./chunk-XMXRIUVA.js";
71
72
  import "./chunk-SI2ZUOYD.js";
72
73
  import "./chunk-4AEFFDHP.js";
73
- import "./chunk-ANF5NDU2.js";
74
- import "./chunk-EY6RE2E3.js";
75
- import "./chunk-NTXIXOCN.js";
74
+ import "./chunk-2HJICWSO.js";
75
+ import "./chunk-PHYPRRLY.js";
76
+ import "./chunk-PYCUFN2I.js";
76
77
  import "./chunk-ZOC4GITL.js";
77
78
  export {
78
79
  ATTR_TX_RESOLUTION_KIND,
@@ -132,6 +133,7 @@ export {
132
133
  makeRetryStatusFilter,
133
134
  parseDomainName,
134
135
  parseProofOfPersonhoodStatus,
136
+ pickVerifyEndpoint,
135
137
  popStatusName,
136
138
  registerDepositWei,
137
139
  sanitizeDomainLabel,
@@ -9,7 +9,7 @@ import {
9
9
  loadEnvironments,
10
10
  resolveEndpoints,
11
11
  validateContractAddresses
12
- } from "./chunk-NTXIXOCN.js";
12
+ } from "./chunk-PYCUFN2I.js";
13
13
  import "./chunk-ZOC4GITL.js";
14
14
  export {
15
15
  DEFAULT_ENV_ID,
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-362JEZKM.js";
5
5
  import {
6
6
  publishManifest
7
- } from "./chunk-7W2AMGNR.js";
7
+ } from "./chunk-NMQHAEUR.js";
8
8
  import {
9
9
  DEFAULT_TEXT_RECORD_BUDGET_BYTES,
10
10
  PLACEHOLDER_CID,
@@ -24,8 +24,8 @@ import {
24
24
  deploy,
25
25
  merkleizeJS,
26
26
  merkleizeWithStableOrder
27
- } from "./chunk-PQRM4JXJ.js";
28
- import "./chunk-BEDLXKQV.js";
27
+ } from "./chunk-BTEGBTIB.js";
28
+ import "./chunk-BGSJMWRJ.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-IXVJQN5O.js";
53
- import "./chunk-O7ZEZAR4.js";
52
+ import "./chunk-4OFBDVBD.js";
53
+ import "./chunk-LUVKGJB5.js";
54
54
  import {
55
55
  probeChunks
56
- } from "./chunk-TI7NNIBX.js";
56
+ } from "./chunk-DJAVEOV7.js";
57
57
  import "./chunk-C2TS5MER.js";
58
- import "./chunk-7X42WZHQ.js";
58
+ import "./chunk-QIBBM2QU.js";
59
59
  import "./chunk-JQKKMUCT.js";
60
60
  import "./chunk-5FLTDWWP.js";
61
61
  import "./chunk-RIRDBSBG.js";
62
- import "./chunk-SL4YUEQH.js";
62
+ import "./chunk-H7RYBQ55.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-DLVUVYFZ.js";
69
+ } from "./chunk-XMXRIUVA.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-ANF5NDU2.js";
85
+ import "./chunk-2HJICWSO.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-EY6RE2E3.js";
95
+ } from "./chunk-PHYPRRLY.js";
96
96
  import {
97
97
  DEFAULT_ENV_ID,
98
98
  deepMergeEnvironments,
@@ -103,7 +103,7 @@ import {
103
103
  loadEnvironments,
104
104
  resolveEndpoints,
105
105
  validateContractAddresses
106
- } from "./chunk-NTXIXOCN.js";
106
+ } from "./chunk-PYCUFN2I.js";
107
107
  import {
108
108
  NonRetryableError
109
109
  } from "./chunk-ZOC4GITL.js";
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  publishManifest
3
- } from "../chunk-7W2AMGNR.js";
3
+ } from "../chunk-NMQHAEUR.js";
4
4
  import "../chunk-WIMRJK32.js";
5
- import "../chunk-PQRM4JXJ.js";
6
- import "../chunk-BEDLXKQV.js";
5
+ import "../chunk-BTEGBTIB.js";
6
+ import "../chunk-BGSJMWRJ.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-IXVJQN5O.js";
14
- import "../chunk-O7ZEZAR4.js";
15
- import "../chunk-TI7NNIBX.js";
13
+ import "../chunk-4OFBDVBD.js";
14
+ import "../chunk-LUVKGJB5.js";
15
+ import "../chunk-DJAVEOV7.js";
16
16
  import "../chunk-C2TS5MER.js";
17
- import "../chunk-7X42WZHQ.js";
17
+ import "../chunk-QIBBM2QU.js";
18
18
  import "../chunk-JQKKMUCT.js";
19
19
  import "../chunk-5FLTDWWP.js";
20
20
  import "../chunk-RIRDBSBG.js";
21
- import "../chunk-SL4YUEQH.js";
21
+ import "../chunk-H7RYBQ55.js";
22
22
  import "../chunk-TSPERKUS.js";
23
- import "../chunk-DLVUVYFZ.js";
23
+ import "../chunk-XMXRIUVA.js";
24
24
  import "../chunk-SI2ZUOYD.js";
25
25
  import "../chunk-4AEFFDHP.js";
26
- import "../chunk-ANF5NDU2.js";
27
- import "../chunk-EY6RE2E3.js";
28
- import "../chunk-NTXIXOCN.js";
26
+ import "../chunk-2HJICWSO.js";
27
+ import "../chunk-PHYPRRLY.js";
28
+ import "../chunk-PYCUFN2I.js";
29
29
  import "../chunk-ZOC4GITL.js";
30
30
  export {
31
31
  publishManifest
@@ -5,8 +5,8 @@ import {
5
5
  maybeWriteMemoryReport,
6
6
  safeHeap,
7
7
  sampleFromBytes
8
- } from "./chunk-ANF5NDU2.js";
9
- import "./chunk-EY6RE2E3.js";
8
+ } from "./chunk-2HJICWSO.js";
9
+ import "./chunk-PHYPRRLY.js";
10
10
  export {
11
11
  DEFAULT_THRESHOLD_MB,
12
12
  buildMemoryReport,
package/dist/merkle.js CHANGED
@@ -6,30 +6,30 @@ import {
6
6
  merkleizeKuboBackend,
7
7
  merkleizeWithStableOrder,
8
8
  rebuildOrderedCarFromBytes
9
- } from "./chunk-PQRM4JXJ.js";
10
- import "./chunk-BEDLXKQV.js";
9
+ } from "./chunk-BTEGBTIB.js";
10
+ import "./chunk-BGSJMWRJ.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-IXVJQN5O.js";
18
- import "./chunk-O7ZEZAR4.js";
19
- import "./chunk-TI7NNIBX.js";
17
+ import "./chunk-4OFBDVBD.js";
18
+ import "./chunk-LUVKGJB5.js";
19
+ import "./chunk-DJAVEOV7.js";
20
20
  import "./chunk-C2TS5MER.js";
21
- import "./chunk-7X42WZHQ.js";
21
+ import "./chunk-QIBBM2QU.js";
22
22
  import "./chunk-JQKKMUCT.js";
23
23
  import "./chunk-5FLTDWWP.js";
24
24
  import "./chunk-RIRDBSBG.js";
25
- import "./chunk-SL4YUEQH.js";
25
+ import "./chunk-H7RYBQ55.js";
26
26
  import "./chunk-TSPERKUS.js";
27
- import "./chunk-DLVUVYFZ.js";
27
+ import "./chunk-XMXRIUVA.js";
28
28
  import "./chunk-SI2ZUOYD.js";
29
29
  import "./chunk-4AEFFDHP.js";
30
- import "./chunk-ANF5NDU2.js";
31
- import "./chunk-EY6RE2E3.js";
32
- import "./chunk-NTXIXOCN.js";
30
+ import "./chunk-2HJICWSO.js";
31
+ import "./chunk-PHYPRRLY.js";
32
+ import "./chunk-PYCUFN2I.js";
33
33
  import "./chunk-ZOC4GITL.js";
34
34
  export {
35
35
  buildOrderedCar,
@@ -21,18 +21,18 @@ import {
21
21
  } from "../chunk-ZYVGHDMU.js";
22
22
  import {
23
23
  WS_HEARTBEAT_TIMEOUT_MS
24
- } from "../chunk-DLVUVYFZ.js";
24
+ } from "../chunk-XMXRIUVA.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-ANF5NDU2.js";
32
- import "../chunk-EY6RE2E3.js";
31
+ import "../chunk-2HJICWSO.js";
32
+ import "../chunk-PHYPRRLY.js";
33
33
  import {
34
34
  loadEnvironments
35
- } from "../chunk-NTXIXOCN.js";
35
+ } from "../chunk-PYCUFN2I.js";
36
36
  import "../chunk-ZOC4GITL.js";
37
37
 
38
38
  // src/personhood/bootstrap.ts
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  WS_HEARTBEAT_TIMEOUT_MS
3
- } from "../chunk-DLVUVYFZ.js";
3
+ } from "../chunk-XMXRIUVA.js";
4
4
  import "../chunk-SI2ZUOYD.js";
5
5
  import "../chunk-4AEFFDHP.js";
6
- import "../chunk-ANF5NDU2.js";
7
- import "../chunk-EY6RE2E3.js";
6
+ import "../chunk-2HJICWSO.js";
7
+ import "../chunk-PHYPRRLY.js";
8
8
  import {
9
9
  loadEnvironments
10
- } from "../chunk-NTXIXOCN.js";
10
+ } from "../chunk-PYCUFN2I.js";
11
11
  import "../chunk-ZOC4GITL.js";
12
12
 
13
13
  // src/personhood/people-client.ts
package/dist/run-state.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  shouldSkipStaleWarning,
8
8
  stateFilePath,
9
9
  writeRunState
10
- } from "./chunk-EY6RE2E3.js";
10
+ } from "./chunk-PHYPRRLY.js";
11
11
  export {
12
12
  VERSION,
13
13
  loadRunState,
@@ -4,13 +4,13 @@ import {
4
4
  preflightSssAllowance,
5
5
  sssPeriodEndSec,
6
6
  writeSssAllowanceCache
7
- } from "./chunk-BEDLXKQV.js";
7
+ } from "./chunk-BGSJMWRJ.js";
8
8
  import "./chunk-GRPLHUYC.js";
9
- import "./chunk-SL4YUEQH.js";
9
+ import "./chunk-H7RYBQ55.js";
10
10
  import "./chunk-TSPERKUS.js";
11
- import "./chunk-ANF5NDU2.js";
12
- import "./chunk-EY6RE2E3.js";
13
- import "./chunk-NTXIXOCN.js";
11
+ import "./chunk-2HJICWSO.js";
12
+ import "./chunk-PHYPRRLY.js";
13
+ import "./chunk-PYCUFN2I.js";
14
14
  import "./chunk-ZOC4GITL.js";
15
15
  export {
16
16
  clearSssAllowanceCache,
@@ -8,30 +8,30 @@ import {
8
8
  waitForBulletinAuthorization,
9
9
  withTransientRetry,
10
10
  writeBulletinSlotKey
11
- } from "./chunk-PQRM4JXJ.js";
12
- import "./chunk-BEDLXKQV.js";
11
+ } from "./chunk-BTEGBTIB.js";
12
+ import "./chunk-BGSJMWRJ.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-IXVJQN5O.js";
20
- import "./chunk-O7ZEZAR4.js";
21
- import "./chunk-TI7NNIBX.js";
19
+ import "./chunk-4OFBDVBD.js";
20
+ import "./chunk-LUVKGJB5.js";
21
+ import "./chunk-DJAVEOV7.js";
22
22
  import "./chunk-C2TS5MER.js";
23
- import "./chunk-7X42WZHQ.js";
23
+ import "./chunk-QIBBM2QU.js";
24
24
  import "./chunk-JQKKMUCT.js";
25
25
  import "./chunk-5FLTDWWP.js";
26
26
  import "./chunk-RIRDBSBG.js";
27
- import "./chunk-SL4YUEQH.js";
27
+ import "./chunk-H7RYBQ55.js";
28
28
  import "./chunk-TSPERKUS.js";
29
- import "./chunk-DLVUVYFZ.js";
29
+ import "./chunk-XMXRIUVA.js";
30
30
  import "./chunk-SI2ZUOYD.js";
31
31
  import "./chunk-4AEFFDHP.js";
32
- import "./chunk-ANF5NDU2.js";
33
- import "./chunk-EY6RE2E3.js";
34
- import "./chunk-NTXIXOCN.js";
32
+ import "./chunk-2HJICWSO.js";
33
+ import "./chunk-PHYPRRLY.js";
34
+ import "./chunk-PYCUFN2I.js";
35
35
  import "./chunk-ZOC4GITL.js";
36
36
  export {
37
37
  BulletinSlotAuthError,
package/dist/telemetry.js CHANGED
@@ -36,8 +36,8 @@ import {
36
36
  truncateAddress,
37
37
  withDeploySpan,
38
38
  withSpan
39
- } from "./chunk-ANF5NDU2.js";
40
- import "./chunk-EY6RE2E3.js";
39
+ } from "./chunk-2HJICWSO.js";
40
+ import "./chunk-PHYPRRLY.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-O7ZEZAR4.js";
15
- import "./chunk-ANF5NDU2.js";
16
- import "./chunk-EY6RE2E3.js";
14
+ } from "./chunk-LUVKGJB5.js";
15
+ import "./chunk-2HJICWSO.js";
16
+ import "./chunk-PHYPRRLY.js";
17
17
  export {
18
18
  assessVersion,
19
19
  checkNodeVersion,
package/docs/bootstrap.md CHANGED
@@ -21,6 +21,20 @@ bulletin-bootstrap --env PCF-devnet --authorizer "<your authorizer seed or mnemo
21
21
 
22
22
  The same applies to `--mnemonic`: pass the pool root mnemonic whose `//deploy/N` accounts your deploys actually use, so bootstrap authorizes the accounts the deploy path will address.
23
23
 
24
+ ### Environment config: Browse Publisher contract
25
+
26
+ Bootstrap grants **Bulletin storage** authorization only. Listing apps in **Browse** is a separate, Asset-Hub-side capability provided by the `Publisher` contract, and it is configured in `environments.json` — not by this CLI. When you stand up a new environment, check both.
27
+
28
+ Make sure the env's `contracts` map in `environments.json` includes a **`PUBLISHER`** entry pointing at the Browse Publisher deployed on that environment's Asset Hub. If it is missing, `bulletin-deploy --publish --env <id>` prints `Publish: not supported on this environment — will be skipped` and silently does nothing: apps deploy but never appear in Browse.
29
+
30
+ Checklist for a new environment:
31
+
32
+ 1. Confirm the Browse `Publisher` contract is deployed on the env's Asset Hub — there is bytecode at the address, `owner()` is the products deployer, and `isPublished(labelhash)` returns `true` for an already-listed app (and `false` for a control label).
33
+ 2. Add its address to the env's `contracts.PUBLISHER` in `environments.json`, alongside the other `contracts` entries. It must be a valid, non-zero EVM address (the deploy CLI validates the format).
34
+ 3. Verify: a deploy with `--publish --env <id>` lists the app and does **not** print the "not supported" message.
35
+
36
+ (This was missing for the community `PCF-devnet` preset — see paritytech/polkadot-app-deploy#130.)
37
+
24
38
  ## Usage
25
39
 
26
40
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parity/product-deploy",
3
- "version": "0.13.1-rc.1",
3
+ "version": "0.13.1-rc.3",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",