@parity/product-deploy 0.10.0 → 0.11.0-rc.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.
Files changed (40) hide show
  1. package/dist/auth-config.js +3 -3
  2. package/dist/bug-report.js +4 -4
  3. package/dist/{chunk-MMAZFJDG.js → chunk-362JEZKM.js} +1 -1
  4. package/dist/{chunk-ZC43ORKF.js → chunk-5LAKX4AB.js} +1 -1
  5. package/dist/chunk-A2JFMAG3.js +78 -0
  6. package/dist/{chunk-7HQL3TPT.js → chunk-BKEXG2QF.js} +1 -1
  7. package/dist/{chunk-ORIB2S5P.js → chunk-D3NJNDEW.js} +14 -1
  8. package/dist/{chunk-LZJMVPYW.js → chunk-DHIDLUMK.js} +2 -2
  9. package/dist/{chunk-SNDIOANW.js → chunk-HN3YZDX4.js} +1 -1
  10. package/dist/{chunk-ARPBPQZQ.js → chunk-MDS7T32B.js} +1 -1
  11. package/dist/{chunk-QR6HCDY2.js → chunk-QNXFKFJD.js} +2 -2
  12. package/dist/{chunk-OR7LUTET.js → chunk-RBTRQH32.js} +10 -5
  13. package/dist/{chunk-32THWODT.js → chunk-VJITD6HN.js} +115 -71
  14. package/dist/{chunk-F2SDBU57.js → chunk-X2BEJT4V.js} +1 -1
  15. package/dist/{chunk-V4RTUMBT.js → chunk-XQTDSVJG.js} +5 -10
  16. package/dist/chunk-probe.js +3 -3
  17. package/dist/commands/login.js +22 -21
  18. package/dist/commands/logout.js +7 -7
  19. package/dist/commands/transfer.js +3 -3
  20. package/dist/commands/whoami.js +3 -3
  21. package/dist/deploy-actors.d.ts +84 -3
  22. package/dist/deploy-actors.js +12 -35
  23. package/dist/deploy.d.ts +4 -3
  24. package/dist/deploy.js +13 -9
  25. package/dist/dotns.js +3 -3
  26. package/dist/index.js +16 -12
  27. package/dist/manifest/config-load.js +2 -2
  28. package/dist/manifest/publish.js +14 -10
  29. package/dist/manifest/schema.js +1 -1
  30. package/dist/memory-report.js +2 -2
  31. package/dist/merkle.js +13 -9
  32. package/dist/personhood/bootstrap.js +3 -3
  33. package/dist/personhood/people-client.js +3 -3
  34. package/dist/run-state.js +1 -1
  35. package/dist/sss-allowance-cache.js +4 -4
  36. package/dist/storage-signer.js +13 -9
  37. package/dist/telemetry.d.ts +9 -1
  38. package/dist/telemetry.js +6 -2
  39. package/dist/version-check.js +3 -3
  40. package/package.json +5 -10
@@ -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-ORIB2S5P.js";
38
- import "./chunk-V4RTUMBT.js";
39
+ } from "./chunk-D3NJNDEW.js";
40
+ import "./chunk-XQTDSVJG.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,
@@ -11,9 +11,9 @@ import {
11
11
  isPreReleaseVersion,
12
12
  preReleaseWarning,
13
13
  promptYesNo
14
- } from "./chunk-ZC43ORKF.js";
15
- import "./chunk-ORIB2S5P.js";
16
- import "./chunk-V4RTUMBT.js";
14
+ } from "./chunk-5LAKX4AB.js";
15
+ import "./chunk-D3NJNDEW.js";
16
+ import "./chunk-XQTDSVJG.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.10.0",
3
+ "version": "0.11.0-rc.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -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.0",
66
- "@parity/product-sdk-terminal": "^0.4.0",
67
- "@parity/product-sdk-tx": "^0.2.4",
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": {