@zkid/bridge-spec 0.0.1 → 0.0.2

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.
@@ -0,0 +1,5 @@
1
+ export declare const ALGORITHM_TYPES: {
2
+ readonly PROXY: "proxytls";
3
+ readonly MPC: "mpctls";
4
+ };
5
+ export type AlgorithmType = (typeof ALGORITHM_TYPES)[keyof typeof ALGORITHM_TYPES];
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t={INIT:"init",START:"start",CHECK_DATA_SOURCE:"checkDataSource",CHECK_DATA_SOURCE_RES:"checkDataSourceRes",CLOSE_DATA_SOURCE:"closeDataSource",VISITED_PAGE_PATHS:"visitedPagePaths",FAVICON_URL_CHANGED:"faviconUrlChanged",INIT_ATT:"initAttestation",START_ATT:"startAttestation",GET_ATT_RESULT:"getAttestationResult",GET_ATT_RESULT_TIMEOUT:"getAttestationResultTimeout",INIT_ATT_RES:"initAttestationRes",GET_ATT_RES:"getAttestationRes",START_ATT_RES:"startAttestationRes",OFFSCREEN_RECEIVE_GET_ATT:"offscreenReceiveGetAttestation",OFFSCREEN_GET_ATT:"getAttestation",OFFSCREEN_GET_ATT_RESULT:"getAttestationResult",START_OFFLINE:"startOffline"},T={EXTENSION:"hashKeyExtension",DEVHUB:"devhub",SDK:"sdk",EXT_BACKGROUND:"background",EXT_CONTENT:"content",EXT_POPUP:"popup",EXT_SIDEPANEL:"sidepanel",EXT_OFFSCREEN:"offscreen",EXT_OFFSCREEN_ALGORITHM:"offscreenAlgorithm",EXT_OFFSCREEN_REPORT:"offscreenReport"};exports.BRIDGE_METHODS=t;exports.BRIDGE_TARGET=T;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t={INIT:"init",START:"start",CHECK_DATA_SOURCE:"checkDataSource",CHECK_DATA_SOURCE_RES:"checkDataSourceRes",CLOSE_DATA_SOURCE:"closeDataSource",VISITED_PAGE_PATHS:"visitedPagePaths",FAVICON_URL_CHANGED:"faviconUrlChanged",INIT_ATT:"initAttestation",START_ATT:"startAttestation",GET_ATT_RESULT:"getAttestationResult",GET_ATT_RESULT_TIMEOUT:"getAttestationResultTimeout",INIT_ATT_RES:"initAttestationRes",GET_ATT_RES:"getAttestationRes",START_ATT_RES:"startAttestationRes",OFFSCREEN_RECEIVE_GET_ATT:"offscreenReceiveGetAttestation",OFFSCREEN_GET_ATT:"getAttestation",OFFSCREEN_GET_ATT_RESULT:"getAttestationResult",START_OFFLINE:"startOffline"},T={EXTENSION:"hashKeyExtension",DEVHUB:"devhub",SDK:"sdk",EXT_BACKGROUND:"background",EXT_CONTENT:"content",EXT_POPUP:"popup",EXT_SIDEPANEL:"sidepanel",EXT_OFFSCREEN:"offscreen",EXT_OFFSCREEN_ALGORITHM:"offscreenAlgorithm",EXT_OFFSCREEN_REPORT:"offscreenReport"},E={PROXY:"proxytls",MPC:"mpctls"};exports.ALGORITHM_TYPES=E;exports.BRIDGE_METHODS=t;exports.BRIDGE_TARGET=T;
@@ -2,3 +2,5 @@ export { BRIDGE_METHODS } from './methods';
2
2
  export type { BridgeMethod } from './methods';
3
3
  export { BRIDGE_TARGET } from './target';
4
4
  export type { BridgeTarget } from './target';
5
+ export { ALGORITHM_TYPES } from './algorithm';
6
+ export type { AlgorithmType } from './algorithm';
@@ -33,8 +33,12 @@ const t = {
33
33
  EXT_OFFSCREEN: "offscreen",
34
34
  EXT_OFFSCREEN_ALGORITHM: "offscreenAlgorithm",
35
35
  EXT_OFFSCREEN_REPORT: "offscreenReport"
36
+ }, E = {
37
+ PROXY: "proxytls",
38
+ MPC: "mpctls"
36
39
  };
37
40
  export {
41
+ E as ALGORITHM_TYPES,
38
42
  t as BRIDGE_METHODS,
39
43
  T as BRIDGE_TARGET
40
44
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zkid/bridge-spec",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",