@byok-sdk/core 0.5.0 → 0.6.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.
- package/dist/index.d.ts +1 -1
- package/dist/index.js +13 -0
- package/dist/index.js.map +1 -1
- package/dist/presence.d.ts +47 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ export type { BoardAssignee, BoardClaimInput, BoardItem, BoardItemInput, BoardLi
|
|
|
24
24
|
export { TRUTH_RECORD_KINDS } from './truth';
|
|
25
25
|
export type { SnapshotWriteInput, TerminalWriteInput, TruthBodyRef, TruthManifestEntry, TruthManifestQuery, TruthRecord, TruthRecordKind, TruthRecordSelector, TruthStore, } from './truth';
|
|
26
26
|
export { PRESENCE_LEVELS } from './presence';
|
|
27
|
-
export type { PresenceHint, PresenceHintInput, PresenceLevel, PresenceStore, } from './presence';
|
|
27
|
+
export type { PresenceHint, PresenceHintInput, PresenceLevel, PresenceRuntimeFact, PresenceStore, TenantReadinessDevice, TenantReadinessPresence, TenantReadiness, } from './presence';
|
|
28
28
|
export { CONTENT_HASH_PATTERN, OBJECT_KEY_PREFIX_PATTERN, OBJECT_STATES, OBJECT_STATE_TRANSITIONS, contentHash, isContentHash, isLegalObjectTransition, objectKeyPrefix, tenantObjectKey, } from './blob';
|
|
29
29
|
export type { ContentHash, ObjectCommitInput, ObjectKeyPrefix, ObjectListQuery, ObjectManifestEntry, ObjectManifestInput, ObjectReference, ObjectReferenceInput, ObjectState, ObjectStore, } from './blob';
|
|
30
30
|
export { STORAGE_ERROR_CODES, STORAGE_ERROR_HTTP_STATUS, STORAGE_RESERVATION_STATES, STORAGE_WRITE_KINDS, STORAGE_WRITE_POSTURES, } from './quota';
|
package/dist/index.js
CHANGED
|
@@ -952,6 +952,19 @@ var InMemoryPresenceStore = class {
|
|
|
952
952
|
level: input.level,
|
|
953
953
|
...input.detail === void 0 ? {} : { detail: input.detail },
|
|
954
954
|
...input.configuredToolsets === void 0 ? {} : { configuredToolsets: Object.freeze([...input.configuredToolsets]) },
|
|
955
|
+
...input.clientVersion === void 0 ? {} : { clientVersion: input.clientVersion },
|
|
956
|
+
...input.protocolVersions === void 0 ? {} : { protocolVersions: Object.freeze([...input.protocolVersions]) },
|
|
957
|
+
...input.runtimes === void 0 ? {} : {
|
|
958
|
+
runtimes: Object.freeze(
|
|
959
|
+
input.runtimes.map(
|
|
960
|
+
(runtime) => Object.freeze({
|
|
961
|
+
id: runtime.id,
|
|
962
|
+
...runtime.version === void 0 ? {} : { version: runtime.version },
|
|
963
|
+
...runtime.authPresent === void 0 ? {} : { authPresent: runtime.authPresent }
|
|
964
|
+
})
|
|
965
|
+
)
|
|
966
|
+
)
|
|
967
|
+
},
|
|
955
968
|
observedAt: now.toISOString(),
|
|
956
969
|
expiresAt: new Date(now.getTime() + input.ttlMs).toISOString()
|
|
957
970
|
};
|