@interncom/diplomatic 0.14.1 → 0.15.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@interncom/diplomatic",
3
- "version": "0.14.1",
3
+ "version": "0.15.0",
4
4
  "type": "module",
5
5
  "description": "Secure sync layer and CLI utilities for DIPLOMATIC",
6
6
  "files": [
@@ -1,14 +0,0 @@
1
- import { ICodecStruct } from "../codec.ts";
2
- import { type MasterSeed } from "../seed.ts";
3
- import { type BundleHost } from "./bundleHost.ts";
4
- export type PairPackagePlain = {
5
- masterSeed: MasterSeed;
6
- hosts: BundleHost[];
7
- };
8
- /**
9
- * Inner plaintext (AEAD is applied by QR pairing: X25519 + blake3 + XSalsa20):
10
- * masterSeed: 32 fixed bytes
11
- * hostsLen: varint
12
- * hosts: hostsLen × BundleHost
13
- */
14
- export declare const pairPackagePlainCodec: ICodecStruct<PairPackagePlain>;
@@ -1,17 +0,0 @@
1
- import { Status } from "../shared/consts";
2
- import { type LargeBlobCreateOpts, type LargeBlobRp } from "../shared/webauthn/largeBlob";
3
- import { type ValStat } from "../shared/valstat";
4
- export type { LargeBlobCreateOpts, LargeBlobRp };
5
- /**
6
- * WebAuthn largeBlob byte I/O for non-seed opaque data.
7
- * For seed/identity use {@link Enclave} largeBlob methods only.
8
- */
9
- export declare const LargeBlob: {
10
- readonly capable: () => Promise<boolean>;
11
- readonly createCred: (opts?: LargeBlobCreateOpts) => Promise<ValStat<Uint8Array>>;
12
- /**
13
- * Write arbitrary opaque bytes (UV). Do not pass unencrypted seed from app code.
14
- */
15
- readonly write: (credId: Uint8Array, data: Uint8Array, opts?: LargeBlobRp) => Promise<Status>;
16
- readonly read: (credId: Uint8Array, opts?: LargeBlobRp) => Promise<ValStat<Uint8Array>>;
17
- };
@@ -1 +0,0 @@
1
- export { asPublicKeyCredential, checkWebAuthn, copyToArrayBuffer, COSE_ALG_EDDSA, COSE_ALG_ES256, COSE_ALG_RS256, defaultWebAuthnRpId, resolveWebAuthnRpId, WEBAUTHN_CHAL_LEN, WEBAUTHN_PUB_KEY_PARAMS, webAuthnExtensionCapable, type WebAuthnRp, } from "../shared/webauthn/common";
@@ -1,14 +0,0 @@
1
- import { ICodecStruct } from "../codec.ts";
2
- import { type MasterSeed } from "../seed.ts";
3
- import { type BundleHost } from "./bundleHost.ts";
4
- export type PairPackagePlain = {
5
- masterSeed: MasterSeed;
6
- hosts: BundleHost[];
7
- };
8
- /**
9
- * Inner plaintext (AEAD is applied by QR pairing: X25519 + blake3 + XSalsa20):
10
- * masterSeed: 32 fixed bytes
11
- * hostsLen: varint
12
- * hosts: hostsLen × BundleHost
13
- */
14
- export declare const pairPackagePlainCodec: ICodecStruct<PairPackagePlain>;