@coxwave/tap-kit-types 2.1.1 → 2.5.5
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 +6 -0
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -223,6 +223,8 @@ interface MaterialViewOpenMessage {
|
|
|
223
223
|
pageStart: number;
|
|
224
224
|
pageEnd: number;
|
|
225
225
|
title?: string;
|
|
226
|
+
/** Text phrases to highlight in PDF (from reference_string parsing) */
|
|
227
|
+
highlightPhrases?: string[];
|
|
226
228
|
nonce?: string | number;
|
|
227
229
|
}
|
|
228
230
|
/**
|
|
@@ -367,6 +369,8 @@ interface ConfigUpdateMessage {
|
|
|
367
369
|
minViewportWidth?: number;
|
|
368
370
|
};
|
|
369
371
|
};
|
|
372
|
+
/** SDK source for deprecation tracking (temporary - remove after monitoring period) */
|
|
373
|
+
sdkSource?: "tap-kit" | "tap-sdk";
|
|
370
374
|
}
|
|
371
375
|
/**
|
|
372
376
|
* Config Request Message (iframe → parent, call/handle pattern)
|
|
@@ -2226,6 +2230,7 @@ declare const ConfigUpdateSchema: ObjectSchema<{
|
|
|
2226
2230
|
readonly minViewportWidth: OptionalSchema<NumberSchema<undefined>, undefined>;
|
|
2227
2231
|
}, undefined>, undefined>;
|
|
2228
2232
|
}, undefined>, undefined>;
|
|
2233
|
+
readonly sdkSource: OptionalSchema<UnionSchema<[LiteralSchema<"tap-kit", undefined>, LiteralSchema<"tap-sdk", undefined>], undefined>, undefined>;
|
|
2229
2234
|
}, undefined>;
|
|
2230
2235
|
declare const ConfigRequestSchema: ObjectSchema<{
|
|
2231
2236
|
readonly type: LiteralSchema<"config:request", undefined>;
|
|
@@ -2336,6 +2341,7 @@ declare const TapMessageSchema: UnionSchema<[ObjectSchema<{
|
|
|
2336
2341
|
readonly minViewportWidth: OptionalSchema<NumberSchema<undefined>, undefined>;
|
|
2337
2342
|
}, undefined>, undefined>;
|
|
2338
2343
|
}, undefined>, undefined>;
|
|
2344
|
+
readonly sdkSource: OptionalSchema<UnionSchema<[LiteralSchema<"tap-kit", undefined>, LiteralSchema<"tap-sdk", undefined>], undefined>, undefined>;
|
|
2339
2345
|
}, undefined>, ObjectSchema<{
|
|
2340
2346
|
readonly type: LiteralSchema<"config:request", undefined>;
|
|
2341
2347
|
readonly nonce: OptionalSchema<UnionSchema<[StringSchema<undefined>, NumberSchema<undefined>], undefined>, undefined>;
|
package/dist/index.js
CHANGED