@explorins/pers-signer 1.0.16 → 1.0.17

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.cjs.js CHANGED
@@ -1898,7 +1898,7 @@ class PersSignerSDK {
1898
1898
  /**
1899
1899
  * Initialize the PERS Signer SDK
1900
1900
  *
1901
- * @param {PersSignerConfig} config - SDK configuration object
1901
+ * @param {ExtendedPersSignerConfig} config - SDK configuration object
1902
1902
  * @throws {Error} If required configuration is missing
1903
1903
  */
1904
1904
  constructor(config) {
@@ -1943,7 +1943,7 @@ class PersSignerSDK {
1943
1943
  throw new Error('Invalid or expired JWT token');
1944
1944
  }
1945
1945
  const identifier = payload.identifierEmail || payload.email || payload.userId;
1946
- const tenantId = payload.tenantId || this.config.tenantId || '';
1946
+ const tenantId = payload.tenantId || '';
1947
1947
  if (!identifier) {
1948
1948
  throw new Error('JWT token missing user identifier (identifierEmail, email, or userId)');
1949
1949
  }