@holochain/client 0.11.2 → 0.11.3

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.
@@ -58,17 +58,17 @@ export interface Cell {
58
58
  name: string;
59
59
  enabled: boolean;
60
60
  }
61
- export declare const CELL_TYPE: {
62
- readonly PROVISIONED: "Provisioned";
63
- readonly CLONED: "Cloned";
64
- readonly STEM: "Stem";
65
- };
61
+ export declare enum CellType {
62
+ Provisioned = "Provisioned",
63
+ Cloned = "Cloned",
64
+ Stem = "Stem"
65
+ }
66
66
  export declare type CellInfo = {
67
- [CELL_TYPE.PROVISIONED]: Cell;
67
+ [CellType.Provisioned]: Cell;
68
68
  } | {
69
- [CELL_TYPE.CLONED]: Cell;
69
+ [CellType.Cloned]: Cell;
70
70
  } | {
71
- [CELL_TYPE.STEM]: StemCell;
71
+ [CellType.Stem]: StemCell;
72
72
  };
73
73
  export declare type AppInfo = {
74
74
  installed_app_id: InstalledAppId;
@@ -1,8 +1,9 @@
1
- export const CELL_TYPE = {
2
- PROVISIONED: "Provisioned",
3
- CLONED: "Cloned",
4
- STEM: "Stem",
5
- };
1
+ export var CellType;
2
+ (function (CellType) {
3
+ CellType["Provisioned"] = "Provisioned";
4
+ CellType["Cloned"] = "Cloned";
5
+ CellType["Stem"] = "Stem";
6
+ })(CellType || (CellType = {}));
6
7
  export var AppStatusFilter;
7
8
  (function (AppStatusFilter) {
8
9
  AppStatusFilter["Enabled"] = "enabled";
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/api/admin/types.ts"],"names":[],"mappings":"AAwEA,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,WAAW,EAAE,aAAa;IAC1B,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;CACJ,CAAC;AAsKX,MAAM,CAAN,IAAY,eAMX;AAND,WAAY,eAAe;IACzB,sCAAmB,CAAA;IACnB,wCAAqB,CAAA;IACrB,sCAAmB,CAAA;IACnB,sCAAmB,CAAA;IACnB,oCAAiB,CAAA;AACnB,CAAC,EANW,eAAe,KAAf,eAAe,QAM1B"}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/api/admin/types.ts"],"names":[],"mappings":"AAwEA,MAAM,CAAN,IAAY,QAIX;AAJD,WAAY,QAAQ;IAClB,uCAA2B,CAAA;IAC3B,6BAAiB,CAAA;IACjB,yBAAa,CAAA;AACf,CAAC,EAJW,QAAQ,KAAR,QAAQ,QAInB;AAsKD,MAAM,CAAN,IAAY,eAMX;AAND,WAAY,eAAe;IACzB,sCAAmB,CAAA;IACnB,wCAAqB,CAAA;IACrB,sCAAmB,CAAA;IACnB,sCAAmB,CAAA;IACnB,oCAAiB,CAAA;AACnB,CAAC,EANW,eAAe,KAAf,eAAe,QAM1B"}
@@ -1,5 +1,5 @@
1
1
  export * from "./admin/index.js";
2
- export * from "./app/index.js";
3
2
  export * from "./app-agent/index.js";
4
- export { authorizeNewSigningKeyPair } from "./zome-call-signing.js";
3
+ export * from "./app/index.js";
5
4
  export { CloneId } from "./common.js";
5
+ export { authorizeNewSigningKeyPair } from "./zome-call-signing.js";
package/lib/api/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export * from "./admin/index.js";
2
- export * from "./app/index.js";
3
2
  export * from "./app-agent/index.js";
4
- export { authorizeNewSigningKeyPair } from "./zome-call-signing.js";
3
+ export * from "./app/index.js";
5
4
  export { CloneId } from "./common.js";
5
+ export { authorizeNewSigningKeyPair } from "./zome-call-signing.js";
6
6
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,OAAO,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AACpE,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC"}
@@ -4,6 +4,12 @@ export interface LauncherEnvironment {
4
4
  ADMIN_INTERFACE_PORT: number;
5
5
  INSTALLED_APP_ID: InstalledAppId;
6
6
  }
7
- export declare const __HC_LAUNCHER_ENV__ = "__HC_LAUNCHER_ENV__";
7
+ declare const __HC_LAUNCHER_ENV__ = "__HC_LAUNCHER_ENV__";
8
8
  export declare const isLauncher: boolean;
9
9
  export declare const getLauncherEnvironment: () => LauncherEnvironment | undefined;
10
+ declare global {
11
+ interface Window {
12
+ [__HC_LAUNCHER_ENV__]: LauncherEnvironment | undefined;
13
+ }
14
+ }
15
+ export {};
@@ -1,4 +1,4 @@
1
- export const __HC_LAUNCHER_ENV__ = "__HC_LAUNCHER_ENV__";
1
+ const __HC_LAUNCHER_ENV__ = "__HC_LAUNCHER_ENV__";
2
2
  export const isLauncher = typeof window === "object" && __HC_LAUNCHER_ENV__ in window;
3
- export const getLauncherEnvironment = () => isLauncher ? window.__HC_LAUNCHER_ENV__ : undefined;
3
+ export const getLauncherEnvironment = () => isLauncher ? window[__HC_LAUNCHER_ENV__] : undefined;
4
4
  //# sourceMappingURL=launcher.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"launcher.js","sourceRoot":"","sources":["../../src/environments/launcher.ts"],"names":[],"mappings":"AAQA,MAAM,CAAC,MAAM,mBAAmB,GAAG,qBAAqB,CAAC;AAEzD,MAAM,CAAC,MAAM,UAAU,GACrB,OAAO,MAAM,KAAK,QAAQ,IAAI,mBAAmB,IAAI,MAAM,CAAC;AAE9D,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAoC,EAAE,CAC1E,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC"}
1
+ {"version":3,"file":"launcher.js","sourceRoot":"","sources":["../../src/environments/launcher.ts"],"names":[],"mappings":"AAQA,MAAM,mBAAmB,GAAG,qBAAqB,CAAC;AAElD,MAAM,CAAC,MAAM,UAAU,GACrB,OAAO,MAAM,KAAK,QAAQ,IAAI,mBAAmB,IAAI,MAAM,CAAC;AAE9D,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAoC,EAAE,CAC1E,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@holochain/client",
3
- "version": "0.11.2",
3
+ "version": "0.11.3",
4
4
  "description": "A JavaScript client for the Holochain Conductor API",
5
5
  "author": "Holochain Foundation <info@holochain.org> (http://holochain.org)",
6
6
  "license": "CAL-1.0",
@@ -39,7 +39,7 @@
39
39
  "build": "rimraf ./lib && tsc -p tsconfig.build.json"
40
40
  },
41
41
  "dependencies": {
42
- "@holochain/serialization": "^0.1.0-beta-rc.1",
42
+ "@holochain/serialization": "^0.1.0-beta-rc.2",
43
43
  "@msgpack/msgpack": "^2.7.2",
44
44
  "@tauri-apps/api": "^1.2.0",
45
45
  "emittery": "^1.0.1",