@xemahq/identity-client 0.11.0 → 0.12.0

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/claims.d.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  export declare const PRINCIPAL_ID_CLAIM = "principal_id";
2
2
  export declare const CREDENTIAL_REVISION_CLAIM = "credential_revision";
3
+ export declare const WORKLOAD_NAME_CLAIM = "workload_name";
package/dist/claims.js CHANGED
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CREDENTIAL_REVISION_CLAIM = exports.PRINCIPAL_ID_CLAIM = void 0;
3
+ exports.WORKLOAD_NAME_CLAIM = exports.CREDENTIAL_REVISION_CLAIM = exports.PRINCIPAL_ID_CLAIM = void 0;
4
4
  exports.PRINCIPAL_ID_CLAIM = 'principal_id';
5
5
  exports.CREDENTIAL_REVISION_CLAIM = 'credential_revision';
6
+ exports.WORKLOAD_NAME_CLAIM = 'workload_name';
6
7
  //# sourceMappingURL=claims.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"claims.js","sourceRoot":"","sources":["../src/claims.ts"],"names":[],"mappings":";;;AAwBa,QAAA,kBAAkB,GAAG,cAAc,CAAC;AAOpC,QAAA,yBAAyB,GAAG,qBAAqB,CAAC"}
1
+ {"version":3,"file":"claims.js","sourceRoot":"","sources":["../src/claims.ts"],"names":[],"mappings":";;;AAwBa,QAAA,kBAAkB,GAAG,cAAc,CAAC;AAOpC,QAAA,yBAAyB,GAAG,qBAAqB,CAAC;AAalD,QAAA,mBAAmB,GAAG,eAAe,CAAC"}
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { PRINCIPAL_ID_CLAIM, CREDENTIAL_REVISION_CLAIM, } from './claims';
1
+ export { PRINCIPAL_ID_CLAIM, CREDENTIAL_REVISION_CLAIM, WORKLOAD_NAME_CLAIM, } from './claims';
2
2
  export { IdentityApiClient, IdentityApiError } from './client';
3
3
  export { WorkloadContextError, WorkloadContextSource, fileCredentialReader, type WorkloadContextConfig, } from './workload-context';
4
4
  export { EvictionEpochs, callWithCredentialRetry, evictEntry, isUnauthorized, type CachedCredentialSource, type CallOutcome, } from './credential-cache';
package/dist/index.js CHANGED
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ORG_AUTH_CONFIG = exports.OrgAdminGuard = exports.OrgAuthModule = exports.IdentityTokenWaitAbortedError = exports.IdentityTokenRequestTimeoutError = exports.IdentityTokenOperation = exports.DEFAULT_TOKEN_REQUEST_TIMEOUT_MS = exports.IDENTITY_BOOTSTRAP_CONFIG = exports.IdentityBootstrapService = exports.IdentityBootstrapModule = exports.SystemOrgEnsureOutcome = exports.ORG_ADMIN_ROLES = exports.OrgRole = exports.InternalTokenScope = exports.DelegatorKind = exports.DelegationActorKind = exports.isUnauthorized = exports.evictEntry = exports.callWithCredentialRetry = exports.EvictionEpochs = exports.fileCredentialReader = exports.WorkloadContextSource = exports.WorkloadContextError = exports.IdentityApiError = exports.IdentityApiClient = exports.CREDENTIAL_REVISION_CLAIM = exports.PRINCIPAL_ID_CLAIM = void 0;
3
+ exports.ORG_AUTH_CONFIG = exports.OrgAdminGuard = exports.OrgAuthModule = exports.IdentityTokenWaitAbortedError = exports.IdentityTokenRequestTimeoutError = exports.IdentityTokenOperation = exports.DEFAULT_TOKEN_REQUEST_TIMEOUT_MS = exports.IDENTITY_BOOTSTRAP_CONFIG = exports.IdentityBootstrapService = exports.IdentityBootstrapModule = exports.SystemOrgEnsureOutcome = exports.ORG_ADMIN_ROLES = exports.OrgRole = exports.InternalTokenScope = exports.DelegatorKind = exports.DelegationActorKind = exports.isUnauthorized = exports.evictEntry = exports.callWithCredentialRetry = exports.EvictionEpochs = exports.fileCredentialReader = exports.WorkloadContextSource = exports.WorkloadContextError = exports.IdentityApiError = exports.IdentityApiClient = exports.WORKLOAD_NAME_CLAIM = exports.CREDENTIAL_REVISION_CLAIM = exports.PRINCIPAL_ID_CLAIM = void 0;
4
4
  var claims_1 = require("./claims");
5
5
  Object.defineProperty(exports, "PRINCIPAL_ID_CLAIM", { enumerable: true, get: function () { return claims_1.PRINCIPAL_ID_CLAIM; } });
