@parity/product-deploy 0.10.1-dev.0 → 0.11.0-rc.1
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/bin/bulletin-deploy +42 -10
- package/dist/auth-config.js +3 -3
- package/dist/bug-report.js +4 -4
- package/dist/{chunk-J63XPPZW.js → chunk-5LJPUNCB.js} +1 -1
- package/dist/chunk-7OVS6LIV.js +78 -0
- package/dist/{chunk-ZNZOAGMR.js → chunk-A43XBCGD.js} +122 -91
- package/dist/{chunk-VMQDFI4D.js → chunk-AUVTECEP.js} +6 -11
- package/dist/{chunk-QIMAKL3Z.js → chunk-C5RIKMTP.js} +1 -1
- package/dist/{chunk-LSZEHAFU.js → chunk-GF2QXG66.js} +1 -1
- package/dist/{chunk-FMUO4UBG.js → chunk-GRRZ4PUX.js} +2 -2
- package/dist/{chunk-NBBV3IS3.js → chunk-LXSTFGUA.js} +10 -5
- package/dist/{chunk-QGGISN4D.js → chunk-MDLFWWXZ.js} +1 -1
- package/dist/{chunk-4GDFP7XR.js → chunk-PDCSBS5T.js} +55 -10
- package/dist/{chunk-HX6BOXMG.js → chunk-TK4IZ73C.js} +14 -1
- package/dist/chunk-probe.js +3 -3
- package/dist/commands/login.js +22 -21
- package/dist/commands/logout.js +7 -7
- package/dist/commands/transfer.js +3 -3
- package/dist/commands/whoami.js +3 -3
- package/dist/deploy-actors.d.ts +84 -3
- package/dist/deploy-actors.js +12 -35
- package/dist/deploy.d.ts +30 -4
- package/dist/deploy.js +13 -9
- package/dist/dotns.d.ts +42 -2
- package/dist/dotns.js +3 -3
- package/dist/index.js +21 -17
- package/dist/manifest/publish.js +14 -10
- package/dist/memory-report.js +2 -2
- package/dist/merkle.js +13 -9
- package/dist/personhood/bootstrap.js +6 -6
- package/dist/personhood/people-client.js +3 -3
- package/dist/run-state.js +1 -1
- package/dist/sss-allowance-cache.js +4 -4
- package/dist/storage-signer.js +13 -9
- package/dist/suppress-localstorage-warning.d.ts +2 -0
- package/dist/suppress-localstorage-warning.js +7 -0
- package/dist/telemetry.d.ts +9 -1
- package/dist/telemetry.js +6 -2
- package/dist/version-check.js +3 -3
- package/package.json +6 -11
package/dist/dotns.d.ts
CHANGED
|
@@ -6,6 +6,8 @@ import './personhood/claim-pgas.js';
|
|
|
6
6
|
import './personhood/bind-paid-alias.js';
|
|
7
7
|
import './personhood/chain-prereqs.js';
|
|
8
8
|
|
|
9
|
+
/** One step in the phone-signature plan fired at preflight. */
|
|
10
|
+
type PhoneSignatureStep = "Commitment" | "Register" | "Link content" | "Publish to registry";
|
|
9
11
|
interface DotNSConnectOptions {
|
|
10
12
|
rpc?: string;
|
|
11
13
|
keyUri?: string;
|
|
@@ -36,6 +38,17 @@ interface DotNSConnectOptions {
|
|
|
36
38
|
* is active; pool/mnemonic paths leave this unset.
|
|
37
39
|
*/
|
|
38
40
|
onPhoneSigningRequired?: (label: string) => void;
|
|
41
|
+
/**
|
|
42
|
+
* Human-ready gate. Awaited immediately BEFORE each phone signature request
|
|
43
|
+
* is sent. Resolve when the human is at their phone and ready; reject/throw
|
|
44
|
+
* to abort. The per-signature operation timeout starts only AFTER this
|
|
45
|
+
* resolves. `attempt` >= 2 means a re-sign (principle 4).
|
|
46
|
+
*/
|
|
47
|
+
confirmPhoneReady?: (ctx: {
|
|
48
|
+
label: string;
|
|
49
|
+
attempt: number;
|
|
50
|
+
total: number;
|
|
51
|
+
}) => Promise<void>;
|
|
39
52
|
}
|
|
40
53
|
interface OwnershipResult {
|
|
41
54
|
owned: boolean;
|
|
@@ -416,6 +429,11 @@ declare class DotNS {
|
|
|
416
429
|
private _popSelfServe;
|
|
417
430
|
private _registerStorageDeposit;
|
|
418
431
|
private _onPhoneSigningRequired;
|
|
432
|
+
private _confirmPhoneReady;
|
|
433
|
+
/** Total phone-signature count for this DotNS session (drives the `total` field passed to confirmPhoneReady). */
|
|
434
|
+
private _phoneSignatureTotal;
|
|
435
|
+
/** Running attempt counter per label for re-sign detection. Reset at connect/disconnect. */
|
|
436
|
+
private _phoneSignatureAttempts;
|
|
419
437
|
private _classifyOverrideForTest;
|
|
420
438
|
/** Test-only: inject a fixed classifyAliasAccountState return value for the next call. Consumed once. */
|
|
421
439
|
__setClassifyOverrideForTest(state: AliasAccountState): void;
|
|
@@ -468,10 +486,11 @@ declare class DotNS {
|
|
|
468
486
|
* for read paths that must always return a value.
|
|
469
487
|
*/
|
|
470
488
|
contractCallNullable(contractAddress: string, contractAbi: readonly any[], functionName: string, args?: any[]): Promise<any | null>;
|
|
471
|
-
contractTransaction(contractAddress: string, value: bigint, contractAbi: readonly any[], functionName: string, args?: any[], statusCallback?: (status: string) => void, { useNoncePolling, verifyEffect, feeAsset }?: {
|
|
489
|
+
contractTransaction(contractAddress: string, value: bigint, contractAbi: readonly any[], functionName: string, args?: any[], statusCallback?: (status: string) => void, { useNoncePolling, verifyEffect, feeAsset, phoneLabel }?: {
|
|
472
490
|
useNoncePolling?: boolean;
|
|
473
491
|
verifyEffect?: () => Promise<boolean>;
|
|
474
492
|
feeAsset?: "pgas";
|
|
493
|
+
phoneLabel?: string;
|
|
475
494
|
}): Promise<TxResolution>;
|
|
476
495
|
checkOwnership(label: string, ownerAddress?: string | null): Promise<OwnershipResult>;
|
|
477
496
|
/** Live transfer-fee quote. transferFloor is a pure PopRules view — it
|
|
@@ -598,8 +617,29 @@ declare class DotNS {
|
|
|
598
617
|
* personhood faucet (https://sudo.personhood.dev/personhood-faucet).
|
|
599
618
|
*/
|
|
600
619
|
bootstrap(mnemonic: string): Promise<BootstrapResult>;
|
|
620
|
+
/**
|
|
621
|
+
* Set the expected total number of phone signatures for this DotNS session.
|
|
622
|
+
* Called from deploy() at preflight after computePhoneSigningSteps so that
|
|
623
|
+
* confirmPhoneReady receives the correct `total`.
|
|
624
|
+
*/
|
|
625
|
+
setPhoneSignatureTotal(total: number): void;
|
|
626
|
+
/**
|
|
627
|
+
* Internal: await the human-ready gate then fire the "check your phone"
|
|
628
|
+
* notification. Must be called OUTSIDE any withTimeout — the human wait is
|
|
629
|
+
* unbounded and must never be inside the machine timeout.
|
|
630
|
+
*
|
|
631
|
+
* Behaviour:
|
|
632
|
+
* - confirmPhoneReady provided → await it (counts re-signs via attempt map).
|
|
633
|
+
* - not provided + non-TTY → fail fast (NonRetryableError).
|
|
634
|
+
* - not provided + TTY → no-op (bin must have supplied the hook; if it did
|
|
635
|
+
* not, the caller proceeds without a gate — backward-compat for library
|
|
636
|
+
* consumers that supply neither hook nor TTY check).
|
|
637
|
+
* After the gate resolves, fires onPhoneSigningRequired (the "check your
|
|
638
|
+
* phone" notification) so the user knows the request is now being sent.
|
|
639
|
+
*/
|
|
640
|
+
private _awaitPhoneReady;
|
|
601
641
|
disconnect(): void;
|
|
602
642
|
}
|
|
603
643
|
declare const dotns: DotNS;
|
|
604
644
|
|
|
605
|
-
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 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 };
|
|
645
|
+
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 };
|
package/dist/dotns.js
CHANGED
|
@@ -54,11 +54,11 @@ import {
|
|
|
54
54
|
validateDomainLabel,
|
|
55
55
|
verifyNonceAdvanced,
|
|
56
56
|
weiToNative
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-PDCSBS5T.js";
|
|
58
58
|
import "./chunk-SI2ZUOYD.js";
|
|
59
59
|
import "./chunk-4IUTMHVB.js";
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
60
|
+
import "./chunk-TK4IZ73C.js";
|
|
61
|
+
import "./chunk-AUVTECEP.js";
|
|
62
62
|
import "./chunk-QRKI6MMK.js";
|
|
63
63
|
import "./chunk-ZOC4GITL.js";
|
|
64
64
|
export {
|
package/dist/index.js
CHANGED
|
@@ -4,7 +4,14 @@ import {
|
|
|
4
4
|
} from "./chunk-362JEZKM.js";
|
|
5
5
|
import {
|
|
6
6
|
publishManifest
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-GRRZ4PUX.js";
|
|
8
|
+
import {
|
|
9
|
+
DEFAULT_TEXT_RECORD_BUDGET_BYTES,
|
|
10
|
+
PLACEHOLDER_CID,
|
|
11
|
+
assertWithinBudget,
|
|
12
|
+
getTextRecordBudgetBytes,
|
|
13
|
+
pessimisticSizePreflight
|
|
14
|
+
} from "./chunk-WIMRJK32.js";
|
|
8
15
|
import {
|
|
9
16
|
validateExecutableManifest,
|
|
10
17
|
validateProductConfig,
|
|
@@ -13,19 +20,12 @@ import {
|
|
|
13
20
|
import {
|
|
14
21
|
defineConfig
|
|
15
22
|
} from "./chunk-GZD2UFLR.js";
|
|
16
|
-
import {
|
|
17
|
-
DEFAULT_TEXT_RECORD_BUDGET_BYTES,
|
|
18
|
-
PLACEHOLDER_CID,
|
|
19
|
-
assertWithinBudget,
|
|
20
|
-
getTextRecordBudgetBytes,
|
|
21
|
-
pessimisticSizePreflight
|
|
22
|
-
} from "./chunk-WIMRJK32.js";
|
|
23
23
|
import {
|
|
24
24
|
deploy,
|
|
25
25
|
merkleizeJS,
|
|
26
26
|
merkleizeWithStableOrder
|
|
27
|
-
} from "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
} from "./chunk-A43XBCGD.js";
|
|
28
|
+
import "./chunk-C5RIKMTP.js";
|
|
29
29
|
import "./chunk-GRPLHUYC.js";
|
|
30
30
|
import "./chunk-HOTQDYHD.js";
|
|
31
31
|
import {
|
|
@@ -49,20 +49,24 @@ import {
|
|
|
49
49
|
isVolatilePath,
|
|
50
50
|
parseManifest
|
|
51
51
|
} from "./chunk-S7EM5VMW.js";
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-J63XPPZW.js";
|
|
52
|
+
import "./chunk-LXSTFGUA.js";
|
|
53
|
+
import "./chunk-5LJPUNCB.js";
|
|
55
54
|
import {
|
|
56
55
|
probeChunks
|
|
57
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-GF2QXG66.js";
|
|
58
57
|
import "./chunk-C2TS5MER.js";
|
|
58
|
+
import "./chunk-7OVS6LIV.js";
|
|
59
|
+
import "./chunk-JQKKMUCT.js";
|
|
60
|
+
import "./chunk-5FLTDWWP.js";
|
|
61
|
+
import "./chunk-RIRDBSBG.js";
|
|
62
|
+
import "./chunk-MDLFWWXZ.js";
|
|
59
63
|
import "./chunk-TSPERKUS.js";
|
|
60
64
|
import {
|
|
61
65
|
DEFAULT_MNEMONIC,
|
|
62
66
|
DotNS,
|
|
63
67
|
parseDomainName,
|
|
64
68
|
sanitizeDomainLabel
|
|
65
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-PDCSBS5T.js";
|
|
66
70
|
import "./chunk-SI2ZUOYD.js";
|
|
67
71
|
import {
|
|
68
72
|
bootstrapPool,
|
|
@@ -71,7 +75,7 @@ import {
|
|
|
71
75
|
fetchPoolAuthorizations,
|
|
72
76
|
selectAccount
|
|
73
77
|
} from "./chunk-4IUTMHVB.js";
|
|
74
|
-
import "./chunk-
|
|
78
|
+
import "./chunk-TK4IZ73C.js";
|
|
75
79
|
import {
|
|
76
80
|
VERSION,
|
|
77
81
|
loadRunState,
|
|
@@ -81,7 +85,7 @@ import {
|
|
|
81
85
|
shouldSkipStaleWarning,
|
|
82
86
|
stateFilePath,
|
|
83
87
|
writeRunState
|
|
84
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-AUVTECEP.js";
|
|
85
89
|
import {
|
|
86
90
|
DEFAULT_ENV_ID,
|
|
87
91
|
deepMergeEnvironments,
|
package/dist/manifest/publish.js
CHANGED
|
@@ -1,26 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
publishManifest
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-GRRZ4PUX.js";
|
|
4
4
|
import "../chunk-WIMRJK32.js";
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
5
|
+
import "../chunk-A43XBCGD.js";
|
|
6
|
+
import "../chunk-C5RIKMTP.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-
|
|
16
|
-
import "../chunk-LSZEHAFU.js";
|
|
13
|
+
import "../chunk-LXSTFGUA.js";
|
|
14
|
+
import "../chunk-5LJPUNCB.js";
|
|
15
|
+
import "../chunk-GF2QXG66.js";
|
|
17
16
|
import "../chunk-C2TS5MER.js";
|
|
17
|
+
import "../chunk-7OVS6LIV.js";
|
|
18
|
+
import "../chunk-JQKKMUCT.js";
|
|
19
|
+
import "../chunk-5FLTDWWP.js";
|
|
20
|
+
import "../chunk-RIRDBSBG.js";
|
|
21
|
+
import "../chunk-MDLFWWXZ.js";
|
|
18
22
|
import "../chunk-TSPERKUS.js";
|
|
19
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-PDCSBS5T.js";
|
|
20
24
|
import "../chunk-SI2ZUOYD.js";
|
|
21
25
|
import "../chunk-4IUTMHVB.js";
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-TK4IZ73C.js";
|
|
27
|
+
import "../chunk-AUVTECEP.js";
|
|
24
28
|
import "../chunk-QRKI6MMK.js";
|
|
25
29
|
import "../chunk-ZOC4GITL.js";
|
|
26
30
|
export {
|
package/dist/memory-report.js
CHANGED
package/dist/merkle.js
CHANGED
|
@@ -6,25 +6,29 @@ import {
|
|
|
6
6
|
merkleizeKuboBackend,
|
|
7
7
|
merkleizeWithStableOrder,
|
|
8
8
|
rebuildOrderedCarFromBytes
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-A43XBCGD.js";
|
|
10
|
+
import "./chunk-C5RIKMTP.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-
|
|
20
|
-
import "./chunk-LSZEHAFU.js";
|
|
17
|
+
import "./chunk-LXSTFGUA.js";
|
|
18
|
+
import "./chunk-5LJPUNCB.js";
|
|
19
|
+
import "./chunk-GF2QXG66.js";
|
|
21
20
|
import "./chunk-C2TS5MER.js";
|
|
21
|
+
import "./chunk-7OVS6LIV.js";
|
|
22
|
+
import "./chunk-JQKKMUCT.js";
|
|
23
|
+
import "./chunk-5FLTDWWP.js";
|
|
24
|
+
import "./chunk-RIRDBSBG.js";
|
|
25
|
+
import "./chunk-MDLFWWXZ.js";
|
|
22
26
|
import "./chunk-TSPERKUS.js";
|
|
23
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-PDCSBS5T.js";
|
|
24
28
|
import "./chunk-SI2ZUOYD.js";
|
|
25
29
|
import "./chunk-4IUTMHVB.js";
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-TK4IZ73C.js";
|
|
31
|
+
import "./chunk-AUVTECEP.js";
|
|
28
32
|
import "./chunk-QRKI6MMK.js";
|
|
29
33
|
import "./chunk-ZOC4GITL.js";
|
|
30
34
|
export {
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
runChainPrereqProbes
|
|
3
|
+
} from "../chunk-XAB7WM3S.js";
|
|
1
4
|
import {
|
|
2
5
|
claimPgas
|
|
3
6
|
} from "../chunk-EATOPQFR.js";
|
|
@@ -16,20 +19,17 @@ import {
|
|
|
16
19
|
import {
|
|
17
20
|
bytesToHex
|
|
18
21
|
} from "../chunk-ZYVGHDMU.js";
|
|
19
|
-
import {
|
|
20
|
-
runChainPrereqProbes
|
|
21
|
-
} from "../chunk-XAB7WM3S.js";
|
|
22
22
|
import {
|
|
23
23
|
WS_HEARTBEAT_TIMEOUT_MS
|
|
24
|
-
} from "../chunk-
|
|
24
|
+
} from "../chunk-PDCSBS5T.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-4IUTMHVB.js";
|
|
31
|
-
import "../chunk-
|
|
32
|
-
import "../chunk-
|
|
31
|
+
import "../chunk-TK4IZ73C.js";
|
|
32
|
+
import "../chunk-AUVTECEP.js";
|
|
33
33
|
import {
|
|
34
34
|
loadEnvironments
|
|
35
35
|
} from "../chunk-QRKI6MMK.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WS_HEARTBEAT_TIMEOUT_MS
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-PDCSBS5T.js";
|
|
4
4
|
import "../chunk-SI2ZUOYD.js";
|
|
5
5
|
import "../chunk-4IUTMHVB.js";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-TK4IZ73C.js";
|
|
7
|
+
import "../chunk-AUVTECEP.js";
|
|
8
8
|
import {
|
|
9
9
|
loadEnvironments
|
|
10
10
|
} from "../chunk-QRKI6MMK.js";
|
package/dist/run-state.js
CHANGED
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
preflightSssAllowance,
|
|
5
5
|
sssPeriodEndSec,
|
|
6
6
|
writeSssAllowanceCache
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-C5RIKMTP.js";
|
|
8
8
|
import "./chunk-GRPLHUYC.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-MDLFWWXZ.js";
|
|
10
10
|
import "./chunk-TSPERKUS.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-TK4IZ73C.js";
|
|
12
|
+
import "./chunk-AUVTECEP.js";
|
|
13
13
|
import "./chunk-QRKI6MMK.js";
|
|
14
14
|
import "./chunk-ZOC4GITL.js";
|
|
15
15
|
export {
|
package/dist/storage-signer.js
CHANGED
|
@@ -7,25 +7,29 @@ import {
|
|
|
7
7
|
readBulletinSlotSigner,
|
|
8
8
|
waitForBulletinAuthorization,
|
|
9
9
|
writeBulletinSlotKey
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-A43XBCGD.js";
|
|
11
|
+
import "./chunk-C5RIKMTP.js";
|
|
12
12
|
import "./chunk-GRPLHUYC.js";
|
|
13
13
|
import "./chunk-HOTQDYHD.js";
|
|
14
14
|
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-
|
|
21
|
-
import "./chunk-LSZEHAFU.js";
|
|
18
|
+
import "./chunk-LXSTFGUA.js";
|
|
19
|
+
import "./chunk-5LJPUNCB.js";
|
|
20
|
+
import "./chunk-GF2QXG66.js";
|
|
22
21
|
import "./chunk-C2TS5MER.js";
|
|
22
|
+
import "./chunk-7OVS6LIV.js";
|
|
23
|
+
import "./chunk-JQKKMUCT.js";
|
|
24
|
+
import "./chunk-5FLTDWWP.js";
|
|
25
|
+
import "./chunk-RIRDBSBG.js";
|
|
26
|
+
import "./chunk-MDLFWWXZ.js";
|
|
23
27
|
import "./chunk-TSPERKUS.js";
|
|
24
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-PDCSBS5T.js";
|
|
25
29
|
import "./chunk-SI2ZUOYD.js";
|
|
26
30
|
import "./chunk-4IUTMHVB.js";
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-TK4IZ73C.js";
|
|
32
|
+
import "./chunk-AUVTECEP.js";
|
|
29
33
|
import "./chunk-QRKI6MMK.js";
|
|
30
34
|
import "./chunk-ZOC4GITL.js";
|
|
31
35
|
export {
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// src/suppress-localstorage-warning.ts
|
|
2
|
+
var _origEmitWarning = process.emitWarning.bind(process);
|
|
3
|
+
process.emitWarning = (warning, ...rest) => {
|
|
4
|
+
const msg = (typeof warning === "string" ? warning : warning?.message ?? String(warning)).toLowerCase();
|
|
5
|
+
if (msg.includes("localstorage") || msg.includes("local storage")) return;
|
|
6
|
+
_origEmitWarning(warning, ...rest);
|
|
7
|
+
};
|
package/dist/telemetry.d.ts
CHANGED
|
@@ -27,6 +27,14 @@ type CodePath = typeof CODE_PATHS[keyof typeof CODE_PATHS];
|
|
|
27
27
|
|
|
28
28
|
declare const VERSION: string;
|
|
29
29
|
type SentryModule = typeof _sentry_node | null;
|
|
30
|
+
declare function extractRepoSlug(url: string): string;
|
|
31
|
+
/**
|
|
32
|
+
* Resolve the `owner/name` slug for the package's own GitHub issue tracker.
|
|
33
|
+
* Accepts the raw `repository` field from package.json (string or `{url}` object)
|
|
34
|
+
* and returns a normalized `owner/name` slug. Falls back to the upstream
|
|
35
|
+
* literal if the field is absent or does not resolve to a valid `owner/name` slug.
|
|
36
|
+
*/
|
|
37
|
+
declare function resolveIssueRepoSlug(repository: unknown): string;
|
|
30
38
|
interface InternalContextSignals {
|
|
31
39
|
githubRepository?: string;
|
|
32
40
|
runnerName?: string;
|
|
@@ -111,4 +119,4 @@ declare function markCodePath(id: CodePath): void;
|
|
|
111
119
|
declare function captureWarning(message: string, context?: Record<string, unknown>): void;
|
|
112
120
|
declare function flush(): Promise<void>;
|
|
113
121
|
|
|
114
|
-
export { type DeployErrorCategory, type DeployErrorKind, type InternalContextSignals, VERSION, __setDeployRootSpanForTest, __setSentryForTest, analyseErrorPattern, captureWarning, classifyDeployError, classifyErrorKind, classifySadReason, closeTelemetry, computeDeployOutcome, flush, getCurrentSentryTraceId, getDeployAttributes, initTelemetry, isExpectedError, isInternalContext, isInternalContextFromSignals, isTelemetryDisabled, markCodePath, markRelaunchOomHintShown, resolveRepo, resolveRunner, resolveRunnerType, sampleMemory, sanitizeBranch, sanitizeErrorMessage, sanitizeRepo, scrubPaths, setDeployAttribute, setDeployReportContext, setDeploySentryTag, setRunStateActive, truncateAddress, withDeploySpan, withSpan };
|
|
122
|
+
export { type DeployErrorCategory, type DeployErrorKind, type InternalContextSignals, VERSION, __setDeployRootSpanForTest, __setSentryForTest, analyseErrorPattern, captureWarning, classifyDeployError, classifyErrorKind, classifySadReason, closeTelemetry, computeDeployOutcome, extractRepoSlug, flush, getCurrentSentryTraceId, getDeployAttributes, initTelemetry, isExpectedError, isInternalContext, isInternalContextFromSignals, isTelemetryDisabled, markCodePath, markRelaunchOomHintShown, resolveIssueRepoSlug, resolveRepo, resolveRunner, resolveRunnerType, sampleMemory, sanitizeBranch, sanitizeErrorMessage, sanitizeRepo, scrubPaths, setDeployAttribute, setDeployReportContext, setDeploySentryTag, setRunStateActive, truncateAddress, withDeploySpan, withSpan };
|
package/dist/telemetry.js
CHANGED
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
classifySadReason,
|
|
10
10
|
closeTelemetry,
|
|
11
11
|
computeDeployOutcome,
|
|
12
|
+
extractRepoSlug,
|
|
12
13
|
flush,
|
|
13
14
|
getCurrentSentryTraceId,
|
|
14
15
|
getDeployAttributes,
|
|
@@ -19,6 +20,7 @@ import {
|
|
|
19
20
|
isTelemetryDisabled,
|
|
20
21
|
markCodePath,
|
|
21
22
|
markRelaunchOomHintShown,
|
|
23
|
+
resolveIssueRepoSlug,
|
|
22
24
|
resolveRepo,
|
|
23
25
|
resolveRunner,
|
|
24
26
|
resolveRunnerType,
|
|
@@ -34,8 +36,8 @@ import {
|
|
|
34
36
|
truncateAddress,
|
|
35
37
|
withDeploySpan,
|
|
36
38
|
withSpan
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
+
} from "./chunk-TK4IZ73C.js";
|
|
40
|
+
import "./chunk-AUVTECEP.js";
|
|
39
41
|
export {
|
|
40
42
|
VERSION,
|
|
41
43
|
__setDeployRootSpanForTest,
|
|
@@ -47,6 +49,7 @@ export {
|
|
|
47
49
|
classifySadReason,
|
|
48
50
|
closeTelemetry,
|
|
49
51
|
computeDeployOutcome,
|
|
52
|
+
extractRepoSlug,
|
|
50
53
|
flush,
|
|
51
54
|
getCurrentSentryTraceId,
|
|
52
55
|
getDeployAttributes,
|
|
@@ -57,6 +60,7 @@ export {
|
|
|
57
60
|
isTelemetryDisabled,
|
|
58
61
|
markCodePath,
|
|
59
62
|
markRelaunchOomHintShown,
|
|
63
|
+
resolveIssueRepoSlug,
|
|
60
64
|
resolveRepo,
|
|
61
65
|
resolveRunner,
|
|
62
66
|
resolveRunnerType,
|
package/dist/version-check.js
CHANGED
|
@@ -11,9 +11,9 @@ import {
|
|
|
11
11
|
isPreReleaseVersion,
|
|
12
12
|
preReleaseWarning,
|
|
13
13
|
promptYesNo
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-5LJPUNCB.js";
|
|
15
|
+
import "./chunk-TK4IZ73C.js";
|
|
16
|
+
import "./chunk-AUVTECEP.js";
|
|
17
17
|
export {
|
|
18
18
|
assessVersion,
|
|
19
19
|
checkNodeVersion,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@parity/product-deploy",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0-rc.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"tools/release-retry-wrapper.mjs"
|
|
46
46
|
],
|
|
47
47
|
"scripts": {
|
|
48
|
-
"build": "tsup src/index.ts src/deploy.ts src/dotns.ts src/pool.ts src/telemetry.ts src/memory-report.ts src/merkle.ts src/gh-pages-mirror.ts src/version-check.ts src/bug-report.ts src/run-state.ts src/environments.ts src/errors.ts src/manifest.ts src/chunk-probe.ts src/manifest-embed.ts src/manifest-fetch.ts src/manifest-roundtrip.ts src/incremental-stats.ts src/chunker.ts src/personhood/encoding.ts src/personhood/hashing.ts src/personhood/constants.ts src/personhood/member-key.ts src/personhood/people-client.ts src/personhood/proof-validity.ts src/personhood/reprove.ts src/personhood/bind-personal-id.ts src/personhood/claim-pgas.ts src/personhood/bind-paid-alias.ts src/personhood/bootstrap.ts src/personhood/chain-prereqs.ts src/manifest/types.ts src/manifest/schema.ts src/manifest/byte-budget.ts src/manifest/config-load.ts src/manifest/publish.ts src/auth/index.ts src/auth/vendor/index.ts src/auth/vendor/ui/index.ts src/auth-config.ts src/commands/login.ts src/commands/logout.ts src/commands/whoami.ts src/commands/transfer.ts src/storage-signer.ts src/spinner.ts src/sss-allowance.ts src/sss-allowance-cache.ts src/deploy-actors.ts --format esm --dts --clean --target node22",
|
|
48
|
+
"build": "tsup src/suppress-localstorage-warning.ts src/index.ts src/deploy.ts src/dotns.ts src/pool.ts src/telemetry.ts src/memory-report.ts src/merkle.ts src/gh-pages-mirror.ts src/version-check.ts src/bug-report.ts src/run-state.ts src/environments.ts src/errors.ts src/manifest.ts src/chunk-probe.ts src/manifest-embed.ts src/manifest-fetch.ts src/manifest-roundtrip.ts src/incremental-stats.ts src/chunker.ts src/personhood/encoding.ts src/personhood/hashing.ts src/personhood/constants.ts src/personhood/member-key.ts src/personhood/people-client.ts src/personhood/proof-validity.ts src/personhood/reprove.ts src/personhood/bind-personal-id.ts src/personhood/claim-pgas.ts src/personhood/bind-paid-alias.ts src/personhood/bootstrap.ts src/personhood/chain-prereqs.ts src/manifest/types.ts src/manifest/schema.ts src/manifest/byte-budget.ts src/manifest/config-load.ts src/manifest/publish.ts src/auth/index.ts src/auth/vendor/index.ts src/auth/vendor/ui/index.ts src/auth-config.ts src/commands/login.ts src/commands/logout.ts src/commands/whoami.ts src/commands/transfer.ts src/storage-signer.ts src/spinner.ts src/sss-allowance.ts src/sss-allowance-cache.ts src/deploy-actors.ts --format esm --dts --clean --target node22",
|
|
49
49
|
"refresh-environments": "node scripts/refresh-environments.mjs",
|
|
50
50
|
"postinstall": "patch-package || true",
|
|
51
51
|
"prepare": "npm run build",
|
|
@@ -62,9 +62,9 @@
|
|
|
62
62
|
"@ipld/dag-pb": "^4.1.3",
|
|
63
63
|
"@noble/hashes": "^1.7.2",
|
|
64
64
|
"@parity/product-sdk-address": "^0.1.1",
|
|
65
|
-
"@parity/product-sdk-keys": "^0.3.
|
|
66
|
-
"@parity/product-sdk-terminal": "^0.
|
|
67
|
-
"@parity/product-sdk-tx": "^0.2.
|
|
65
|
+
"@parity/product-sdk-keys": "^0.3.8",
|
|
66
|
+
"@parity/product-sdk-terminal": "^0.5.1",
|
|
67
|
+
"@parity/product-sdk-tx": "^0.2.12",
|
|
68
68
|
"@polkadot-api/metadata-builders": "^0.14.2",
|
|
69
69
|
"@polkadot-api/substrate-bindings": "^0.20.2",
|
|
70
70
|
"@polkadot-labs/hdkd": "^0.0.28",
|
|
@@ -90,12 +90,7 @@
|
|
|
90
90
|
"vitest": "^4.1.0"
|
|
91
91
|
},
|
|
92
92
|
"overrides": {
|
|
93
|
-
"@polkadot-api/json-rpc-provider": "^0.2.0"
|
|
94
|
-
"@novasamatech/host-api": "0.8.6",
|
|
95
|
-
"@novasamatech/host-papp": "0.8.6",
|
|
96
|
-
"@novasamatech/scale": "0.8.6",
|
|
97
|
-
"@novasamatech/statement-store": "0.8.6",
|
|
98
|
-
"@novasamatech/storage-adapter": "0.8.6"
|
|
93
|
+
"@polkadot-api/json-rpc-provider": "^0.2.0"
|
|
99
94
|
},
|
|
100
95
|
"minimumVersion": "0.5.6",
|
|
101
96
|
"engines": {
|