bulletin-deploy 0.19.3 → 0.19.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 +5 -5
- package/bin/bulletin-deploy +10 -1
- package/dist/auth/index.js +7 -7
- package/dist/auth/vendor/index.js +2 -2
- package/dist/auth-config.js +5 -5
- package/dist/bug-report.js +5 -4
- package/dist/chain-health.js +4 -3
- package/dist/{chunk-PSYA6E5M.js → chunk-2P4EZOFF.js} +1 -1
- package/dist/{chunk-NA3SXVY6.js → chunk-3NR3T7US.js} +22 -12
- package/dist/{chunk-6FQJLLEF.js → chunk-6J4WRFRL.js} +1 -1
- package/dist/{chunk-LPTKBQII.js → chunk-7DDOVCV5.js} +1 -1
- package/dist/{chunk-I5PNPQZO.js → chunk-ANX3RZAS.js} +38 -10
- package/dist/{chunk-IP6ABIIC.js → chunk-BFK5UCUJ.js} +29 -4
- package/dist/{chunk-H4OZ6PTA.js → chunk-C437RTTU.js} +8 -8
- package/dist/{chunk-VBIFKNUS.js → chunk-CCIBF55X.js} +1 -1
- package/dist/{chunk-IW3X2MJF.js → chunk-D3YME2EG.js} +30 -1
- package/dist/{chunk-6MSHWNJT.js → chunk-D6BE3RAU.js} +138 -54
- package/dist/{chunk-3MAIF2SF.js → chunk-F24S4EV5.js} +49 -7
- package/dist/{chunk-WPC2PUCV.js → chunk-H44LXDQJ.js} +43 -8
- package/dist/{chunk-5FLTDWWP.js → chunk-H44NO63C.js} +1 -1
- package/dist/{chunk-3ACNAWUD.js → chunk-JTH3ISLR.js} +3 -3
- package/dist/{chunk-NKDGBZBP.js → chunk-O56KLG7Z.js} +2 -2
- package/dist/{chunk-KTKFHROI.js → chunk-OONQPYHM.js} +4 -4
- package/dist/{chunk-SNFGJOR2.js → chunk-R3BXRRKE.js} +1 -1
- package/dist/{chunk-ZOC4GITL.js → chunk-SH2LG52Z.js} +5 -1
- package/dist/{chunk-ABMNC34K.js → chunk-U2QO5G35.js} +2 -2
- package/dist/{chunk-QU5GJF6U.js → chunk-UFP2XWZ4.js} +3 -3
- package/dist/chunk-ZG3HAH5A.js +18 -0
- package/dist/{chunk-RJDHC56V.js → chunk-ZZIOS4RG.js} +53 -16
- package/dist/chunk-probe.js +4 -3
- package/dist/commands/login.js +24 -23
- package/dist/commands/logout.js +7 -7
- package/dist/commands/transfer.js +7 -6
- package/dist/commands/whoami.js +5 -5
- package/dist/deploy-actors.js +10 -9
- package/dist/deploy.d.ts +45 -18
- package/dist/deploy.js +30 -20
- package/dist/dotns.d.ts +56 -2
- package/dist/dotns.js +9 -6
- package/dist/environments.d.ts +7 -1
- package/dist/environments.js +2 -2
- package/dist/errors.d.ts +5 -1
- package/dist/errors.js +7 -3
- package/dist/incremental-stats.d.ts +14 -0
- package/dist/incremental-stats.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +23 -22
- package/dist/manifest/config-load.js +3 -3
- package/dist/manifest/publish.d.ts +1 -0
- package/dist/manifest/publish.js +23 -22
- package/dist/manifest/schema.js +1 -1
- package/dist/manifest-embed.js +2 -2
- package/dist/manifest-fetch.js +2 -2
- package/dist/manifest-roundtrip.js +2 -2
- package/dist/manifest.d.ts +14 -1
- package/dist/manifest.js +5 -1
- package/dist/memory-report.js +3 -2
- package/dist/merkle.js +20 -19
- package/dist/mnemonic.d.ts +35 -0
- package/dist/mnemonic.js +8 -0
- package/dist/personhood/bootstrap.js +7 -6
- package/dist/personhood/people-client.js +7 -6
- package/dist/run-state.js +1 -1
- package/dist/sss-allowance-cache.js +6 -6
- package/dist/storage-signer.js +20 -19
- package/dist/telemetry.d.ts +2 -1
- package/dist/telemetry.js +5 -2
- package/dist/version-check.js +4 -3
- package/package.json +4 -4
|
@@ -24,20 +24,21 @@ import {
|
|
|
24
24
|
} from "../chunk-ZYVGHDMU.js";
|
|
25
25
|
import {
|
|
26
26
|
WS_HEARTBEAT_TIMEOUT_MS
|
|
27
|
-
} from "../chunk-
|
|
27
|
+
} from "../chunk-ZZIOS4RG.js";
|
|
28
28
|
import {
|
|
29
29
|
DOTNS_CONTEXT_BYTES,
|
|
30
30
|
PEOPLE_MEMBER_IDENTIFIER_HEX,
|
|
31
31
|
PGAS_ASSET_ID
|
|
32
32
|
} from "../chunk-SI2ZUOYD.js";
|
|
33
|
+
import "../chunk-ZG3HAH5A.js";
|
|
33
34
|
import "../chunk-FWJQAIVO.js";
|
|
34
35
|
import {
|
|
35
36
|
loadEnvironments
|
|
36
|
-
} from "../chunk-
|
|
37
|
-
import "../chunk-
|
|
38
|
-
import "../chunk-
|
|
39
|
-
import "../chunk-
|
|
40
|
-
import "../chunk-
|
|
37
|
+
} from "../chunk-3NR3T7US.js";
|
|
38
|
+
import "../chunk-CCIBF55X.js";
|
|
39
|
+
import "../chunk-BFK5UCUJ.js";
|
|
40
|
+
import "../chunk-OONQPYHM.js";
|
|
41
|
+
import "../chunk-SH2LG52Z.js";
|
|
41
42
|
import "../chunk-K5SP4OUC.js";
|
|
42
43
|
|
|
43
44
|
// src/personhood/bootstrap.ts
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WS_HEARTBEAT_TIMEOUT_MS
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-ZZIOS4RG.js";
|
|
4
4
|
import "../chunk-SI2ZUOYD.js";
|
|
5
|
+
import "../chunk-ZG3HAH5A.js";
|
|
5
6
|
import "../chunk-FWJQAIVO.js";
|
|
6
7
|
import {
|
|
7
8
|
loadEnvironments
|
|
8
|
-
} from "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
9
|
+
} from "../chunk-3NR3T7US.js";
|
|
10
|
+
import "../chunk-CCIBF55X.js";
|
|
11
|
+
import "../chunk-BFK5UCUJ.js";
|
|
12
|
+
import "../chunk-OONQPYHM.js";
|
|
13
|
+
import "../chunk-SH2LG52Z.js";
|
|
13
14
|
import "../chunk-K5SP4OUC.js";
|
|
14
15
|
|
|
15
16
|
// src/personhood/people-client.ts
|
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-6J4WRFRL.js";
|
|
8
8
|
import "./chunk-GRPLHUYC.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-U2QO5G35.js";
|
|
10
10
|
import "./chunk-TSPERKUS.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-3NR3T7US.js";
|
|
12
|
+
import "./chunk-BFK5UCUJ.js";
|
|
13
|
+
import "./chunk-OONQPYHM.js";
|
|
14
|
+
import "./chunk-SH2LG52Z.js";
|
|
15
15
|
export {
|
|
16
16
|
clearSssAllowanceCache,
|
|
17
17
|
isSssAllowanceCacheValid,
|
package/dist/storage-signer.js
CHANGED
|
@@ -8,33 +8,34 @@ import {
|
|
|
8
8
|
waitForBulletinAuthorization,
|
|
9
9
|
withTransientRetry,
|
|
10
10
|
writeBulletinSlotKey
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-D6BE3RAU.js";
|
|
12
|
+
import "./chunk-6J4WRFRL.js";
|
|
13
|
+
import "./chunk-GRPLHUYC.js";
|
|
12
14
|
import "./chunk-HNJWIY55.js";
|
|
13
15
|
import "./chunk-M5AKL3FL.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-SNFGJOR2.js";
|
|
22
|
-
import "./chunk-PSYA6E5M.js";
|
|
16
|
+
import "./chunk-D3YME2EG.js";
|
|
17
|
+
import "./chunk-7DDOVCV5.js";
|
|
18
|
+
import "./chunk-F24S4EV5.js";
|
|
19
|
+
import "./chunk-H44LXDQJ.js";
|
|
20
|
+
import "./chunk-UFP2XWZ4.js";
|
|
21
|
+
import "./chunk-R3BXRRKE.js";
|
|
22
|
+
import "./chunk-2P4EZOFF.js";
|
|
23
23
|
import "./chunk-C2TS5MER.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-JTH3ISLR.js";
|
|
25
25
|
import "./chunk-JQKKMUCT.js";
|
|
26
|
-
import "./chunk-5FLTDWWP.js";
|
|
27
26
|
import "./chunk-RIRDBSBG.js";
|
|
28
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-H44NO63C.js";
|
|
28
|
+
import "./chunk-ZZIOS4RG.js";
|
|
29
29
|
import "./chunk-SI2ZUOYD.js";
|
|
30
|
+
import "./chunk-ZG3HAH5A.js";
|
|
30
31
|
import "./chunk-FWJQAIVO.js";
|
|
31
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-U2QO5G35.js";
|
|
32
33
|
import "./chunk-TSPERKUS.js";
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-3NR3T7US.js";
|
|
35
|
+
import "./chunk-CCIBF55X.js";
|
|
36
|
+
import "./chunk-BFK5UCUJ.js";
|
|
37
|
+
import "./chunk-OONQPYHM.js";
|
|
38
|
+
import "./chunk-SH2LG52Z.js";
|
|
38
39
|
import "./chunk-K5SP4OUC.js";
|
|
39
40
|
export {
|
|
40
41
|
BulletinSlotAuthError,
|
package/dist/telemetry.d.ts
CHANGED
|
@@ -73,6 +73,7 @@ declare function initTelemetry(): void;
|
|
|
73
73
|
declare function resolveRepo(domain: string): string;
|
|
74
74
|
declare function resolveRunner(): string;
|
|
75
75
|
declare function resolveRunnerType(): string;
|
|
76
|
+
declare function isE2eFixtureTag(tag: string | undefined): boolean;
|
|
76
77
|
declare function getDeployAttributes(domain: string): Record<string, string | number | boolean | undefined>;
|
|
77
78
|
type DeployErrorCategory = 'user' | 'environment' | 'internal' | 'unknown';
|
|
78
79
|
declare function isExpectedError(msg: string, variant?: string): boolean;
|
|
@@ -153,4 +154,4 @@ declare function emitIntervalSpan(op: string, name: string, startMs: number, end
|
|
|
153
154
|
declare function captureWarning(message: string, context?: Record<string, unknown>): void;
|
|
154
155
|
declare function flush(): Promise<void>;
|
|
155
156
|
|
|
156
|
-
export { type DeployErrorCategory, type DeployErrorKind, type InternalContextSignals, VERSION, __setDeployRootSpanForTest, __setSentryForTest, analyseErrorPattern, captureWarning, classifiableErrorKinds, classifyDeployError, classifyErrorKind, classifySadReason, closeTelemetry, computeDeployOutcome, emitIntervalSpan, extractRepoSlug, flush, getCurrentSentryTraceId, getDeployAttributes, initTelemetry, isExpectedError, isInternalContext, isInternalContextFromSignals, isTelemetryDisabled, markCodePath, markRelaunchOomHintShown, resolveIssueRepoSlug, resolveRepo, resolveRunner, resolveRunnerType, sampleMemory, sanitizeBranch, sanitizeErrorMessage, sanitizeRepo, scrubPaths, setDeployAttribute, setDeployError, setDeployReportContext, setDeploySentryTag, setRunStateActive, setVersionFreshness, truncateAddress, withDeploySpan, withManifestSpan, withSpan };
|
|
157
|
+
export { type DeployErrorCategory, type DeployErrorKind, type InternalContextSignals, VERSION, __setDeployRootSpanForTest, __setSentryForTest, analyseErrorPattern, captureWarning, classifiableErrorKinds, classifyDeployError, classifyErrorKind, classifySadReason, closeTelemetry, computeDeployOutcome, emitIntervalSpan, extractRepoSlug, flush, getCurrentSentryTraceId, getDeployAttributes, initTelemetry, isE2eFixtureTag, isExpectedError, isInternalContext, isInternalContextFromSignals, isTelemetryDisabled, markCodePath, markRelaunchOomHintShown, resolveIssueRepoSlug, resolveRepo, resolveRunner, resolveRunnerType, sampleMemory, sanitizeBranch, sanitizeErrorMessage, sanitizeRepo, scrubPaths, setDeployAttribute, setDeployError, setDeployReportContext, setDeploySentryTag, setRunStateActive, setVersionFreshness, truncateAddress, withDeploySpan, withManifestSpan, withSpan };
|
package/dist/telemetry.js
CHANGED
|
@@ -16,6 +16,7 @@ import {
|
|
|
16
16
|
getCurrentSentryTraceId,
|
|
17
17
|
getDeployAttributes,
|
|
18
18
|
initTelemetry,
|
|
19
|
+
isE2eFixtureTag,
|
|
19
20
|
isExpectedError,
|
|
20
21
|
isInternalContext,
|
|
21
22
|
isInternalContextFromSignals,
|
|
@@ -41,8 +42,9 @@ import {
|
|
|
41
42
|
withDeploySpan,
|
|
42
43
|
withManifestSpan,
|
|
43
44
|
withSpan
|
|
44
|
-
} from "./chunk-
|
|
45
|
-
import "./chunk-
|
|
45
|
+
} from "./chunk-BFK5UCUJ.js";
|
|
46
|
+
import "./chunk-OONQPYHM.js";
|
|
47
|
+
import "./chunk-SH2LG52Z.js";
|
|
46
48
|
export {
|
|
47
49
|
VERSION,
|
|
48
50
|
__setDeployRootSpanForTest,
|
|
@@ -61,6 +63,7 @@ export {
|
|
|
61
63
|
getCurrentSentryTraceId,
|
|
62
64
|
getDeployAttributes,
|
|
63
65
|
initTelemetry,
|
|
66
|
+
isE2eFixtureTag,
|
|
64
67
|
isExpectedError,
|
|
65
68
|
isInternalContext,
|
|
66
69
|
isInternalContextFromSignals,
|
package/dist/version-check.js
CHANGED
|
@@ -12,9 +12,10 @@ import {
|
|
|
12
12
|
isPreReleaseVersion,
|
|
13
13
|
preReleaseWarning,
|
|
14
14
|
promptYesNo
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-R3BXRRKE.js";
|
|
16
|
+
import "./chunk-BFK5UCUJ.js";
|
|
17
|
+
import "./chunk-OONQPYHM.js";
|
|
18
|
+
import "./chunk-SH2LG52Z.js";
|
|
18
19
|
export {
|
|
19
20
|
assessVersion,
|
|
20
21
|
checkNodeVersion,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bulletin-deploy",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -46,11 +46,11 @@
|
|
|
46
46
|
"tools/verify-baked-dsn.mjs"
|
|
47
47
|
],
|
|
48
48
|
"scripts": {
|
|
49
|
-
"build": "tsup src/suppress-localstorage-warning.ts src/index.ts src/deploy.ts src/dotns.ts src/dotns-protocol.ts src/pool.ts src/telemetry.ts src/chain-health.ts src/memory-report.ts src/merkle.ts src/version-check.ts src/bug-report.ts src/run-state.ts src/environments.ts src/errors.ts src/subname-depth.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/ring-proof.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/compose.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 src/product-account.ts --format esm --dts --clean --target node22",
|
|
49
|
+
"build": "tsup src/suppress-localstorage-warning.ts src/index.ts src/deploy.ts src/dotns.ts src/mnemonic.ts src/dotns-protocol.ts src/pool.ts src/telemetry.ts src/chain-health.ts src/memory-report.ts src/merkle.ts src/version-check.ts src/bug-report.ts src/run-state.ts src/environments.ts src/errors.ts src/subname-depth.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/ring-proof.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/compose.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 src/product-account.ts --format esm --dts --clean --target node22",
|
|
50
50
|
"refresh-environments": "node scripts/refresh-environments.mjs",
|
|
51
51
|
"postinstall": "patch-package || true",
|
|
52
52
|
"prepare": "npm run build",
|
|
53
|
-
"test": "npm run build && node --test test/test.js test/cli-help.test.js test/helpers/e2e-helpers.test.js test/helpers/e2e-exit-guard.test.js test/environments.test.js test/refresh-environments.test.js test/chunk-sharing-report.test.js test/dotns-deployments-parser.test.js test/dotns-token-id.test.js test/dotns-subnode-id.test.js test/dotns-protocol.test.js test/product-manifest.test.js test/manifest-trusted-products.test.js test/cache-savings-totals.test.js test/error-pattern-signature.test.js test/exit-codes.test.js test/probe-env-health.test.js test/chunk-probe-timeout.test.js test/e2e-chain-calls.test.js test/auth-config.test.js test/whoami.test.js test/login.test.js test/logout.test.js test/auth-resolve.test.js test/storage-signer.test.js test/spinner.test.js test/sss-allowance.test.js test/sss-allowance-cache.test.js test/dotns-transfer.test.js test/deploy-actors.test.js test/transfer-command.test.js test/dotns-register-fee.test.js test/deploy-label-ordering.test.js test/benign-teardown.test.js test/verify-baked-dsn.test.js test/product-account.test.js test/post-release-monitor-skill.test.js test/test-release-retry-wrapper.js test/reprove-alias-tool.test.js test/bootstrap-env.test.js test/check-chain-identity.test.js && npm run test:vendor",
|
|
53
|
+
"test": "npm run build && node --test test/test.js test/cli-help.test.js test/helpers/e2e-helpers.test.js test/helpers/e2e-exit-guard.test.js test/environments.test.js test/refresh-environments.test.js test/chunk-sharing-report.test.js test/car-section1-dedup.test.js test/dotns-deployments-parser.test.js test/dotns-token-id.test.js test/dotns-subnode-id.test.js test/dotns-protocol.test.js test/product-manifest.test.js test/manifest-trusted-products.test.js test/cache-savings-totals.test.js test/error-pattern-signature.test.js test/exit-codes.test.js test/probe-env-health.test.js test/chunk-probe-timeout.test.js test/e2e-chain-calls.test.js test/auth-config.test.js test/whoami.test.js test/login.test.js test/logout.test.js test/auth-resolve.test.js test/storage-signer.test.js test/spinner.test.js test/sss-allowance.test.js test/sss-allowance-cache.test.js test/dotns-transfer.test.js test/deploy-actors.test.js test/transfer-command.test.js test/dotns-register-fee.test.js test/deploy-label-ordering.test.js test/benign-teardown.test.js test/verify-baked-dsn.test.js test/product-account.test.js test/post-release-monitor-skill.test.js test/test-release-retry-wrapper.js test/reprove-alias-tool.test.js test/bootstrap-env.test.js test/check-chain-identity.test.js && npm run test:vendor",
|
|
54
54
|
"test:e2e": "npm run build && node --test test/e2e.test.js",
|
|
55
55
|
"test:e2e:smoke": "bash scripts/e2e-pass.sh smoke",
|
|
56
56
|
"test:e2e:pr": "bash scripts/e2e-pass.sh pr",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"@types/ws": "^8.18.1",
|
|
89
89
|
"tsup": "^8.5.0",
|
|
90
90
|
"typescript": "^5.9.3",
|
|
91
|
-
"vitest": "^4.1.
|
|
91
|
+
"vitest": "^4.1.11"
|
|
92
92
|
},
|
|
93
93
|
"overrides": {
|
|
94
94
|
"@polkadot-api/json-rpc-provider": "^0.2.0"
|