Skip to content

Commit

Permalink
Filesystem restructure
Browse files Browse the repository at this point in the history
Part of Client Merge Part 2
  • Loading branch information
Universal Web committed Mar 18, 2023
1 parent ed750db commit e4a6e9e
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion client/connect/index.js → client/connect.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { connected } from '../../utilities/logs.js';
import { connected } from '../utilities/logs.js';
export async function connect(requestBody, requestHead) {
console.log('-------CLIENT CONNECTING-------\n');
const thisClient = this;
Expand Down
File renamed without changes.
12 changes: 6 additions & 6 deletions client/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ import { watch } from '../utilities/watch.js';
// Client specific imports
import { getClient } from './getClient.js';
// Client specific imports to extend class
import { send } from './send/index.js';
import { request } from './request/index.js';
import { processMessage } from './processMessage/index.js';
import { onMessage } from './onMessage/index.js';
import { connect } from './connect/index.js';
import { listening } from './listening/index.js';
import { send } from './send.js';
import { request } from './request.js';
import { processMessage } from './processMessage.js';
import { onMessage } from './onMessage.js';
import { connect } from './connect.js';
import { listening } from './listening.js';
export class UDSP {
type = 'client';
description = `The Universal Web's UDSP client module to initiate connections to a UDSP Server.`;
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions client/send/index.js → client/send.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {
success, failed, imported, msgSent, info
} from '../../utilities/logs.js';
import { buildPacketSize } from '../../utilities/buildPacketSize.js';
import { buildStringSize } from '../../utilities/buildStringSize.js';
} from '../utilities/logs.js';
import { buildPacketSize } from '../utilities/buildPacketSize.js';
import { buildStringSize } from '../utilities/buildStringSize.js';
import {
encode,
decode
Expand All @@ -13,7 +13,7 @@ import {
nonceBox,
toBase64,
hashSign
} from '../../utilities/crypto.js';
} from '../utilities/crypto.js';
imported('Client Send');
async function send(message, priority) {
console.log(`Priority: ${priority}`);
Expand Down

0 comments on commit e4a6e9e

Please sign in to comment.