@boxyhq/saml-jackson 0.3.6-beta.511 → 0.3.6-beta.514

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.
@@ -39,8 +39,8 @@ const readConfig = (preLoadedConfig) => __awaiter(void 0, void 0, void 0, functi
39
39
  for (const idx in files) {
40
40
  const file = files[idx];
41
41
  if (file.endsWith('.js')) {
42
- const { default: config } = yield Promise.resolve().then(() => __importStar(require(
43
- /* webpackIgnore: true */ path.join(preLoadedConfig, file))));
42
+ // eslint-disable-next-line @typescript-eslint/no-var-requires
43
+ const config = require(path.join(preLoadedConfig, file));
44
44
  const rawMetadata = yield fs.promises.readFile(path.join(preLoadedConfig, path.parse(file).name + '.xml'), 'utf8');
45
45
  config.encodedRawMetadata = Buffer.from(rawMetadata, 'utf8').toString('base64');
46
46
  configs.push(config);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@boxyhq/saml-jackson",
3
- "version": "0.3.6-beta.511",
3
+ "version": "0.3.6-beta.514",
4
4
  "description": "SAML 2.0 service",
5
5
  "keywords": [
6
6
  "SAML 2.0"