8000 edit · joshbrew/graphscript@773bb13 · GitHub
[go: up one dir, main page]

Skip to content

Commit 773bb13

Browse files
committed
edit
1 parent 2e990df commit 773bb13

File tree

13 files changed

+20
-10
lines changed

13 files changed

+20
-10
lines changed

___package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "graphscript-core",
3-
"version": "0.2.74",
3+
"version": "0.2.76",
44
"description": "Comprehensive acyclic-graph based application architecture with microservices and networking.",
55
"main": "dist/index.core.js",
66
"module": "dist/index.core.esm.js",

__package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "graphscript-node",
3-
"version": "0.2.75",
3+
"version": "0.2.76",
44
"description": "Comprehensive acyclic-graph based application architecture with microservices and networking",
55
"main": "dist/index.node.js",
66
"types": "dist/index.node.d.ts",

dist/index.esm.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.node.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/src/services/Service.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ export declare class Service extends Graph {
3535
spliceTypedArray: typeof spliceTypedArray;
3636
ping: () => string;
3737
echo: (...args: any) => any;
38+
log: (...args: any) => boolean;
3839
}
3940
export declare function isTypedArray(x: any): boolean;
4041
export declare const recursivelyAssign: (target: any, obj: any) => any;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "graphscript",
3-
"version": "0.2.75",
3+
"version": "0.2.76",
44
"description": "Comprehensive acyclic-graph based application architecture with microservices and networking",
55
"main": "dist/index.js",
66
"module": "dist/index.esm.js",

src/extras/dist/index.gpu.services.esm.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/extras/dist/index.gpu.services.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/extras/dist/index.services.esm.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/extras/dist/index.services.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/extras/dist/services/Service.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ export declare class Service extends Graph {
3535
spliceTypedArray: typeof spliceTypedArray;
3636
ping: () => string;
3737
echo: (...args: any) => any;
38+
log: (...args: any) => boolean;
3839
}
3940
export declare function isTypedArray(x: any): boolean;
4041
export declare const recursivelyAssign: (target: any, obj: any) => any;

src/services/Service.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,14 @@ export class Service extends Graph {
237237
this.transmit(...args);
238238
return args;
239239
}
240+
log = (...args:any)=>{
241+
console.log(...args);
242+
return true;
243+
}
244+
error = (...args:any) => {
245+
console.error(...args);
246+
return true;
247+
}
240248

241249
}
242250

0 commit comments

Comments
 (0)
0