bunite-core 0.17.1 → 0.17.3

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/src/rpc/index.ts CHANGED
@@ -1,171 +1,161 @@
1
- export {
2
- call,
3
- stream,
4
- cap,
5
- defineCap,
6
- defineSchema,
7
- isCallDef,
8
- isStreamDef,
9
- isCapDef,
10
- isSchema,
11
- isCapRef,
12
- isCapArray,
13
- isCapRecord,
14
- returnsKindOf,
15
- } from "./schema";
16
-
17
- export type {
18
- CallDef,
19
- StreamDef,
20
- CapDef,
21
- CapRefToken,
22
- CapArrayToken,
23
- CapRecordToken,
24
- AnyCapToken,
25
- MethodDef,
26
- MethodsRecord,
27
- DisposalSpec,
28
- DefineCapOpts,
29
- Schema,
30
- SchemaRoots,
31
- ImplsOf,
32
- ReturnsKind,
33
- CallCtx,
34
- Attestation,
35
- ExportedCap,
36
- ClientOf,
37
- ImplOf,
38
- ClientReturn,
39
- } from "./schema";
40
-
41
- export {
42
- CapRef,
43
- CAP_REF_EXT,
44
- createCodec,
45
- isFrame,
46
- DEFAULT_MAX_BYTES,
47
- PROTOCOL_VERSION,
48
- FRAMEWORK_NAME_PREFIX,
49
- BOOTSTRAP_METHOD,
50
- } from "./wire";
51
-
52
- export type {
53
- Frame,
54
- CallFrame,
55
- ResultFrame,
56
- StreamFrame,
57
- CancelFrame,
58
- DropFrame,
59
- HelloFrame,
60
- GoAwayFrame,
61
- CapRevokedFrame,
62
- StreamEvent,
63
- Target,
64
- CallMeta,
65
- CodecPair,
66
- u32,
67
- u53,
68
- } from "./wire";
69
-
70
- export { IpcError } from "./error";
71
-
1
+ export { createEncryptedPipe } from "./encrypt";
72
2
  export type {
3
+ AlreadyExistsReason,
4
+ FailedPreconditionReason,
73
5
  IpcCode,
74
6
  IpcStatus,
75
- RetrySpec,
76
- FailedPreconditionReason,
77
7
  ResourceExhaustedReason,
8
+ RetrySpec,
78
9
  UnavailableReason,
79
- AlreadyExistsReason,
80
10
  } from "./error";
81
-
82
- export {
83
- CapTable,
84
- USER_ROOTS_CAP_ID,
85
- RUNTIME_CAP_ID,
86
- USER_ROOTS_TYPE_ID,
87
- RUNTIME_TYPE_ID,
88
- FIRST_USER_CAP_ID,
89
- FIRST_USER_TYPE_ID,
90
- MAX_CAPS_PER_CONNECTION,
91
- MAX_IN_FLIGHT_CALLS_PER_CONNECTION,
92
- createConnection,
93
- } from "./peer";
94
-
95
- export {
96
- RuntimeCap,
97
- WindowCap,
98
- BrowserWindowCap,
99
- DialogsCap,
100
- FileRefCap,
101
- ClipboardCap,
102
- ShellCap,
103
- SurfaceCap,
104
- PageReportingCap,
105
- FRAMEWORK_TYPE_IDS,
106
- } from "./framework";
107
-
11
+ export { IpcError } from "./error";
108
12
  export type {
109
- WindowCreateOpts,
110
- WindowState,
13
+ AcceptPopupArgs,
14
+ AcceptPopupResult,
15
+ ClickArgs,
16
+ ConsoleEntry,
17
+ ConsoleLevel,
18
+ DialogEvent,
19
+ DialogMessageOpts,
111
20
  DialogOpenFileOpts,
112
21
  DialogSaveFileOpts,
113
- DialogMessageOpts,
114
- SurfaceCapabilities,
115
- SurfaceEvent,
116
- SurfaceEventBase,
117
- NavigationState,
118
22
  DownloadEvent,
119
23
  DownloadPolicy,
120
- WaitForDownloadResult,
121
- SurfaceMask,
24
+ EvaluateResult,
25
+ ExtendPopupTimeoutArgs,
26
+ ExtendPopupTimeoutResult,
122
27
  Modifier,
123
- ClickArgs,
124
- TypeArgs,
125
- PressArgs,
126
- ScrollArgs,
127
28
  MouseArgs,
128
- DialogEvent,
29
+ NavigationState,
30
+ PressArgs,
31
+ ResolveAndClickArgs,
32
+ ResolveAndClickResult,
129
33
  RespondToDialogArgs,
34
+ ScreenshotArgs,
35
+ ScreenshotResult,
36
+ ScrollArgs,
130
37
  SetDialogTimeoutArgs,
131
- WaitForSelectorArgs,
38
+ SurfaceCapabilities,
39
+ SurfaceEvent,
40
+ SurfaceEventBase,
41
+ SurfaceMask,
42
+ TypeArgs,
43
+ WaitForDownloadResult,
132
44
  WaitForFunctionArgs,
45
+ WaitForSelectorArgs,
133
46
  WaitResult,
134
- ConsoleLevel,
135
- ConsoleEntry,
136
- ScreenshotArgs,
137
- ScreenshotResult,
138
- EvaluateResult,
139
- AcceptPopupArgs,
140
- AcceptPopupResult,
141
- ExtendPopupTimeoutArgs,
142
- ExtendPopupTimeoutResult,
143
- ResolveAndClickArgs,
144
- ResolveAndClickResult,
47
+ WindowCreateOpts,
48
+ WindowState,
49
+ } from "./framework";
50
+ export {
51
+ BrowserWindowCap,
52
+ ClipboardCap,
53
+ DialogsCap,
54
+ FileRefCap,
55
+ FRAMEWORK_TYPE_IDS,
56
+ PageReportingCap,
57
+ RuntimeCap,
58
+ ShellCap,
59
+ SurfaceCap,
60
+ WindowCap,
145
61
  } from "./framework";
