@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.
- package/lib/api/admin/types.d.ts +8 -8
- package/lib/api/admin/types.js +6 -5
- package/lib/api/admin/types.js.map +1 -1
- package/lib/api/index.d.ts +2 -2
- package/lib/api/index.js +2 -2
- package/lib/api/index.js.map +1 -1
- package/lib/environments/launcher.d.ts +7 -1
- package/lib/environments/launcher.js +2 -2
- package/lib/environments/launcher.js.map +1 -1
- package/package.json +2 -2
package/lib/api/admin/types.d.ts
CHANGED
|
@@ -58,17 +58,17 @@ export interface Cell {
|
|
|
58
58
|
name: string;
|
|
59
59
|
enabled: boolean;
|
|
60
60
|
}
|
|
61
|
-
export declare
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
}
|
|
61
|
+
export declare enum CellType {
|
|
62
|
+
Provisioned = "Provisioned",
|
|
63
|
+
Cloned = "Cloned",
|
|
64
|
+
Stem = "Stem"
|
|
65
|
+
}
|
|
66
66
|
export declare type CellInfo = {
|
|
67
|
-
[
|
|
67
|
+
[CellType.Provisioned]: Cell;
|
|
68
68
|
} | {
|
|
69
|
-
[
|
|
69
|
+
[CellType.Cloned]: Cell;
|
|
70
70
|
} | {
|
|
71
|
-
[
|
|
71
|
+
[CellType.Stem]: StemCell;
|
|
72
72
|
};
|
|
73
73
|
export declare type AppInfo = {
|
|
74
74
|
installed_app_id: InstalledAppId;
|
package/lib/api/admin/types.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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,
|
|
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"}
|
package/lib/api/index.d.ts
CHANGED
|
@@ -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
|
|
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
|
|
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
|
package/lib/api/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,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
|
-
|
|
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
|
-
|
|
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
|
|
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,
|
|
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.
|
|
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.
|
|
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",
|