Fix uint type for newer g++
This commit is contained in:
parent
cb55e4f2ab
commit
23ab03ec6a
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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(
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue