From 85d9607356936b656cd2f99c39ff902c25cc25ba Mon Sep 17 00:00:00 2001 From: ItaloCobains Date: Mon, 13 Nov 2023 17:19:27 -0300 Subject: [PATCH] 1.0.7 --- index.js | 3 +++ package.json | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 index.js diff --git a/index.js b/index.js new file mode 100644 index 0000000..f1bafa4 --- /dev/null +++ b/index.js @@ -0,0 +1,3 @@ +const Graph = require('bindings')('graph.node').Graph + +module.exports = Graph \ No newline at end of file diff --git a/package.json b/package.json index c5883fe..0ea9dd8 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { "name": "@italocobains/graph", - "version": "1.0.6", + "version": "1.0.7", "description": "This is a lib write by c++ and nodejs addon api for graph algorithm.", - "main": "./dist/graph.js", + "main": "index.js", "scripts": { "test": "jest", "build": "tsc",