bulletin-deploy 0.17.1 → 0.18.0
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/README.md +5 -6
- package/assets/environments.json +0 -3
- package/dist/auth-config.js +4 -4
- package/dist/bug-report.js +4 -4
- package/dist/chain-health.js +3 -3
- package/dist/{chunk-S7OW6CYF.js → chunk-3CES4RZG.js} +1 -1
- package/dist/{chunk-YVHS6WA3.js → chunk-3TDAKT7Y.js} +2 -2
- package/dist/{chunk-VRHVH6RM.js → chunk-6BIAW73W.js} +1 -1
- package/dist/{chunk-JB4OIM7X.js → chunk-6LR7OM7F.js} +13 -13
- package/dist/{chunk-6GLMR2T2.js → chunk-6WLVGBLQ.js} +2 -2
- package/dist/{chunk-X4IXDGEY.js → chunk-7I3MTGOR.js} +43 -15
- package/dist/{chunk-JQZDP2TS.js → chunk-A7GZZQ3Q.js} +2 -2
- package/dist/{chunk-63EPGOEW.js → chunk-F4OW5UVA.js} +1 -1
- package/dist/{chunk-6ZOTJHVI.js → chunk-HDGD5FYX.js} +0 -3
- package/dist/{chunk-T6HNSBZD.js → chunk-LZ7HCV4C.js} +1 -1
- package/dist/{chunk-5P2IARIJ.js → chunk-RSAEMNX4.js} +80 -37
- package/dist/{chunk-AVK74F4Y.js → chunk-TIQ3TCK4.js} +4 -4
- package/dist/{chunk-6FNOSDZU.js → chunk-UY2DR5V4.js} +3 -3
- package/dist/{chunk-SCLX3WSE.js → chunk-WYJX7OFF.js} +1 -1
- package/dist/chunk-probe.js +3 -3
- package/dist/commands/login.js +13 -13
- package/dist/commands/logout.js +5 -5
- package/dist/commands/transfer.js +6 -6
- package/dist/commands/whoami.js +4 -4
- package/dist/deploy-actors.js +8 -8
- package/dist/deploy.d.ts +2 -2
- package/dist/deploy.js +13 -13
- package/dist/dotns-protocol.d.ts +69 -4
- package/dist/dotns-protocol.js +5 -1
- package/dist/dotns.d.ts +18 -4
- package/dist/dotns.js +8 -6
- package/dist/environments.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +14 -14
- package/dist/manifest/publish.js +14 -14
- package/dist/memory-report.js +2 -2
- package/dist/merkle.js +13 -13
- package/dist/personhood/bootstrap.js +6 -6
- package/dist/personhood/people-client.js +6 -6
- package/dist/run-state.js +1 -1
- package/dist/sss-allowance-cache.js +5 -5
- package/dist/storage-signer.js +13 -13
- package/dist/telemetry.js +2 -2
- package/dist/version-check.js +3 -3
- package/package.json +2 -2
package/dist/dotns-protocol.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
type DotnsAbiProfile = "poprules-startingPrice" | "v0.5.8-rc1";
|
|
1
|
+
type DotnsAbiProfile = "poprules-startingPrice" | "v0.5.8-rc1" | "v0.6.0";
|
|
2
2
|
/** One DotNS ABI profile's provenance: the upstream artifact it corresponds to, and how the live probe recognises it. */
|
|
3
3
|
interface DotnsAbiProfileInfo {
|
|
4
4
|
/**
|
|
@@ -11,7 +11,14 @@ interface DotnsAbiProfileInfo {
|
|
|
11
11
|
introducedAt: string | null;
|
|
12
12
|
/** The `dotns-abis-<tag>.zip` release asset this profile's ABI shape matches, or `null` when unknown. */
|
|
13
13
|
abiPackage: string | null;
|
|
14
|
-
/**
|
|
14
|
+
/**
|
|
15
|
+
* The view function whose presence (probed live, never read from the
|
|
16
|
+
* chain as a version) identifies this profile. For the first two
|
|
17
|
+
* profiles this is a PopRules function; v0.6.0's discriminator
|
|
18
|
+
* (isPopIssued) lives on DotnsPopController instead, because v0.6.0 is
|
|
19
|
+
* signature-identical to v0.5.8-rc1 on every PopRules function — see the
|
|
20
|
+
* module doc comment above for why that forced a different contract.
|
|
21
|
+
*/
|
|
15
22
|
discriminator: string;
|
|
16
23
|
}
|
|
17
24
|
declare const DOTNS_ABI_PROFILES: Record<DotnsAbiProfile, DotnsAbiProfileInfo>;
|
|
@@ -32,6 +39,29 @@ interface DotnsProtocolProbe {
|
|
|
32
39
|
pricingVersionOk: boolean;
|
|
33
40
|
/** Whether a dry-run call to PopRules.startingPrice() completed without reverting. */
|
|
34
41
|
startingPriceOk: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Whether a dry-run call to DotnsPopController.isPopIssued(<label>)
|
|
44
|
+
* completed without reverting — the v0.6.0-vs-v0.5.8-rc1 discriminator
|
|
45
|
+
* (pricingVersion answers on BOTH, so it cannot tell them apart on its
|
|
46
|
+
* own). Three-valued:
|
|
47
|
+
* - `true` — the function answered: this IS v0.6.0.
|
|
48
|
+
* - `false` — the function reverted (or no data came back): the same
|
|
49
|
+
* "a probe not answering means this generation lacks it" posture
|
|
50
|
+
* already used for pricingVersion/startingPrice above.
|
|
51
|
+
* - `null`/`undefined` — the probe was never attempted, typically
|
|
52
|
+
* because DOTNS_POP_CONTROLLER has no configured address for this
|
|
53
|
+
* environment (the `custom` env, or a --contract override that
|
|
54
|
+
* supplies only POP_RULES). Falls back to v0.5.8-rc1 rather than
|
|
55
|
+
* erroring: v0.5.8-rc1 and v0.6.0 share an IDENTICAL registration
|
|
56
|
+
* tuple/ABI adapter (see the module doc comment), so this field only
|
|
57
|
+
* ever changes classifyLabelStatus's LOCAL advisory label semantics,
|
|
58
|
+
* never the on-chain transaction shape — misclassifying that is a
|
|
59
|
+
* preflight-message inaccuracy, not a broken deploy. Optional so
|
|
60
|
+
* every existing caller/test built before this field existed (which
|
|
61
|
+
* never needed to disambiguate v0.6.0) keeps compiling and keeps its
|
|
62
|
+
* exact old verdict.
|
|
63
|
+
*/
|
|
64
|
+
isPopIssuedOk?: boolean | null;
|
|
35
65
|
}
|
|
36
66
|
type DotnsProtocolClassification = {
|
|
37
67
|
profile: DotnsAbiProfile;
|
|
@@ -76,7 +106,12 @@ type DotnsProtocolClassification = {
|
|
|
76
106
|
* - Both probes answering (a hypothetical future overlap) prefers
|
|
77
107
|
* v0.5.8-rc1 — it is the superset generation, and preferring the newer one
|
|
78
108
|
* avoids stranding a fully-upgraded deployment on the old ABI just because
|
|
79
|
-
* the old function selector happens to still resolve.
|
|
109
|
+
* the old function selector happens to still resolve. (When
|
|
110
|
+
* `isPopIssuedOk` also answers `true`, v0.6.0 wins instead — see below.)
|
|
111
|
+
* - When `pricingVersionOk` is true, `isPopIssuedOk` decides v0.6.0 vs
|
|
112
|
+
* v0.5.8-rc1: `true` → v0.6.0, anything else (`false`/`null`/`undefined`)
|
|
113
|
+
* → v0.5.8-rc1. See `DotnsProtocolProbe.isPopIssuedOk`'s own doc comment
|
|
114
|
+
* for why the fallback case is safe (identical adapter either way).
|
|
80
115
|
*/
|
|
81
116
|
declare function classifyProtocolVersion(probe: DotnsProtocolProbe): DotnsProtocolClassification;
|
|
82
117
|
/** The 4 fields every registration carries, regardless of ABI profile. */
|
|
@@ -370,6 +405,36 @@ declare const V0_5_8_RC1_POP_RULES_ABI: readonly [{
|
|
|
370
405
|
readonly stateMutability: "view";
|
|
371
406
|
readonly type: "function";
|
|
372
407
|
}];
|
|
408
|
+
/**
|
|
409
|
+
* DotnsPopController.isPopIssued(label) — new in v0.6.0, absent from every
|
|
410
|
+
* earlier generation (confirmed against the release ABI zips). This is the
|
|
411
|
+
* v0.6.0-vs-v0.5.8-rc1 discriminator: a dry-run call answering (not
|
|
412
|
+
* reverting) is itself positive proof of the new function's presence. Lives
|
|
413
|
+
* on a DIFFERENT contract (DOTNS_POP_CONTROLLER) than every other ABI in
|
|
414
|
+
* this file, which is why it isn't part of either DotnsProtocolAdapter's
|
|
415
|
+
* `popRulesAbi` — it's detection-only, never called again once the profile
|
|
416
|
+
* is known.
|
|
417
|
+
*/
|
|
418
|
+
declare const POP_CONTROLLER_PROBE_ABI: readonly [{
|
|
419
|
+
readonly inputs: readonly [{
|
|
420
|
+
readonly name: "label";
|
|
421
|
+
readonly type: "string";
|
|
422
|
+
}];
|
|
423
|
+
readonly name: "isPopIssued";
|
|
424
|
+
readonly outputs: readonly [{
|
|
425
|
+
readonly name: "issued";
|
|
426
|
+
readonly type: "bool";
|
|
427
|
+
}];
|
|
428
|
+
readonly stateMutability: "view";
|
|
429
|
+
readonly type: "function";
|
|
430
|
+
}];
|
|
431
|
+
/**
|
|
432
|
+
* Well-formed, arbitrary label used only to probe isPopIssued's presence —
|
|
433
|
+
* never registered, never sent in a real transaction. Plain lowercase
|
|
434
|
+
* letters, no digits, no separator, so it can't trip any label-shape
|
|
435
|
+
* validation the real contract might apply before the mapping lookup runs.
|
|
436
|
+
*/
|
|
437
|
+
declare const PROTOCOL_PROBE_LABEL = "probelabel";
|
|
373
438
|
/**
|
|
374
439
|
* The +10% payment buffer shared by finalizeRegistration's payment, the
|
|
375
440
|
* v0.5.8-rc1 committed `maxPrice`, and bufferedWeiToNative's wei→native
|
|
@@ -380,4 +445,4 @@ declare const V0_5_8_RC1_POP_RULES_ABI: readonly [{
|
|
|
380
445
|
declare function withTenPercentBuffer(priceWei: bigint): bigint;
|
|
381
446
|
declare function getAdapter(profile: DotnsAbiProfile): DotnsProtocolAdapter;
|
|
382
447
|
|
|
383
|
-
export { DOTNS_ABI_PROFILES, type DotnsAbiProfile, type DotnsAbiProfileInfo, type DotnsDepositCall, type DotnsPricingInput, type DotnsProtocolAdapter, type DotnsProtocolClassification, type DotnsProtocolProbe, type DotnsRegistrationBase, OLD_CONTROLLER_ABI, OLD_POP_RULES_ABI, V0_5_8_RC1_CONTROLLER_ABI, V0_5_8_RC1_POP_RULES_ABI, classifyProtocolVersion, getAdapter, withTenPercentBuffer };
|
|
448
|
+
export { DOTNS_ABI_PROFILES, type DotnsAbiProfile, type DotnsAbiProfileInfo, type DotnsDepositCall, type DotnsPricingInput, type DotnsProtocolAdapter, type DotnsProtocolClassification, type DotnsProtocolProbe, type DotnsRegistrationBase, OLD_CONTROLLER_ABI, OLD_POP_RULES_ABI, POP_CONTROLLER_PROBE_ABI, PROTOCOL_PROBE_LABEL, V0_5_8_RC1_CONTROLLER_ABI, V0_5_8_RC1_POP_RULES_ABI, classifyProtocolVersion, getAdapter, withTenPercentBuffer };
|
package/dist/dotns-protocol.js
CHANGED
|
@@ -2,16 +2,20 @@ import {
|
|
|
2
2
|
DOTNS_ABI_PROFILES,
|
|
3
3
|
OLD_CONTROLLER_ABI,
|
|
4
4
|
OLD_POP_RULES_ABI,
|
|
5
|
+
POP_CONTROLLER_PROBE_ABI,
|
|
6
|
+
PROTOCOL_PROBE_LABEL,
|
|
5
7
|
V0_5_8_RC1_CONTROLLER_ABI,
|
|
6
8
|
V0_5_8_RC1_POP_RULES_ABI,
|
|
7
9
|
classifyProtocolVersion,
|
|
8
10
|
getAdapter,
|
|
9
11
|
withTenPercentBuffer
|
|
10
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-7I3MTGOR.js";
|
|
11
13
|
export {
|
|
12
14
|
DOTNS_ABI_PROFILES,
|
|
13
15
|
OLD_CONTROLLER_ABI,
|
|
14
16
|
OLD_POP_RULES_ABI,
|
|
17
|
+
POP_CONTROLLER_PROBE_ABI,
|
|
18
|
+
PROTOCOL_PROBE_LABEL,
|
|
15
19
|
V0_5_8_RC1_CONTROLLER_ABI,
|
|
16
20
|
V0_5_8_RC1_POP_RULES_ABI,
|
|
17
21
|
classifyProtocolVersion,
|
package/dist/dotns.d.ts
CHANGED
|
@@ -330,6 +330,7 @@ declare function makeRetryStatusFilter(sink: (status: string) => void): {
|
|
|
330
330
|
};
|
|
331
331
|
declare const DEFAULT_MNEMONIC: string;
|
|
332
332
|
declare const DEFAULT_TLD: string;
|
|
333
|
+
declare const DEFAULT_DOTNS_PROFILE: DotnsAbiProfile;
|
|
333
334
|
declare const KNOWN_TLDS: readonly string[];
|
|
334
335
|
/**
|
|
335
336
|
* Outcome of a DotnsProtocolRegistry dry-run read. `ok: false` means the dry
|
|
@@ -448,7 +449,7 @@ interface DomainLabelAlternative {
|
|
|
448
449
|
status: number;
|
|
449
450
|
tierDescription: string;
|
|
450
451
|
}
|
|
451
|
-
declare function buildLabelAlternatives(label: string): DomainLabelAlternative[];
|
|
452
|
+
declare function buildLabelAlternatives(label: string, profile?: DotnsAbiProfile): DomainLabelAlternative[];
|
|
452
453
|
type Registrability = {
|
|
453
454
|
registrable: true;
|
|
454
455
|
} | {
|
|
@@ -456,7 +457,7 @@ type Registrability = {
|
|
|
456
457
|
rule: "reserved-base" | "trailing-digits" | "hyphen-base";
|
|
457
458
|
message: string;
|
|
458
459
|
};
|
|
459
|
-
declare function classifyRegistrability(label: string): Registrability;
|
|
460
|
+
declare function classifyRegistrability(label: string, profile?: DotnsAbiProfile): Registrability;
|
|
460
461
|
declare function formatUnregistrableReason(args: {
|
|
461
462
|
label: string;
|
|
462
463
|
registrability: Extract<Registrability, {
|
|
@@ -465,6 +466,7 @@ declare function formatUnregistrableReason(args: {
|
|
|
465
466
|
existingOwner: string | null;
|
|
466
467
|
selfAddress: string;
|
|
467
468
|
tld?: string;
|
|
469
|
+
profile?: DotnsAbiProfile;
|
|
468
470
|
}): string;
|
|
469
471
|
declare function decideRegistrabilityOutcome(args: {
|
|
470
472
|
label: string;
|
|
@@ -472,6 +474,7 @@ declare function decideRegistrabilityOutcome(args: {
|
|
|
472
474
|
existingOwner: string | null;
|
|
473
475
|
selfAddress: string;
|
|
474
476
|
tld?: string;
|
|
477
|
+
profile?: DotnsAbiProfile;
|
|
475
478
|
}): {
|
|
476
479
|
canProceed: boolean;
|
|
477
480
|
plannedAction: "already-owned-by-us" | "register" | "abort";
|
|
@@ -480,7 +483,7 @@ declare function decideRegistrabilityOutcome(args: {
|
|
|
480
483
|
declare function validateDomainLabel(label: string): string;
|
|
481
484
|
declare function isCommitmentMature(chainNowSeconds: number, commitTimestampSeconds: number, minimumAgeSeconds: number): boolean;
|
|
482
485
|
declare function isCommitmentTimingBarerevert(msg: string): boolean;
|
|
483
|
-
declare function classifyDotnsLabel(label: string, tld?: string): {
|
|
486
|
+
declare function classifyDotnsLabel(label: string, tld?: string, profile?: DotnsAbiProfile): {
|
|
484
487
|
status: number;
|
|
485
488
|
message: string;
|
|
486
489
|
};
|
|
@@ -806,6 +809,17 @@ declare class DotNS {
|
|
|
806
809
|
* proof the contract is there regardless of what hasContractCode says — so
|
|
807
810
|
* all three run in one Promise.all rather than gating the probes behind
|
|
808
811
|
* hasContractCode resolving first.
|
|
812
|
+
*
|
|
813
|
+
* A fourth probe (isPopIssued, against DOTNS_POP_CONTROLLER — see
|
|
814
|
+
* DotnsProtocolProbe.isPopIssuedOk's own comment) runs in the SAME
|
|
815
|
+
* Promise.all, not after: it's the only thing that tells v0.6.0 apart from
|
|
816
|
+
* v0.5.8-rc1 (pricingVersion answers on both), and classifyProtocolVersion
|
|
817
|
+
* already only consults it when pricingVersionOk is true, so gating it
|
|
818
|
+
* behind that result resolving first would just add a serialized
|
|
819
|
+
* round-trip for no benefit — worse once v0.6.0 is live everywhere (#1410),
|
|
820
|
+
* since that "no benefit" case becomes the common one. Resolves to `null`
|
|
821
|
+
* immediately (no RPC at all) when DOTNS_POP_CONTROLLER has no configured
|
|
822
|
+
* address.
|
|
809
823
|
*/
|
|
810
824
|
private detectProtocolVersion;
|
|
811
825
|
contractCall(contractAddress: string, contractAbi: readonly any[], functionName: string, args?: any[]): Promise<any>;
|
|
@@ -1006,4 +1020,4 @@ declare class DotNS {
|
|
|
1006
1020
|
}
|
|
1007
1021
|
declare const dotns: DotNS;
|
|
1008
1022
|
|
|
1009
|
-
export { ATTR_TX_RESOLUTION_KIND, type AliasAccountClassification, type AliasAccountState, CONNECTION_TIMEOUT_MS, CONTENTHASH_VERIFY_ATTEMPTS, CONTRACTS, ContractDryRunRevertError, DECIMALS, DEFAULT_MNEMONIC, DEFAULT_TLD, DOTNS_BEST_BLOCK_GRACE_MS, DOTNS_NONCE_CONTENTION_MAX_ATTEMPTS, DOTNS_TX_MAX_ATTEMPTS, type DomainLabelAlternative, DotNS, type DotNSConnectOptions, type DotnsPreflightResult, type DotnsSuccessAction, KNOWN_TLDS, MINIMUM_REGISTER_STORAGE_DEPOSIT, NATIVE_TO_ETH_RATIO, NONCE_ADVANCE_VERIFY_RETRIES, NONCE_ADVANCE_VERIFY_RETRY_INTERVAL_MS, OPERATION_TIMEOUT_MS, type OwnershipResult, PHONE_APPROVAL_MS, PHONE_SILENCE_MAX_REARMS, type ParsedDomainName, type PhoneSignatureStep, PhoneSilenceNonRetryableError, type PriceValidationResult, ProofOfPersonhoodStatus, REVIVE_ADDRESS_ATTEMPTS, RPC_ENDPOINTS, type Registrability, type RegistryDryRunResult, ReviveClientWrapper, TX_CHAIN_TIME_BUDGET_MS, TX_KIND_BEST_BLOCK, TX_KIND_HASH, TX_KIND_NONCE_ADVANCED, TX_KIND_SKIPPED, TX_NO_PROGRESS_MS, TX_TIMEOUT_MS, TX_WALL_CLOCK_CEILING_MS, type TxResolution, VERIFY_EFFECT_CHAIN_SECONDS, WS_HEARTBEAT_TIMEOUT_MS, WatcherSilentNoEventError, __formatContractDryRunFailureForTest, assertNotZeroRecipient, bufferedWeiToNative, buildLabelAlternatives, canRegister, checkTldNodeConsistency, classifyAliasAccountRow, classifyDotnsLabel, classifyRegistrability, classifyTxRetryDecision, classifyWatcherSilentFastFail, computeDomainNode, computeDomainTokenId, computeSubnodeIds, convertToHexString, convertWeiToNative, countTrailingDigits, decideRegistrabilityOutcome, dotns, dotnsRetryBackoffMs, feeFloorFor, fetchNonce, fmtPas, formatDispatchError, formatPersonhoodRemediation, formatPopShortfallReason, formatUnregistrableReason, isCommitmentMature, isCommitmentTimingBarerevert, isNonceContentionAmbiguous, makeRetryStatusFilter, nonceContentionBackoffMs, normalizeOnChainTld, parseDomainName, parseProofOfPersonhoodStatus, pickVerifyEndpoint, popStatusName, reacquireNonceOnContention, registerDepositWei, resolveTldFromRegistryResult, sanitizeDomainLabel, shouldRegateBeforeResign, shouldRetryTxAttempt, shouldSkipTextWrite, stripTldSuffix, stripTrailingDigits, validateDomainLabel, verifyEffectWithGrace, verifyNonceAdvanced, weiToNative, withRetry };
|
|
1023
|
+
export { ATTR_TX_RESOLUTION_KIND, type AliasAccountClassification, type AliasAccountState, CONNECTION_TIMEOUT_MS, CONTENTHASH_VERIFY_ATTEMPTS, CONTRACTS, ContractDryRunRevertError, DECIMALS, DEFAULT_DOTNS_PROFILE, DEFAULT_MNEMONIC, DEFAULT_TLD, DOTNS_BEST_BLOCK_GRACE_MS, DOTNS_NONCE_CONTENTION_MAX_ATTEMPTS, DOTNS_TX_MAX_ATTEMPTS, type DomainLabelAlternative, DotNS, type DotNSConnectOptions, type DotnsPreflightResult, type DotnsSuccessAction, KNOWN_TLDS, MINIMUM_REGISTER_STORAGE_DEPOSIT, NATIVE_TO_ETH_RATIO, NONCE_ADVANCE_VERIFY_RETRIES, NONCE_ADVANCE_VERIFY_RETRY_INTERVAL_MS, OPERATION_TIMEOUT_MS, type OwnershipResult, PHONE_APPROVAL_MS, PHONE_SILENCE_MAX_REARMS, type ParsedDomainName, type PhoneSignatureStep, PhoneSilenceNonRetryableError, type PriceValidationResult, ProofOfPersonhoodStatus, REVIVE_ADDRESS_ATTEMPTS, RPC_ENDPOINTS, type Registrability, type RegistryDryRunResult, ReviveClientWrapper, TX_CHAIN_TIME_BUDGET_MS, TX_KIND_BEST_BLOCK, TX_KIND_HASH, TX_KIND_NONCE_ADVANCED, TX_KIND_SKIPPED, TX_NO_PROGRESS_MS, TX_TIMEOUT_MS, TX_WALL_CLOCK_CEILING_MS, type TxResolution, VERIFY_EFFECT_CHAIN_SECONDS, WS_HEARTBEAT_TIMEOUT_MS, WatcherSilentNoEventError, __formatContractDryRunFailureForTest, assertNotZeroRecipient, bufferedWeiToNative, buildLabelAlternatives, canRegister, checkTldNodeConsistency, classifyAliasAccountRow, classifyDotnsLabel, classifyRegistrability, classifyTxRetryDecision, classifyWatcherSilentFastFail, computeDomainNode, computeDomainTokenId, computeSubnodeIds, convertToHexString, convertWeiToNative, countTrailingDigits, decideRegistrabilityOutcome, dotns, dotnsRetryBackoffMs, feeFloorFor, fetchNonce, fmtPas, formatDispatchError, formatPersonhoodRemediation, formatPopShortfallReason, formatUnregistrableReason, isCommitmentMature, isCommitmentTimingBarerevert, isNonceContentionAmbiguous, makeRetryStatusFilter, nonceContentionBackoffMs, normalizeOnChainTld, parseDomainName, parseProofOfPersonhoodStatus, pickVerifyEndpoint, popStatusName, reacquireNonceOnContention, registerDepositWei, resolveTldFromRegistryResult, sanitizeDomainLabel, shouldRegateBeforeResign, shouldRetryTxAttempt, shouldSkipTextWrite, stripTldSuffix, stripTrailingDigits, validateDomainLabel, verifyEffectWithGrace, verifyNonceAdvanced, weiToNative, withRetry };
|
package/dist/dotns.js
CHANGED
|
@@ -5,6 +5,7 @@ import {
|
|
|
5
5
|
CONTRACTS,
|
|
6
6
|
ContractDryRunRevertError,
|
|
7
7
|
DECIMALS,
|
|
8
|
+
DEFAULT_DOTNS_PROFILE,
|
|
8
9
|
DEFAULT_MNEMONIC,
|
|
9
10
|
DEFAULT_TLD,
|
|
10
11
|
DOTNS_BEST_BLOCK_GRACE_MS,
|
|
@@ -86,15 +87,15 @@ import {
|
|
|
86
87
|
verifyNonceAdvanced,
|
|
87
88
|
weiToNative,
|
|
88
89
|
withRetry
|
|
89
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-RSAEMNX4.js";
|
|
90
91
|
import "./chunk-SI2ZUOYD.js";
|
|
91
92
|
import "./chunk-AYAVRPAP.js";
|
|
92
|
-
import "./chunk-
|
|
93
|
+
import "./chunk-HDGD5FYX.js";
|
|
93
94
|
import "./chunk-ZOC4GITL.js";
|
|
94
|
-
import "./chunk-
|
|
95
|
-
import "./chunk-
|
|
96
|
-
import "./chunk-
|
|
97
|
-
import "./chunk-
|
|
95
|
+
import "./chunk-LZ7HCV4C.js";
|
|
96
|
+
import "./chunk-3CES4RZG.js";
|
|
97
|
+
import "./chunk-3TDAKT7Y.js";
|
|
98
|
+
import "./chunk-7I3MTGOR.js";
|
|
98
99
|
export {
|
|
99
100
|
ATTR_TX_RESOLUTION_KIND,
|
|
100
101
|
CONNECTION_TIMEOUT_MS,
|
|
@@ -102,6 +103,7 @@ export {
|
|
|
102
103
|
CONTRACTS,
|
|
103
104
|
ContractDryRunRevertError,
|
|
104
105
|
DECIMALS,
|
|
106
|
+
DEFAULT_DOTNS_PROFILE,
|
|
105
107
|
DEFAULT_MNEMONIC,
|
|
106
108
|
DEFAULT_TLD,
|
|
107
109
|
DOTNS_BEST_BLOCK_GRACE_MS,
|
package/dist/environments.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export { formatConfigLoadError, loadProductConfig, tryLoadProductConfig } from '
|
|
|
18
18
|
export { PublishManifestOptions, PublishManifestResult, publishManifest } from './manifest/publish.js';
|
|
19
19
|
import 'polkadot-api/ws';
|
|
20
20
|
import 'multiformats/cid';
|
|
21
|
+
import './dotns-protocol.js';
|
|
21
22
|
import 'polkadot-api';
|
|
22
23
|
import './errors.js';
|
|
23
24
|
import './personhood/bootstrap.js';
|
|
@@ -25,7 +26,6 @@ import './personhood/bind-personal-id.js';
|
|
|
25
26
|
import './personhood/claim-pgas.js';
|
|
26
27
|
import './personhood/bind-paid-alias.js';
|
|
27
28
|
import './personhood/chain-prereqs.js';
|
|
28
|
-
import './dotns-protocol.js';
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
31
|
* Frontloaded product-manifest preflight.
|
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
publishManifest,
|
|
5
5
|
verifyEmbeddedAppManifests,
|
|
6
6
|
writeEmbeddedAppManifests
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-TIQ3TCK4.js";
|
|
8
8
|
import {
|
|
9
9
|
DEFAULT_TEXT_RECORD_BUDGET_BYTES,
|
|
10
10
|
PLACEHOLDER_CID,
|
|
@@ -29,9 +29,9 @@ import {
|
|
|
29
29
|
deploy,
|
|
30
30
|
merkleizeJS,
|
|
31
31
|
merkleizeWithStableOrder
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-6LR7OM7F.js";
|
|
33
33
|
import "./chunk-M5AKL3FL.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-6BIAW73W.js";
|
|
35
35
|
import "./chunk-GRPLHUYC.js";
|
|
36
36
|
import {
|
|
37
37
|
computeStats,
|
|
@@ -54,13 +54,13 @@ import {
|
|
|
54
54
|
isVolatilePath,
|
|
55
55
|
parseManifest
|
|
56
56
|
} from "./chunk-WPC2PUCV.js";
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
57
|
+
import "./chunk-UY2DR5V4.js";
|
|
58
|
+
import "./chunk-F4OW5UVA.js";
|
|
59
59
|
import {
|
|
60
60
|
probeChunks
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-WYJX7OFF.js";
|
|
62
62
|
import "./chunk-C2TS5MER.js";
|
|
63
|
-
import "./chunk-
|
|
63
|
+
import "./chunk-A7GZZQ3Q.js";
|
|
64
64
|
import "./chunk-JQKKMUCT.js";
|
|
65
65
|
import "./chunk-5FLTDWWP.js";
|
|
66
66
|
import "./chunk-RIRDBSBG.js";
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
DotNS,
|
|
70
70
|
parseDomainName,
|
|
71
71
|
sanitizeDomainLabel
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-RSAEMNX4.js";
|
|
73
73
|
import "./chunk-SI2ZUOYD.js";
|
|
74
74
|
import {
|
|
75
75
|
BULLETIN_BLOCKS_PER_DAY,
|
|
@@ -85,7 +85,7 @@ import {
|
|
|
85
85
|
poolAccountDerivationPath,
|
|
86
86
|
selectAccount
|
|
87
87
|
} from "./chunk-AYAVRPAP.js";
|
|
88
|
-
import "./chunk-
|
|
88
|
+
import "./chunk-6WLVGBLQ.js";
|
|
89
89
|
import "./chunk-TSPERKUS.js";
|
|
90
90
|
import {
|
|
91
91
|
DEFAULT_ENV_ID,
|
|
@@ -97,10 +97,10 @@ import {
|
|
|
97
97
|
loadEnvironments,
|
|
98
98
|
resolveEndpoints,
|
|
99
99
|
validateContractAddresses
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-HDGD5FYX.js";
|
|
101
101
|
import "./chunk-ZOC4GITL.js";
|
|
102
|
-
import "./chunk-
|
|
103
|
-
import "./chunk-
|
|
102
|
+
import "./chunk-LZ7HCV4C.js";
|
|
103
|
+
import "./chunk-3CES4RZG.js";
|
|
104
104
|
import {
|
|
105
105
|
VERSION,
|
|
106
106
|
loadRunState,
|
|
@@ -110,8 +110,8 @@ import {
|
|
|
110
110
|
shouldSkipStaleWarning,
|
|
111
111
|
stateFilePath,
|
|
112
112
|
writeRunState
|
|
113
|
-
} from "./chunk-
|
|
114
|
-
import "./chunk-
|
|
113
|
+
} from "./chunk-3TDAKT7Y.js";
|
|
114
|
+
import "./chunk-7I3MTGOR.js";
|
|
115
115
|
export {
|
|
116
116
|
BULLETIN_BLOCKS_PER_DAY,
|
|
117
117
|
DEFAULT_ENV_ID,
|
package/dist/manifest/publish.js
CHANGED
|
@@ -2,37 +2,37 @@ import {
|
|
|
2
2
|
domainMatchesEnvTld,
|
|
3
3
|
publishManifest,
|
|
4
4
|
registerOrEnsureResolver
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-TIQ3TCK4.js";
|
|
6
6
|
import "../chunk-RXV677CJ.js";
|
|
7
7
|
import "../chunk-WEVSXHII.js";
|
|
8
8
|
import "../chunk-CVQ7DJHG.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-6LR7OM7F.js";
|
|
10
10
|
import "../chunk-M5AKL3FL.js";
|
|
11
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-6BIAW73W.js";
|
|
12
12
|
import "../chunk-GRPLHUYC.js";
|
|
13
13
|
import "../chunk-IW3X2MJF.js";
|
|
14
14
|
import "../chunk-LPTKBQII.js";
|
|
15
15
|
import "../chunk-3MAIF2SF.js";
|
|
16
16
|
import "../chunk-WPC2PUCV.js";
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-UY2DR5V4.js";
|
|
18
|
+
import "../chunk-F4OW5UVA.js";
|
|
19
|
+
import "../chunk-WYJX7OFF.js";
|
|
20
20
|
import "../chunk-C2TS5MER.js";
|
|
21
|
-
import "../chunk-
|
|
21
|
+
import "../chunk-A7GZZQ3Q.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-RSAEMNX4.js";
|
|
26
26
|
import "../chunk-SI2ZUOYD.js";
|
|
27
27
|
import "../chunk-AYAVRPAP.js";
|
|
28
|
-
import "../chunk-
|
|
28
|
+
import "../chunk-6WLVGBLQ.js";
|
|
29
29
|
import "../chunk-TSPERKUS.js";
|
|
30
|
-
import "../chunk-
|
|
30
|
+
import "../chunk-HDGD5FYX.js";
|
|
31
31
|
import "../chunk-ZOC4GITL.js";
|
|
32
|
-
import "../chunk-
|
|
33
|
-
import "../chunk-
|
|
34
|
-
import "../chunk-
|
|
35
|
-
import "../chunk-
|
|
32
|
+
import "../chunk-LZ7HCV4C.js";
|
|
33
|
+
import "../chunk-3CES4RZG.js";
|
|
34
|
+
import "../chunk-3TDAKT7Y.js";
|
|
35
|
+
import "../chunk-7I3MTGOR.js";
|
|
36
36
|
export {
|
|
37
37
|
domainMatchesEnvTld,
|
|
38
38
|
publishManifest,
|
package/dist/memory-report.js
CHANGED
package/dist/merkle.js
CHANGED
|
@@ -6,33 +6,33 @@ import {
|
|
|
6
6
|
merkleizeKuboBackend,
|
|
7
7
|
merkleizeWithStableOrder,
|
|
8
8
|
rebuildOrderedCarFromBytes
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6LR7OM7F.js";
|
|
10
10
|
import "./chunk-M5AKL3FL.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-6BIAW73W.js";
|
|
12
12
|
import "./chunk-GRPLHUYC.js";
|
|
13
13
|
import "./chunk-IW3X2MJF.js";
|
|
14
14
|
import "./chunk-LPTKBQII.js";
|
|
15
15
|
import "./chunk-3MAIF2SF.js";
|
|
16
16
|
import "./chunk-WPC2PUCV.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-UY2DR5V4.js";
|
|
18
|
+
import "./chunk-F4OW5UVA.js";
|
|
19
|
+
import "./chunk-WYJX7OFF.js";
|
|
20
20
|
import "./chunk-C2TS5MER.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-A7GZZQ3Q.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-RSAEMNX4.js";
|
|
26
26
|
import "./chunk-SI2ZUOYD.js";
|
|
27
27
|
import "./chunk-AYAVRPAP.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-6WLVGBLQ.js";
|
|
29
29
|
import "./chunk-TSPERKUS.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-HDGD5FYX.js";
|
|
31
31
|
import "./chunk-ZOC4GITL.js";
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-LZ7HCV4C.js";
|
|
33
|
+
import "./chunk-3CES4RZG.js";
|
|
34
|
+
import "./chunk-3TDAKT7Y.js";
|
|
35
|
+
import "./chunk-7I3MTGOR.js";
|
|
36
36
|
export {
|
|
37
37
|
buildOrderedCar,
|
|
38
38
|
merkleizeBackend,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
} from "../chunk-ZYVGHDMU.js";
|
|
25
25
|
import {
|
|
26
26
|
WS_HEARTBEAT_TIMEOUT_MS
|
|
27
|
-
} from "../chunk-
|
|
27
|
+
} from "../chunk-RSAEMNX4.js";
|
|
28
28
|
import {
|
|
29
29
|
DOTNS_CONTEXT_BYTES,
|
|
30
30
|
PEOPLE_MEMBER_IDENTIFIER_HEX,
|
|
@@ -33,12 +33,12 @@ import {
|
|
|
33
33
|
import "../chunk-AYAVRPAP.js";
|
|
34
34
|
import {
|
|
35
35
|
loadEnvironments
|
|
36
|
-
} from "../chunk-
|
|
36
|
+
} from "../chunk-HDGD5FYX.js";
|
|
37
37
|
import "../chunk-ZOC4GITL.js";
|
|
38
|
-
import "../chunk-
|
|
39
|
-
import "../chunk-
|
|
40
|
-
import "../chunk-
|
|
41
|
-
import "../chunk-
|
|
38
|
+
import "../chunk-LZ7HCV4C.js";
|
|
39
|
+
import "../chunk-3CES4RZG.js";
|
|
40
|
+
import "../chunk-3TDAKT7Y.js";
|
|
41
|
+
import "../chunk-7I3MTGOR.js";
|
|
42
42
|
|
|
43
43
|
// src/personhood/bootstrap.ts
|
|
44
44
|
import { createClient } from "polkadot-api";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WS_HEARTBEAT_TIMEOUT_MS
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-RSAEMNX4.js";
|
|
4
4
|
import "../chunk-SI2ZUOYD.js";
|
|
5
5
|
import "../chunk-AYAVRPAP.js";
|
|
6
6
|
import {
|
|
7
7
|
loadEnvironments
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-HDGD5FYX.js";
|
|
9
9
|
import "../chunk-ZOC4GITL.js";
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-LZ7HCV4C.js";
|
|
11
|
+
import "../chunk-3CES4RZG.js";
|
|
12
|
+
import "../chunk-3TDAKT7Y.js";
|
|
13
|
+
import "../chunk-7I3MTGOR.js";
|
|
14
14
|
|
|
15
15
|
// src/personhood/people-client.ts
|
|
16
16
|
import { createClient } from "polkadot-api";
|
package/dist/run-state.js
CHANGED
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
preflightSssAllowance,
|
|
5
5
|
sssPeriodEndSec,
|
|
6
6
|
writeSssAllowanceCache
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6BIAW73W.js";
|
|
8
8
|
import "./chunk-GRPLHUYC.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-6WLVGBLQ.js";
|
|
10
10
|
import "./chunk-TSPERKUS.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-HDGD5FYX.js";
|
|
12
12
|
import "./chunk-ZOC4GITL.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-3CES4RZG.js";
|
|
14
|
+
import "./chunk-3TDAKT7Y.js";
|
|
15
15
|
export {
|
|
16
16
|
clearSssAllowanceCache,
|
|
17
17
|
isSssAllowanceCacheValid,
|
package/dist/storage-signer.js
CHANGED
|
@@ -8,33 +8,33 @@ import {
|
|
|
8
8
|
waitForBulletinAuthorization,
|
|
9
9
|
withTransientRetry,
|
|
10
10
|
writeBulletinSlotKey
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-6LR7OM7F.js";
|
|
12
12
|
import "./chunk-M5AKL3FL.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-6BIAW73W.js";
|
|
14
14
|
import "./chunk-GRPLHUYC.js";
|
|
15
15
|
import "./chunk-IW3X2MJF.js";
|
|
16
16
|
import "./chunk-LPTKBQII.js";
|
|
17
17
|
import "./chunk-3MAIF2SF.js";
|
|
18
18
|
import "./chunk-WPC2PUCV.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-UY2DR5V4.js";
|
|
20
|
+
import "./chunk-F4OW5UVA.js";
|
|
21
|
+
import "./chunk-WYJX7OFF.js";
|
|
22
22
|
import "./chunk-C2TS5MER.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-A7GZZQ3Q.js";
|
|
24
24
|
import "./chunk-JQKKMUCT.js";
|
|
25
25
|
import "./chunk-5FLTDWWP.js";
|
|
26
26
|
import "./chunk-RIRDBSBG.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-RSAEMNX4.js";
|
|
28
28
|
import "./chunk-SI2ZUOYD.js";
|
|
29
29
|
import "./chunk-AYAVRPAP.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-6WLVGBLQ.js";
|
|
31
31
|
import "./chunk-TSPERKUS.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-HDGD5FYX.js";
|
|
33
33
|
import "./chunk-ZOC4GITL.js";
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-LZ7HCV4C.js";
|
|
35
|
+
import "./chunk-3CES4RZG.js";
|
|
36
|
+
import "./chunk-3TDAKT7Y.js";
|
|
37
|
+
import "./chunk-7I3MTGOR.js";
|
|
38
38
|
export {
|
|
39
39
|
BulletinSlotAuthError,
|
|
40
40
|
extractBulletinSlotKey,
|
package/dist/telemetry.js
CHANGED
package/dist/version-check.js
CHANGED
|
@@ -12,9 +12,9 @@ import {
|
|
|
12
12
|
isPreReleaseVersion,
|
|
13
13
|
preReleaseWarning,
|
|
14
14
|
promptYesNo
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-F4OW5UVA.js";
|
|
16
|
+
import "./chunk-3CES4RZG.js";
|
|
17
|
+
import "./chunk-3TDAKT7Y.js";
|
|
18
18
|
export {
|
|
19
19
|
assessVersion,
|
|
20
20
|
checkNodeVersion,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bulletin-deploy",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"overrides": {
|
|
94
94
|
"@polkadot-api/json-rpc-provider": "^0.2.0"
|
|
95
95
|
},
|
|
96
|
-
"minimumVersion": "0.
|
|
96
|
+
"minimumVersion": "0.16.1",
|
|
97
97
|
"engines": {
|
|
98
98
|
"node": ">=22"
|
|
99
99
|
},
|