@le-space/node 0.1.1 → 0.1.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.
Files changed (2) hide show
  1. package/index.js +8 -8
  2. package/package.json +3 -3
package/index.js CHANGED
@@ -1767,6 +1767,14 @@ async function executeDeployPlan(plan, dependencies = {}) {
1767
1767
  `[deploy] port-forward aggregate published: item_hash=${aggregate.aggregateItemHash} status=${aggregate.aggregateStatus}`
1768
1768
  );
1769
1769
  }
1770
+ if (candidateCrn.address) {
1771
+ log(`[deploy] notifying CRN allocation endpoint ${candidateCrn.address}`);
1772
+ await notifyCrnAllocation({
1773
+ crnUrl: candidateCrn.address,
1774
+ itemHash: deployment.itemHash,
1775
+ fetch: fetchImpl
1776
+ }).catch(() => null);
1777
+ }
1770
1778
  log(`[deploy] waiting for runtime networking on ${candidateCrn.name ?? candidateCrn.hash}`);
1771
1779
  const runtime = await waitForVmRuntime({
1772
1780
  itemHash: deployment.itemHash,
@@ -1825,14 +1833,6 @@ async function executeDeployPlan(plan, dependencies = {}) {
1825
1833
  }
1826
1834
  let configuration = null;
1827
1835
  let verification = null;
1828
- if (runtime.selectedCrn?.address) {
1829
- log(`[deploy] notifying CRN allocation endpoint ${runtime.selectedCrn.address}`);
1830
- await notifyCrnAllocation({
1831
- crnUrl: runtime.selectedCrn.address,
1832
- itemHash: deployment.itemHash,
1833
- fetch: fetchImpl
1834
- }).catch(() => null);
1835
- }
1836
1836
  if (runtime.hostIpv4 && plan.autoConfigure !== false && plan.profile === "uc-go-peer") {
1837
1837
  const mappedPorts = runtime.mappedPorts ?? {};
1838
1838
  const setupPort = mappedPorts["80"]?.host ?? null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@le-space/node",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Node and GitHub Actions adapters for shared Aleph tooling.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -16,8 +16,8 @@
16
16
  "access": "public"
17
17
  },
18
18
  "dependencies": {
19
- "@le-space/core": "0.1.1",
20
- "@le-space/shared-types": "0.1.1",
19
+ "@le-space/core": "0.1.2",
20
+ "@le-space/shared-types": "0.1.2",
21
21
  "ethers": "^6.15.0"
22
22
  }
23
23
  }