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