@parity/product-deploy 0.9.0-rc.0 → 0.9.0-rc.2
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/dist/auth-config.js +3 -3
- package/dist/bug-report.js +4 -4
- package/dist/{chunk-RD2QHYTL.js → chunk-3TV4YMYV.js} +5 -5
- package/dist/{chunk-WZBAQCA5.js → chunk-7FKD6TUT.js} +1 -1
- package/dist/{chunk-LCKLYFAZ.js → chunk-BAGS5SUL.js} +1 -1
- package/dist/{chunk-YIKGVALU.js → chunk-J2VZ5RSS.js} +2 -2
- package/dist/{chunk-OCKCB72S.js → chunk-L5Z3TJD7.js} +6 -6
- package/dist/{chunk-6NW5M3F5.js → chunk-LZZHPY2J.js} +1 -1
- package/dist/{chunk-H4LWILH4.js → chunk-MOP5QQT7.js} +1 -1
- package/dist/{chunk-NP4SLURL.js → chunk-RBHABQDF.js} +1 -1
- package/dist/{chunk-2SR5D4CP.js → chunk-S5RY247Q.js} +4 -3
- package/dist/{chunk-O2NWQLYB.js → chunk-X7IEFBR2.js} +2 -2
- package/dist/chunk-probe.js +3 -3
- package/dist/commands/login.js +8 -8
- package/dist/commands/logout.js +3 -3
- package/dist/commands/whoami.js +3 -3
- package/dist/deploy.js +8 -8
- package/dist/dotns.js +3 -3
- package/dist/index.js +12 -12
- package/dist/manifest/publish.js +9 -9
- package/dist/memory-report.js +2 -2
- package/dist/merkle.js +8 -8
- package/dist/personhood/bind-paid-alias.js +3 -3
- package/dist/personhood/bind-personal-id.js +2 -2
- package/dist/personhood/bootstrap.js +12 -12
- package/dist/personhood/claim-pgas.js +2 -2
- package/dist/personhood/people-client.js +3 -3
- package/dist/personhood/proof-validity.js +2 -2
- package/dist/personhood/reprove.js +5 -5
- package/dist/run-state.js +1 -1
- package/dist/storage-signer.js +8 -8
- package/dist/telemetry.js +2 -2
- package/dist/version-check.js +3 -3
- package/package.json +4 -3
- package/patches/@novasamatech+sdk-statement+0.6.0.patch +47 -0
- package/dist/{chunk-EATOPQFR.js → chunk-7Y7RDOGT.js} +5 -5
- package/dist/{chunk-7URNKK6J.js → chunk-LHLCPDGL.js} +3 -3
- package/dist/{chunk-EJI3MX4G.js → chunk-SLE4P6MO.js} +3 -3
package/dist/auth-config.js
CHANGED
|
@@ -9,9 +9,9 @@ import {
|
|
|
9
9
|
getPeopleChainEndpoints,
|
|
10
10
|
hasPersistedSession,
|
|
11
11
|
resolveBulletinEndpoints
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-MOP5QQT7.js";
|
|
13
|
+
import "./chunk-BAGS5SUL.js";
|
|
14
|
+
import "./chunk-S5RY247Q.js";
|
|
15
15
|
import "./chunk-GL3U7K2B.js";
|
|
16
16
|
import "./chunk-ZOC4GITL.js";
|
|
17
17
|
export {
|
package/dist/bug-report.js
CHANGED
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
offerBugReport,
|
|
10
10
|
scrubSecrets,
|
|
11
11
|
setDeployContext
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-X7IEFBR2.js";
|
|
13
|
+
import "./chunk-LZZHPY2J.js";
|
|
14
|
+
import "./chunk-BAGS5SUL.js";
|
|
15
|
+
import "./chunk-S5RY247Q.js";
|
|
16
16
|
export {
|
|
17
17
|
buildCliFlagsSummary,
|
|
18
18
|
buildLabels,
|
|
@@ -31,13 +31,13 @@ import {
|
|
|
31
31
|
STALE_SESSION_MESSAGE,
|
|
32
32
|
getPeopleChainEndpoints,
|
|
33
33
|
hasPersistedSession
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-MOP5QQT7.js";
|
|
35
35
|
import {
|
|
36
36
|
setDeployContext
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-X7IEFBR2.js";
|
|
38
38
|
import {
|
|
39
39
|
probeChunks
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-RBHABQDF.js";
|
|
41
41
|
import {
|
|
42
42
|
packSection
|
|
43
43
|
} from "./chunk-C2TS5MER.js";
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
parseDomainName,
|
|
51
51
|
popStatusName,
|
|
52
52
|
verifyNonceAdvanced
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-7FKD6TUT.js";
|
|
54
54
|
import {
|
|
55
55
|
derivePoolAccounts,
|
|
56
56
|
detectTestnet,
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
truncateAddress,
|
|
73
73
|
withDeploySpan,
|
|
74
74
|
withSpan
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-BAGS5SUL.js";
|
|
76
76
|
import {
|
|
77
77
|
DEFAULT_ENV_ID,
|
|
78
78
|
getPopSelfServeConfig,
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
resolveDotnsConnectOptions,
|
|
7
7
|
storeDirectory,
|
|
8
8
|
storeFile
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-3TV4YMYV.js";
|
|
10
10
|
import {
|
|
11
11
|
DotNS
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-7FKD6TUT.js";
|
|
13
13
|
import {
|
|
14
14
|
getPopSelfServeConfig,
|
|
15
15
|
loadEnvironments,
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildAliasProofMessage,
|
|
3
3
|
getProofValidAtSec
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import {
|
|
6
|
-
bytesToHex,
|
|
7
|
-
encodeMembers,
|
|
8
|
-
hexToBytes
|
|
9
|
-
} from "./chunk-ZYVGHDMU.js";
|
|
4
|
+
} from "./chunk-SLE4P6MO.js";
|
|
10
5
|
import {
|
|
11
6
|
PEOPLE_MEMBER_IDENTIFIER_HEX,
|
|
12
7
|
PGAS_ASSET_ID,
|
|
13
8
|
PGAS_ASSET_LOCATION,
|
|
14
9
|
PROOF_BYTES
|
|
15
10
|
} from "./chunk-SI2ZUOYD.js";
|
|
11
|
+
import {
|
|
12
|
+
bytesToHex,
|
|
13
|
+
encodeMembers,
|
|
14
|
+
hexToBytes
|
|
15
|
+
} from "./chunk-ZYVGHDMU.js";
|
|
16
16
|
|
|
17
17
|
// src/personhood/bind-paid-alias.ts
|
|
18
18
|
import { getSs58AddressInfo, Binary } from "polkadot-api";
|
|
@@ -6,7 +6,7 @@ import * as path from "path";
|
|
|
6
6
|
// package.json
|
|
7
7
|
var package_default = {
|
|
8
8
|
name: "@parity/product-deploy",
|
|
9
|
-
version: "0.9.0-rc.
|
|
9
|
+
version: "0.9.0-rc.2",
|
|
10
10
|
private: false,
|
|
11
11
|
repository: {
|
|
12
12
|
type: "git",
|
|
@@ -46,12 +46,13 @@ var package_default = {
|
|
|
46
46
|
"bin",
|
|
47
47
|
"docs",
|
|
48
48
|
"assets",
|
|
49
|
+
"patches",
|
|
49
50
|
"tools/release-retry-wrapper.mjs"
|
|
50
51
|
],
|
|
51
52
|
scripts: {
|
|
52
53
|
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/storage-signer.ts src/spinner.ts src/sss-allowance.ts --format esm --dts --clean --target node22",
|
|
53
54
|
"refresh-environments": "node scripts/refresh-environments.mjs",
|
|
54
|
-
postinstall: "patch-package",
|
|
55
|
+
postinstall: "patch-package || true",
|
|
55
56
|
prepare: "npm run build",
|
|
56
57
|
test: "npm run build && node --test test/test.js test/cli-help.test.js test/helpers/e2e-helpers.test.js test/environments.test.js test/refresh-environments.test.js test/chunk-sharing-report.test.js test/product-manifest.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/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 && npm run test:vendor",
|
|
57
58
|
"test:e2e": "npm run build && node --test test/e2e.test.js",
|
|
@@ -80,6 +81,7 @@ var package_default = {
|
|
|
80
81
|
"ipfs-unixfs-importer": "^16.1.4",
|
|
81
82
|
jiti: "^2.4.2",
|
|
82
83
|
multiformats: "^13.4.1",
|
|
84
|
+
"patch-package": "^8.0.1",
|
|
83
85
|
"polkadot-api": "^2.1.3",
|
|
84
86
|
verifiablejs: "1.3.0-beta.4",
|
|
85
87
|
viem: "^2.30.5",
|
|
@@ -88,7 +90,6 @@ var package_default = {
|
|
|
88
90
|
devDependencies: {
|
|
89
91
|
"@types/node": "^22.0.0",
|
|
90
92
|
"@types/ws": "^8.18.1",
|
|
91
|
-
"patch-package": "^8.0.1",
|
|
92
93
|
tsup: "^8.5.0",
|
|
93
94
|
typescript: "^5.9.3",
|
|
94
95
|
vitest: "^4.1.0"
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
classifyErrorArea,
|
|
3
3
|
isInteractive,
|
|
4
4
|
promptYesNo
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-LZZHPY2J.js";
|
|
6
6
|
import {
|
|
7
7
|
VERSION,
|
|
8
8
|
getCurrentSentryTraceId
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BAGS5SUL.js";
|
|
10
10
|
|
|
11
11
|
// src/bug-report.ts
|
|
12
12
|
import { execSync, execFileSync } from "child_process";
|
package/dist/chunk-probe.js
CHANGED
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
_decodeStorageValue,
|
|
6
6
|
_resetProbeSession,
|
|
7
7
|
probeChunks
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-RBHABQDF.js";
|
|
9
|
+
import "./chunk-BAGS5SUL.js";
|
|
10
|
+
import "./chunk-S5RY247Q.js";
|
|
11
11
|
export {
|
|
12
12
|
ChainProbeCrossValidationError,
|
|
13
13
|
ChainProbeMetadataError,
|
package/dist/commands/login.js
CHANGED
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "../chunk-J7CYVTAW.js";
|
|
9
9
|
import {
|
|
10
10
|
waitForBulletinAuthorization
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-3TV4YMYV.js";
|
|
12
12
|
import {
|
|
13
13
|
checkSSSAllowance
|
|
14
14
|
} from "../chunk-G56VYTUD.js";
|
|
@@ -22,15 +22,15 @@ import {
|
|
|
22
22
|
getAuthClient,
|
|
23
23
|
getPeopleChainEndpoints,
|
|
24
24
|
resolveBulletinEndpoints
|
|
25
|
-
} from "../chunk-
|
|
26
|
-
import "../chunk-
|
|
27
|
-
import "../chunk-
|
|
28
|
-
import "../chunk-
|
|
25
|
+
} from "../chunk-MOP5QQT7.js";
|
|
26
|
+
import "../chunk-X7IEFBR2.js";
|
|
27
|
+
import "../chunk-LZZHPY2J.js";
|
|
28
|
+
import "../chunk-RBHABQDF.js";
|
|
29
29
|
import "../chunk-C2TS5MER.js";
|
|
30
|
-
import "../chunk-
|
|
30
|
+
import "../chunk-7FKD6TUT.js";
|
|
31
31
|
import "../chunk-QS7YU76C.js";
|
|
32
|
-
import "../chunk-
|
|
33
|
-
import "../chunk-
|
|
32
|
+
import "../chunk-BAGS5SUL.js";
|
|
33
|
+
import "../chunk-S5RY247Q.js";
|
|
34
34
|
import {
|
|
35
35
|
loadEnvironments
|
|
36
36
|
} from "../chunk-GL3U7K2B.js";
|
package/dist/commands/logout.js
CHANGED
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
} from "../chunk-RIRDBSBG.js";
|
|
6
6
|
import {
|
|
7
7
|
getAuthClient
|
|
8
|
-
} from "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
8
|
+
} from "../chunk-MOP5QQT7.js";
|
|
9
|
+
import "../chunk-BAGS5SUL.js";
|
|
10
|
+
import "../chunk-S5RY247Q.js";
|
|
11
11
|
import "../chunk-GL3U7K2B.js";
|
|
12
12
|
import "../chunk-ZOC4GITL.js";
|
|
13
13
|
|
package/dist/commands/whoami.js
CHANGED
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
STALE_SESSION_MESSAGE,
|
|
3
3
|
getAuthClient,
|
|
4
4
|
hasPersistedSession
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
5
|
+
} from "../chunk-MOP5QQT7.js";
|
|
6
|
+
import "../chunk-BAGS5SUL.js";
|
|
7
|
+
import "../chunk-S5RY247Q.js";
|
|
8
8
|
import "../chunk-GL3U7K2B.js";
|
|
9
9
|
import "../chunk-ZOC4GITL.js";
|
|
10
10
|
|
package/dist/deploy.js
CHANGED
|
@@ -45,22 +45,22 @@ import {
|
|
|
45
45
|
storeDirectoryV2,
|
|
46
46
|
storeFile,
|
|
47
47
|
unpublish
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-3TV4YMYV.js";
|
|
49
49
|
import "./chunk-G56VYTUD.js";
|
|
50
50
|
import "./chunk-HOTQDYHD.js";
|
|
51
51
|
import "./chunk-IW3X2MJF.js";
|
|
52
52
|
import "./chunk-KOSF5FDO.js";
|
|
53
53
|
import "./chunk-J3NIXHZZ.js";
|
|
54
54
|
import "./chunk-S7EM5VMW.js";
|
|
55
|
-
import "./chunk-
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
55
|
+
import "./chunk-MOP5QQT7.js";
|
|
56
|
+
import "./chunk-X7IEFBR2.js";
|
|
57
|
+
import "./chunk-LZZHPY2J.js";
|
|
58
|
+
import "./chunk-RBHABQDF.js";
|
|
59
59
|
import "./chunk-C2TS5MER.js";
|
|
60
|
-
import "./chunk-
|
|
60
|
+
import "./chunk-7FKD6TUT.js";
|
|
61
61
|
import "./chunk-QS7YU76C.js";
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
62
|
+
import "./chunk-BAGS5SUL.js";
|
|
63
|
+
import "./chunk-S5RY247Q.js";
|
|
64
64
|
import "./chunk-GL3U7K2B.js";
|
|
65
65
|
import {
|
|
66
66
|
EXIT_CODE_NO_RETRY,
|
package/dist/dotns.js
CHANGED
|
@@ -50,10 +50,10 @@ import {
|
|
|
50
50
|
stripTrailingDigits,
|
|
51
51
|
validateDomainLabel,
|
|
52
52
|
verifyNonceAdvanced
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-7FKD6TUT.js";
|
|
54
54
|
import "./chunk-QS7YU76C.js";
|
|
55
|
-
import "./chunk-
|
|
56
|
-
import "./chunk-
|
|
55
|
+
import "./chunk-BAGS5SUL.js";
|
|
56
|
+
import "./chunk-S5RY247Q.js";
|
|
57
57
|
import "./chunk-GL3U7K2B.js";
|
|
58
58
|
import "./chunk-ZOC4GITL.js";
|
|
59
59
|
export {
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
defineConfig
|
|
3
|
+
} from "./chunk-GZD2UFLR.js";
|
|
1
4
|
import {
|
|
2
5
|
loadProductConfig,
|
|
3
6
|
tryLoadProductConfig
|
|
4
7
|
} from "./chunk-MMAZFJDG.js";
|
|
5
8
|
import {
|
|
6
9
|
publishManifest
|
|
7
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-J2VZ5RSS.js";
|
|
8
11
|
import {
|
|
9
12
|
DEFAULT_TEXT_RECORD_BUDGET_BYTES,
|
|
10
13
|
PLACEHOLDER_CID,
|
|
@@ -17,14 +20,11 @@ import {
|
|
|
17
20
|
validateProductConfig,
|
|
18
21
|
validateRootManifest
|
|
19
22
|
} from "./chunk-LZJMVPYW.js";
|
|
20
|
-
import {
|
|
21
|
-
defineConfig
|
|
22
|
-
} from "./chunk-GZD2UFLR.js";
|
|
23
23
|
import {
|
|
24
24
|
deploy,
|
|
25
25
|
merkleizeJS,
|
|
26
26
|
merkleizeWithStableOrder
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-3TV4YMYV.js";
|
|
28
28
|
import "./chunk-G56VYTUD.js";
|
|
29
29
|
import "./chunk-HOTQDYHD.js";
|
|
30
30
|
import {
|
|
@@ -48,19 +48,19 @@ import {
|
|
|
48
48
|
isVolatilePath,
|
|
49
49
|
parseManifest
|
|
50
50
|
} from "./chunk-S7EM5VMW.js";
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-MOP5QQT7.js";
|
|
52
|
+
import "./chunk-X7IEFBR2.js";
|
|
53
|
+
import "./chunk-LZZHPY2J.js";
|
|
54
54
|
import {
|
|
55
55
|
probeChunks
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-RBHABQDF.js";
|
|
57
57
|
import "./chunk-C2TS5MER.js";
|
|
58
58
|
import {
|
|
59
59
|
DEFAULT_MNEMONIC,
|
|
60
60
|
DotNS,
|
|
61
61
|
parseDomainName,
|
|
62
62
|
sanitizeDomainLabel
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-7FKD6TUT.js";
|
|
64
64
|
import {
|
|
65
65
|
bootstrapPool,
|
|
66
66
|
derivePoolAccounts,
|
|
@@ -68,7 +68,7 @@ import {
|
|
|
68
68
|
fetchPoolAuthorizations,
|
|
69
69
|
selectAccount
|
|
70
70
|
} from "./chunk-QS7YU76C.js";
|
|
71
|
-
import "./chunk-
|
|
71
|
+
import "./chunk-BAGS5SUL.js";
|
|
72
72
|
import {
|
|
73
73
|
VERSION,
|
|
74
74
|
loadRunState,
|
|
@@ -78,7 +78,7 @@ import {
|
|
|
78
78
|
shouldSkipStaleWarning,
|
|
79
79
|
stateFilePath,
|
|
80
80
|
writeRunState
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-S5RY247Q.js";
|
|
82
82
|
import {
|
|
83
83
|
DEFAULT_ENV_ID,
|
|
84
84
|
deepMergeEnvironments,
|
package/dist/manifest/publish.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
publishManifest
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-J2VZ5RSS.js";
|
|
4
4
|
import "../chunk-RI3ZLNPN.js";
|
|
5
|
-
import "../chunk-
|
|
5
|
+
import "../chunk-3TV4YMYV.js";
|
|
6
6
|
import "../chunk-G56VYTUD.js";
|
|
7
7
|
import "../chunk-HOTQDYHD.js";
|
|
8
8
|
import "../chunk-IW3X2MJF.js";
|
|
9
9
|
import "../chunk-KOSF5FDO.js";
|
|
10
10
|
import "../chunk-J3NIXHZZ.js";
|
|
11
11
|
import "../chunk-S7EM5VMW.js";
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-MOP5QQT7.js";
|
|
13
|
+
import "../chunk-X7IEFBR2.js";
|
|
14
|
+
import "../chunk-LZZHPY2J.js";
|
|
15
|
+
import "../chunk-RBHABQDF.js";
|
|
16
16
|
import "../chunk-C2TS5MER.js";
|
|
17
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-7FKD6TUT.js";
|
|
18
18
|
import "../chunk-QS7YU76C.js";
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-BAGS5SUL.js";
|
|
20
|
+
import "../chunk-S5RY247Q.js";
|
|
21
21
|
import "../chunk-GL3U7K2B.js";
|
|
22
22
|
import "../chunk-ZOC4GITL.js";
|
|
23
23
|
export {
|
package/dist/memory-report.js
CHANGED
package/dist/merkle.js
CHANGED
|
@@ -6,22 +6,22 @@ import {
|
|
|
6
6
|
merkleizeKuboBackend,
|
|
7
7
|
merkleizeWithStableOrder,
|
|
8
8
|
rebuildOrderedCarFromBytes
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-3TV4YMYV.js";
|
|
10
10
|
import "./chunk-G56VYTUD.js";
|
|
11
11
|
import "./chunk-HOTQDYHD.js";
|
|
12
12
|
import "./chunk-IW3X2MJF.js";
|
|
13
13
|
import "./chunk-KOSF5FDO.js";
|
|
14
14
|
import "./chunk-J3NIXHZZ.js";
|
|
15
15
|
import "./chunk-S7EM5VMW.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-MOP5QQT7.js";
|
|
17
|
+
import "./chunk-X7IEFBR2.js";
|
|
18
|
+
import "./chunk-LZZHPY2J.js";
|
|
19
|
+
import "./chunk-RBHABQDF.js";
|
|
20
20
|
import "./chunk-C2TS5MER.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-7FKD6TUT.js";
|
|
22
22
|
import "./chunk-QS7YU76C.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-BAGS5SUL.js";
|
|
24
|
+
import "./chunk-S5RY247Q.js";
|
|
25
25
|
import "./chunk-GL3U7K2B.js";
|
|
26
26
|
import "./chunk-ZOC4GITL.js";
|
|
27
27
|
export {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PaidAliasBindingError,
|
|
3
3
|
bindPaidAliasToAccount
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-ZYVGHDMU.js";
|
|
4
|
+
} from "../chunk-L5Z3TJD7.js";
|
|
5
|
+
import "../chunk-SLE4P6MO.js";
|
|
7
6
|
import "../chunk-SI2ZUOYD.js";
|
|
7
|
+
import "../chunk-ZYVGHDMU.js";
|
|
8
8
|
export {
|
|
9
9
|
PaidAliasBindingError,
|
|
10
10
|
bindPaidAliasToAccount
|
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
PersonalIdBindingError,
|
|
3
3
|
bindPersonalIdToAccount,
|
|
4
4
|
buildAsPersonExtensionValue
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-ZYVGHDMU.js";
|
|
5
|
+
} from "../chunk-LHLCPDGL.js";
|
|
7
6
|
import "../chunk-SI2ZUOYD.js";
|
|
7
|
+
import "../chunk-ZYVGHDMU.js";
|
|
8
8
|
export {
|
|
9
9
|
PersonalIdBindingError,
|
|
10
10
|
bindPersonalIdToAccount,
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
claimPgas
|
|
3
|
-
} from "../chunk-EATOPQFR.js";
|
|
4
1
|
import {
|
|
5
2
|
deriveMemberEntropy,
|
|
6
3
|
deriveMemberKey
|
|
@@ -8,28 +5,31 @@ import {
|
|
|
8
5
|
import "../chunk-UPWEOGLQ.js";
|
|
9
6
|
import {
|
|
10
7
|
bindPaidAliasToAccount
|
|
11
|
-
} from "../chunk-
|
|
12
|
-
import "../chunk-
|
|
8
|
+
} from "../chunk-L5Z3TJD7.js";
|
|
9
|
+
import "../chunk-SLE4P6MO.js";
|
|
13
10
|
import {
|
|
14
11
|
bindPersonalIdToAccount
|
|
15
|
-
} from "../chunk-
|
|
16
|
-
import {
|
|
17
|
-
bytesToHex
|
|
18
|
-
} from "../chunk-ZYVGHDMU.js";
|
|
12
|
+
} from "../chunk-LHLCPDGL.js";
|
|
19
13
|
import {
|
|
20
14
|
runChainPrereqProbes
|
|
21
15
|
} from "../chunk-XAB7WM3S.js";
|
|
16
|
+
import {
|
|
17
|
+
claimPgas
|
|
18
|
+
} from "../chunk-7Y7RDOGT.js";
|
|
22
19
|
import {
|
|
23
20
|
DOTNS_CONTEXT_BYTES,
|
|
24
21
|
PEOPLE_MEMBER_IDENTIFIER_HEX,
|
|
25
22
|
PGAS_ASSET_ID
|
|
26
23
|
} from "../chunk-SI2ZUOYD.js";
|
|
24
|
+
import {
|
|
25
|
+
bytesToHex
|
|
26
|
+
} from "../chunk-ZYVGHDMU.js";
|
|
27
27
|
import {
|
|
28
28
|
WS_HEARTBEAT_TIMEOUT_MS
|
|
29
|
-
} from "../chunk-
|
|
29
|
+
} from "../chunk-7FKD6TUT.js";
|
|
30
30
|
import "../chunk-QS7YU76C.js";
|
|
31
|
-
import "../chunk-
|
|
32
|
-
import "../chunk-
|
|
31
|
+
import "../chunk-BAGS5SUL.js";
|
|
32
|
+
import "../chunk-S5RY247Q.js";
|
|
33
33
|
import {
|
|
34
34
|
loadEnvironments
|
|
35
35
|
} from "../chunk-GL3U7K2B.js";
|
|
@@ -3,9 +3,9 @@ import {
|
|
|
3
3
|
buildAsPgasClaimExtensionValue,
|
|
4
4
|
buildImplicationExclude,
|
|
5
5
|
claimPgas
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-ZYVGHDMU.js";
|
|
6
|
+
} from "../chunk-7Y7RDOGT.js";
|
|
8
7
|
import "../chunk-SI2ZUOYD.js";
|
|
8
|
+
import "../chunk-ZYVGHDMU.js";
|
|
9
9
|
export {
|
|
10
10
|
PgasClaimError,
|
|
11
11
|
buildAsPgasClaimExtensionValue,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WS_HEARTBEAT_TIMEOUT_MS
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-7FKD6TUT.js";
|
|
4
4
|
import "../chunk-QS7YU76C.js";
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
5
|
+
import "../chunk-BAGS5SUL.js";
|
|
6
|
+
import "../chunk-S5RY247Q.js";
|
|
7
7
|
import {
|
|
8
8
|
loadEnvironments
|
|
9
9
|
} from "../chunk-GL3U7K2B.js";
|
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
buildAliasProofMessage,
|
|
3
3
|
getProofValidAtSec,
|
|
4
4
|
u64LeBytes
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-ZYVGHDMU.js";
|
|
5
|
+
} from "../chunk-SLE4P6MO.js";
|
|
7
6
|
import "../chunk-SI2ZUOYD.js";
|
|
7
|
+
import "../chunk-ZYVGHDMU.js";
|
|
8
8
|
export {
|
|
9
9
|
buildAliasProofMessage,
|
|
10
10
|
getProofValidAtSec,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildAliasProofMessage,
|
|
3
3
|
getProofValidAtSec
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-SLE4P6MO.js";
|
|
5
|
+
import {
|
|
6
|
+
PEOPLE_MEMBER_IDENTIFIER_HEX,
|
|
7
|
+
PROOF_BYTES
|
|
8
|
+
} from "../chunk-SI2ZUOYD.js";
|
|
5
9
|
import {
|
|
6
10
|
bytesToHex,
|
|
7
11
|
encodeMembers,
|
|
8
12
|
hexToBytes
|
|
9
13
|
} from "../chunk-ZYVGHDMU.js";
|
|
10
|
-
import {
|
|
11
|
-
PEOPLE_MEMBER_IDENTIFIER_HEX,
|
|
12
|
-
PROOF_BYTES
|
|
13
|
-
} from "../chunk-SI2ZUOYD.js";
|
|
14
14
|
|
|
15
15
|
// src/personhood/reprove.ts
|
|
16
16
|
import { getSs58AddressInfo, Binary } from "polkadot-api";
|
package/dist/run-state.js
CHANGED
package/dist/storage-signer.js
CHANGED
|
@@ -7,22 +7,22 @@ import {
|
|
|
7
7
|
readBulletinSlotSigner,
|
|
8
8
|
waitForBulletinAuthorization,
|
|
9
9
|
writeBulletinSlotKey
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3TV4YMYV.js";
|
|
11
11
|
import "./chunk-G56VYTUD.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-
|
|
17
|
+
import "./chunk-MOP5QQT7.js";
|
|
18
|
+
import "./chunk-X7IEFBR2.js";
|
|
19
|
+
import "./chunk-LZZHPY2J.js";
|
|
20
|
+
import "./chunk-RBHABQDF.js";
|
|
21
21
|
import "./chunk-C2TS5MER.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-7FKD6TUT.js";
|
|
23
23
|
import "./chunk-QS7YU76C.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-BAGS5SUL.js";
|
|
25
|
+
import "./chunk-S5RY247Q.js";
|
|
26
26
|
import "./chunk-GL3U7K2B.js";
|
|
27
27
|
import "./chunk-ZOC4GITL.js";
|
|
28
28
|
export {
|
package/dist/telemetry.js
CHANGED
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-LZZHPY2J.js";
|
|
15
|
+
import "./chunk-BAGS5SUL.js";
|
|
16
|
+
import "./chunk-S5RY247Q.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.9.0-rc.
|
|
3
|
+
"version": "0.9.0-rc.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -40,12 +40,13 @@
|
|
|
40
40
|
"bin",
|
|
41
41
|
"docs",
|
|
42
42
|
"assets",
|
|
43
|
+
"patches",
|
|
43
44
|
"tools/release-retry-wrapper.mjs"
|
|
44
45
|
],
|
|
45
46
|
"scripts": {
|
|
46
47
|
"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/storage-signer.ts src/spinner.ts src/sss-allowance.ts --format esm --dts --clean --target node22",
|
|
47
48
|
"refresh-environments": "node scripts/refresh-environments.mjs",
|
|
48
|
-
"postinstall": "patch-package",
|
|
49
|
+
"postinstall": "patch-package || true",
|
|
49
50
|
"prepare": "npm run build",
|
|
50
51
|
"test": "npm run build && node --test test/test.js test/cli-help.test.js test/helpers/e2e-helpers.test.js test/environments.test.js test/refresh-environments.test.js test/chunk-sharing-report.test.js test/product-manifest.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/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 && npm run test:vendor",
|
|
51
52
|
"test:e2e": "npm run build && node --test test/e2e.test.js",
|
|
@@ -74,6 +75,7 @@
|
|
|
74
75
|
"ipfs-unixfs-importer": "^16.1.4",
|
|
75
76
|
"jiti": "^2.4.2",
|
|
76
77
|
"multiformats": "^13.4.1",
|
|
78
|
+
"patch-package": "^8.0.1",
|
|
77
79
|
"polkadot-api": "^2.1.3",
|
|
78
80
|
"verifiablejs": "1.3.0-beta.4",
|
|
79
81
|
"viem": "^2.30.5",
|
|
@@ -82,7 +84,6 @@
|
|
|
82
84
|
"devDependencies": {
|
|
83
85
|
"@types/node": "^22.0.0",
|
|
84
86
|
"@types/ws": "^8.18.1",
|
|
85
|
-
"patch-package": "^8.0.1",
|
|
86
87
|
"tsup": "^8.5.0",
|
|
87
88
|
"typescript": "^5.9.3",
|
|
88
89
|
"vitest": "^4.1.0"
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
diff --git a/node_modules/@novasamatech/sdk-statement/dist/statement-sdk.js b/node_modules/@novasamatech/sdk-statement/dist/statement-sdk.js
|
|
2
|
+
index 3e6bcd2..5f17175 100644
|
|
3
|
+
--- a/node_modules/@novasamatech/sdk-statement/dist/statement-sdk.js
|
|
4
|
+
+++ b/node_modules/@novasamatech/sdk-statement/dist/statement-sdk.js
|
|
5
|
+
@@ -8,7 +8,19 @@ const createStatementSdk = (req, subscribe) => {
|
|
6
|
+
const api = getApi(req, subscribe);
|
|
7
|
+
const getStatements = (filter = ANY_FILTER) => new Promise((resolve, reject) => {
|
|
8
|
+
const statements = [];
|
|
9
|
+
- const unsubscribe = api.subscribeStatement(
|
|
10
|
+
+ // PATCH(bulletin-deploy): `unsubscribe` was a `const` initialized from
|
|
11
|
+
+ // api.subscribeStatement(...) while BOTH callbacks reference it. When the
|
|
12
|
+
+ // underlying observable settles synchronously at subscribe time (e.g. a
|
|
13
|
+
+ // poll fires after the websocket client was destroyed, so subscribe
|
|
14
|
+
+ // errors immediately), the callback runs before the const is assigned:
|
|
15
|
+
+ // "ReferenceError: Cannot access 'unsubscribe' before initialization",
|
|
16
|
+
+ // rethrown by rxjs as an uncaughtException. Hit on Ctrl+C / teardown
|
|
17
|
+
+ // during an active pairing poll. `let` + a settled flag covers both the
|
|
18
|
+
+ // sync-error and sync-completion shapes. Remove when fixed upstream.
|
|
19
|
+
+ // From playground-cli PR #281.
|
|
20
|
+
+ let settled = false;
|
|
21
|
+
+ let unsubscribe = null;
|
|
22
|
+
+ unsubscribe = api.subscribeStatement(
|
|
23
|
+
filter,
|
|
24
|
+
(event) => {
|
|
25
|
+
if (event.event === "newStatements") {
|
|
26
|
+
@@ -19,16 +31,19 @@ const createStatementSdk = (req, subscribe) => {
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
if (event.data.remaining === 0 || event.data.remaining === void 0) {
|
|
30
|
+
- unsubscribe();
|
|
31
|
+
+ settled = true;
|
|
32
|
+
+ unsubscribe?.();
|
|
33
|
+
resolve(statements);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
(error) => {
|
|
38
|
+
- unsubscribe();
|
|
39
|
+
+ settled = true;
|
|
40
|
+
+ unsubscribe?.();
|
|
41
|
+
reject(error);
|
|
42
|
+
}
|
|
43
|
+
);
|
|
44
|
+
+ if (settled) unsubscribe();
|
|
45
|
+
});
|
|
46
|
+
return {
|
|
47
|
+
/**
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
import {
|
|
2
|
+
PEOPLE_MEMBER_IDENTIFIER_HEX,
|
|
3
|
+
PGAS_ASSET_ID,
|
|
4
|
+
PROOF_BYTES
|
|
5
|
+
} from "./chunk-SI2ZUOYD.js";
|
|
1
6
|
import {
|
|
2
7
|
buildImplicationMessage,
|
|
3
8
|
buildV5GeneralExtrinsic,
|
|
@@ -7,11 +12,6 @@ import {
|
|
|
7
12
|
readExtensionOrder,
|
|
8
13
|
toHex
|
|
9
14
|
} from "./chunk-ZYVGHDMU.js";
|
|
10
|
-
import {
|
|
11
|
-
PEOPLE_MEMBER_IDENTIFIER_HEX,
|
|
12
|
-
PGAS_ASSET_ID,
|
|
13
|
-
PROOF_BYTES
|
|
14
|
-
} from "./chunk-SI2ZUOYD.js";
|
|
15
15
|
|
|
16
16
|
// src/personhood/claim-pgas.ts
|
|
17
17
|
import * as verifiable from "verifiablejs/nodejs";
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
BANDERSNATCH_SIGNATURE_BYTES
|
|
3
|
+
} from "./chunk-SI2ZUOYD.js";
|
|
1
4
|
import {
|
|
2
5
|
buildImplicationMessage,
|
|
3
6
|
buildV5GeneralExtrinsic,
|
|
@@ -6,9 +9,6 @@ import {
|
|
|
6
9
|
readExtensionOrder,
|
|
7
10
|
toHex
|
|
8
11
|
} from "./chunk-ZYVGHDMU.js";
|
|
9
|
-
import {
|
|
10
|
-
BANDERSNATCH_SIGNATURE_BYTES
|
|
11
|
-
} from "./chunk-SI2ZUOYD.js";
|
|
12
12
|
|
|
13
13
|
// src/personhood/bind-personal-id.ts
|
|
14
14
|
import { Enum } from "polkadot-api";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ALIAS_PROOF_TAG
|
|
3
|
+
} from "./chunk-SI2ZUOYD.js";
|
|
1
4
|
import {
|
|
2
5
|
blake2_256,
|
|
3
6
|
concatBytes
|
|
4
7
|
} from "./chunk-ZYVGHDMU.js";
|
|
5
|
-
import {
|
|
6
|
-
ALIAS_PROOF_TAG
|
|
7
|
-
} from "./chunk-SI2ZUOYD.js";
|
|
8
8
|
|
|
9
9
|
// src/personhood/proof-validity.ts
|
|
10
10
|
var u64LeBytes = (v) => {
|