Commit Graph

22 Commits

Author SHA1 Message Date
Matthew Keil 2642595e39
Reorganize/Clean-Up Node Bindings (#189)
* refactor(node-bindings): create src/lib/test folders

* feat(node-bindings): update bundle/publish commands

* refactor(node-bindings): remove unused files and dependencies

* refactor(node-bindings): move fixtures to __fixtures__

* fix(node-bindings): revert format of fixture json file

* fix(node-bindings): prettierignore and gitignore

* feat(node-bindings): add bindings package

* fix(node-bindings): fix test setup path

* fix(node-bindings): remove post-build copy action in bindings.gyp

* fix(node-bindings): package.json keys

* Update contributors

---------

Co-authored-by: George Kadianakis <desnacked@riseup.net>
2023-03-09 18:21:28 +02:00
dancoffman cc7f62fcf0
Correctly set FIELD_ELEMENTS_PER_BLOB for distributable build 2022-12-13 15:21:40 -08:00
Ramana Kumar 070948d68f
Update bindings Makefiles with configurable blob size 2022-11-29 21:07:07 +00:00
dancoffman c9ac623fe7
Turn CPP exceptions back off to see if that fixes the ELF problem 2022-11-16 16:23:06 -08:00
dancoffman afab8d9ea2
Revert conditions 2022-11-16 15:47:13 -08:00
dancoffman 5bf776f52a
Make C++ exceptions catchable in JS-land 2022-11-16 15:26:05 -08:00
Ramana Kumar c8fab42ac0
Fix node.js build - thanks to dgcoffman 2022-11-08 22:02:38 +00:00
dancoffman 72f696e119
File order matters to the linker. GCC demands this order. 2022-11-08 12:47:19 -08:00
dancoffman d09b1009b6
gyp that maybe works on yarn install 2022-11-05 00:28:36 -07:00
dancoffman f819fe1f20
Patch blst submodule sha 2022-11-04 00:13:02 -07:00
dancoffman 92242c725b
Have gyp copy the .node file 2022-11-03 23:14:11 -07:00
dancoffman b8151db670
Cleanup 2022-11-03 15:13:49 -07:00
dancoffman fcd7fbd9e7
Checkpoint 2022-11-03 12:57:59 -07:00
dancoffman dbf2a1d905
Plausibly working BlobToKzgCommitment 2022-11-02 17:17:17 -07:00
dancoffman b169d4ab6e
Remove SWIG 2022-11-02 13:27:00 -07:00
dancoffman 40db00f643
Add napi version 2022-11-02 13:21:41 -07:00
dancoffman fdcab9d035
Install node-gyp with yarn 2022-11-01 22:22:14 -07:00
dancoffman 203033613f
I learned about extern C 2022-11-01 21:39:04 -07:00
dancoffman 2846d0b470
checkpoint 2 2022-11-01 19:40:28 -07:00
dancoffman 354281a9d8
Checkpoint 2022-11-01 17:56:34 -07:00
dancoffman 6ec86af547
Generate bindings using SWIG and node-gyp 2022-11-01 15:00:00 -07:00
dancoffman a581964b11
Working node-gyp 2022-11-01 12:56:38 -07:00