bunite-core 0.17.0 → 0.17.2

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,160 @@
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,
149
64
  Connection,
150
- ConnectionOptions,
151
65
  ConnectionEvents,
152
- CapTableEntry,
66
+ ConnectionOptions,
67
+ IfExists,
153
68
  PendingCall,
154
69
  Policy,
155
- IfExists,
156
70
  ServeHandle,
71
+ Transport,
157
72
  } from "./peer";
158
73
 
159
74
  export {
160
- createFrameTransport,
161
- createWebSocketPipe,
162
- } from "./transport";
163
-
75
+ CapTable,
76
+ createConnection,
77
+ FIRST_USER_CAP_ID,
78
+ FIRST_USER_TYPE_ID,
79
+ MAX_CAPS_PER_CONNECTION,
80
+ MAX_IN_FLIGHT_CALLS_PER_CONNECTION,
81
+ RUNTIME_CAP_ID,
82
+ RUNTIME_TYPE_ID,
83
+ USER_ROOTS_CAP_ID,
84
+ USER_ROOTS_TYPE_ID,
85
+ } from "./peer";
86
+ export type {
87
+ AnyCapDef,
88
+ AnyCapToken,
89
+ Attestation,
90
+ CallCtx,
91
+ CallDef,
92
+ CapArrayToken,
93
+ CapDef,
94
+ CapRecordToken,
95
+ CapRefToken,
96
+ ClientOf,
97
+ ClientReturn,
98
+ DefineCapOpts,
99
+ DisposalSpec,
100
+ ExportedCap,
101
+ ImplOf,
102
+ ImplsOf,
103
+ MethodDef,
104
+ MethodsRecord,
105
+ ReturnsKind,
106
+ Schema,
107
+ SchemaRoots,
108
+ StreamDef,
109
+ } from "./schema";
110
+ export {
111
+ call,
112
+ cap,
113
+ defineCap,
114
+ defineSchema,
115
+ isCallDef,
116
+ isCapArray,
117
+ isCapDef,
118
+ isCapRecord,
119
+ isCapRef,
120
+ isSchema,
121
+ isStreamDef,
122
+ returnsKindOf,
123
+ stream,
124
+ } from "./schema";
125
+ export { Stream } from "./stream";
164
126
  export type {
165
127
  BytesPipe,
166
128
  WebSocketLike,
167
129
  } from "./transport";
168
-
169
- export { createEncryptedPipe } from "./encrypt";
170
-
171
- export { Stream } from "./stream";
130
+ export {
131
+ createFrameTransport,
132
+ createWebSocketPipe,
133
+ } from "./transport";
134
+ export type {
135
+ CallFrame,
136
+ CallMeta,
137
+ CancelFrame,
138
+ CapRevokedFrame,
139
+ CodecPair,
140
+ DropFrame,
141
+ Frame,
142
+ GoAwayFrame,
143
+ HelloFrame,
144
+ ResultFrame,
145
+ StreamEvent,
146
+ StreamFrame,
147
+ Target,
148
+ u32,
149
+ u53,
150
+ } from "./wire";
151
+ export {
152
+ BOOTSTRAP_METHOD,
153
+ CAP_REF_EXT,
154
+ CapRef,
155
+ createCodec,
156
+ DEFAULT_MAX_BYTES,
157
+ FRAMEWORK_NAME_PREFIX,
158
+ isFrame,
159
+ PROTOCOL_VERSION,
160
+ } from "./wire";