@cxxi-lab/hubbyware-sdk 3.5.0 → 3.5.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cxxi-lab/hubbyware-sdk",
3
- "version": "3.5.0",
3
+ "version": "3.5.1",
4
4
  "description": "The contract of Hubbyware's hubbies: the SDK a hubby builds on (provided by the host app at run time), and the SDK of the hubbies running isolated in their frame. Formerly @cxxi-lab/hub-sdk.",
5
5
  "license": "MIT",
6
6
  "type": "module",
package/types/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // @cxxi-lab/hubbyware-sdk 3.5.0: generated by app/scripts/emit-sdk-types.mjs from app/src/sdk — do not edit.
1
+ // @cxxi-lab/hubbyware-sdk 3.5.1: generated by app/scripts/emit-sdk-types.mjs from app/src/sdk — do not edit.
2
2
  import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
3
3
  import { ComponentType, HTMLInputTypeAttribute, MouseEventHandler, ReactNode, TdHTMLAttributes, ThHTMLAttributes } from 'react';
4
4
 
@@ -678,6 +678,13 @@ export interface HubbyInfo {
678
678
  requiresCapabilities?: string[];
679
679
  /** shared features (HubbySupport) */
680
680
  supports?: string[];
681
+ /**
682
+ * its way out (server docs/plan-reseau-vpn.md): `{"egress": "vpn"}`, its webviews and players
683
+ * through the user's VPN (the platform's 'vpn' support then; formerly `supports: ['vpn']`)
684
+ */
685
+ network?: {
686
+ egress?: string;
687
+ } | string;
681
688
  }
682
689
  export type Described = Pick<HubbyManifest, "label" | "description" | "local" | "requires" | "requiresCapabilities" | "supports">;
683
690
  /** The manifest's descriptive part, from its hubby.json (one source for both). */
@@ -1055,7 +1062,8 @@ export declare function getApiBaseUrl(_path?: string): string;
1055
1062
  /**
1056
1063
  * The partition of the hubby's <webview>s (desktop): its own session, its sites' cookies and storage
1057
1064
  * apart from the other hubbies', going out through the VPN when it declares so (server
1058
- * docs/plan-reseau-vpn.md). `<webview partition={webviewPartition} …>`.
1065
+ * docs/plan-reseau-vpn.md). `<webview partition={webviewPartition} …>`. A webview outside its
1066
+ * hubby's partition is refused (an SDK imported without a hubby: none).
1059
1067
  */
1060
1068
  export declare const webviewPartition: string;
1061
1069
  /**
package/version.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
- "version": "3.5.0",
2
+ "version": "3.5.1",
3
3
  "compatible": []
4
4
  }