Skip to content

Commit

Permalink
fix napi error
Browse files Browse the repository at this point in the history
  • Loading branch information
ItaloCobains committed Nov 13, 2023
1 parent 8cbcf85 commit aab17f7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@italocobains/graph",
"version": "1.0.2",
"version": "1.0.3",
"description": "This is a lib write by c++ and nodejs addon api for graph algorithm.",
"main": "./dist/graph.js",
"gypfile": true,
Expand Down
2 changes: 1 addition & 1 deletion src/index.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <napi.h>
#include <node-addon-api/napi.h>
#include "graph.hpp"
#include "wrapper.hpp"

Expand Down
2 changes: 1 addition & 1 deletion src/wrapper.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef WRAPPER_HPP
#define WRAPPER_HPP

#include <napi.h>
#include <node-addon-api/napi.h>
#include "graph.hpp"

class GraphWrapper : public Napi::ObjectWrap<GraphWrapper>
Expand Down

0 comments on commit aab17f7

Please sign in to comment.