146
-
147
62
  export type {
148
- Transport,
63
+ CapTableEntry,
64
+ CloseInfo,
149
65
  Connection,
150
- ConnectionOptions,
151
66
  ConnectionEvents,
152
- CapTableEntry,
67
+ ConnectionOptions,
68
+ IfExists,
153
69
  PendingCall,
154
70
  Policy,
155
- IfExists,
156
71
  ServeHandle,
72
+ Transport,
157
73
  } from "./peer";
158
74
 
159
75
  export {
160
- createFrameTransport,
161
- createWebSocketPipe,
162
- } from "./transport";
163
-
76
+ CapTable,
77
+ createConnection,
78
+ FIRST_USER_CAP_ID,
79
+ FIRST_USER_TYPE_ID,
80
+ MAX_CAPS_PER_CONNECTION,
81
+ MAX_IN_FLIGHT_CALLS_PER_CONNECTION,
82
+ RUNTIME_CAP_ID,
83
+ RUNTIME_TYPE_ID,
84
+ USER_ROOTS_CAP_ID,
85
+ USER_ROOTS_TYPE_ID,
86
+ } from "./peer";
87
+ export type {
88
+ AnyCapDef,
89
+ AnyCapToken,
90
+ Attestation,
91
+ CallCtx,
92
+ CallDef,
93
+ CapArrayToken,
94
+ CapDef,
95
+ CapRecordToken,
96
+ CapRefToken,
97
+ ClientOf,
98
+ ClientReturn,
99
+ DefineCapOpts,
100
+ DisposalSpec,
101
+ ExportedCap,
102
+ ImplOf,
103
+ ImplsOf,
104
+ MethodDef,
105
+ MethodsRecord,
106
+ ReturnsKind,
107
+ Schema,
108
+ SchemaRoots,
109
+ StreamDef,
110
+ } from "./schema";
111
+ export {
112
+ call,
113
+ cap,
114
+ defineCap,
115
+ defineSchema,
116
+ isCallDef,
117
+ isCapArray,
118
+ isCapDef,
119
+ isCapRecord,
120
+ isCapRef,
121
+ isSchema,
122
+ isStreamDef,
123
+ returnsKindOf,
124
+ stream,
125
+ } from "./schema";
126
+ export { Stream } from "./stream";
164
127
  export type {
165
128
  BytesPipe,
166
129
  WebSocketLike,
167
130
  } from "./transport";
168
-
169
- export { createEncryptedPipe } from "./encrypt";
170
-
171
- export { Stream } from "./stream";
131
+ export {
132
+ createFrameTransport,
133
+ createWebSocketPipe,
134
+ } from "./transport";
135
+ export type {
136
+ CallFrame,
137
+ CallMeta,
138
+ CancelFrame,
139
+ CapRevokedFrame,
140
+ CodecPair,
141
+ DropFrame,
142
+ Frame,
143
+ GoAwayFrame,
144
+ HelloFrame,
145
+ ResultFrame,
146
+ StreamEvent,
147
+ StreamFrame,
148
+ Target,
149
+ u32,
150
+ u53,
151
+ } from "./wire";
152
+ export {
153
+ BOOTSTRAP_METHOD,
154
+ CAP_REF_EXT,
155
+ CapRef,
156
+ createCodec,
157
+ DEFAULT_MAX_BYTES,
158
+ FRAMEWORK_NAME_PREFIX,
159
+ isFrame,
160
+ PROTOCOL_VERSION,
161
+ } from "./wire";