@agentuity/react 0.0.79 → 0.0.80

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/dist/index.d.ts CHANGED
@@ -1,7 +1,8 @@
1
- export * from './context';
2
- export * from './websocket';
3
- export * from './eventstream';
4
- export * from './types';
5
- export * from './api';
6
- export * from './memo';
1
+ export { AgentuityContext, AgentuityProvider, type ContextProviderArgs } from './context';
2
+ export { useWebsocket, type WebSocketRouteKey, type WebSocketRouteInput, type WebSocketRouteOutput, type WebsocketOptions, } from './websocket';
3
+ export { useEventStream, type SSERouteKey, type SSERouteOutput, type EventStreamOptions, } from './eventstream';
4
+ export { type RouteRegistry, type WebSocketRouteRegistry, type SSERouteRegistry } from './types';
5
+ export { useAPI, type RouteKey, type ExtractMethod, type RouteIsStream, type RouteInput, type RouteOutput, type UseAPIOptions, type UseAPIResult, } from './api';
6
+ export { jsonEqual, useJsonMemo } from './memo';
7
+ export { buildUrl, defaultBaseUrl } from './url';
7
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,KAAK,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAC1F,OAAO,EACN,YAAY,EACZ,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,GACrB,MAAM,aAAa,CAAC;AACrB,OAAO,EACN,cAAc,EACd,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,kBAAkB,GACvB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,sBAAsB,EAAE,KAAK,gBAAgB,EAAE,MAAM,SAAS,CAAC;AACjG,OAAO,EACN,MAAM,EACN,KAAK,QAAQ,EACb,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,aAAa,EAClB,KAAK,YAAY,GACjB,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC"}
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
- export * from './context';
2
- export * from './websocket';
3
- export * from './eventstream';
4
- export * from './types';
5
- export * from './api';
6
- export * from './memo';
1
+ export { AgentuityContext, AgentuityProvider } from './context';
2
+ export { useWebsocket, } from './websocket';
3
+ export { useEventStream, } from './eventstream';
4
+ export { useAPI, } from './api';
5
+ export { jsonEqual, useJsonMemo } from './memo';
6
+ export { buildUrl, defaultBaseUrl } from './url';
7
7
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAA4B,MAAM,WAAW,CAAC;AAC1F,OAAO,EACN,YAAY,GAKZ,MAAM,aAAa,CAAC;AACrB,OAAO,EACN,cAAc,GAId,MAAM,eAAe,CAAC;AAEvB,OAAO,EACN,MAAM,GAQN,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentuity/react",
3
- "version": "0.0.79",
3
+ "version": "0.0.80",
4
4
  "license": "Apache-2.0",
5
5
  "author": "Agentuity employees and contributors",
6
6
  "type": "module",
@@ -26,7 +26,7 @@
26
26
  "prepublishOnly": "bun run clean && bun run build"
27
27
  },
28
28
  "dependencies": {
29
- "@agentuity/core": "0.0.79"
29
+ "@agentuity/core": "0.0.80"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@types/bun": "latest",
@@ -39,5 +39,6 @@
39
39
  },
40
40
  "publishConfig": {
41
41
  "access": "public"
42
- }
42
+ },
43
+ "sideEffects": false
43
44
  }
package/src/index.ts CHANGED
@@ -1,6 +1,27 @@
1
- export * from './context';
2
- export * from './websocket';
3
- export * from './eventstream';
4
- export * from './types';
5
- export * from './api';
6
- export * from './memo';
1
+ export { AgentuityContext, AgentuityProvider, type ContextProviderArgs } from './context';
2
+ export {
3
+ useWebsocket,
4
+ type WebSocketRouteKey,
5
+ type WebSocketRouteInput,
6
+ type WebSocketRouteOutput,
7
+ type WebsocketOptions,
8
+ } from './websocket';
9
+ export {
10
+ useEventStream,
11
+ type SSERouteKey,
12
+ type SSERouteOutput,
13
+ type EventStreamOptions,
14
+ } from './eventstream';
15
+ export { type RouteRegistry, type WebSocketRouteRegistry, type SSERouteRegistry } from './types';
16
+ export {
17
+ useAPI,
18
+ type RouteKey,
19
+ type ExtractMethod,
20
+ type RouteIsStream,
21
+ type RouteInput,
22
+ type RouteOutput,
23
+ type UseAPIOptions,
24
+ type UseAPIResult,
25
+ } from './api';
26
+ export { jsonEqual, useJsonMemo } from './memo';
27
+ export { buildUrl, defaultBaseUrl } from './url';