Skip to content

Commit c6f0735

Browse files
author
Jonathan
committed
Update to SDK Alpha 7
1 parent 096d813 commit c6f0735

File tree

12 files changed

+18
-13
lines changed

12 files changed

+18
-13
lines changed

onixjs-electron/app/js/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ let sdk = new OnixClient({
99
port: 3000,
1010
adapters: {
1111
http: Browser.HTTP,
12-
websocket: Browser.WebSocket
12+
websocket: Browser.WebSocket,
13+
storage: Browser.LocalStorage
1314
}
1415
});
1516

onixjs-electron/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"start": "electron ."
99
},
1010
"dependencies": {
11-
"@onixjs/sdk": "^1.0.0-alpha.5",
11+
"@onixjs/sdk": "^1.0.0-alpha.7",
1212
"electron": "^1.8.4"
1313
}
1414
}

onixjs-ng/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"@angular/platform-browser": "^5.2.0",
2424
"@angular/platform-browser-dynamic": "^5.2.0",
2525
"@angular/router": "^5.2.0",
26-
"@onixjs/sdk": "^1.0.0-alpha.5",
26+
"@onixjs/sdk": "^1.0.0-alpha.7",
2727
"core-js": "^2.4.1",
2828
"hammerjs": "^2.0.8",
2929
"rxjs": "^5.5.6",

onixjs-ng/src/app/app.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ export class AppComponent implements OnInit {
1919
port: 3000,
2020
adapters: {
2121
http: Browser.HTTP,
22-
websocket: Browser.WebSocket
22+
websocket: Browser.WebSocket,
23+
storage: Browser.LocalStorage
2324
}
2425
});
2526
/**
@@ -58,7 +59,6 @@ export class AppComponent implements OnInit {
5859
this.observable = Observable.create((observer) => {
5960
// Create a listTodos stream reference
6061
this.componentRef.Method('listTodos').stream((todos) => {
61-
console.log('TODOS: ', todos);
6262
observer.next(todos);
6363
this.cdr.detectChanges();
6464
});

onixjs-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.1.0",
44
"private": true,
55
"dependencies": {
6-
"@onixjs/sdk": "^1.0.0-alpha.5",
6+
"@onixjs/sdk": "^1.0.0-alpha.7",
77
"react": "^16.2.0",
88
"react-dom": "^16.2.0",
99
"react-scripts": "1.1.1"

onixjs-react/src/App.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ class App extends Component {
1414
port: 3000,
1515
adapters: {
1616
http: Browser.HTTP,
17-
websocket: Browser.WebSocket
17+
websocket: Browser.WebSocket,
18+
storage: Browser.LocalStorage
1819
}
1920
});
2021
// Setup Component

onixjs-reactnative/App.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ export default class App extends Component {
2121
port: 3000,
2222
adapters: {
2323
http: Browser.HTTP,
24-
websocket: Browser.WebSocket
24+
websocket: Browser.WebSocket,
25+
storage: Browser.LocalStorage
2526
}
2627
});
2728
// Setup Component

onixjs-reactnative/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"test": "jest"
88
},
99
"dependencies": {
10-
"@onixjs/sdk": "^1.0.0-alpha.4.2",
10+
"@onixjs/sdk": "^1.0.0-alpha.7",
1111
"react": "^16.3.0-alpha.1",
1212
"react-native": "0.54.2"
1313
},

onixjs-stencil/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"test.watch": "jest --watch --no-cache"
1616
},
1717
"dependencies": {
18-
"@onixjs/sdk": "^1.0.0-alpha.5",
18+
"@onixjs/sdk": "^1.0.0-alpha.7",
1919
"@stencil/core": "^0.7.6",
2020
"@stencil/router": "latest"
2121
},

onixjs-stencil/src/components/my-app/my-app.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ export class MyApp {
1919
port: 3000,
2020
adapters: {
2121
http: Browser.HTTP,
22-
websocket: Browser.WebSocket
22+
websocket: Browser.WebSocket,
23+
storage: Browser.LocalStorage
2324
}
2425
});
2526
// Setup Component

0 commit comments

Comments
 (0)