Skip to content

Commit 41c05d1

Browse files
authored
some minor fixes (#184)
# Goal The goal of this PR is cleanup some left-over updates during last commits. Related to #180
1 parent 43dabf5 commit 41c05d1

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

bridge/node/node-example-client/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ async function interactWithGraph() {
88

99
let connect_action: ConnectAction = {
1010
type: "Connect",
11-
ownerDsnpUserId: 1,
11+
ownerDsnpUserId: "1",
1212
connection: {
13-
dsnpUserId: 2,
13+
dsnpUserId: "2",
1414
schemaId: public_follow_graph_schema_id,
1515
} as Connection,
1616
dsnpKeys: {
17-
dsnpUserId: 2,
17+
dsnpUserId: "2",
1818
keysHash: 100,
1919
keys: [],
2020
} as DsnpKeys,
@@ -26,7 +26,7 @@ async function interactWithGraph() {
2626
let applied = await graph.applyActions(actions);
2727
console.log(applied);
2828

29-
let connections_including_pending = await graph.getConnectionsForUserGraph(1, public_follow_graph_schema_id, true);
29+
let connections_including_pending = await graph.getConnectionsForUserGraph("1", public_follow_graph_schema_id, true);
3030
console.log(connections_including_pending);
3131

3232
let exported = await graph.exportUpdates();

bridge/node/node-example-client/package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bridge/node/node-example-client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"author": "",
1212
"license": "Apache-2.0",
1313
"dependencies": {
14-
"@dsnp/graph-sdk": "^0.0.0-01dc02"
14+
"@dsnp/graph-sdk": "^1.0.2"
1515
},
1616
"devDependencies": {
1717
"typescript": "^5.1.3"

java/example-graphsdk-client/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ repositories {
3535
dependencies {
3636
implementation("org.slf4j:slf4j-api:2.0.7")
3737
implementation("org.slf4j:slf4j-simple:2.0.7")
38-
implementation("io.amplica.graphsdk:lib:1.0.1")
38+
implementation("io.amplica.graphsdk:lib:1.0.2")
3939
testImplementation("org.junit.jupiter:junit-jupiter-api:5.8.1")
4040
testImplementation("org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable:1.6.21")
4141
testImplementation("org.jetbrains.kotlin:kotlin-script-runtime:1.6.21")

0 commit comments

Comments
 (0)