@workos-inc/node 10.4.0 → 10.4.1

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.
@@ -1366,8 +1366,9 @@ const deserializeProfileAndToken = (profileAndToken) => ({
1366
1366
  //#endregion
1367
1367
  //#region src/user-management/serializers/role.serializer.ts
1368
1368
  const deserializeRoleEvent = (role) => ({
1369
- object: "role",
1369
+ object: role.object,
1370
1370
  slug: role.slug,
1371
+ resourceTypeSlug: role.resource_type_slug,
1371
1372
  permissions: role.permissions,
1372
1373
  createdAt: role.created_at,
1373
1374
  updatedAt: role.updated_at
@@ -7141,7 +7142,7 @@ var Vault = class {
7141
7142
  };
7142
7143
  //#endregion
7143
7144
  //#region package.json
7144
- var version = "10.4.0";
7145
+ var version = "10.4.1";
7145
7146
  //#endregion
7146
7147
  //#region src/workos.ts
7147
7148
  const DEFAULT_HOSTNAME = "api.workos.com";
@@ -7487,4 +7488,4 @@ function createWorkOS(options) {
7487
7488
  //#endregion
7488
7489
  export { FetchHttpClient as A, NoApiKeyProvidedException as C, isAuthenticationErrorData as D, AuthenticationException as E, GenericServerException as O, NotFoundException as S, BadRequestException as T, UnprocessableEntityException as _, DomainDataState as a, RateLimitExceededException as b, FeatureFlagsRuntimeClient as c, serializeRevokeSessionOptions as d, AuthenticateWithSessionCookieFailureReason as f, Actions as g, AutoPaginatable as h, OrganizationDomainVerificationStrategy as i, SubtleCryptoProvider as j, ApiKeyRequiredException as k, CookieSession as l, Webhooks as m, ConnectionType as n, GenerateLinkIntent as o, PKCE as p, OrganizationDomainState as r, WorkOS as s, createWorkOS as t, RefreshSessionFailureReason as u, UnauthorizedException as v, ConflictException as w, OauthException as x, SignatureVerificationException as y };
7489
7490
 
7490
- //# sourceMappingURL=factory-CRqtXIIK.mjs.map
7491
+ //# sourceMappingURL=factory-B4fXjv0Z.mjs.map