diff --git a/tools/npm/garaga_ts/src/node/api.ts b/tools/npm/garaga_ts/src/node/api.ts index 2e536e24..ae57f404 100644 --- a/tools/npm/garaga_ts/src/node/api.ts +++ b/tools/npm/garaga_ts/src/node/api.ts @@ -21,9 +21,9 @@ export type MsmCalldataBuilderOptons = Partial<{ export function msmCalldataBuilder(points: G1Point[], scalars: bigint[], curveId: CurveId, options: MsmCalldataBuilderOptons = {}): bigint[] { const values = points.reduce((values, point) => values.concat(point), []); - const includeDigitsDecomposition = options.includeDigitsDecomposition || true; - const includePointsAndScalars = options.includePointsAndScalars || true; - const serializeAsPureFelt252Array = options.serializeAsPureFelt252Array || false; - const risc0Mode = options.risc0Mode || false; + const includeDigitsDecomposition = options.includeDigitsDecomposition ?? true; + const includePointsAndScalars = options.includePointsAndScalars ?? true; + const serializeAsPureFelt252Array = options.serializeAsPureFelt252Array ?? false; + const risc0Mode = options.risc0Mode ?? false; return msm_calldata_builder(values, scalars, curveId, includeDigitsDecomposition, includePointsAndScalars, serializeAsPureFelt252Array, risc0Mode); } diff --git a/tools/npm/integration-test-suite/packages/web-js-esm-react/package.json b/tools/npm/integration-test-suite/packages/web-js-esm-react/package.json index 778490b0..b303f0bf 100644 --- a/tools/npm/integration-test-suite/packages/web-js-esm-react/package.json +++ b/tools/npm/integration-test-suite/packages/web-js-esm-react/package.json @@ -9,7 +9,7 @@ }, "dependencies": { "garaga": "file:../../garaga.tgz", - "next": "14.2.8", + "next": "14.2.10", "react": "^18", "react-dom": "^18" },