@workos-inc/node 8.11.1 → 8.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/lib/{factory-IqQiyE5J.mjs → factory-Bg72Zzvy.mjs} +12 -2
- package/lib/factory-Bg72Zzvy.mjs.map +1 -0
- package/lib/{factory-BraleEZU.cjs → factory-BvWIVH5c.cjs} +12 -2
- package/lib/factory-BvWIVH5c.cjs.map +1 -0
- package/lib/index.cjs +1 -1
- package/lib/index.d.cts +2 -2
- package/lib/index.d.mts +2 -2
- package/lib/index.mjs +1 -1
- package/lib/index.worker.cjs +1 -1
- package/lib/index.worker.d.cts +2 -2
- package/lib/index.worker.d.mts +2 -2
- package/lib/index.worker.mjs +1 -1
- package/lib/{workos-COj1yMhR.d.cts → workos-BN_44ati.d.cts} +23 -4
- package/lib/{workos-DluXltJr.d.mts → workos-Dcg_3Qok.d.mts} +23 -4
- package/package.json +1 -1
- package/lib/factory-BraleEZU.cjs.map +0 -1
- package/lib/factory-IqQiyE5J.mjs.map +0 -1
|
@@ -1339,6 +1339,11 @@ const deserializeVaultDekDecryptedEvent = (data) => ({
|
|
|
1339
1339
|
...deserializeVaultActor(data),
|
|
1340
1340
|
keyId: data.key_id
|
|
1341
1341
|
});
|
|
1342
|
+
const deserializeVaultByokKeyVerificationCompletedEvent = (data) => ({
|
|
1343
|
+
organizationId: data.organization_id,
|
|
1344
|
+
keyProvider: data.key_provider,
|
|
1345
|
+
verified: data.verified
|
|
1346
|
+
});
|
|
1342
1347
|
//#endregion
|
|
1343
1348
|
//#region src/common/serializers/event.serializer.ts
|
|
1344
1349
|
const deserializeEvent = (event) => {
|
|
@@ -1558,6 +1563,11 @@ const deserializeEvent = (event) => {
|
|
|
1558
1563
|
event: event.event,
|
|
1559
1564
|
data: deserializeVaultDekDecryptedEvent(event.data)
|
|
1560
1565
|
};
|
|
1566
|
+
case "vault.byok_key.verification_completed": return {
|
|
1567
|
+
...eventBase,
|
|
1568
|
+
event: event.event,
|
|
1569
|
+
data: deserializeVaultByokKeyVerificationCompletedEvent(event.data)
|
|
1570
|
+
};
|
|
1561
1571
|
}
|
|
1562
1572
|
};
|
|
1563
1573
|
//#endregion
|
|
@@ -4680,7 +4690,7 @@ function extractBunVersionFromUserAgent() {
|
|
|
4680
4690
|
}
|
|
4681
4691
|
//#endregion
|
|
4682
4692
|
//#region package.json
|
|
4683
|
-
var version = "8.
|
|
4693
|
+
var version = "8.12.0";
|
|
4684
4694
|
//#endregion
|
|
4685
4695
|
//#region src/workos.ts
|
|
4686
4696
|
const DEFAULT_HOSTNAME = "api.workos.com";
|
|
@@ -5060,4 +5070,4 @@ function createWorkOS(options) {
|
|
|
5060
5070
|
//#endregion
|
|
5061
5071
|
export { ApiKeyRequiredException as A, SignatureVerificationException as C, NoApiKeyProvidedException as D, NotFoundException as E, SubtleCryptoProvider as M, BadRequestException as O, UnauthorizedException as S, OauthException as T, AutoPaginatable as _, OrganizationDomainVerificationStrategy as a, Actions as b, FeatureFlagsRuntimeClient as c, CheckResult as d, CheckOp as f, AuthenticateWithSessionCookieFailureReason as g, serializeRevokeSessionOptions as h, OrganizationDomainState as i, FetchHttpClient as j, GenericServerException as k, WarrantOp as l, RefreshSessionFailureReason as m, ConnectionType as n, DomainDataState as o, CookieSession as p, GeneratePortalLinkIntent as r, WorkOS as s, createWorkOS as t, ResourceOp as u, PKCE as v, RateLimitExceededException as w, UnprocessableEntityException as x, Webhooks as y };
|
|
5062
5072
|
|
|
5063
|
-
//# sourceMappingURL=factory-
|
|
5073
|
+
//# sourceMappingURL=factory-Bg72Zzvy.mjs.map
|