@openg2p/registry-widgets 1.1.0-dev.6 → 1.1.0-dev.7

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/index.esm.js CHANGED
@@ -10720,9 +10720,7 @@ const IdAuthenticationWidget = ({ config, schemaData: propSchemaData }) => {
10720
10720
  provider_id: providerId,
10721
10721
  initiated_by_staff_id: initiatedByStaffId,
10722
10722
  };
10723
- const wrap = authConfig.wrapRequestPayload !== false;
10724
- const payloadKey = authConfig.requestPayloadKey || 'request_payload';
10725
- const requestParams = wrap ? { [payloadKey]: basePayload } : basePayload;
10723
+ const requestParams = basePayload;
10726
10724
  // eslint-disable-next-line no-console
10727
10725
  console.log('[IdAuthenticationWidget] authenticate_registrant params', requestParams);
10728
10726
  const resp = await dataSourceRequestHandler(authConfig.service, authConfig.authenticateEndpoint, authConfig.authenticateMethod || 'POST', requestParams);