Commit Graph

30 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
Justin Traglia 54ab82c93b
Update nodejs bindings to support YAML ref tests (#167)
* Update nodejs bindings to support YAML ref tests

* Remove c-kzg from deps

* Fix test checks

* Add return statements in error checks

* Fix uint8array comparisons

* Revert test_dir to original value
2023-03-06 12:08:59 +02:00
g11tech 021674111a
Update the node bindings version to the latest published (#162) 2023-03-01 12:39:37 +02:00
dancoffman 704cba8ea4
Bump version 2022-12-13 15:24:24 -08:00
dancoffman 21b74bd89c
Bump package version 2022-12-13 11:25:39 -08:00
dancoffman 23ab03ec6a
Fix uint type for newer g++ 2022-11-22 12:27:32 -08:00
dancoffman cb55e4f2ab
NodeJS version 1.0.6 2022-11-22 12:11:05 -08:00
dancoffman 1d3282895d
Add contributing note 2022-11-17 16:47:47 -08:00
dancoffman fe622a7171
Bump package version. npmignore testing_trusted_setups.json 2022-11-17 16:41:09 -08: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
dancoffman 2232b02329
Update NodeJS unit test to expect zero element when computeAggregateKzgProof is supplied an empty array of blobs 2022-11-09 10:25:48 -08:00
dancoffman ef3f77be06
Ignore a couple more files that do not need to be published 2022-11-08 12:57:15 -08:00
dancoffman 0e474e6ec4
Add test harness for building and running NodeJS tests on Linux 2022-11-08 12:47:19 -08:00
dancoffman 72f696e119
File order matters to the linker. GCC demands this order. 2022-11-08 12:47:19 -08:00
dancoffman 5337f8d226
cc works on Linux 2022-11-07 11:45:36 -08:00
dancoffman f3069d1ec9
Messy publish but it works 2022-11-05 00:46:26 -07:00
dancoffman 2262d475ca
Required to publish blst/build 2022-11-05 00:36:38 -07:00
dancoffman c033f782b8
Start working on NPM publish 2022-11-04 18:48:52 -07:00
dancoffman 82c89e1025
Add gypfile to package.json 2022-11-04 11:35:31 -07:00
dancoffman 92242c725b
Have gyp copy the .node file 2022-11-03 23:14:11 -07:00
dancoffman b6615527e9
Always make, never package.json scripts 2022-11-03 22:49:06 -07:00
dancoffman 7668c4ffa4
Generate type defs 2022-11-03 22:35:09 -07:00
dancoffman bbc90b7da1
Use rollup to product distributable JS file 2022-11-03 22:30:54 -07:00
dancoffman b8151db670
Cleanup 2022-11-03 15:13:49 -07:00
dancoffman da8d5dde42
Try to test VerifyKzgProof (does not work) 2022-11-02 15:50:04 -07:00
dancoffman ac1762382a
TypeScript test 2022-11-02 13:45:29 -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