Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Move providers into subfolder
  • Loading branch information
chriszarate committed Oct 10, 2025
commit 7894bb11bf2fff5fc88237ed28d49fbea4ebfd57
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import { applyFilters } from '@wordpress/hooks';
/**
* Internal dependencies
*/
import { connectIndexDb } from './connect-indexdb';
import { createWebRTCConnection } from './create-webrtc-connection';
import type { ProviderCreator } from './types';
import { createIndexedDbProvider } from './indexeddb-provider';
import { createWebRTCProvider } from './webrtc-provider';
import type { ProviderCreator } from '../types';

let providerCreators: ProviderCreator[] | null = null;

Expand All @@ -26,8 +26,8 @@ function getDefaultProviderCreators(): ProviderCreator[] {
}

return [
connectIndexDb,
createWebRTCConnection( {
createIndexedDbProvider,
createWebRTCProvider( {
password: window?.__experimentalCollaborativeEditingSecret,
signaling: [ signalingUrl ],
} ),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
// @ts-ignore
import { IndexeddbPersistence } from 'y-indexeddb';

/** @typedef {import('./types').ObjectType} ObjectType */

Check failure on line 7 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 2

Cannot find module './types' or its corresponding type declarations.

Check failure on line 7 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Build JavaScript assets for PHP unit tests

Cannot find module './types' or its corresponding type declarations.

Check failure on line 7 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 5

Cannot find module './types' or its corresponding type declarations.

Check failure on line 7 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 1

Cannot find module './types' or its corresponding type declarations.

Check failure on line 7 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 7

Cannot find module './types' or its corresponding type declarations.

Check failure on line 7 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / check

Cannot find module './types' or its corresponding type declarations.

Check failure on line 7 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 8

Cannot find module './types' or its corresponding type declarations.

Check failure on line 7 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 3

Cannot find module './types' or its corresponding type declarations.

Check failure on line 7 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Check

Cannot find module './types' or its corresponding type declarations.

Check failure on line 7 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Build Release Artifact

Cannot find module './types' or its corresponding type declarations.

Check failure on line 7 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 4

Cannot find module './types' or its corresponding type declarations.

Check failure on line 7 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 6

Cannot find module './types' or its corresponding type declarations.

Check failure on line 7 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Run performance tests

Cannot find module './types' or its corresponding type declarations.

Check failure on line 7 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / All

Cannot find module './types' or its corresponding type declarations.
/** @typedef {import('./types').ObjectID} ObjectID */

Check failure on line 8 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 2

Cannot find module './types' or its corresponding type declarations.

Check failure on line 8 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Build JavaScript assets for PHP unit tests

Cannot find module './types' or its corresponding type declarations.

Check failure on line 8 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 5

Cannot find module './types' or its corresponding type declarations.

Check failure on line 8 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 1

Cannot find module './types' or its corresponding type declarations.

Check failure on line 8 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 7

Cannot find module './types' or its corresponding type declarations.

Check failure on line 8 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / check

Cannot find module './types' or its corresponding type declarations.

Check failure on line 8 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 8

Cannot find module './types' or its corresponding type declarations.

Check failure on line 8 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 3

Cannot find module './types' or its corresponding type declarations.

Check failure on line 8 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Check

Cannot find module './types' or its corresponding type declarations.

Check failure on line 8 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Build Release Artifact

Cannot find module './types' or its corresponding type declarations.

Check failure on line 8 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 4

Cannot find module './types' or its corresponding type declarations.

Check failure on line 8 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 6

Cannot find module './types' or its corresponding type declarations.

Check failure on line 8 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Run performance tests

Cannot find module './types' or its corresponding type declarations.

Check failure on line 8 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / All

Cannot find module './types' or its corresponding type declarations.
/** @typedef {import('./types').CRDTDoc} CRDTDoc */

Check failure on line 9 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 2

Cannot find module './types' or its corresponding type declarations.

Check failure on line 9 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Build JavaScript assets for PHP unit tests

Cannot find module './types' or its corresponding type declarations.

Check failure on line 9 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 5

Cannot find module './types' or its corresponding type declarations.

Check failure on line 9 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 1

Cannot find module './types' or its corresponding type declarations.

Check failure on line 9 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 7

Cannot find module './types' or its corresponding type declarations.

Check failure on line 9 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / check

Cannot find module './types' or its corresponding type declarations.

Check failure on line 9 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 8

Cannot find module './types' or its corresponding type declarations.

Check failure on line 9 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 3

Cannot find module './types' or its corresponding type declarations.

Check failure on line 9 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Check

Cannot find module './types' or its corresponding type declarations.

Check failure on line 9 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Build Release Artifact

Cannot find module './types' or its corresponding type declarations.

Check failure on line 9 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 4

Cannot find module './types' or its corresponding type declarations.

Check failure on line 9 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 6

Cannot find module './types' or its corresponding type declarations.

Check failure on line 9 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Run performance tests

Cannot find module './types' or its corresponding type declarations.

Check failure on line 9 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / All

Cannot find module './types' or its corresponding type declarations.
/** @typedef {import('./types').ProviderCreator} ProviderCreator */

Check failure on line 10 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 2

Cannot find module './types' or its corresponding type declarations.

Check failure on line 10 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Build JavaScript assets for PHP unit tests

Cannot find module './types' or its corresponding type declarations.

Check failure on line 10 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 5

Cannot find module './types' or its corresponding type declarations.

Check failure on line 10 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 1

Cannot find module './types' or its corresponding type declarations.

Check failure on line 10 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 7

Cannot find module './types' or its corresponding type declarations.

Check failure on line 10 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / check

Cannot find module './types' or its corresponding type declarations.

Check failure on line 10 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 8

Cannot find module './types' or its corresponding type declarations.

Check failure on line 10 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 3

Cannot find module './types' or its corresponding type declarations.

Check failure on line 10 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Check

Cannot find module './types' or its corresponding type declarations.

Check failure on line 10 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Build Release Artifact

Cannot find module './types' or its corresponding type declarations.

Check failure on line 10 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 4

Cannot find module './types' or its corresponding type declarations.

Check failure on line 10 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 6

Cannot find module './types' or its corresponding type declarations.

Check failure on line 10 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Run performance tests

Cannot find module './types' or its corresponding type declarations.

Check failure on line 10 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / All

Cannot find module './types' or its corresponding type declarations.
/** @typedef {import('./types').ProviderCreatorResult} ProviderCreatorResult */

Check failure on line 11 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 2

Cannot find module './types' or its corresponding type declarations.

Check failure on line 11 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Build JavaScript assets for PHP unit tests

Cannot find module './types' or its corresponding type declarations.

Check failure on line 11 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 5

Cannot find module './types' or its corresponding type declarations.

Check failure on line 11 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 1

Cannot find module './types' or its corresponding type declarations.

Check failure on line 11 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 7

Cannot find module './types' or its corresponding type declarations.

Check failure on line 11 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / check

Cannot find module './types' or its corresponding type declarations.

Check failure on line 11 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 8

Cannot find module './types' or its corresponding type declarations.

Check failure on line 11 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 3

Cannot find module './types' or its corresponding type declarations.

Check failure on line 11 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Check

Cannot find module './types' or its corresponding type declarations.

Check failure on line 11 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Build Release Artifact

Cannot find module './types' or its corresponding type declarations.

Check failure on line 11 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 4

Cannot find module './types' or its corresponding type declarations.

Check failure on line 11 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 6

Cannot find module './types' or its corresponding type declarations.

Check failure on line 11 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / Run performance tests

Cannot find module './types' or its corresponding type declarations.

Check failure on line 11 in packages/sync/src/providers/indexeddb-provider.js

View workflow job for this annotation

GitHub Actions / All

Cannot find module './types' or its corresponding type declarations.

/**
* Connect function to the IndexedDB persistence provider.
Expand All @@ -19,7 +19,7 @@
*
* @return {Promise< ProviderCreatorResult >} Promise that resolves when the connection is established.
*/
export function connectIndexDb( objectType, objectId, doc ) {
export function createIndexedDbProvider( objectType, objectId, doc ) {
const roomName = `${ objectType }-${ objectId }`;
const provider = new IndexeddbPersistence( roomName, doc );

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
*/
import { WebrtcProviderWithHttpSignaling } from './webrtc-http-stream-signaling';

/** @typedef {import('./types').ObjectType} ObjectType */

Check failure on line 11 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 2

Cannot find module './types' or its corresponding type declarations.

Check failure on line 11 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / Build JavaScript assets for PHP unit tests

Cannot find module './types' or its corresponding type declarations.

Check failure on line 11 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 5

Cannot find module './types' or its corresponding type declarations.

Check failure on line 11 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 1

Cannot find module './types' or its corresponding type declarations.

Check failure on line 11 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 7

Cannot find module './types' or its corresponding type declarations.

Check failure on line 11 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / check

Cannot find module './types' or its corresponding type declarations.

Check failure on line 11 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 8

Cannot find module './types' or its corresponding type declarations.

Check failure on line 11 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 3

Cannot find module './types' or its corresponding type declarations.

Check failure on line 11 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / Check

Cannot find module './types' or its corresponding type declarations.

Check failure on line 11 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / Build Release Artifact

Cannot find module './types' or its corresponding type declarations.

Check failure on line 11 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 4

Cannot find module './types' or its corresponding type declarations.

Check failure on line 11 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 6

Cannot find module './types' or its corresponding type declarations.

Check failure on line 11 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / Run performance tests

Cannot find module './types' or its corresponding type declarations.

Check failure on line 11 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / All

Cannot find module './types' or its corresponding type declarations.
/** @typedef {import('./types').ObjectID} ObjectID */

Check failure on line 12 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 2

Cannot find module './types' or its corresponding type declarations.

Check failure on line 12 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / Build JavaScript assets for PHP unit tests

Cannot find module './types' or its corresponding type declarations.

Check failure on line 12 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 5

Cannot find module './types' or its corresponding type declarations.

Check failure on line 12 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 1

Cannot find module './types' or its corresponding type declarations.

Check failure on line 12 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 7

Cannot find module './types' or its corresponding type declarations.

Check failure on line 12 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / check

Cannot find module './types' or its corresponding type declarations.

Check failure on line 12 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 8

Cannot find module './types' or its corresponding type declarations.

Check failure on line 12 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 3

Cannot find module './types' or its corresponding type declarations.

Check failure on line 12 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / Check

Cannot find module './types' or its corresponding type declarations.

Check failure on line 12 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / Build Release Artifact

Cannot find module './types' or its corresponding type declarations.

Check failure on line 12 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 4

Cannot find module './types' or its corresponding type declarations.

Check failure on line 12 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 6

Cannot find module './types' or its corresponding type declarations.

Check failure on line 12 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / Run performance tests

Cannot find module './types' or its corresponding type declarations.

Check failure on line 12 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / All

Cannot find module './types' or its corresponding type declarations.
/** @typedef {import('./types').CRDTDoc} CRDTDoc */

Check failure on line 13 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 2

Cannot find module './types' or its corresponding type declarations.

Check failure on line 13 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / Build JavaScript assets for PHP unit tests

Cannot find module './types' or its corresponding type declarations.

Check failure on line 13 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 5

Cannot find module './types' or its corresponding type declarations.

Check failure on line 13 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 1

Cannot find module './types' or its corresponding type declarations.

Check failure on line 13 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 7

Cannot find module './types' or its corresponding type declarations.

Check failure on line 13 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / check

Cannot find module './types' or its corresponding type declarations.

Check failure on line 13 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 8

Cannot find module './types' or its corresponding type declarations.

Check failure on line 13 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 3

Cannot find module './types' or its corresponding type declarations.

Check failure on line 13 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / Check

Cannot find module './types' or its corresponding type declarations.

Check failure on line 13 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / Build Release Artifact

Cannot find module './types' or its corresponding type declarations.

Check failure on line 13 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 4

Cannot find module './types' or its corresponding type declarations.

Check failure on line 13 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 6

Cannot find module './types' or its corresponding type declarations.

Check failure on line 13 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / Run performance tests

Cannot find module './types' or its corresponding type declarations.

Check failure on line 13 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / All

Cannot find module './types' or its corresponding type declarations.
/** @typedef {import('./types').ProviderCreator} ProviderCreator */

Check failure on line 14 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 2

Cannot find module './types' or its corresponding type declarations.

Check failure on line 14 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / Build JavaScript assets for PHP unit tests

Cannot find module './types' or its corresponding type declarations.

Check failure on line 14 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 5

Cannot find module './types' or its corresponding type declarations.

Check failure on line 14 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 1

Cannot find module './types' or its corresponding type declarations.

Check failure on line 14 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 7

Cannot find module './types' or its corresponding type declarations.

Check failure on line 14 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / check

Cannot find module './types' or its corresponding type declarations.

Check failure on line 14 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 8

Cannot find module './types' or its corresponding type declarations.

Check failure on line 14 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 3

Cannot find module './types' or its corresponding type declarations.

Check failure on line 14 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / Check

Cannot find module './types' or its corresponding type declarations.

Check failure on line 14 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / Build Release Artifact

Cannot find module './types' or its corresponding type declarations.

Check failure on line 14 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 4

Cannot find module './types' or its corresponding type declarations.

Check failure on line 14 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / Playwright - 6

Cannot find module './types' or its corresponding type declarations.

Check failure on line 14 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / Run performance tests

Cannot find module './types' or its corresponding type declarations.

Check failure on line 14 in packages/sync/src/providers/webrtc-provider.js

View workflow job for this annotation

GitHub Actions / All

Cannot find module './types' or its corresponding type declarations.

/**
* Function that creates a new WebRTC Connection.
Expand All @@ -21,7 +21,7 @@
* @param {string|undefined} config.password
* @return {ProviderCreator} Promise that resolves when the connection is established.
*/
export function createWebRTCConnection( { signaling, password } ) {
export function createWebRTCProvider( { signaling, password } ) {
return function (
/** @type {ObjectType} */ objectType,
/** @type {ObjectID} */ objectId,
Expand Down
Loading