Skip to content

Commit

Permalink
15.17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Apr 8, 2024
1 parent a919818 commit dc3b830
Show file tree
Hide file tree
Showing 170 changed files with 437 additions and 298 deletions.
11 changes: 7 additions & 4 deletions CHANGELOG.md
Expand Up @@ -2,17 +2,20 @@
# RxDB Changelog

<!-- CHANGELOG NEWEST -->
- ADD `RxReplicationState.remove()` to delete the metadata of a specific replication.
- FIX IndexedDB RxStorage: Rerun database creation when IndexedDB database was closed by [safari bug](https://bugs.webkit.org/show_bug.cgi?id=197050)
- FIX vite bundling error with WebRTC replication [#5841](https://github.com/pubkey/rxdb/issues/5841)
- ADD replication-webrtc: allow passing config to simple-peer [#5838](https://github.com/pubkey/rxdb/pull/5838)

<!-- ADD new changes here! -->

<!-- /CHANGELOG NEWEST -->

<!-- RELEASE BELOW -->

### 15.17.0 (8 April 2024)

- ADD `RxReplicationState.remove()` to delete the metadata of a specific replication.
- FIX IndexedDB RxStorage: Rerun database creation when IndexedDB database was closed by [safari bug](https://bugs.webkit.org/show_bug.cgi?id=197050)
- FIX vite bundling error with WebRTC replication [#5841](https://github.com/pubkey/rxdb/issues/5841)
- ADD replication-webrtc: allow passing config to simple-peer [#5838](https://github.com/pubkey/rxdb/pull/5838)

### 15.16.0 (28 March 2024)

- Update dexie.js to version `4.0.1`
Expand Down
2 changes: 1 addition & 1 deletion dist/cjs/plugins/dev-mode/error-messages.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/cjs/plugins/dev-mode/error-messages.js.map

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

23 changes: 18 additions & 5 deletions dist/cjs/plugins/replication/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/cjs/plugins/replication/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/cjs/plugins/utils/utils-rxdb-version.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/cjs/plugins/utils/utils-rxdb-version.js.map

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

40 changes: 40 additions & 0 deletions dist/cjs/rx-database-internal-store.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/cjs/rx-database-internal-store.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/esm/plugins/dev-mode/error-messages.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/esm/plugins/dev-mode/error-messages.js.map

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

25 changes: 19 additions & 6 deletions dist/esm/plugins/replication/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/esm/plugins/replication/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/esm/plugins/utils/utils-rxdb-version.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/esm/plugins/utils/utils-rxdb-version.js.map

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

39 changes: 39 additions & 0 deletions dist/esm/rx-database-internal-store.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/esm/rx-database-internal-store.js.map

Large diffs are not rendered by default.

@@ -1,5 +1,5 @@
import type { WebRTCConnectionHandlerCreator } from './webrtc-types.ts';
import { Instance as SimplePeerInstance, Options as SimplePeerOptions } from 'simple-peer';
import type { Instance as SimplePeerInstance, Options as SimplePeerOptions } from 'simple-peer';
export type SimplePeer = SimplePeerInstance & {
id: string;
};
Expand Down Expand Up @@ -28,6 +28,7 @@ export type SimplePeerPingMessage = {
export type PeerMessage = SimplePeerInitMessage | SimplePeerJoinMessage | SimplePeerJoinedMessage | SimplePeerSignalMessage | SimplePeerPingMessage;
export declare const DEFAULT_SIGNALING_SERVER: string;
export type SimplePeerWrtc = SimplePeerOptions['wrtc'];
export type SimplePeerConfig = SimplePeerOptions['config'];
export type SimplePeerConnectionHandlerOptions = {
/**
* If no server is specified, the default signaling server
Expand All @@ -37,13 +38,14 @@ export type SimplePeerConnectionHandlerOptions = {
*/
signalingServerUrl?: string;
wrtc?: SimplePeerWrtc;
config?: SimplePeerConfig;
webSocketConstructor?: WebSocket;
};
export declare const SIMPLE_PEER_PING_INTERVAL: number;
/**
* Returns a connection handler that uses simple-peer and the signaling server.
*/
export declare function getConnectionHandlerSimplePeer({ signalingServerUrl, wrtc, webSocketConstructor }: SimplePeerConnectionHandlerOptions): WebRTCConnectionHandlerCreator<SimplePeer>;
export declare function getConnectionHandlerSimplePeer({ signalingServerUrl, wrtc, config, webSocketConstructor }: SimplePeerConnectionHandlerOptions): WebRTCConnectionHandlerCreator<SimplePeer>;
/**
* Multiple people had problems because it requires to have
* the nextTick() method in the runtime. So we check here and
Expand Down

0 comments on commit dc3b830

Please sign in to comment.