@olane/o-core 0.1.4 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -70,12 +70,7 @@ Follow these steps to create and start your olane network called `my-network`.
70
70
  ```bash
71
71
  # install the cli tool
72
72
  # clone the cli repo
73
- git clone git@github.com:olane-labs/o-cli.git
74
- cd o-cli
75
- npm install
76
- npm run build
77
- chmod +x dist/index.js
78
- npm install -g .
73
+ npm install -g @olane/o-cli
79
74
 
80
75
  # create your first network
81
76
  olane create -p 4444 my-network
@@ -100,9 +95,9 @@ Play Video
100
95
 
101
96
  1. Join your network ➕
102
97
  ```bash
103
- # join the network
104
- olane join my-network
98
+ olane chat my-network
105
99
  ```
100
+ - Not only can *you* talk to your network, but your network can talk to you now
106
101
  2. Talk to your network via "intent" (resolution) 🗣️
107
102
 
108
103
  ```bash
@@ -1 +1 @@
1
- {"version":3,"file":"network.utils.d.ts","sourceRoot":"","sources":["../../../src/core/utils/network.utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,qBAAa,YAAY;WACH,QAAQ,CAC1B,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,QAAQ,GAChB,OAAO,CAAC;QACT,UAAU,EAAE,SAAS,EAAE,CAAC;QACxB,aAAa,EAAE,MAAM,CAAC;QACtB,eAAe,EAAE,MAAM,CAAC;KACzB,CAAC;CA2CH"}
1
+ {"version":3,"file":"network.utils.d.ts","sourceRoot":"","sources":["../../../src/core/utils/network.utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,qBAAa,YAAY;WACH,QAAQ,CAC1B,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,QAAQ,GAChB,OAAO,CAAC;QACT,UAAU,EAAE,SAAS,EAAE,CAAC;QACxB,aAAa,EAAE,MAAM,CAAC;QACtB,eAAe,EAAE,MAAM,CAAC;KACzB,CAAC;CA0CH"}
@@ -21,7 +21,6 @@ export class NetworkUtils {
21
21
  }
22
22
  // let's translate the peerId to a multiaddr
23
23
  const result = await p2pNode.peerRouting.findPeer(value.peer);
24
- console.log('Result: ', result);
25
24
  return {
26
25
  transports: result.multiaddrs,
27
26
  staticAddress: '',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@olane/o-core",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -49,7 +49,7 @@
49
49
  "@typescript-eslint/parser": "^8.34.1",
50
50
  "babel-loader": "^10.0.0",
51
51
  "eslint": "^9.29.0",
52
- "eslint-config-prettier": "^10.1.5",
52
+ "eslint-config-prettier": "^10.1.6",
53
53
  "eslint-plugin-prettier": "^5.5.0",
54
54
  "globals": "^16.2.0",
55
55
  "jest": "^30.0.0",
@@ -66,8 +66,8 @@
66
66
  "webpack-dev-server": "^5.2.2"
67
67
  },
68
68
  "peerDependencies": {
69
- "@olane/o-config": "^0.1.4",
70
- "@olane/o-protocol": "^0.1.4"
69
+ "@olane/o-config": "^0.1.6",
70
+ "@olane/o-protocol": "^0.1.6"
71
71
  },
72
72
  "dependencies": {
73
73
  "chalk": "^5.4.1",