6
6
  Object.defineProperty(exports, "CREDENTIAL_REVISION_CLAIM", { enumerable: true, get: function () { return claims_1.CREDENTIAL_REVISION_CLAIM; } });
7
+ Object.defineProperty(exports, "WORKLOAD_NAME_CLAIM", { enumerable: true, get: function () { return claims_1.WORKLOAD_NAME_CLAIM; } });
7
8
  var client_1 = require("./client");
8
9
  Object.defineProperty(exports, "IdentityApiClient", { enumerable: true, get: function () { return client_1.IdentityApiClient; } });
9
10
  Object.defineProperty(exports, "IdentityApiError", { enumerable: true, get: function () { return client_1.IdentityApiError; } });
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,mCAGkB;AAFhB,4GAAA,kBAAkB,OAAA;AAClB,mHAAA,yBAAyB,OAAA;AAE3B,mCAA+D;AAAtD,2GAAA,iBAAiB,OAAA;AAAE,0GAAA,gBAAgB,OAAA;AAC5C,uDAK4B;AAJ1B,wHAAA,oBAAoB,OAAA;AACpB,yHAAA,qBAAqB,OAAA;AACrB,wHAAA,oBAAoB,OAAA;AAGtB,uDAO4B;AAN1B,kHAAA,cAAc,OAAA;AACd,2HAAA,uBAAuB,OAAA;AACvB,8GAAA,UAAU,OAAA;AACV,kHAAA,cAAc,OAAA;AAIhB,iCAOiB;AANf,4GAAA,mBAAmB,OAAA;AACnB,sGAAA,aAAa,OAAA;AACb,2GAAA,kBAAkB,OAAA;AAClB,gGAAA,OAAO,OAAA;AACP,wGAAA,eAAe,OAAA;AACf,+GAAA,sBAAsB,OAAA;AAqCxB,mCAYkB;AAXhB,iHAAA,uBAAuB,OAAA;AAEvB,kHAAA,wBAAwB,OAAA;AAExB,mHAAA,yBAAyB,OAAA;AAGzB,0HAAA,gCAAgC,OAAA;AAChC,gHAAA,sBAAsB,OAAA;AACtB,0HAAA,gCAAgC,OAAA;AAChC,uHAAA,6BAA6B,OAAA;AAI/B,mCAMkB;AALhB,uGAAA,aAAa,OAAA;AACb,uGAAA,aAAa,OAAA;AACb,yGAAA,eAAe,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,mCAIkB;AAHhB,4GAAA,kBAAkB,OAAA;AAClB,mHAAA,yBAAyB,OAAA;AACzB,6GAAA,mBAAmB,OAAA;AAErB,mCAA+D;AAAtD,2GAAA,iBAAiB,OAAA;AAAE,0GAAA,gBAAgB,OAAA;AAC5C,uDAK4B;AAJ1B,wHAAA,oBAAoB,OAAA;AACpB,yHAAA,qBAAqB,OAAA;AACrB,wHAAA,oBAAoB,OAAA;AAGtB,uDAO4B;AAN1B,kHAAA,cAAc,OAAA;AACd,2HAAA,uBAAuB,OAAA;AACvB,8GAAA,UAAU,OAAA;AACV,kHAAA,cAAc,OAAA;AAIhB,iCAOiB;AANf,4GAAA,mBAAmB,OAAA;AACnB,sGAAA,aAAa,OAAA;AACb,2GAAA,kBAAkB,OAAA;AAClB,gGAAA,OAAO,OAAA;AACP,wGAAA,eAAe,OAAA;AACf,+GAAA,sBAAsB,OAAA;AAqCxB,mCAYkB;AAXhB,iHAAA,uBAAuB,OAAA;AAEvB,kHAAA,wBAAwB,OAAA;AAExB,mHAAA,yBAAyB,OAAA;AAGzB,0HAAA,gCAAgC,OAAA;AAChC,gHAAA,sBAAsB,OAAA;AACtB,0HAAA,gCAAgC,OAAA;AAChC,uHAAA,6BAA6B,OAAA;AAI/B,mCAMkB;AALhB,uGAAA,aAAa,OAAA;AACb,uGAAA,aAAa,OAAA;AACb,yGAAA,eAAe,OAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xemahq/identity-client",
3
- "version": "0.11.0",
3
+ "version": "0.12.0",
4
4
  "description": "NestJS client library and standalone HTTP client for Identity API - service registration, credential management, and JWT token lifecycle",
5
5
  "author": "Neuralchowder Inc. <developer@xema.dev> (https://xema.dev)",
6
6
  "license": "LicenseRef-Xema-BSL-1.1",