From e2f7cceb793df1f74f3444c9e0ec9d274ea8e785 Mon Sep 17 00:00:00 2001 From: David Dal Busco Date: Wed, 6 Aug 2025 11:14:52 +0200 Subject: [PATCH] feat: replace support for assertion heapMemory with bigint --- package-lock.json | 14 +++++++------- package.json | 2 +- .../assets/deploy/deploy.assert.services.ts | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3cd139b5..1db16dc7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,7 +19,7 @@ "@junobuild/admin": "^1.0.0", "@junobuild/cdn": "^0.2.3", "@junobuild/cli-tools": "^0.4.1", - "@junobuild/config": "^1.0.1", + "@junobuild/config": "^1.1.1", "@junobuild/config-loader": "^0.4.1", "@junobuild/core": "^1.0.3", "@junobuild/did-tools": "^0.2.4", @@ -1477,9 +1477,9 @@ } }, "node_modules/@junobuild/config": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@junobuild/config/-/config-1.0.1.tgz", - "integrity": "sha512-wr1Ku4KU0D1uX4700rNL92YcQs9x8uwa5+0FefyTRvBi6wpiZ95BIewoGaw6ifaJx4hMJ3p+orMuILD+vqPcIA==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@junobuild/config/-/config-1.1.1.tgz", + "integrity": "sha512-+nRpYdts0pMgSzfi6+2skGD1aQ2a2IDhF3ahV8voF6yn1bA+KwmhCsMRcGeMpnF4wqTjRmYZZ/BrAAFiNQaXAg==", "license": "MIT", "peerDependencies": { "@dfinity/zod-schemas": "1.0.0", @@ -7915,9 +7915,9 @@ } }, "@junobuild/config": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@junobuild/config/-/config-1.0.1.tgz", - "integrity": "sha512-wr1Ku4KU0D1uX4700rNL92YcQs9x8uwa5+0FefyTRvBi6wpiZ95BIewoGaw6ifaJx4hMJ3p+orMuILD+vqPcIA==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@junobuild/config/-/config-1.1.1.tgz", + "integrity": "sha512-+nRpYdts0pMgSzfi6+2skGD1aQ2a2IDhF3ahV8voF6yn1bA+KwmhCsMRcGeMpnF4wqTjRmYZZ/BrAAFiNQaXAg==", "requires": {} }, "@junobuild/config-loader": { diff --git a/package.json b/package.json index 6d6ec33c..85eb3937 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "@junobuild/admin": "^1.0.0", "@junobuild/cdn": "^0.2.3", "@junobuild/cli-tools": "^0.4.1", - "@junobuild/config": "^1.0.1", + "@junobuild/config": "^1.1.1", "@junobuild/config-loader": "^0.4.1", "@junobuild/core": "^1.0.3", "@junobuild/did-tools": "^0.2.4", diff --git a/src/services/assets/deploy/deploy.assert.services.ts b/src/services/assets/deploy/deploy.assert.services.ts index a0481ce1..333ba9a4 100644 --- a/src/services/assets/deploy/deploy.assert.services.ts +++ b/src/services/assets/deploy/deploy.assert.services.ts @@ -33,7 +33,7 @@ export const assertSatelliteMemorySize = async () => { const maxMemorySize = assertions?.heapMemory !== undefined && typeof assertions.heapMemory !== 'boolean' - ? BigInt(assertions.heapMemory) + ? assertions.heapMemory : MEMORY_HEAP_WARNING; const {heap} = await satelliteMemorySize({satellite});