@olane/o-lane 0.7.12-alpha.27 → 0.7.12-alpha.29

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.
@@ -1 +1 @@
1
- {"version":3,"file":"o-lane.tool.d.ts","sourceRoot":"","sources":["../../src/o-lane.tool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,QAAQ,EAAa,MAAM,eAAe,CAAC;AACzE,OAAO,EACL,WAAW,EACX,SAAS,EACT,cAAc,EAEf,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAOzD,qBAAa,SAAU,SAAQ,SAAS;IACtC,OAAO,CAAC,OAAO,CAAe;gBAElB,MAAM,EAAE,WAAW;IAKzB,eAAe,CAAC,SAAS,EAAE,QAAQ,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAyBrE;;;;OAIG;IACG,YAAY,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC;IA6CzD;;;;;OAKG;IACG,YAAY,CAAC,OAAO,EAAE,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC;IA8B7C,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;CAIhC"}
1
+ {"version":3,"file":"o-lane.tool.d.ts","sourceRoot":"","sources":["../../src/o-lane.tool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,QAAQ,EAAa,MAAM,eAAe,CAAC;AACzE,OAAO,EACL,WAAW,EACX,SAAS,EACT,cAAc,EAEf,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAOzD,qBAAa,SAAU,SAAQ,SAAS;IACtC,OAAO,CAAC,OAAO,CAAe;gBAElB,MAAM,EAAE,WAAW;IAKzB,eAAe,CAAC,SAAS,EAAE,QAAQ,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAyBrE;;;;OAIG;IACG,YAAY,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC;IAoCzD;;;;;OAKG;IACG,YAAY,CAAC,OAAO,EAAE,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC;IA8B7C,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;CAIhC"}
@@ -1,4 +1,4 @@
1
- import { CoreUtils, oAddress, oResponse } from '@olane/o-core';
1
+ import { CoreUtils, oAddress } from '@olane/o-core';
2
2
  import { oNodeTool, } from '@olane/o-node';
3
3
  import { oCapabilityType } from './capabilities/index.js';
4
4
  import { oIntent } from './intent/index.js';
@@ -43,13 +43,7 @@ export class oLaneTool extends oNodeTool {
43
43
  onChunk: _isStream
44
44
  ? async (chunk) => {
45
45
  this.logger.debug('Sending stream response: ', chunk);
46
- await CoreUtils.sendStreamResponse(new oResponse({
47
- id: request.id,
48
- data: chunk,
49
- _last: false,
50
- _requestMethod: request.method,
51
- _connectionId: request.params?._connectionId,
52
- }), request.stream);
46
+ await CoreUtils.sendStreamResponse(chunk, request.stream);
53
47
  }
54
48
  : undefined,
55
49
  context: context
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@olane/o-lane",
3
- "version": "0.7.12-alpha.27",
3
+ "version": "0.7.12-alpha.29",
4
4
  "type": "module",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",
@@ -54,13 +54,13 @@
54
54
  "typescript": "5.4.5"
55
55
  },
56
56
  "dependencies": {
57
- "@olane/o-config": "0.7.12-alpha.27",
58
- "@olane/o-core": "0.7.12-alpha.27",
59
- "@olane/o-node": "0.7.12-alpha.27",
60
- "@olane/o-protocol": "0.7.12-alpha.27",
61
- "@olane/o-tool": "0.7.12-alpha.27",
57
+ "@olane/o-config": "0.7.12-alpha.29",
58
+ "@olane/o-core": "0.7.12-alpha.29",
59
+ "@olane/o-node": "0.7.12-alpha.29",
60
+ "@olane/o-protocol": "0.7.12-alpha.29",
61
+ "@olane/o-tool": "0.7.12-alpha.29",
62
62
  "debug": "^4.4.1",
63
63
  "dotenv": "^16.5.0"
64
64
  },
65
- "gitHead": "e6f6db738660a7556bd3e7efd2bcd6f69d30af7c"
65
+ "gitHead": "b8c692a1b5ef2d0e974ccfe501841be852b17dbc"
66
66
  }