Skip to content

Commit

Permalink
Fix: Incorrect imports
Browse files Browse the repository at this point in the history
  • Loading branch information
therealPaulPlay committed Jan 23, 2025
1 parent b557ccc commit d29309e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "playpeerjs",
"version": "1.0.0",
"version": "1.0.1",
"description": "WebRTC-based wrapper for creating robust peer-2-peer multiplayer systems with ease.",
"main": "src/index.js",
"module": "src/index.js",
Expand Down
3 changes: 2 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Peer } from "peerjs";
import pkg from 'peerjs';
const { Peer } = pkg;

const ERROR_PREFIX = "PlayPeer error: ";
const WARNING_PREFIX = "PlayPeer warning: ";
Expand Down

0 comments on commit d29309e

Please sign in to comment.