Skip to content

Commit

Permalink
Updated structure
Browse files Browse the repository at this point in the history
  • Loading branch information
RostiMelk committed Nov 30, 2021
1 parent 18c04f4 commit 0194977
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/index.js → index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import axios from 'axios';

// Import internal deps
import { handleGetApiArgs, handlePostApiArgs, generateTimestamp } from './util.js';
import { handleGetApiArgs, handlePostApiArgs, generateTimestamp } from './lib/util.js';

/**
* Class for communicating with the WP Engine API using JavaScript.
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "@designcontainer/dc-wpe-js-api",
"version": "1.2.0",
"version": "1.2.1",
"description": "A javascript wrapper for the WPE Api",
"main": "index.js",
"publishConfig": {
"access": "public"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"test": "node tests/test.js",
"start": "node index.js"
},
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion tests/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import dotenv from 'dotenv';
dotenv.config();

// Import WpeApi class
import WpeApi from '../src/index.js';
import WpeApi from '../index.js';

// Setup WpeApi class
const user = process.env.WPE_USER;
Expand Down

0 comments on commit 0194977

Please sign in to comment.