@wix/editor 1.462.0 → 1.463.0

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/dist/cjs/index.js CHANGED
@@ -1476,24 +1476,24 @@ class ProvidersPublicSDKShape extends BaseSDKShape {
1476
1476
  this.overriddenApplicationContext = overriddenApplicationContext;
1477
1477
  this.childPath = childPath;
1478
1478
  }
1479
- async attach(providerType, data) {
1479
+ async attach(providerIdentifier, data) {
1480
1480
  const privateAPI = await this.getPlatformPrivateAPI();
1481
1481
  const manifestContextId = await this.getRequiredManifestContextId();
1482
1482
  const result = await privateAPI.providers.attach(
1483
1483
  manifestContextId,
1484
1484
  this.childPath,
1485
- providerType,
1485
+ providerIdentifier,
1486
1486
  data
1487
1487
  );
1488
1488
  return result;
1489
1489
  }
1490
- async detach(providerType) {
1490
+ async detach(providerIdentifier) {
1491
1491
  const privateAPI = await this.getPlatformPrivateAPI();
1492
1492
  const manifestContextId = await this.getRequiredManifestContextId();
1493
1493
  const result = await privateAPI.providers.detach(
1494
1494
  manifestContextId,
1495
1495
  this.childPath,
1496
- providerType
1496
+ providerIdentifier
1497
1497
  );
1498
1498
  return result;
1499
1499
  }
@@ -1554,20 +1554,21 @@ class BindingsPublicSDKShape extends BaseSDKShape {
1554
1554
  );
1555
1555
  return result;
1556
1556
  }
1557
+ // TODO: [EP-8188] Connect the findBindingCandidates implementation when it Available
1557
1558
  // finds the available binding options for the target prop of the provided component
1558
- async findBindingCandidates(propPath) {
1559
- const privateAPI = await this.getPlatformPrivateAPI();
1560
- const manifestContextId = await this.getRequiredManifestContextId();
1561
- return privateAPI.bindings.findBindingCandidates(
1562
- manifestContextId,
1563
- this.childPath,
1564
- propPath
1565
- );
1566
- }
1559
+ // async findBindingCandidates(propPath: string): Promise<BindingCandidate[]> {
1560
+ // const privateAPI = await this.getPlatformPrivateAPI();
1561
+ // const manifestContextId = await this.getRequiredManifestContextId();
1562
+ // return privateAPI.bindings.findBindingCandidates(
1563
+ // manifestContextId,
1564
+ // this.childPath,
1565
+ // propPath,
1566
+ // );
1567
+ // }
1567
1568
  }
1568
1569
  const bindingsPublicSDKShape = new PlatformSDKShape(
1569
1570
  BindingsPublicSDKShape
1570
- ).withPublicMethod("bind").withPublicMethod("unbind").withPublicMethod("listBindings").withPublicMethod("findBindingCandidates").build();
1571
+ ).withPublicMethod("bind").withPublicMethod("unbind").withPublicMethod("listBindings").build();
1571
1572
 
1572
1573
  class Workspace {
1573
1574
  constructor(applicationContext) {