Browse Source

moved RPCLibrary to Index

master
Daniel Huebleitner 4 years ago
parent
commit
45d6bb9062
5 changed files with 9 additions and 9 deletions
  1. 5
    0
      Index.ts
  2. 1
    1
      package-lock.json
  3. 2
    2
      package.json
  4. 0
    5
      src/RPCLibrary.ts
  5. 1
    1
      test/Test.ts

+ 5
- 0
Index.ts View File

1
+export * from './src/Backend';
2
+export * from './src/Frontend';
3
+export * from './src/Interfaces'
4
+export * from './src/Types';
5
+export * from './src/Utils'

+ 1
- 1
package-lock.json View File

1
 {
1
 {
2
   "name": "rpclibrary",
2
   "name": "rpclibrary",
3
-  "version": "1.3.9",
3
+  "version": "1.3.10",
4
   "lockfileVersion": 1,
4
   "lockfileVersion": 1,
5
   "requires": true,
5
   "requires": true,
6
   "dependencies": {
6
   "dependencies": {

+ 2
- 2
package.json View File

1
 {
1
 {
2
   "name": "rpclibrary",
2
   "name": "rpclibrary",
3
-  "version": "1.3.10",
3
+  "version": "1.3.11",
4
   "description": "rpclibrary is a websocket on steroids!",
4
   "description": "rpclibrary is a websocket on steroids!",
5
-  "main": "./js/src/RPCLibrary.js",
5
+  "main": "./js/Index.js",
6
   "repository": {
6
   "repository": {
7
     "type": "git",
7
     "type": "git",
8
     "url": "https://www.versioncontrol.me/frontwork-vendor/rpclibrary"
8
     "url": "https://www.versioncontrol.me/frontwork-vendor/rpclibrary"

+ 0
- 5
src/RPCLibrary.ts View File

1
-export * from  './Backend';
2
-export * from './Frontend';
3
-export * from './Interfaces'
4
-export * from './Types';
5
-export * from './Utils'

+ 1
- 1
test/Test.ts View File

1
 import { describe, it } from "mocha";
1
 import { describe, it } from "mocha";
2
 
2
 
3
-import { RPCServer, RPCSocket, SubscriptionResponse, makeSubResponse } from '../src/RPCLibrary'
3
+import { RPCServer, RPCSocket, SubscriptionResponse, makeSubResponse } from '../Index'
4
 import * as uuidv4 from "uuid/v4"
4
 import * as uuidv4 from "uuid/v4"
5
 
5
 
6
 const add = (...args:number[]) => {return args.reduce((a,b)=>a+b, 0)}
6
 const add = (...args:number[]) => {return args.reduce((a,b)=>a+b, 0)}

Loading…
Cancel
Save