Skip to content

Commit

Permalink
Moved to src
Browse files Browse the repository at this point in the history
  • Loading branch information
adiwajshing committed Jul 1, 2020
1 parent 7a2657a commit 1f7e9c8
Show file tree
Hide file tree
Showing 22 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Example/example.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
Mimetype,
WALocationMessage,
MessageLogLevel,
} from '../WAClient/WAClient'
} from '../src/WAClient/WAClient'
import * as fs from 'fs'

async function example() {
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion Binary/Constants.ts → src/Binary/Constants.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { proto as Coding } from './WAMessage'
import { proto as Coding } from '../../WAMessage/WAMessage'

export namespace WA {
export const Tags = {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion Binary/Encoder.ts → src/Binary/Encoder.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { WA } from './Constants'
import { proto } from './WAMessage'
import { proto } from '../../WAMessage/WAMessage'

export default class Encoder {
data: Array<number> = []
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion WAClient/Constants.ts → src/WAClient/Constants.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { WAMessage } from '../WAConnection/Constants'
import { proto } from '../Binary/WAMessage'
import { proto } from '../../WAMessage/WAMessage'
/**
* set of statuses visible to other people; see updatePresence() in WhatsAppWeb.Send
*/
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion WAClient/Utils.ts → src/WAClient/Utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import * as fs from 'fs'
import fetch from 'node-fetch'
import { WAMessage, WAMessageContent } from '../WAConnection/Constants'
import { hmacSign, aesDecryptWithIV, hkdf } from '../WAConnection/Utils'
import { proto } from '../Binary/WAMessage'
import { proto } from '../../WAMessage/WAMessage'
import { randomBytes } from 'crypto'
import { exec } from 'child_process'

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { WA } from '../Binary/Constants'
import { proto } from '../Binary/WAMessage'
import { proto } from '../../WAMessage/WAMessage'

export enum MessageLogLevel {
none=0,
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"forceConsistentCasingInFileNames": true,
"declaration": true
},
"include": ["*/*.ts"],
"exclude": ["node_modules", "*/Tests.ts"]
"include": ["src/*/*.ts"],
"exclude": ["node_modules", "src/*/Tests.ts"]
}

0 comments on commit 1f7e9c8

Please sign in to comment.