abap-local-client 1.4.11 → 1.4.13

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.
Files changed (2) hide show
  1. package/cli.cjs +4 -2
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -1,3 +1,5 @@
1
1
  #!/usr/bin/env node
2
- // abap-local-client CommonJS wrapper for ESM entry point
3
- import('../sso-sap-client.mjs');
2
+ const { dirname, join } = require('path');
3
+ const { pathToFileURL } = require('url');
4
+ const entry = pathToFileURL(join(dirname(__filename), 'sso-sap-client.mjs')).href;
5
+ import(entry);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "abap-local-client",
3
- "version": "1.4.11",
3
+ "version": "1.4.13",
4
4
  "description": "SAP Local Client — WebSocket bridge with Basic, SPNEGO, X.509, SAML & SNC authentication",
5
5
  "main": "sso-sap-client.mjs",
6
6
  "type": "module",