Fix uint type for newer g++

This commit is contained in:
dancoffman 2022-11-22 12:27:32 -08:00
parent cb55e4f2ab
commit 23ab03ec6a
No known key found for this signature in database
GPG Key ID: 47B1F53E36A9B3CC
4 changed files with 13 additions and 6 deletions

View File

@ -1,6 +1,9 @@
# Exists as a test harness for building and running tests in Linux
FROM node:16
FROM node:16-alpine
RUN apk update && apk add --no-cache g++ make python3
COPY ./dist/ /app/dist/
COPY test.ts /app

View File

@ -22,9 +22,13 @@ import {
} from "c-kzg";
```
Requirements
# Requirements
- The C and C++ code is compiled by node-gyp on installation, so your environment will need a compiler like GCC or clang
The C and C++ code is compiled by node-gyp on installation. Your environment will need
- A compiler like g++ or clang
- `make`
- `python3`
# Contributing

View File

@ -9,8 +9,8 @@
#include "blst.h"
Napi::Value throw_invalid_arguments_count(
const uint expected,
const uint actual,
const unsigned int expected,
const unsigned int actual,
const Napi::Env env
) {
Napi::RangeError::New(

View File

@ -1,6 +1,6 @@
{
"name": "c-kzg",
"version": "1.0.6",
"version": "1.0.7",
"description": "NodeJS bindings for C-KZG",
"author": "Dan Coffman",
"license": "MIT",