fix import in examples

This commit is contained in:
2024-10-25 12:10:45 -05:00
parent 7a5b027c68
commit 06a974e557
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
// recreation of psn_client.cpp example from https://github.com/vyv/psn-cpp
const dgram = require('dgram');
const { Decoder } = require('../dist');
const { Decoder } = require('../dist/cjs');
const client = dgram.createSocket('udp4');
const decoder = new Decoder();