mirror of
https://github.com/jwetzell/psn-js.git
synced 2026-08-20 06:29:12 +00:00
fix import in examples
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user