@parity/product-deploy 0.11.0-rc.3 → 0.11.0-rc.4
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/assets/environments.json +2 -0
- package/dist/auth-config.js +4 -4
- package/dist/bug-report.d.ts +10 -1
- package/dist/bug-report.js +6 -4
- package/dist/{chunk-REAHYALJ.js → chunk-23AKFLS3.js} +3 -3
- package/dist/{chunk-5KRARO46.js → chunk-4CQ75L4W.js} +1 -1
- package/dist/{chunk-RFT2I7TB.js → chunk-CYKONVA7.js} +1 -1
- package/dist/{chunk-PH32GINP.js → chunk-GQNCLVZM.js} +1 -1
- package/dist/{chunk-QRKI6MMK.js → chunk-JSYQ3JQS.js} +4 -1
- package/dist/{chunk-4IUTMHVB.js → chunk-MRQPJLPS.js} +24 -3
- package/dist/{chunk-RVGCHRLK.js → chunk-ORJM2DGE.js} +2 -2
- package/dist/{chunk-VZTZEW7C.js → chunk-ORS77MUP.js} +24 -17
- package/dist/{chunk-2NLCZQY4.js → chunk-OVF6SN7P.js} +1 -1
- package/dist/{chunk-24KTLZ67.js → chunk-PRBEYWUY.js} +2 -2
- package/dist/{chunk-CLM3ODFR.js → chunk-Q6UOOXXS.js} +9 -3
- package/dist/{chunk-PYGCOK67.js → chunk-RC3CVUOG.js} +35 -11
- package/dist/{chunk-3US5OZWX.js → chunk-ZDJW2Q4R.js} +1 -1
- package/dist/chunk-probe.js +3 -3
- package/dist/commands/login.js +12 -12
- package/dist/commands/logout.js +5 -5
- package/dist/commands/transfer.js +5 -5
- package/dist/commands/whoami.js +4 -4
- package/dist/deploy-actors.js +7 -7
- package/dist/deploy.d.ts +10 -1
- package/dist/deploy.js +14 -12
- package/dist/dotns.d.ts +15 -2
- package/dist/dotns.js +9 -5
- package/dist/environments.d.ts +2 -0
- package/dist/environments.js +1 -1
- package/dist/index.js +13 -13
- package/dist/manifest/publish.js +13 -13
- package/dist/memory-report.js +2 -2
- package/dist/merkle.js +12 -12
- package/dist/personhood/bootstrap.js +5 -5
- package/dist/personhood/people-client.js +5 -5
- package/dist/pool.d.ts +3 -1
- package/dist/pool.js +1 -1
- package/dist/run-state.js +1 -1
- package/dist/sss-allowance-cache.js +5 -5
- package/dist/storage-signer.js +12 -12
- package/dist/telemetry.js +2 -2
- package/dist/version-check.js +3 -3
- package/package.json +1 -1
package/dist/commands/login.js
CHANGED
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "../chunk-J7CYVTAW.js";
|
|
4
4
|
import {
|
|
5
5
|
waitForBulletinAuthorization
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-ORS77MUP.js";
|
|
7
7
|
import {
|
|
8
8
|
preflightSssAllowance
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-CYKONVA7.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-
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-Q6UOOXXS.js";
|
|
19
|
+
import "../chunk-OVF6SN7P.js";
|
|
20
|
+
import "../chunk-ZDJW2Q4R.js";
|
|
21
21
|
import "../chunk-C2TS5MER.js";
|
|
22
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-PRBEYWUY.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-
|
|
39
|
+
} from "../chunk-ORJM2DGE.js";
|
|
40
40
|
import {
|
|
41
41
|
CLI_NAME
|
|
42
42
|
} from "../chunk-TSPERKUS.js";
|
|
43
|
-
import "../chunk-
|
|
43
|
+
import "../chunk-RC3CVUOG.js";
|
|
44
44
|
import "../chunk-SI2ZUOYD.js";
|
|
45
|
-
import "../chunk-
|
|
46
|
-
import "../chunk-
|
|
47
|
-
import "../chunk-
|
|
45
|
+
import "../chunk-MRQPJLPS.js";
|
|
46
|
+
import "../chunk-4CQ75L4W.js";
|
|
47
|
+
import "../chunk-GQNCLVZM.js";
|
|
48
48
|
import {
|
|
49
49
|
loadEnvironments
|
|
50
|
-
} from "../chunk-
|
|
50
|
+
} from "../chunk-JSYQ3JQS.js";
|
|
51
51
|
import "../chunk-ZOC4GITL.js";
|
|
52
52
|
|
|
53
53
|
// src/commands/login.ts
|
package/dist/commands/logout.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearSssAllowanceCache
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-CYKONVA7.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-
|
|
12
|
+
} from "../chunk-ORJM2DGE.js";
|
|
13
13
|
import "../chunk-TSPERKUS.js";
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-4CQ75L4W.js";
|
|
15
|
+
import "../chunk-GQNCLVZM.js";
|
|
16
|
+
import "../chunk-JSYQ3JQS.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-
|
|
7
|
+
} from "../chunk-RC3CVUOG.js";
|
|
8
8
|
import "../chunk-SI2ZUOYD.js";
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-MRQPJLPS.js";
|
|
10
|
+
import "../chunk-4CQ75L4W.js";
|
|
11
|
+
import "../chunk-GQNCLVZM.js";
|
|
12
12
|
import {
|
|
13
13
|
getPopSelfServeConfig,
|
|
14
14
|
loadEnvironments,
|
|
15
15
|
resolveEndpoints
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-JSYQ3JQS.js";
|
|
17
17
|
import "../chunk-ZOC4GITL.js";
|
|
18
18
|
|
|
19
19
|
// src/commands/transfer.ts
|
package/dist/commands/whoami.js
CHANGED
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
STALE_SESSION_MESSAGE,
|
|
3
3
|
getAuthClient,
|
|
4
4
|
hasPersistedSession
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-ORJM2DGE.js";
|
|
6
6
|
import {
|
|
7
7
|
CLI_NAME
|
|
8
8
|
} from "../chunk-TSPERKUS.js";
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-4CQ75L4W.js";
|
|
10
|
+
import "../chunk-GQNCLVZM.js";
|
|
11
|
+
import "../chunk-JSYQ3JQS.js";
|
|
12
12
|
import "../chunk-ZOC4GITL.js";
|
|
13
13
|
|
|
14
14
|
// src/commands/whoami.ts
|
package/dist/deploy-actors.js
CHANGED
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
MainnetDefaultWorkerError,
|
|
3
3
|
resolveDeployActors,
|
|
4
4
|
resolveStorageSigner
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-PRBEYWUY.js";
|
|
6
6
|
import "./chunk-JQKKMUCT.js";
|
|
7
7
|
import "./chunk-5FLTDWWP.js";
|
|
8
8
|
import "./chunk-RIRDBSBG.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-ORJM2DGE.js";
|
|
10
10
|
import "./chunk-TSPERKUS.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-RC3CVUOG.js";
|
|
12
12
|
import "./chunk-SI2ZUOYD.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-MRQPJLPS.js";
|
|
14
|
+
import "./chunk-4CQ75L4W.js";
|
|
15
|
+
import "./chunk-GQNCLVZM.js";
|
|
16
|
+
import "./chunk-JSYQ3JQS.js";
|
|
17
17
|
import "./chunk-ZOC4GITL.js";
|
|
18
18
|
export {
|
|
19
19
|
MainnetDefaultWorkerError,
|
package/dist/deploy.d.ts
CHANGED
|
@@ -146,6 +146,15 @@ declare function shouldHandoverName(opts: {
|
|
|
146
146
|
* Fallback: " Storage signer: pool fallback (<reason>)"
|
|
147
147
|
*/
|
|
148
148
|
declare function formatStorageSignerLine(slotAddress: string | null, failReason?: string, owned?: boolean): string;
|
|
149
|
+
/**
|
|
150
|
+
* #983: the transfer-mode DotNS announcement, printed at preflight once ownership
|
|
151
|
+
* is known. The up-front worker header states only the worker's storage role (it
|
|
152
|
+
* can't know ownership yet); this line states the transfer-vs-owned-update reality:
|
|
153
|
+
* New name: " DotNS: will register <name> and transfer it to your account <recipient>"
|
|
154
|
+
* Already owned: " DotNS: you already own <name> — content update needs your phone signature (no transfer)"
|
|
155
|
+
* Exported for unit testing.
|
|
156
|
+
*/
|
|
157
|
+
declare function formatTransferModeDotnsLine(alreadyOwned: boolean, dotName: string, recipient: string): string;
|
|
149
158
|
declare function storeFile(contentBytes: Uint8Array, { client: existingClient, unsafeApi: existingApi, signer: existingSigner, hashCode, }?: ExistingProvider & {
|
|
150
159
|
hashCode?: number;
|
|
151
160
|
}): Promise<string>;
|
|
@@ -456,4 +465,4 @@ declare function computePhoneSigningSteps(dotnsPreflight: {
|
|
|
456
465
|
needsPopUpgrade: boolean;
|
|
457
466
|
} | null, publishNeeded: boolean): string[];
|
|
458
467
|
|
|
459
|
-
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, applyManifestFetchAttributes, assertSubdomainOwnerMatchesSigner, browserUrlFor, buildFilesMap, checkDeploySize, chooseSignerInput, chunk, computePhoneSigningSteps, computeStorageCid, createCID, deploy, deriveRootSigner, detectFramework, encodeContenthash, encryptContent, estimateUploadBytes, formatStorageSignerLine, friendlyChainError, hasIPFS, interpretBitswapResult, isBenignTeardownError, isConnectionError, isPhoneSignerActive, makeBulletinStatusHandler, merkleize, probeP2pRetrieval, resolveDotnsConnectOptions, resolveReproducibleTimestamp, retryBudgetExhausted, setWsHaltCallback, shouldHandoverName, storeChunkedContent, storeDirectory, storeDirectoryV2, storeFile, unpublish };
|
|
468
|
+
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, applyManifestFetchAttributes, assertSubdomainOwnerMatchesSigner, browserUrlFor, buildFilesMap, checkDeploySize, chooseSignerInput, chunk, computePhoneSigningSteps, computeStorageCid, createCID, deploy, deriveRootSigner, detectFramework, encodeContenthash, encryptContent, estimateUploadBytes, formatStorageSignerLine, formatTransferModeDotnsLine, friendlyChainError, hasIPFS, interpretBitswapResult, isBenignTeardownError, isConnectionError, isPhoneSignerActive, makeBulletinStatusHandler, merkleize, probeP2pRetrieval, resolveDotnsConnectOptions, resolveReproducibleTimestamp, retryBudgetExhausted, setWsHaltCallback, shouldHandoverName, storeChunkedContent, storeDirectory, storeDirectoryV2, storeFile, unpublish };
|
package/dist/deploy.js
CHANGED
|
@@ -31,6 +31,7 @@ import {
|
|
|
31
31
|
encryptContent,
|
|
32
32
|
estimateUploadBytes,
|
|
33
33
|
formatStorageSignerLine,
|
|
34
|
+
formatTransferModeDotnsLine,
|
|
34
35
|
friendlyChainError,
|
|
35
36
|
hasIPFS,
|
|
36
37
|
interpretBitswapResult,
|
|
@@ -50,30 +51,30 @@ import {
|
|
|
50
51
|
storeDirectoryV2,
|
|
51
52
|
storeFile,
|
|
52
53
|
unpublish
|
|
53
|
-
} from "./chunk-
|
|
54
|
-
import "./chunk-
|
|
54
|
+
} from "./chunk-ORS77MUP.js";
|
|
55
|
+
import "./chunk-CYKONVA7.js";
|
|
55
56
|
import "./chunk-GRPLHUYC.js";
|
|
56
57
|
import "./chunk-HOTQDYHD.js";
|
|
57
58
|
import "./chunk-IW3X2MJF.js";
|
|
58
59
|
import "./chunk-KOSF5FDO.js";
|
|
59
60
|
import "./chunk-J3NIXHZZ.js";
|
|
60
61
|
import "./chunk-S7EM5VMW.js";
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
62
|
+
import "./chunk-Q6UOOXXS.js";
|
|
63
|
+
import "./chunk-OVF6SN7P.js";
|
|
64
|
+
import "./chunk-ZDJW2Q4R.js";
|
|
64
65
|
import "./chunk-C2TS5MER.js";
|
|
65
|
-
import "./chunk-
|
|
66
|
+
import "./chunk-PRBEYWUY.js";
|
|
66
67
|
import "./chunk-JQKKMUCT.js";
|
|
67
68
|
import "./chunk-5FLTDWWP.js";
|
|
68
69
|
import "./chunk-RIRDBSBG.js";
|
|
69
|
-
import "./chunk-
|
|
70
|
+
import "./chunk-ORJM2DGE.js";
|
|
70
71
|
import "./chunk-TSPERKUS.js";
|
|
71
|
-
import "./chunk-
|
|
72
|
+
import "./chunk-RC3CVUOG.js";
|
|
72
73
|
import "./chunk-SI2ZUOYD.js";
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./chunk-
|
|
75
|
-
import "./chunk-
|
|
76
|
-
import "./chunk-
|
|
74
|
+
import "./chunk-MRQPJLPS.js";
|
|
75
|
+
import "./chunk-4CQ75L4W.js";
|
|
76
|
+
import "./chunk-GQNCLVZM.js";
|
|
77
|
+
import "./chunk-JSYQ3JQS.js";
|
|
77
78
|
import {
|
|
78
79
|
EXIT_CODE_NO_RETRY,
|
|
79
80
|
NonRetryableError
|
|
@@ -113,6 +114,7 @@ export {
|
|
|
113
114
|
encryptContent,
|
|
114
115
|
estimateUploadBytes,
|
|
115
116
|
formatStorageSignerLine,
|
|
117
|
+
formatTransferModeDotnsLine,
|
|
116
118
|
friendlyChainError,
|
|
117
119
|
hasIPFS,
|
|
118
120
|
interpretBitswapResult,
|
package/dist/dotns.d.ts
CHANGED
|
@@ -148,6 +148,7 @@ declare const TX_WALL_CLOCK_CEILING_MS: number;
|
|
|
148
148
|
declare const TX_NO_PROGRESS_MS: number;
|
|
149
149
|
declare const WS_HEARTBEAT_TIMEOUT_MS: number;
|
|
150
150
|
declare const DOTNS_TX_MAX_ATTEMPTS: number;
|
|
151
|
+
declare const VERIFY_EFFECT_CHAIN_SECONDS: number;
|
|
151
152
|
declare function classifyTxRetryDecision(err: unknown): "retry" | "abort";
|
|
152
153
|
declare function dotnsRetryBackoffMs(attempt: number, rand?: () => number): number;
|
|
153
154
|
/**
|
|
@@ -159,6 +160,14 @@ declare function dotnsRetryBackoffMs(attempt: number, rand?: () => number): numb
|
|
|
159
160
|
* invisible and the count appeared to stop one short.
|
|
160
161
|
*/
|
|
161
162
|
declare function shouldRetryTxAttempt(attempt: number, maxAttempts: number, decision: "retry" | "abort"): boolean;
|
|
163
|
+
/**
|
|
164
|
+
* Whether to pause for the human-ready gate before a retry RE-SIGN (#971).
|
|
165
|
+
* Only a phone/session signer re-sign needs another tap, so the re-gate fires
|
|
166
|
+
* only on attempt ≥ 2 (a re-sign, not the first sign) AND when the signer is a
|
|
167
|
+
* phone signer. Local/dev workers re-sign locally and must NOT pause. Pure so
|
|
168
|
+
* the decision is unit-testable without driving a real retry.
|
|
169
|
+
*/
|
|
170
|
+
declare function shouldRegateBeforeResign(attempt: number, isPhoneSigner: boolean | undefined): boolean;
|
|
162
171
|
/** Wraps `sink` so that "failed" status events are buffered and only forwarded
|
|
163
172
|
* when `flush()` is called (i.e. on final abort). All other statuses pass
|
|
164
173
|
* through immediately. Call `reset()` at the top of each retry attempt to
|
|
@@ -343,9 +352,11 @@ declare class ReviveClientWrapper {
|
|
|
343
352
|
};
|
|
344
353
|
verifyEffect?: () => Promise<boolean>;
|
|
345
354
|
feeAsset?: "pgas";
|
|
355
|
+
isPhoneSigner?: boolean;
|
|
356
|
+
onResign?: (attempt: number) => Promise<void>;
|
|
346
357
|
}): Promise<TxResolution>;
|
|
347
358
|
private dryRunReviveCall;
|
|
348
|
-
submitTransaction(contractAddress: string, value: bigint, encodedData: string, signerSubstrateAddress: string, signer: PolkadotSigner, statusCallback: (status: string) => void, { rpcs, useNoncePolling, functionName, args, contracts, verifyEffect, feeAsset }: {
|
|
359
|
+
submitTransaction(contractAddress: string, value: bigint, encodedData: string, signerSubstrateAddress: string, signer: PolkadotSigner, statusCallback: (status: string) => void, { rpcs, useNoncePolling, functionName, args, contracts, verifyEffect, feeAsset, isPhoneSigner, onResign }: {
|
|
349
360
|
rpcs: string[];
|
|
350
361
|
useNoncePolling?: boolean;
|
|
351
362
|
functionName?: string;
|
|
@@ -353,6 +364,8 @@ declare class ReviveClientWrapper {
|
|
|
353
364
|
contracts?: Record<string, string>;
|
|
354
365
|
verifyEffect?: () => Promise<boolean>;
|
|
355
366
|
feeAsset?: "pgas";
|
|
367
|
+
isPhoneSigner?: boolean;
|
|
368
|
+
onResign?: (attempt: number) => Promise<void>;
|
|
356
369
|
}): Promise<TxResolution>;
|
|
357
370
|
submitBatchedTransactions(calls: {
|
|
358
371
|
contractAddress: string;
|
|
@@ -660,4 +673,4 @@ declare class DotNS {
|
|
|
660
673
|
}
|
|
661
674
|
declare const dotns: DotNS;
|
|
662
675
|
|
|
663
|
-
export { ATTR_TX_RESOLUTION_KIND, type AliasAccountClassification, type AliasAccountState, CONNECTION_TIMEOUT_MS, CONTRACTS, ContractDryRunRevertError, DECIMALS, DEFAULT_MNEMONIC, DOTNS_TX_MAX_ATTEMPTS, DOT_NODE, DotNS, type DotNSConnectOptions, type DotnsPreflightResult, type DotnsSuccessAction, MINIMUM_REGISTER_STORAGE_DEPOSIT, NATIVE_TO_ETH_RATIO, OPERATION_TIMEOUT_MS, type OwnershipResult, PUBLISHER_ABI, type ParsedDomainName, type PhoneSignatureStep, type PriceValidationResult, ProofOfPersonhoodStatus, PublisherNotSupportedError, RPC_ENDPOINTS, TX_CHAIN_TIME_BUDGET_MS, TX_KIND_HASH, TX_KIND_NONCE_ADVANCED, TX_NO_PROGRESS_MS, TX_TIMEOUT_MS, TX_WALL_CLOCK_CEILING_MS, type TxResolution, WS_HEARTBEAT_TIMEOUT_MS, __formatContractDryRunFailureForTest, bufferedWeiToNative, canRegister, classifyAliasAccountRow, classifyDotnsLabel, classifyTxRetryDecision, computeDomainTokenId, convertToHexString, convertWeiToNative, countTrailingDigits, decodePublisherRevert, dotns, dotnsRetryBackoffMs, feeFloorFor, fetchNonce, fmtPas, formatDispatchError, formatPersonhoodRemediation, formatPopShortfallReason, isCommitmentMature, isCommitmentTimingBarerevert, makeRetryStatusFilter, parseDomainName, parseProofOfPersonhoodStatus, popStatusName, registerDepositWei, sanitizeDomainLabel, shouldRetryTxAttempt, stripTrailingDigits, validateDomainLabel, verifyNonceAdvanced, weiToNative };
|
|
676
|
+
export { ATTR_TX_RESOLUTION_KIND, type AliasAccountClassification, type AliasAccountState, CONNECTION_TIMEOUT_MS, CONTRACTS, ContractDryRunRevertError, DECIMALS, DEFAULT_MNEMONIC, DOTNS_TX_MAX_ATTEMPTS, DOT_NODE, DotNS, type DotNSConnectOptions, type DotnsPreflightResult, type DotnsSuccessAction, MINIMUM_REGISTER_STORAGE_DEPOSIT, NATIVE_TO_ETH_RATIO, OPERATION_TIMEOUT_MS, type OwnershipResult, PUBLISHER_ABI, type ParsedDomainName, type PhoneSignatureStep, type PriceValidationResult, ProofOfPersonhoodStatus, PublisherNotSupportedError, RPC_ENDPOINTS, TX_CHAIN_TIME_BUDGET_MS, 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, __formatContractDryRunFailureForTest, bufferedWeiToNative, canRegister, classifyAliasAccountRow, classifyDotnsLabel, classifyTxRetryDecision, 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, verifyNonceAdvanced, weiToNative };
|
package/dist/dotns.js
CHANGED
|
@@ -21,6 +21,7 @@ import {
|
|
|
21
21
|
TX_NO_PROGRESS_MS,
|
|
22
22
|
TX_TIMEOUT_MS,
|
|
23
23
|
TX_WALL_CLOCK_CEILING_MS,
|
|
24
|
+
VERIFY_EFFECT_CHAIN_SECONDS,
|
|
24
25
|
WS_HEARTBEAT_TIMEOUT_MS,
|
|
25
26
|
__formatContractDryRunFailureForTest,
|
|
26
27
|
bufferedWeiToNative,
|
|
@@ -49,17 +50,18 @@ import {
|
|
|
49
50
|
popStatusName,
|
|
50
51
|
registerDepositWei,
|
|
51
52
|
sanitizeDomainLabel,
|
|
53
|
+
shouldRegateBeforeResign,
|
|
52
54
|
shouldRetryTxAttempt,
|
|
53
55
|
stripTrailingDigits,
|
|
54
56
|
validateDomainLabel,
|
|
55
57
|
verifyNonceAdvanced,
|
|
56
58
|
weiToNative
|
|
57
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-RC3CVUOG.js";
|
|
58
60
|
import "./chunk-SI2ZUOYD.js";
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
61
|
+
import "./chunk-MRQPJLPS.js";
|
|
62
|
+
import "./chunk-4CQ75L4W.js";
|
|
63
|
+
import "./chunk-GQNCLVZM.js";
|
|
64
|
+
import "./chunk-JSYQ3JQS.js";
|
|
63
65
|
import "./chunk-ZOC4GITL.js";
|
|
64
66
|
export {
|
|
65
67
|
ATTR_TX_RESOLUTION_KIND,
|
|
@@ -84,6 +86,7 @@ export {
|
|
|
84
86
|
TX_NO_PROGRESS_MS,
|
|
85
87
|
TX_TIMEOUT_MS,
|
|
86
88
|
TX_WALL_CLOCK_CEILING_MS,
|
|
89
|
+
VERIFY_EFFECT_CHAIN_SECONDS,
|
|
87
90
|
WS_HEARTBEAT_TIMEOUT_MS,
|
|
88
91
|
__formatContractDryRunFailureForTest,
|
|
89
92
|
bufferedWeiToNative,
|
|
@@ -112,6 +115,7 @@ export {
|
|
|
112
115
|
popStatusName,
|
|
113
116
|
registerDepositWei,
|
|
114
117
|
sanitizeDomainLabel,
|
|
118
|
+
shouldRegateBeforeResign,
|
|
115
119
|
shouldRetryTxAttempt,
|
|
116
120
|
stripTrailingDigits,
|
|
117
121
|
validateDomainLabel,
|
package/dist/environments.d.ts
CHANGED
|
@@ -29,6 +29,7 @@ interface Environment {
|
|
|
29
29
|
registerStorageDeposit?: number;
|
|
30
30
|
contracts?: Record<string, string>;
|
|
31
31
|
popSelfServe?: PopSelfServeConfig;
|
|
32
|
+
bulletinAutoAuthorize?: boolean;
|
|
32
33
|
}
|
|
33
34
|
interface ChainEndpoint {
|
|
34
35
|
wss: string | string[];
|
|
@@ -66,6 +67,7 @@ interface ResolvedEndpoints {
|
|
|
66
67
|
contracts: Record<string, string>;
|
|
67
68
|
nativeToEthRatio: bigint;
|
|
68
69
|
registerStorageDeposit?: bigint;
|
|
70
|
+
bulletinAutoAuthorize: boolean;
|
|
69
71
|
}
|
|
70
72
|
declare function defaultBundledPath(): string;
|
|
71
73
|
/**
|
package/dist/environments.js
CHANGED
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-
|
|
7
|
+
} from "./chunk-23AKFLS3.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-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
} from "./chunk-ORS77MUP.js";
|
|
28
|
+
import "./chunk-CYKONVA7.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-
|
|
53
|
-
import "./chunk-
|
|
52
|
+
import "./chunk-Q6UOOXXS.js";
|
|
53
|
+
import "./chunk-OVF6SN7P.js";
|
|
54
54
|
import {
|
|
55
55
|
probeChunks
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-ZDJW2Q4R.js";
|
|
57
57
|
import "./chunk-C2TS5MER.js";
|
|
58
|
-
import "./chunk-
|
|
58
|
+
import "./chunk-PRBEYWUY.js";
|
|
59
59
|
import "./chunk-JQKKMUCT.js";
|
|
60
60
|
import "./chunk-5FLTDWWP.js";
|
|
61
61
|
import "./chunk-RIRDBSBG.js";
|
|
62
|
-
import "./chunk-
|
|
62
|
+
import "./chunk-ORJM2DGE.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-
|
|
69
|
+
} from "./chunk-RC3CVUOG.js";
|
|
70
70
|
import "./chunk-SI2ZUOYD.js";
|
|
71
71
|
import {
|
|
72
72
|
bootstrapPool,
|
|
@@ -74,8 +74,8 @@ import {
|
|
|
74
74
|
ensureAuthorized,
|
|
75
75
|
fetchPoolAuthorizations,
|
|
76
76
|
selectAccount
|
|
77
|
-
} from "./chunk-
|
|
78
|
-
import "./chunk-
|
|
77
|
+
} from "./chunk-MRQPJLPS.js";
|
|
78
|
+
import "./chunk-4CQ75L4W.js";
|
|
79
79
|
import {
|
|
80
80
|
VERSION,
|
|
81
81
|
loadRunState,
|
|
@@ -85,7 +85,7 @@ import {
|
|
|
85
85
|
shouldSkipStaleWarning,
|
|
86
86
|
stateFilePath,
|
|
87
87
|
writeRunState
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-GQNCLVZM.js";
|
|
89
89
|
import {
|
|
90
90
|
DEFAULT_ENV_ID,
|
|
91
91
|
deepMergeEnvironments,
|
|
@@ -96,7 +96,7 @@ import {
|
|
|
96
96
|
loadEnvironments,
|
|
97
97
|
resolveEndpoints,
|
|
98
98
|
validateContractAddresses
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-JSYQ3JQS.js";
|
|
100
100
|
import "./chunk-ZOC4GITL.js";
|
|
101
101
|
export {
|
|
102
102
|
DEFAULT_ENV_ID,
|
package/dist/manifest/publish.js
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
publishManifest
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-23AKFLS3.js";
|
|
4
4
|
import "../chunk-WIMRJK32.js";
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
5
|
+
import "../chunk-ORS77MUP.js";
|
|
6
|
+
import "../chunk-CYKONVA7.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-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-Q6UOOXXS.js";
|
|
14
|
+
import "../chunk-OVF6SN7P.js";
|
|
15
|
+
import "../chunk-ZDJW2Q4R.js";
|
|
16
16
|
import "../chunk-C2TS5MER.js";
|
|
17
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-PRBEYWUY.js";
|
|
18
18
|
import "../chunk-JQKKMUCT.js";
|
|
19
19
|
import "../chunk-5FLTDWWP.js";
|
|
20
20
|
import "../chunk-RIRDBSBG.js";
|
|
21
|
-
import "../chunk-
|
|
21
|
+
import "../chunk-ORJM2DGE.js";
|
|
22
22
|
import "../chunk-TSPERKUS.js";
|
|
23
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-RC3CVUOG.js";
|
|
24
24
|
import "../chunk-SI2ZUOYD.js";
|
|
25
|
-
import "../chunk-
|
|
26
|
-
import "../chunk-
|
|
27
|
-
import "../chunk-
|
|
28
|
-
import "../chunk-
|
|
25
|
+
import "../chunk-MRQPJLPS.js";
|
|
26
|
+
import "../chunk-4CQ75L4W.js";
|
|
27
|
+
import "../chunk-GQNCLVZM.js";
|
|
28
|
+
import "../chunk-JSYQ3JQS.js";
|
|
29
29
|
import "../chunk-ZOC4GITL.js";
|
|
30
30
|
export {
|
|
31
31
|
publishManifest
|
package/dist/memory-report.js
CHANGED
package/dist/merkle.js
CHANGED
|
@@ -6,30 +6,30 @@ import {
|
|
|
6
6
|
merkleizeKuboBackend,
|
|
7
7
|
merkleizeWithStableOrder,
|
|
8
8
|
rebuildOrderedCarFromBytes
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-ORS77MUP.js";
|
|
10
|
+
import "./chunk-CYKONVA7.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-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-Q6UOOXXS.js";
|
|
18
|
+
import "./chunk-OVF6SN7P.js";
|
|
19
|
+
import "./chunk-ZDJW2Q4R.js";
|
|
20
20
|
import "./chunk-C2TS5MER.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-PRBEYWUY.js";
|
|
22
22
|
import "./chunk-JQKKMUCT.js";
|
|
23
23
|
import "./chunk-5FLTDWWP.js";
|
|
24
24
|
import "./chunk-RIRDBSBG.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-ORJM2DGE.js";
|
|
26
26
|
import "./chunk-TSPERKUS.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-RC3CVUOG.js";
|
|
28
28
|
import "./chunk-SI2ZUOYD.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-MRQPJLPS.js";
|
|
30
|
+
import "./chunk-4CQ75L4W.js";
|
|
31
|
+
import "./chunk-GQNCLVZM.js";
|
|
32
|
+
import "./chunk-JSYQ3JQS.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-
|
|
24
|
+
} from "../chunk-RC3CVUOG.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
|
-
import "../chunk-
|
|
31
|
-
import "../chunk-
|
|
32
|
-
import "../chunk-
|
|
30
|
+
import "../chunk-MRQPJLPS.js";
|
|
31
|
+
import "../chunk-4CQ75L4W.js";
|
|
32
|
+
import "../chunk-GQNCLVZM.js";
|
|
33
33
|
import {
|
|
34
34
|
loadEnvironments
|
|
35
|
-
} from "../chunk-
|
|
35
|
+
} from "../chunk-JSYQ3JQS.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-
|
|
3
|
+
} from "../chunk-RC3CVUOG.js";
|
|
4
4
|
import "../chunk-SI2ZUOYD.js";
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
5
|
+
import "../chunk-MRQPJLPS.js";
|
|
6
|
+
import "../chunk-4CQ75L4W.js";
|
|
7
|
+
import "../chunk-GQNCLVZM.js";
|
|
8
8
|
import {
|
|
9
9
|
loadEnvironments
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-JSYQ3JQS.js";
|
|
11
11
|
import "../chunk-ZOC4GITL.js";
|
|
12
12
|
|
|
13
13
|
// src/personhood/people-client.ts
|
package/dist/pool.d.ts
CHANGED
|
@@ -25,7 +25,9 @@ declare function fetchPoolAuthorizations(api: any, accounts: PoolAccount[]): Pro
|
|
|
25
25
|
declare function isTestnetSpecName(specName: string | undefined | null): boolean;
|
|
26
26
|
declare function detectTestnet(api: any): Promise<boolean>;
|
|
27
27
|
declare function _resetTestnetCacheForTests(): void;
|
|
28
|
-
declare function ensureAuthorized(api: any, address: string, label?: string
|
|
28
|
+
declare function ensureAuthorized(api: any, address: string, label?: string, opts?: {
|
|
29
|
+
autoAuthorize?: boolean;
|
|
30
|
+
}): Promise<void>;
|
|
29
31
|
interface BootstrapPoolOptions {
|
|
30
32
|
authorizerMnemonic?: string;
|
|
31
33
|
bulletinAuthorizeV2?: boolean;
|
package/dist/pool.js
CHANGED
package/dist/run-state.js
CHANGED
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
preflightSssAllowance,
|
|
5
5
|
sssPeriodEndSec,
|
|
6
6
|
writeSssAllowanceCache
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-CYKONVA7.js";
|
|
8
8
|
import "./chunk-GRPLHUYC.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-ORJM2DGE.js";
|
|
10
10
|
import "./chunk-TSPERKUS.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-4CQ75L4W.js";
|
|
12
|
+
import "./chunk-GQNCLVZM.js";
|
|
13
|
+
import "./chunk-JSYQ3JQS.js";
|
|
14
14
|
import "./chunk-ZOC4GITL.js";
|
|
15
15
|
export {
|
|
16
16
|
clearSssAllowanceCache,
|