Skip to content

Commit

Permalink
CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
Rinse12 authored and github-actions[bot] committed Dec 2, 2023
1 parent 4ab688f commit c854936
Show file tree
Hide file tree
Showing 8 changed files with 54 additions and 12 deletions.
5 changes: 3 additions & 2 deletions dist/browser/rpc/src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ declare class PlebbitWsServer extends EventEmitter {
publishing: {
[subscriptionId: number]: Publication;
};
constructor({ port, plebbit, plebbitOptions }: PlebbitWsServerClassOptions);
authKey: string | undefined;
constructor({ port, plebbit, plebbitOptions, authKey }: PlebbitWsServerClassOptions);
rpcWebsocketsRegister(method: string, callback: Function): void;
jsonRpcSendNotification({ method, result, subscription, event, connectionId }: JsonRpcSendNotificationOptions): void;
getComment(params: any): Promise<{
Expand Down Expand Up @@ -72,7 +73,7 @@ declare class PlebbitWsServer extends EventEmitter {
destroy(): Promise<void>;
}
declare const PlebbitRpc: {
PlebbitWsServer: ({ port, plebbitOptions }: PlebbitWsServerOptions) => Promise<PlebbitWsServer>;
PlebbitWsServer: ({ port, plebbitOptions, authKey }: PlebbitWsServerOptions) => Promise<PlebbitWsServer>;
setPlebbitJs: typeof setPlebbitJs;
};
export = PlebbitRpc;
24 changes: 21 additions & 3 deletions dist/browser/rpc/src/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/browser/rpc/src/index.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions dist/browser/rpc/src/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ export type PlebbitWsServerClassOptions = {
port: number;
plebbit: Plebbit;
plebbitOptions?: PlebbitOptions;
authKey?: string;
};
export type PlebbitWsServerOptions = {
port: number;
plebbitOptions?: PlebbitOptions;
authKey?: string;
};
export type JsonRpcSendNotificationOptions = {
method: string;
Expand Down
5 changes: 3 additions & 2 deletions dist/node/rpc/src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ declare class PlebbitWsServer extends EventEmitter {
publishing: {
[subscriptionId: number]: Publication;
};
constructor({ port, plebbit, plebbitOptions }: PlebbitWsServerClassOptions);
authKey: string | undefined;
constructor({ port, plebbit, plebbitOptions, authKey }: PlebbitWsServerClassOptions);
rpcWebsocketsRegister(method: string, callback: Function): void;
jsonRpcSendNotification({ method, result, subscription, event, connectionId }: JsonRpcSendNotificationOptions): void;
getComment(params: any): Promise<{
Expand Down Expand Up @@ -72,7 +73,7 @@ declare class PlebbitWsServer extends EventEmitter {
destroy(): Promise<void>;
}
declare const PlebbitRpc: {
PlebbitWsServer: ({ port, plebbitOptions }: PlebbitWsServerOptions) => Promise<PlebbitWsServer>;
PlebbitWsServer: ({ port, plebbitOptions, authKey }: PlebbitWsServerOptions) => Promise<PlebbitWsServer>;
setPlebbitJs: typeof setPlebbitJs;
};
export = PlebbitRpc;
24 changes: 21 additions & 3 deletions dist/node/rpc/src/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/node/rpc/src/index.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions dist/node/rpc/src/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ export type PlebbitWsServerClassOptions = {
port: number;
plebbit: Plebbit;
plebbitOptions?: PlebbitOptions;
authKey?: string;
};
export type PlebbitWsServerOptions = {
port: number;
plebbitOptions?: PlebbitOptions;
authKey?: string;
};
export type JsonRpcSendNotificationOptions = {
method: string;
Expand Down

0 comments on commit c854936

Please sign in to comment.