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