@holochain-syn/client 0.1.2 → 0.2.0
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/client.d.ts +14 -9
- package/dist/client.js +30 -10
- package/dist/client.js.map +1 -1
- package/dist/entry-record.d.ts +9 -0
- package/dist/entry-record.js +19 -0
- package/dist/entry-record.js.map +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/record-bag.d.ts +18 -0
- package/dist/record-bag.js +52 -0
- package/dist/record-bag.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types.d.ts +15 -6
- package/package.json +6 -4
package/dist/client.d.ts
CHANGED
|
@@ -1,22 +1,27 @@
|
|
|
1
1
|
import type { CellClient } from '@holochain-open-dev/cell-client';
|
|
2
|
-
import type { AgentPubKey, EntryHash
|
|
3
|
-
import {
|
|
2
|
+
import type { AgentPubKey, EntryHash } from '@holochain/client';
|
|
3
|
+
import { RecordBag, EntryRecord } from '@holochain-open-dev/utils';
|
|
4
|
+
import { Commit, CreateCommitInput, CreateWorkspaceInput, JoinWorkspaceOutput, SynMessage, UpdateWorkspaceTipInput, Workspace } from './types';
|
|
4
5
|
export declare class SynClient {
|
|
5
6
|
cellClient: CellClient;
|
|
6
7
|
protected zomeName: string;
|
|
7
8
|
constructor(cellClient: CellClient, zomeName?: string);
|
|
9
|
+
/** Roots */
|
|
10
|
+
createRoot(commit: Commit): Promise<EntryRecord<Commit>>;
|
|
11
|
+
getAllRoots(): Promise<RecordBag<Commit>>;
|
|
8
12
|
/** Commits */
|
|
9
|
-
createCommit(
|
|
10
|
-
getCommit(commitHash: EntryHash): Promise<
|
|
11
|
-
|
|
13
|
+
createCommit(input: CreateCommitInput): Promise<EntryRecord<Commit>>;
|
|
14
|
+
getCommit(commitHash: EntryHash): Promise<EntryRecord<Commit> | undefined>;
|
|
15
|
+
getCommitsForRoot(root_hash: EntryHash): Promise<RecordBag<Commit>>;
|
|
12
16
|
/** Workspaces */
|
|
13
|
-
createWorkspace(input: CreateWorkspaceInput): Promise<
|
|
14
|
-
|
|
17
|
+
createWorkspace(input: CreateWorkspaceInput): Promise<EntryRecord<Workspace>>;
|
|
18
|
+
getWorkspacesForRoot(root_hash: EntryHash): Promise<RecordBag<Workspace>>;
|
|
15
19
|
getWorkspaceParticipants(workspace_hash: EntryHash): Promise<Array<AgentPubKey>>;
|
|
16
|
-
|
|
20
|
+
getWorkspaceTip(workspaceHash: EntryHash): Promise<EntryHash>;
|
|
21
|
+
updateWorkspaceTip(input: UpdateWorkspaceTipInput): Promise<void>;
|
|
17
22
|
joinWorkspace(workspace_hash: EntryHash): Promise<JoinWorkspaceOutput>;
|
|
18
23
|
leaveWorkspace(workspace_hash: EntryHash): Promise<void>;
|
|
19
|
-
sendMessage(recipients: Array<AgentPubKey>,
|
|
24
|
+
sendMessage(recipients: Array<AgentPubKey>, message: SynMessage): Promise<void>;
|
|
20
25
|
/** Helpers */
|
|
21
26
|
private callZome;
|
|
22
27
|
}
|
package/dist/client.js
CHANGED
|
@@ -1,28 +1,48 @@
|
|
|
1
|
+
import { RecordBag, EntryRecord } from '@holochain-open-dev/utils';
|
|
1
2
|
export class SynClient {
|
|
2
3
|
constructor(cellClient, zomeName = 'syn') {
|
|
3
4
|
this.cellClient = cellClient;
|
|
4
5
|
this.zomeName = zomeName;
|
|
5
6
|
}
|
|
7
|
+
/** Roots */
|
|
8
|
+
async createRoot(commit) {
|
|
9
|
+
const record = await this.callZome('create_root', commit);
|
|
10
|
+
return new EntryRecord(record);
|
|
11
|
+
}
|
|
12
|
+
async getAllRoots() {
|
|
13
|
+
const roots = await this.callZome('get_all_roots', null);
|
|
14
|
+
return new RecordBag(roots);
|
|
15
|
+
}
|
|
6
16
|
/** Commits */
|
|
7
|
-
createCommit(
|
|
8
|
-
|
|
17
|
+
async createCommit(input) {
|
|
18
|
+
const record = await this.callZome('create_commit', input);
|
|
19
|
+
return new EntryRecord(record);
|
|
9
20
|
}
|
|
10
21
|
async getCommit(commitHash) {
|
|
11
|
-
|
|
22
|
+
const record = await this.callZome('get_commit', commitHash);
|
|
23
|
+
if (!record)
|
|
24
|
+
return undefined;
|
|
25
|
+
return new EntryRecord(record);
|
|
12
26
|
}
|
|
13
|
-
async
|
|
14
|
-
|
|
27
|
+
async getCommitsForRoot(root_hash) {
|
|
28
|
+
const commits = await this.callZome('get_commits_for_root', root_hash);
|
|
29
|
+
return new RecordBag(commits);
|
|
15
30
|
}
|
|
16
31
|
/** Workspaces */
|
|
17
32
|
async createWorkspace(input) {
|
|
18
|
-
|
|
33
|
+
const record = await this.callZome('create_workspace', input);
|
|
34
|
+
return new EntryRecord(record);
|
|
19
35
|
}
|
|
20
|
-
|
|
21
|
-
|
|
36
|
+
async getWorkspacesForRoot(root_hash) {
|
|
37
|
+
const workspaces = await this.callZome('get_workspaces_for_root', root_hash);
|
|
38
|
+
return new RecordBag(workspaces);
|
|
22
39
|
}
|
|
23
40
|
getWorkspaceParticipants(workspace_hash) {
|
|
24
41
|
return this.callZome('get_workspace_participants', workspace_hash);
|
|
25
42
|
}
|
|
43
|
+
getWorkspaceTip(workspaceHash) {
|
|
44
|
+
return this.callZome('get_workspace_tip', workspaceHash);
|
|
45
|
+
}
|
|
26
46
|
updateWorkspaceTip(input) {
|
|
27
47
|
return this.callZome('update_workspace_tip', input);
|
|
28
48
|
}
|
|
@@ -32,10 +52,10 @@ export class SynClient {
|
|
|
32
52
|
async leaveWorkspace(workspace_hash) {
|
|
33
53
|
return this.callZome('leave_workspace', workspace_hash);
|
|
34
54
|
}
|
|
35
|
-
sendMessage(recipients,
|
|
55
|
+
sendMessage(recipients, message) {
|
|
36
56
|
return this.callZome('send_message', {
|
|
37
57
|
recipients,
|
|
38
|
-
|
|
58
|
+
message,
|
|
39
59
|
});
|
|
40
60
|
}
|
|
41
61
|
/** Helpers */
|
package/dist/client.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"client.js","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAanE,MAAM,OAAO,SAAS;IACpB,YAAmB,UAAsB,EAAY,WAAW,KAAK;QAAlD,eAAU,GAAV,UAAU,CAAY;QAAY,aAAQ,GAAR,QAAQ,CAAQ;IAAG,CAAC;IAEzE,YAAY;IACL,KAAK,CAAC,UAAU,CAAC,MAAc;QACpC,MAAM,MAAM,GAAW,MAAM,IAAI,CAAC,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC;QAClE,OAAO,IAAI,WAAW,CAAC,MAAM,CAAC,CAAC;IACjC,CAAC;IAEM,KAAK,CAAC,WAAW;QACtB,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,eAAe,EAAE,IAAI,CAAC,CAAC;QACzD,OAAO,IAAI,SAAS,CAAC,KAAK,CAAC,CAAC;IAC9B,CAAC;IAED,cAAc;IACP,KAAK,CAAC,YAAY,CACvB,KAAwB;QAExB,MAAM,MAAM,GAAW,MAAM,IAAI,CAAC,QAAQ,CAAC,eAAe,EAAE,KAAK,CAAC,CAAC;QACnE,OAAO,IAAI,WAAW,CAAC,MAAM,CAAC,CAAC;IACjC,CAAC;IAEM,KAAK,CAAC,SAAS,CACpB,UAAqB;QAErB,MAAM,MAAM,GAAuB,MAAM,IAAI,CAAC,QAAQ,CACpD,YAAY,EACZ,UAAU,CACX,CAAC;QACF,IAAI,CAAC,MAAM;YAAE,OAAO,SAAS,CAAC;QAE9B,OAAO,IAAI,WAAW,CAAC,MAAM,CAAC,CAAC;IACjC,CAAC;IAEM,KAAK,CAAC,iBAAiB,CAC5B,SAAoB;QAEpB,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,sBAAsB,EAAE,SAAS,CAAC,CAAC;QACvE,OAAO,IAAI,SAAS,CAAC,OAAO,CAAC,CAAC;IAChC,CAAC;IAED,iBAAiB;IACV,KAAK,CAAC,eAAe,CAC1B,KAA2B;QAE3B,MAAM,MAAM,GAAW,MAAM,IAAI,CAAC,QAAQ,CAAC,kBAAkB,EAAE,KAAK,CAAC,CAAC;QACtE,OAAO,IAAI,WAAW,CAAC,MAAM,CAAC,CAAC;IACjC,CAAC;IAEM,KAAK,CAAC,oBAAoB,CAC/B,SAAoB;QAEpB,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,QAAQ,CACpC,yBAAyB,EACzB,SAAS,CACV,CAAC;QACF,OAAO,IAAI,SAAS,CAAC,UAAU,CAAC,CAAC;IACnC,CAAC;IAEM,wBAAwB,CAC7B,cAAyB;QAEzB,OAAO,IAAI,CAAC,QAAQ,CAAC,4BAA4B,EAAE,cAAc,CAAC,CAAC;IACrE,CAAC;IAEM,eAAe,CAAC,aAAwB;QAC7C,OAAO,IAAI,CAAC,QAAQ,CAAC,mBAAmB,EAAE,aAAa,CAAC,CAAC;IAC3D,CAAC;IAEM,kBAAkB,CAAC,KAA8B;QACtD,OAAO,IAAI,CAAC,QAAQ,CAAC,sBAAsB,EAAE,KAAK,CAAC,CAAC;IACtD,CAAC;IAEM,KAAK,CAAC,aAAa,CACxB,cAAyB;QAEzB,OAAO,IAAI,CAAC,QAAQ,CAAC,gBAAgB,EAAE,cAAc,CAAC,CAAC;IACzD,CAAC;IAEM,KAAK,CAAC,cAAc,CAAC,cAAyB;QACnD,OAAO,IAAI,CAAC,QAAQ,CAAC,iBAAiB,EAAE,cAAc,CAAC,CAAC;IAC1D,CAAC;IAEM,WAAW,CAChB,UAA8B,EAC9B,OAAmB;QAEnB,OAAO,IAAI,CAAC,QAAQ,CAAC,cAAc,EAAE;YACnC,UAAU;YACV,OAAO;SACY,CAAC,CAAC;IACzB,CAAC;IAED,cAAc;IACN,KAAK,CAAC,QAAQ,CAAC,MAAc,EAAE,OAAY;QACjD,OAAO,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;CACF"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Record } from "@holochain/client";
|
|
2
|
+
export declare class EntryRecord<T> {
|
|
3
|
+
record: Record;
|
|
4
|
+
constructor(record: Record);
|
|
5
|
+
get actionHash(): Uint8Array;
|
|
6
|
+
get action(): import("@holochain/client").Action;
|
|
7
|
+
get entry(): T;
|
|
8
|
+
get entryHash(): Uint8Array;
|
|
9
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { decode } from "@msgpack/msgpack";
|
|
2
|
+
export class EntryRecord {
|
|
3
|
+
constructor(record) {
|
|
4
|
+
this.record = record;
|
|
5
|
+
}
|
|
6
|
+
get actionHash() {
|
|
7
|
+
return this.record.signed_action.hashed.hash;
|
|
8
|
+
}
|
|
9
|
+
get action() {
|
|
10
|
+
return this.record.signed_action.hashed.content;
|
|
11
|
+
}
|
|
12
|
+
get entry() {
|
|
13
|
+
return decode(this.record.entry.Present.entry);
|
|
14
|
+
}
|
|
15
|
+
get entryHash() {
|
|
16
|
+
return this.record.signed_action.hashed.content.entry_hash;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=entry-record.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entry-record.js","sourceRoot":"","sources":["../src/entry-record.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,MAAM,OAAO,WAAW;IACtB,YAAmB,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;IAAG,CAAC;IAErC,IAAI,UAAU;QACZ,OAAO,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC;IAC/C,CAAC;IAED,IAAI,MAAM;QACR,OAAO,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,MAAM,CAAC,OAAO,CAAC;IAClD,CAAC;IAED,IAAI,KAAK;QACP,OAAO,MAAM,CAAE,IAAI,CAAC,MAAM,CAAC,KAAa,CAAC,OAAO,CAAC,KAAK,CAAM,CAAC;IAC/D,CAAC;IAED,IAAI,SAAS;QACX,OAAQ,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,MAAM,CAAC,OAAkB,CAAC,UAAU,CAAC;IACzE,CAAC;CACF"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './client';
|
|
2
|
+
export * from './types';
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './client';
|
|
2
|
+
export * from './types';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Action, Record } from "@holochain/client";
|
|
2
|
+
import { ActionHashMap, AgentPubKeyMap, EntryHashMap } from "@holochain-open-dev/utils";
|
|
3
|
+
import { EntryRecord } from "./entry-record";
|
|
4
|
+
export declare class RecordBag<T> {
|
|
5
|
+
records: Record[];
|
|
6
|
+
entryMap: EntryHashMap<T>;
|
|
7
|
+
actionMap: ActionHashMap<Action>;
|
|
8
|
+
entryActions: EntryHashMap<Uint8Array[]>;
|
|
9
|
+
authorMap: AgentPubKeyMap<Uint8Array[]>;
|
|
10
|
+
constructor(records?: Record[]);
|
|
11
|
+
add(records: Record[]): void;
|
|
12
|
+
[Symbol.iterator](): {
|
|
13
|
+
next: () => {
|
|
14
|
+
value: EntryRecord<T>;
|
|
15
|
+
done: boolean;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { decode } from "@msgpack/msgpack";
|
|
2
|
+
import uniq from "lodash-es/uniq";
|
|
3
|
+
import { timestampToMillis, ActionHashMap, AgentPubKeyMap, EntryHashMap } from "@holochain-open-dev/utils";
|
|
4
|
+
import { EntryRecord } from "./entry-record";
|
|
5
|
+
export class RecordBag {
|
|
6
|
+
constructor(records = []) {
|
|
7
|
+
this.records = records;
|
|
8
|
+
// Map of entry hash -> entry contents, already decoded
|
|
9
|
+
this.entryMap = new EntryHashMap();
|
|
10
|
+
// Map of action hash -> action
|
|
11
|
+
// Timestamp is in milliseconds
|
|
12
|
+
this.actionMap = new ActionHashMap();
|
|
13
|
+
// Map of entry hash -> all the actions that have created that entry
|
|
14
|
+
this.entryActions = new EntryHashMap();
|
|
15
|
+
// For each agent, which actions has it authored?
|
|
16
|
+
this.authorMap = new AgentPubKeyMap();
|
|
17
|
+
if (records) {
|
|
18
|
+
this.add(records);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
add(records) {
|
|
22
|
+
for (const record of records) {
|
|
23
|
+
const actionHash = record.signed_action.hashed.hash;
|
|
24
|
+
const entryHash = record.signed_action.hashed.content
|
|
25
|
+
.entry_hash;
|
|
26
|
+
if (entryHash) {
|
|
27
|
+
const entry = decode(record.entry.Present.entry);
|
|
28
|
+
this.entryMap.put(entryHash, entry);
|
|
29
|
+
if (!this.entryActions.has(entryHash)) {
|
|
30
|
+
this.entryActions.put(entryHash, []);
|
|
31
|
+
}
|
|
32
|
+
this.entryActions.put(entryHash, uniq([...this.entryActions.get(entryHash), actionHash]));
|
|
33
|
+
}
|
|
34
|
+
const action = record.signed_action.hashed.content;
|
|
35
|
+
action.timestamp = timestampToMillis(action.timestamp);
|
|
36
|
+
this.actionMap.put(actionHash, action);
|
|
37
|
+
if (!this.authorMap.has(action.author)) {
|
|
38
|
+
this.authorMap.put(action.author, []);
|
|
39
|
+
}
|
|
40
|
+
this.authorMap.put(action.author, uniq([...this.authorMap.get(action.author), actionHash]));
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
[Symbol.iterator]() {
|
|
44
|
+
let index = -1;
|
|
45
|
+
let records = this.records;
|
|
46
|
+
return {
|
|
47
|
+
next: () => ({ value: new EntryRecord(records[++index]), done: !(index in records) })
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
;
|
|
51
|
+
}
|
|
52
|
+
//# sourceMappingURL=record-bag.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"record-bag.js","sourceRoot":"","sources":["../src/record-bag.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,IAAI,MAAM,gBAAgB,CAAC;AAElC,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC3G,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,OAAO,SAAS;IAapB,YAAmB,UAAoB,EAAE;QAAtB,YAAO,GAAP,OAAO,CAAe;QAZzC,uDAAuD;QAChD,aAAQ,GAAG,IAAI,YAAY,EAAK,CAAC;QAExC,+BAA+B;QAC/B,+BAA+B;QACxB,cAAS,GAAG,IAAI,aAAa,EAAU,CAAC;QAE/C,oEAAoE;QAC7D,iBAAY,GAAG,IAAI,YAAY,EAAgB,CAAC;QAEvD,iDAAiD;QAC1C,cAAS,GAAG,IAAI,cAAc,EAAgB,CAAC;QAEpD,IAAI,OAAO,EAAE;YACX,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;SACnB;IACH,CAAC;IAED,GAAG,CAAC,OAAiB;QACnB,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE;YAC5B,MAAM,UAAU,GAAG,MAAM,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC;YACpD,MAAM,SAAS,GAAI,MAAM,CAAC,aAAa,CAAC,MAAM,CAAC,OAAkB;iBAC9D,UAAU,CAAC;YAEd,IAAI,SAAS,EAAE;gBACb,MAAM,KAAK,GAAG,MAAM,CAAE,MAAM,CAAC,KAAa,CAAC,OAAO,CAAC,KAAK,CAAM,CAAC;gBAC/D,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;gBAEpC,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,SAAS,CAAC,EAAE;oBACrC,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC;iBACtC;gBACD,IAAI,CAAC,YAAY,CAAC,GAAG,CACnB,SAAS,EACT,IAAI,CAAC,CAAC,GAAG,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,SAAS,CAAC,EAAE,UAAU,CAAC,CAAC,CACxD,CAAC;aACH;YACD,MAAM,MAAM,GAAG,MAAM,CAAC,aAAa,CAAC,MAAM,CAAC,OAAO,CAAC;YACnD,MAAM,CAAC,SAAS,GAAG,iBAAiB,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;YACvD,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;YAEvC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE;gBACtC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;aACvC;YACD,IAAI,CAAC,SAAS,CAAC,GAAG,CAChB,MAAM,CAAC,MAAM,EACb,IAAI,CAAC,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,UAAU,CAAC,CAAC,CACzD,CAAC;SACH;IACH,CAAC;IAED,CAAC,MAAM,CAAC,QAAQ,CAAC;QACf,IAAI,KAAK,GAAG,CAAC,CAAC,CAAC;QACf,IAAI,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;QAE3B,OAAO;YACL,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,IAAI,WAAW,CAAI,OAAO,CAAC,EAAE,KAAK,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,KAAK,IAAI,OAAO,CAAC,EAAE,CAAC;SACzF,CAAC;IACJ,CAAC;IAAA,CAAC;CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/readline/promises.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/@types/node/stream/web.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/test.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/globals.global.d.ts","../../../node_modules/@types/node/index.d.ts","../../../node_modules/@holochain/client/lib/types.d.ts","../../../node_modules/@holochain/client/lib/hdk/capabilities.d.ts","../../../node_modules/@holochain/client/lib/hdk/countersigning.d.ts","../../../node_modules/@holochain/client/lib/hdk/entry.d.ts","../../../node_modules/@holochain/client/lib/hdk/action.d.ts","../../../node_modules/@holochain/client/lib/hdk/dht-ops.d.ts","../../../node_modules/@holochain/client/lib/hdk/record.d.ts","../../../node_modules/@holochain/client/lib/hdk/index.d.ts","../../../node_modules/@holochain/client/lib/api/common.d.ts","../../../node_modules/@holochain/client/lib/api/admin/types.d.ts","../../../node_modules/@msgpack/msgpack/dist/ExtData.d.ts","../../../node_modules/@msgpack/msgpack/dist/ExtensionCodec.d.ts","../../../node_modules/@msgpack/msgpack/dist/context.d.ts","../../../node_modules/@msgpack/msgpack/dist/encode.d.ts","../../../node_modules/@msgpack/msgpack/dist/decode.d.ts","../../../node_modules/@msgpack/msgpack/dist/utils/stream.d.ts","../../../node_modules/@msgpack/msgpack/dist/decodeAsync.d.ts","../../../node_modules/@msgpack/msgpack/dist/CachedKeyDecoder.d.ts","../../../node_modules/@msgpack/msgpack/dist/Decoder.d.ts","../../../node_modules/@msgpack/msgpack/dist/DecodeError.d.ts","../../../node_modules/@msgpack/msgpack/dist/Encoder.d.ts","../../../node_modules/@msgpack/msgpack/dist/timestamp.d.ts","../../../node_modules/@msgpack/msgpack/dist/index.d.ts","../../../node_modules/@types/ws/index.d.ts","../../../node_modules/isomorphic-ws/index.d.ts","../../../node_modules/@holochain/client/lib/api/app/types.d.ts","../../../node_modules/@holochain/client/lib/api/client.d.ts","../../../node_modules/@holochain/client/lib/api/admin/websocket.d.ts","../../../node_modules/@holochain/client/lib/api/admin/index.d.ts","../../../node_modules/@holochain/client/lib/api/app/websocket.d.ts","../../../node_modules/@holochain/client/lib/api/app/index.d.ts","../../../node_modules/@holochain/client/lib/api/index.d.ts","../../../node_modules/@holochain/client/lib/index.d.ts","../../../node_modules/@holochain-open-dev/cell-client/dist/agnostic-client.d.ts","../../../node_modules/@holochain-open-dev/cell-client/dist/cell-client.d.ts","../../../node_modules/@holochain-open-dev/cell-client/dist/holo-client.d.ts","../../../node_modules/@holochain-open-dev/cell-client/dist/signal-handler.d.ts","../../../node_modules/@holochain-open-dev/cell-client/dist/holochain-client.d.ts","../../../node_modules/@holochain-open-dev/cell-client/dist/index.d.ts","../src/types.ts","../src/client.ts","../src/index.ts","../src/utils.ts"],"fileInfos":[{"version":"f5c28122bee592cfaf5c72ed7bcc47f453b79778ffa6e301f45d21a0970719d4","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"3f149f903dd20dfeb7c80e228b659f0e436532de772469980dbd00702cc05cc1","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"181f1784c6c10b751631b24ce60c7f78b20665db4550b335be179217bacc0d5f","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"cd483c056da900716879771893a3c9772b66c3c88f8943b4205aec738a94b1d0","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"c37f8a49593a0030eecb51bbfa270e709bec9d79a6cc3bb851ef348d4e6b26f8","affectsGlobalScope":true},"9122ed7070e054b73ebab37c2373a196def2d90e7d1a9a7fcd9d46b0e51fae78","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"77f0b5c6a193a699c9f7d7fb0578e64e562d271afa740783665d2a827104a873","affectsGlobalScope":true},"21a167fec8f933752fb8157f06d28fab6817af3ad9b0bdb1908a10762391eab9",{"version":"002d6d5f044365b3fbfba0ba9be3bb57cac09b81547c8df4b0795755d2081d90","affectsGlobalScope":true},"0c0cee62cb619aed81133b904f644515ba3064487002a7da83fd8aa07b1b4abd","5a94487653355b56018122d92392beb2e5f4a6c63ba5cef83bbe1c99775ef713",{"version":"d5135ad93b33adcce80b18f8065087934cdc1730d63db58562edcf017e1aad9b","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","55c428f339f80f4ede27cfed15aa1124cd583b43ac3feaf59da19c492c9cd6be","bb9c4ffa5e6290c6980b63c815cdd1625876dadb2efaf77edbe82984be93e55e","75ecef44f126e2ae018b4abbd85b6e8a2e2ba1638ebec56cc64274643ce3567b","f30bb836526d930a74593f7b0f5c1c46d10856415a8f69e5e2fc3db80371e362","14b5aa23c5d0ae1907bc696ac7b6915d88f7d85799cc0dc2dcf98fbce2c5a67c","5c439dafdc09abe4d6c260a96b822fa0ba5be7203c71a63ab1f1423cd9e838ea",{"version":"bae4ea23beb8397755b935cb84d3cdc6cdb0b1b4a329b90de9fc6c8774d71994","affectsGlobalScope":true},"cec36af22f514322f870e81d30675c78df82ae8bf4863f5fd4e4424c040c678d","df36874d9e56aff601e921c4b3971d37cf66d14f6455935ce821e6cad13b1823","aeee0090b38de0dd47ca9a79ad5c2d156e3e09d92306719b0b45a3e96098e564","acfbb5aaef964e1d441f961a1846197f03241dba3c63b1e4d1903684888ef465","09416dd69576b03a3f485adf329a02f043e4a481e060ef5b208194e488d31fd9","2c828a5405191d006115ab34e191b8474bc6c86ffdc401d1a9864b1b6e088a58",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"9499ba4dcd1ee0596d8c98d01341bc874840c5291156513bda667fecad54d5be","a907bf91df26df2400858ef75f749498fb5cf00062bf90a737ac3949cc07978d","cb92bc2e42b261e4299025756f1beb826b3d9666a3f0d46f8a7254ca512f57e4","cb4f3f03480e1727eae46400606cecaa97f550186ff8fa909ebc00db4180531b",{"version":"59104b2e80c588b813d03d3a45f57117ca4601ae3fc216c5ffbcbafc4effc1c5","affectsGlobalScope":true},"5153a2fd150e46ce57bb3f8db1318d33f6ad3261ed70ceeff92281c0608c74a3","d1a78a3c5708807e8de3e399f91df4797c62e44b02195eefc2209b2e713e54ee","36b03690b628eab08703d63f04eaa89c5df202e5f1edf3989f13ad389cd2c091","0effadd232a20498b11308058e334d3339cc5bf8c4c858393e38d9d4c0013dcf","25846d43937c672bab7e8195f3d881f93495df712ee901860effc109918938cc","556bf5c36deb62cffa1bf697c1789fe008ec82db0273025001db66732714e9d9","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","23b89798789dffbd437c0c423f5d02d11f9736aea73d6abf16db4f812ff36eda","653968fc1b35c5eb3d273d36fac1c1dc66f9537edf28f33485b8776bd956e23d",{"version":"970a90f76d4d219ad60819d61f5994514087ba94c985647a3474a5a3d12714ed","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","a381f079c4804442f179d742fdb2e495fe28d67a47cac673485f75ae2e77aeca","3c13ef48634e7b5012fcf7e8fce7496352c2d779a7201389ca96a2a81ee4314d","5d0a25ec910fa36595f85a67ac992d7a53dd4064a1ba6aea1c9f14ab73a023f2",{"version":"bfe39beb986d2a2e512c091cbe924f1c415bc65de54de0e2f6a0dc6f84c183d9","affectsGlobalScope":true},"2d526e6f21d8cc66ac11ada32874e95ae88d870c6c9d3d9d4e03b1d1f9ad7b8e","06d7c42d256f0ce6afe1b2b6cfbc97ab391f29dadb00dd0ae8e8f23f5bc916c3","ec4bd1b200670fb567920db572d6701ed42a9641d09c4ff6869768c8f81b404c","e59a892d87e72733e2a9ca21611b9beb52977be2696c7ba4b216cbbb9a48f5aa","d2ec52f565f0570e90b659811347bd689f8c6039b11eaaccd0f243759d46da6e","8a300fa9b698845a1f9c41ecbe2c5966634582a8e2020d51abcace9b55aa959e",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"a12806a1bde5e9f137bb79728d87a4ceaedf04e95efc9967d3288a3c252d9a7b","328ebbbf4e7ed802989fd617efcba36d1ae28e546d1fed66667e33ada65a22be","2c0a077e287dc06e736845ff1f2c2dd93c9cb5d58430109368871f8a32d2dc1c","c981ff1f690dc0347370cae39c6bdf134f5810f56f1570f43794d5ff131b2e5e","195b5bc1c1ab6e26341a58d7037ec6203ddea3c7212ca1083a787828bb83afd8","2de09061746e185c7dfad69611d1a817fb17398900bb7a71799cbb21f5c82850","700fc526d1987f288e73bc7444df12bfa49235b2fd69d5eae74b421b04919986","660b878011dd01d41cfc1297de39362edd8ea1a62fcf6a24d066f4e228b7efad","d8f106913877c72c0c80a86c3f3675dcd9bd3b4e4cce3b638bd255c641f91257","899bdb5c21f4a072eaccc0025dad7164d9613fe0bcf895da9966b28232c86642","106d839a4eaf2e3b17041582a8739f0f79e6b6a2e723a9c764397d26affe69df","de277c67790951196ea64bb341b2cf684a9319ae4dac61c1d62280b5371598bb","82bfd19ccee3f4011bf212b0f9e1d0499f0786fab5f86a0f3569f6801ff42a4f","63a15e7728d66c25dcda587653da8ff5ce043f5421d410c4badcc570f4099ca5","caf8319cf6b9f1222b9c64bb6c032c813baff2d318babd9f4d3e5ed4a5483097","4125dd17616c9165b69b6ff00912d864f91784d1d4a23abbcf9d441d5d2187c7","3d76bf12d97ef4ed9b0803ae602b67f035b55cc4de355958c4ed3cba83319739","949700d15ab233ecdee218dd51712fc18e31754b979b4fdf22ddffdeeff48597","c10bc11463f1636f0130dfcc06c7e41908f250defdf1ee17c517654f014a8b32","a1cb94c6153c05aa74a2fffcc2b9f2bae8ad1d597bed2aad2939adaffaa6bfb0","92d336c64a358427c66973be728c8af7c3181cf2e766423ca6bde047d703668a","b496d3a0a30241c090f947cf28863f21d81d46fa6bed00752125e2799887a869","0fa539c59b06154da34b1d44195089399bb6f0f86092dd8761a35339518dc2ca","1a457f9367ba9f1ef13f9a7b90581c2260385da2530aca1317e5e6b40201c4b4","b4358a89fcd9c579f84a6c68e2ce44ca91b07e4db3f8f403c2b7a72c1a1e04b6","1442a75050bad91356b11dcea6dfb877154d1f2e00f863a9b17ba5e903659503","9e7f48ca9914451a1d42a45fd6e310122dc087c6f182660a878c251898d63886","d13b51b20d0c65f4acc216d09fcf768e70503130c5e4ab871fe67debfd9c2e30","b959c3a020de55298e7b3ea8d9252d0c032f9f3d67811a1280a395c56e296c03","e76069367e6b1580fe09b6c14dc0e477df342f2758cb5570ae8cd06caa6188cf","2fc4b6a42ee7c6846421139d81e0b4bb879b08a9297397f4e3349025ec6c13ce","e76069367e6b1580fe09b6c14dc0e477df342f2758cb5570ae8cd06caa6188cf","57e95e0108e2343c6c37b56a215f59c08a05134d05b663bd1f697761ce15cd75","ede26936b6b2e3718ff4b7de25b36b452213eb8a1950c053e39a6c01b96a8040","53b14d3733ff28f047c64c6d846e57ce6b2bc44b74b58b5e01439ea7a85175a3","0e0b6570736f25721ae5400832a01b318fd07acfdaa9f956f8a131b34330c5df","fbfeadb1ad70e46094e948c95c8caff73e42606f49fd1e8b44f91adee9aa303b","f4dd3bd3a04c9c8b3cb4ff1c53ad01c86464a7c3229eb149940a8ae840481842","8717b0f40e1f2edc20642733bf36ff9ac58a37f098dd034ad54aaf1fb57b24f6","358096ed1d27655c411abb904d76cab56a908c3b3b91cebc2abf16083893e1d8",{"version":"66464ecc5da38a1b29bd4593fb6e2bc589e184c622642fb473efa3a73347ee22","signature":"d7d1ec318be83e7cf4b8d807a279ae819a659b7ceb96aea2ddaa8deb01375954"},{"version":"d679e3d90d8af8960ec7a5a4679cb3c6bf68b272a09c9f6017091e99f59a9a1b","signature":"72ac40dcc3018528cf16bf4e676e6eb295399a13c44e243c728b66fc7f4d199d"},"a7fc8bb34e43781bed4ffaaafd19dd678b90c18337fca50f725cde934307ae23",{"version":"399f17ca8202cd8904190a3b9b3aae037fee963bd055fe702e52cb9c5531bcc7","signature":"27e77a501b00f333fc7168c06575fa2972a8a13ea9aad90ca2a99df6a728f679"}],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"declarationDir":"./","esModuleInterop":true,"experimentalDecorators":true,"module":99,"noEmitOnError":true,"noErrorTruncation":true,"noImplicitAny":false,"noImplicitThis":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","skipDefaultLibCheck":true,"skipLibCheck":true,"sourceMap":true,"strict":true,"target":4},"fileIdsList":[[87,127],[87,127,128],[87,127,128,131],[87,128,129,130,132],[87,104,122],[87,94,95,102,103],[87,103,104,121],[87,120,124],[87,95,96,103,123],[87,95,103,120,121],[87,117,119,120],[87],[87,123,125],[87,95,98],[87,95],[87,95,98,99],[87,95,96,97],[87,96,98,99,100,101],[87,98,99],[87,95,102,126],[87,106,112],[87,106],[87,105],[87,106,107],[87,107,109,110],[87,105,106,108,109,111,113,114,115,116],[42,87],[45,87],[46,51,87],[47,57,58,65,75,86,87],[47,48,57,65,87],[49,87],[50,51,58,66,87],[51,75,83,87],[52,54,57,65,87],[53,87],[54,55,87],[56,57,87],[57,87],[57,58,59,75,86,87],[57,58,59,75,78,87],[87,91],[60,65,75,86,87],[57,58,60,61,65,75,83,86,87],[60,62,75,83,86,87],[42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93],[57,63,87],[64,86,87],[54,57,65,75,87],[66,87],[67,87],[45,68,87],[69,85,87,91],[70,87],[71,87],[57,72,73,87],[72,74,87,89],[57,75,76,77,78,87],[75,77,87],[75,76,87],[78,87],[79,87],[57,81,82,87],[81,82,87],[51,65,75,83,87],[84,87],[65,85,87],[46,60,71,86,87],[51,87],[75,87,88],[87,89],[87,90],[46,51,57,59,68,75,86,87,89,91],[75,87,92],[57,60,62,75,83,86,87,92,94],[87,118],[87,127,133,134],[87,134,135],[87,117],[127],[127,128],[127,128,131],[128,129,130,132],[104,122],[94,95,102,103],[103,104,121],[120,124],[95,96,103,123],[95,103,120,121],[117,119,120],[123,125],[95,98],[95],[95,98,99],[95,96,97],[96,98,99,100,101],[98,99],[95,102,126],[106,112],[106],[105],[106,107],[107,109,110],[105,106,108,109,111,113,114,115,116],[118],[127,133,134],[134,135]],"referencedMap":[[128,1],[129,2],[130,2],[132,3],[133,4],[131,1],[123,5],[104,6],[122,7],[125,8],[120,9],[124,10],[121,11],[103,12],[126,13],[99,14],[96,15],[97,14],[100,16],[98,17],[102,18],[101,19],[127,20],[95,12],[112,12],[114,12],[113,21],[115,22],[105,12],[106,23],[107,12],[109,24],[111,25],[108,24],[117,26],[116,12],[110,12],[42,27],[43,27],[45,28],[46,29],[47,30],[48,31],[49,32],[50,33],[51,34],[52,35],[53,36],[54,37],[55,37],[56,38],[57,39],[58,40],[59,41],[44,42],[93,12],[60,43],[61,44],[62,45],[94,46],[63,47],[64,48],[65,49],[66,50],[67,51],[68,52],[69,53],[70,54],[71,55],[72,56],[73,56],[74,57],[75,58],[77,59],[76,60],[78,61],[79,62],[80,12],[81,63],[82,64],[83,65],[84,66],[85,67],[86,68],[87,69],[88,70],[89,71],[90,72],[91,73],[92,74],[118,75],[119,76],[8,12],[10,12],[9,12],[2,12],[11,12],[12,12],[13,12],[14,12],[15,12],[16,12],[17,12],[18,12],[3,12],[4,12],[22,12],[19,12],[20,12],[21,12],[23,12],[24,12],[25,12],[5,12],[26,12],[27,12],[28,12],[29,12],[6,12],[30,12],[31,12],[32,12],[33,12],[7,12],[34,12],[39,12],[40,12],[35,12],[36,12],[37,12],[38,12],[1,12],[41,12],[135,77],[136,78],[134,1],[137,79]],"exportedModulesMap":[[128,80],[129,81],[130,81],[132,82],[133,83],[131,80],[123,84],[104,85],[122,86],[125,87],[120,88],[124,89],[121,90],[126,91],[99,92],[96,93],[97,92],[100,94],[98,95],[102,96],[101,97],[127,98],[113,99],[115,100],[106,101],[109,102],[111,103],[108,102],[117,104],[42,27],[43,27],[45,28],[46,29],[47,30],[48,31],[49,32],[50,33],[51,34],[52,35],[53,36],[54,37],[55,37],[56,38],[57,39],[58,40],[59,41],[44,42],[93,12],[60,43],[61,44],[62,45],[94,46],[63,47],[64,48],[65,49],[66,50],[67,51],[68,52],[69,53],[70,54],[71,55],[72,56],[73,56],[74,57],[75,58],[77,59],[76,60],[78,61],[79,62],[80,12],[81,63],[82,64],[83,65],[84,66],[85,67],[86,68],[87,69],[88,70],[89,71],[90,72],[91,73],[92,74],[118,75],[119,105],[7,12],[34,12],[40,12],[35,12],[36,12],[37,12],[38,12],[135,106],[136,107],[134,80]],"semanticDiagnosticsPerFile":[128,129,130,132,133,131,123,104,122,125,120,124,121,103,126,99,96,97,100,98,102,101,127,95,112,114,113,115,105,106,107,109,111,108,117,116,110,42,43,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,44,93,60,61,62,94,63,64,65,66,67,68,69,70,71,72,73,74,75,77,76,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,118,119,8,10,9,2,11,12,13,14,15,16,17,18,3,4,22,19,20,21,23,24,25,5,26,27,28,29,6,30,31,32,33,7,34,39,40,35,36,37,38,1,41,135,136,134,137]},"version":"4.7.4"}
|
|
1
|
+
{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/readline/promises.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/@types/node/stream/web.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/test.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/globals.global.d.ts","../../../node_modules/@types/node/index.d.ts","../../../node_modules/@holochain/client/lib/types.d.ts","../../../node_modules/@holochain/client/lib/hdk/capabilities.d.ts","../../../node_modules/@holochain/client/lib/hdk/countersigning.d.ts","../../../node_modules/@holochain/client/lib/hdk/entry.d.ts","../../../node_modules/@holochain/client/lib/hdk/action.d.ts","../../../node_modules/@holochain/client/lib/hdk/dht-ops.d.ts","../../../node_modules/@holochain/client/lib/hdk/record.d.ts","../../../node_modules/@holochain/client/lib/hdk/index.d.ts","../../../node_modules/@holochain/client/lib/api/common.d.ts","../../../node_modules/@holochain/client/lib/api/admin/types.d.ts","../../../node_modules/@msgpack/msgpack/dist/ExtData.d.ts","../../../node_modules/@msgpack/msgpack/dist/ExtensionCodec.d.ts","../../../node_modules/@msgpack/msgpack/dist/context.d.ts","../../../node_modules/@msgpack/msgpack/dist/encode.d.ts","../../../node_modules/@msgpack/msgpack/dist/decode.d.ts","../../../node_modules/@msgpack/msgpack/dist/utils/stream.d.ts","../../../node_modules/@msgpack/msgpack/dist/decodeAsync.d.ts","../../../node_modules/@msgpack/msgpack/dist/CachedKeyDecoder.d.ts","../../../node_modules/@msgpack/msgpack/dist/Decoder.d.ts","../../../node_modules/@msgpack/msgpack/dist/DecodeError.d.ts","../../../node_modules/@msgpack/msgpack/dist/Encoder.d.ts","../../../node_modules/@msgpack/msgpack/dist/timestamp.d.ts","../../../node_modules/@msgpack/msgpack/dist/index.d.ts","../../../node_modules/@types/ws/index.d.ts","../../../node_modules/isomorphic-ws/index.d.ts","../../../node_modules/@holochain/client/lib/api/app/types.d.ts","../../../node_modules/@holochain/client/lib/api/client.d.ts","../../../node_modules/@holochain/client/lib/api/admin/websocket.d.ts","../../../node_modules/@holochain/client/lib/api/admin/index.d.ts","../../../node_modules/@holochain/client/lib/api/app/websocket.d.ts","../../../node_modules/@holochain/client/lib/api/app/index.d.ts","../../../node_modules/@holochain/client/lib/api/index.d.ts","../../../node_modules/@holochain/client/lib/index.d.ts","../../../node_modules/@holochain-open-dev/cell-client/dist/agnostic-client.d.ts","../../../node_modules/@holochain-open-dev/cell-client/dist/cell-client.d.ts","../../../node_modules/@holochain-open-dev/cell-client/dist/holo-client.d.ts","../../../node_modules/@holochain-open-dev/cell-client/dist/signal-handler.d.ts","../../../node_modules/@holochain-open-dev/cell-client/dist/holochain-client.d.ts","../../../node_modules/@holochain-open-dev/cell-client/dist/index.d.ts","../node_modules/@holochain/client/lib/types.d.ts","../node_modules/@holochain/client/lib/hdk/capabilities.d.ts","../node_modules/@holochain/client/lib/hdk/countersigning.d.ts","../node_modules/@holochain/client/lib/hdk/entry.d.ts","../node_modules/@holochain/client/lib/hdk/action.d.ts","../node_modules/@holochain/client/lib/hdk/dht-ops.d.ts","../node_modules/@holochain/client/lib/hdk/record.d.ts","../node_modules/@holochain/client/lib/hdk/index.d.ts","../node_modules/@holochain/client/lib/api/common.d.ts","../node_modules/@holochain/client/lib/api/app/types.d.ts","../node_modules/@holochain/client/lib/api/admin/types.d.ts","../node_modules/@holochain/client/node_modules/isomorphic-ws/index.d.ts","../node_modules/@holochain/client/lib/api/client.d.ts","../node_modules/@holochain/client/lib/api/admin/websocket.d.ts","../node_modules/@holochain/client/lib/api/admin/index.d.ts","../node_modules/@holochain/client/lib/api/app/websocket.d.ts","../node_modules/@holochain/client/lib/api/app/index.d.ts","../node_modules/@holochain/client/lib/api/index.d.ts","../node_modules/@holochain/client/lib/index.d.ts","../node_modules/@holochain-open-dev/utils/node_modules/@holochain/client/lib/index.d.ts","../node_modules/@holochain-open-dev/utils/dist/hash.d.ts","../node_modules/@holochain-open-dev/utils/dist/holo-hash-map.d.ts","../node_modules/@holochain-open-dev/utils/dist/timestamp.d.ts","../node_modules/@holochain-open-dev/utils/dist/entry-record.d.ts","../node_modules/@holochain-open-dev/utils/dist/record-bag.d.ts","../node_modules/@holochain-open-dev/utils/dist/cell.d.ts","../node_modules/@holochain-open-dev/utils/dist/index.d.ts","../src/types.ts","../src/client.ts","../src/index.ts"],"fileInfos":[{"version":"f5c28122bee592cfaf5c72ed7bcc47f453b79778ffa6e301f45d21a0970719d4","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"3f149f903dd20dfeb7c80e228b659f0e436532de772469980dbd00702cc05cc1","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"181f1784c6c10b751631b24ce60c7f78b20665db4550b335be179217bacc0d5f","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"cd483c056da900716879771893a3c9772b66c3c88f8943b4205aec738a94b1d0","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"c37f8a49593a0030eecb51bbfa270e709bec9d79a6cc3bb851ef348d4e6b26f8","affectsGlobalScope":true},"9122ed7070e054b73ebab37c2373a196def2d90e7d1a9a7fcd9d46b0e51fae78","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"77f0b5c6a193a699c9f7d7fb0578e64e562d271afa740783665d2a827104a873","affectsGlobalScope":true},"21a167fec8f933752fb8157f06d28fab6817af3ad9b0bdb1908a10762391eab9",{"version":"002d6d5f044365b3fbfba0ba9be3bb57cac09b81547c8df4b0795755d2081d90","affectsGlobalScope":true},"0c0cee62cb619aed81133b904f644515ba3064487002a7da83fd8aa07b1b4abd","5a94487653355b56018122d92392beb2e5f4a6c63ba5cef83bbe1c99775ef713",{"version":"d5135ad93b33adcce80b18f8065087934cdc1730d63db58562edcf017e1aad9b","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","55c428f339f80f4ede27cfed15aa1124cd583b43ac3feaf59da19c492c9cd6be","bb9c4ffa5e6290c6980b63c815cdd1625876dadb2efaf77edbe82984be93e55e","75ecef44f126e2ae018b4abbd85b6e8a2e2ba1638ebec56cc64274643ce3567b","f30bb836526d930a74593f7b0f5c1c46d10856415a8f69e5e2fc3db80371e362","14b5aa23c5d0ae1907bc696ac7b6915d88f7d85799cc0dc2dcf98fbce2c5a67c","5c439dafdc09abe4d6c260a96b822fa0ba5be7203c71a63ab1f1423cd9e838ea",{"version":"bae4ea23beb8397755b935cb84d3cdc6cdb0b1b4a329b90de9fc6c8774d71994","affectsGlobalScope":true},"cec36af22f514322f870e81d30675c78df82ae8bf4863f5fd4e4424c040c678d","df36874d9e56aff601e921c4b3971d37cf66d14f6455935ce821e6cad13b1823","aeee0090b38de0dd47ca9a79ad5c2d156e3e09d92306719b0b45a3e96098e564","acfbb5aaef964e1d441f961a1846197f03241dba3c63b1e4d1903684888ef465","09416dd69576b03a3f485adf329a02f043e4a481e060ef5b208194e488d31fd9","2c828a5405191d006115ab34e191b8474bc6c86ffdc401d1a9864b1b6e088a58",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"9499ba4dcd1ee0596d8c98d01341bc874840c5291156513bda667fecad54d5be","a907bf91df26df2400858ef75f749498fb5cf00062bf90a737ac3949cc07978d","cb92bc2e42b261e4299025756f1beb826b3d9666a3f0d46f8a7254ca512f57e4","cb4f3f03480e1727eae46400606cecaa97f550186ff8fa909ebc00db4180531b",{"version":"59104b2e80c588b813d03d3a45f57117ca4601ae3fc216c5ffbcbafc4effc1c5","affectsGlobalScope":true},"5153a2fd150e46ce57bb3f8db1318d33f6ad3261ed70ceeff92281c0608c74a3","d1a78a3c5708807e8de3e399f91df4797c62e44b02195eefc2209b2e713e54ee","36b03690b628eab08703d63f04eaa89c5df202e5f1edf3989f13ad389cd2c091","0effadd232a20498b11308058e334d3339cc5bf8c4c858393e38d9d4c0013dcf","25846d43937c672bab7e8195f3d881f93495df712ee901860effc109918938cc","556bf5c36deb62cffa1bf697c1789fe008ec82db0273025001db66732714e9d9","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","23b89798789dffbd437c0c423f5d02d11f9736aea73d6abf16db4f812ff36eda","653968fc1b35c5eb3d273d36fac1c1dc66f9537edf28f33485b8776bd956e23d",{"version":"970a90f76d4d219ad60819d61f5994514087ba94c985647a3474a5a3d12714ed","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","a381f079c4804442f179d742fdb2e495fe28d67a47cac673485f75ae2e77aeca","3c13ef48634e7b5012fcf7e8fce7496352c2d779a7201389ca96a2a81ee4314d","5d0a25ec910fa36595f85a67ac992d7a53dd4064a1ba6aea1c9f14ab73a023f2",{"version":"bfe39beb986d2a2e512c091cbe924f1c415bc65de54de0e2f6a0dc6f84c183d9","affectsGlobalScope":true},"2d526e6f21d8cc66ac11ada32874e95ae88d870c6c9d3d9d4e03b1d1f9ad7b8e","06d7c42d256f0ce6afe1b2b6cfbc97ab391f29dadb00dd0ae8e8f23f5bc916c3","ec4bd1b200670fb567920db572d6701ed42a9641d09c4ff6869768c8f81b404c","e59a892d87e72733e2a9ca21611b9beb52977be2696c7ba4b216cbbb9a48f5aa","d2ec52f565f0570e90b659811347bd689f8c6039b11eaaccd0f243759d46da6e","8a300fa9b698845a1f9c41ecbe2c5966634582a8e2020d51abcace9b55aa959e",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"a12806a1bde5e9f137bb79728d87a4ceaedf04e95efc9967d3288a3c252d9a7b","328ebbbf4e7ed802989fd617efcba36d1ae28e546d1fed66667e33ada65a22be","2c0a077e287dc06e736845ff1f2c2dd93c9cb5d58430109368871f8a32d2dc1c","c981ff1f690dc0347370cae39c6bdf134f5810f56f1570f43794d5ff131b2e5e","195b5bc1c1ab6e26341a58d7037ec6203ddea3c7212ca1083a787828bb83afd8","2de09061746e185c7dfad69611d1a817fb17398900bb7a71799cbb21f5c82850","700fc526d1987f288e73bc7444df12bfa49235b2fd69d5eae74b421b04919986","660b878011dd01d41cfc1297de39362edd8ea1a62fcf6a24d066f4e228b7efad","d8f106913877c72c0c80a86c3f3675dcd9bd3b4e4cce3b638bd255c641f91257","899bdb5c21f4a072eaccc0025dad7164d9613fe0bcf895da9966b28232c86642","950f24a4fb551651f06024c43a9da8131934f572874af2cc810603d8b5a00a31","de277c67790951196ea64bb341b2cf684a9319ae4dac61c1d62280b5371598bb","82bfd19ccee3f4011bf212b0f9e1d0499f0786fab5f86a0f3569f6801ff42a4f","63a15e7728d66c25dcda587653da8ff5ce043f5421d410c4badcc570f4099ca5","caf8319cf6b9f1222b9c64bb6c032c813baff2d318babd9f4d3e5ed4a5483097","4125dd17616c9165b69b6ff00912d864f91784d1d4a23abbcf9d441d5d2187c7","3d76bf12d97ef4ed9b0803ae602b67f035b55cc4de355958c4ed3cba83319739","949700d15ab233ecdee218dd51712fc18e31754b979b4fdf22ddffdeeff48597","c10bc11463f1636f0130dfcc06c7e41908f250defdf1ee17c517654f014a8b32","a1cb94c6153c05aa74a2fffcc2b9f2bae8ad1d597bed2aad2939adaffaa6bfb0","92d336c64a358427c66973be728c8af7c3181cf2e766423ca6bde047d703668a","b496d3a0a30241c090f947cf28863f21d81d46fa6bed00752125e2799887a869","0fa539c59b06154da34b1d44195089399bb6f0f86092dd8761a35339518dc2ca","1a457f9367ba9f1ef13f9a7b90581c2260385da2530aca1317e5e6b40201c4b4","b4358a89fcd9c579f84a6c68e2ce44ca91b07e4db3f8f403c2b7a72c1a1e04b6","1442a75050bad91356b11dcea6dfb877154d1f2e00f863a9b17ba5e903659503","9e7f48ca9914451a1d42a45fd6e310122dc087c6f182660a878c251898d63886","d13b51b20d0c65f4acc216d09fcf768e70503130c5e4ab871fe67debfd9c2e30","b959c3a020de55298e7b3ea8d9252d0c032f9f3d67811a1280a395c56e296c03","e76069367e6b1580fe09b6c14dc0e477df342f2758cb5570ae8cd06caa6188cf","2fc4b6a42ee7c6846421139d81e0b4bb879b08a9297397f4e3349025ec6c13ce","e76069367e6b1580fe09b6c14dc0e477df342f2758cb5570ae8cd06caa6188cf","57e95e0108e2343c6c37b56a215f59c08a05134d05b663bd1f697761ce15cd75","ede26936b6b2e3718ff4b7de25b36b452213eb8a1950c053e39a6c01b96a8040","53b14d3733ff28f047c64c6d846e57ce6b2bc44b74b58b5e01439ea7a85175a3","0e0b6570736f25721ae5400832a01b318fd07acfdaa9f956f8a131b34330c5df","fbfeadb1ad70e46094e948c95c8caff73e42606f49fd1e8b44f91adee9aa303b","f4dd3bd3a04c9c8b3cb4ff1c53ad01c86464a7c3229eb149940a8ae840481842","8717b0f40e1f2edc20642733bf36ff9ac58a37f098dd034ad54aaf1fb57b24f6","358096ed1d27655c411abb904d76cab56a908c3b3b91cebc2abf16083893e1d8","328ebbbf4e7ed802989fd617efcba36d1ae28e546d1fed66667e33ada65a22be","2c0a077e287dc06e736845ff1f2c2dd93c9cb5d58430109368871f8a32d2dc1c","c981ff1f690dc0347370cae39c6bdf134f5810f56f1570f43794d5ff131b2e5e","195b5bc1c1ab6e26341a58d7037ec6203ddea3c7212ca1083a787828bb83afd8","2de09061746e185c7dfad69611d1a817fb17398900bb7a71799cbb21f5c82850","700fc526d1987f288e73bc7444df12bfa49235b2fd69d5eae74b421b04919986","660b878011dd01d41cfc1297de39362edd8ea1a62fcf6a24d066f4e228b7efad","d8f106913877c72c0c80a86c3f3675dcd9bd3b4e4cce3b638bd255c641f91257","a9427488fda19a0ebececc5741e0dbe648046f4d8055926d1b74431007515825","4c69adc7e71b041813bae2b1bc003d99cb35a3faced5f02af693a6d648b820cc","0b012c838f3cde2a330beb33338b1313fb0525c32d66dd88e5014bf2aea77133","1442a75050bad91356b11dcea6dfb877154d1f2e00f863a9b17ba5e903659503","656a3d769a02829680842fb2d08f36ff707b88dc9be6a1329caba6c0ce20352d","d420884d8bf22dfe06fe4ea1ca9d9bef1253bff302599dc924a85138a2464752","e76069367e6b1580fe09b6c14dc0e477df342f2758cb5570ae8cd06caa6188cf","956faf9046b5f3f18d973ae85c8244ed0403b90cef25b680db214f7371efe0df","e76069367e6b1580fe09b6c14dc0e477df342f2758cb5570ae8cd06caa6188cf","5e76c83d73c9910465a11d914b33417b656c99b56132773b0aa95664212c4759","ede26936b6b2e3718ff4b7de25b36b452213eb8a1950c053e39a6c01b96a8040","ede26936b6b2e3718ff4b7de25b36b452213eb8a1950c053e39a6c01b96a8040","2fd1930bbc73dc63806f5bf4141c2af7912db7a51262f1ccdba4b336bc559fb0","04f4f29c793a9749a0f360f43481db14e97bdda7949df2341e3dad5af44356c9","92428ea53b5f07627f5c1c065e2cc1d17538af7ff317cefc78d7b2372fb2eade","49ee78b4cf200ec25a83a7dbb5006eb90f9521eac19fad420505de10c791cfb6","1e5a156891ebb27c0cb52021ff77089a0c8056e4ee17069aee7a4f6caf8edbf3","d2d35225f98a036a10bb6543ba2336605a9a6f25cbf69b2068a831f7d62c3d9b","23cb61cf370cb65eeed1b5d5e0f4c9d4f8d7508127b1438574366ce5023c3bdd",{"version":"2a1249244b315cbb610d753adb4c7992c01e301d852f4f46d929e02701d0b127","signature":"be9923bbeaec13751a3afe60fcb79a39aee21111007745390ee64accc84a9486"},{"version":"f08b708f26dfb1286e54df1de625e10b2c237fe003d1937cb30db9d4b27f5d0a","signature":"2cf7a59863c105339f9295473ac5ba20a39f26c893fd2f644e2af78baa20c92a"},"721bb668d2a165268d16a8336d99841ecfc80a63c47a35f9c4e9b00211acda68"],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"declarationDir":"./","esModuleInterop":true,"experimentalDecorators":true,"module":99,"noEmitOnError":true,"noErrorTruncation":true,"noImplicitAny":false,"noImplicitThis":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","skipDefaultLibCheck":true,"skipLibCheck":true,"sourceMap":true,"strict":true,"target":4},"fileIdsList":[[87,127],[87,127,128],[87,127,128,131],[87,128,129,130,132],[87,104,122],[87,94,95,102,103],[87,103,104,121],[87,120,124],[87,95,96,103,123],[87,95,103,120,121],[87,117,119,120],[87],[87,123,125],[87,95,98],[87,95],[87,95,98,99],[87,95,96,97],[87,96,98,99,100,101],[87,98,99],[87,95,102,126],[87,106,112],[87,106],[87,105],[87,106,107],[87,107,109,110],[87,105,106,108,109,111,113,114,115,116],[42,87],[45,87],[46,51,87],[47,57,58,65,75,86,87],[47,48,57,65,87],[49,87],[50,51,58,66,87],[51,75,83,87],[52,54,57,65,87],[53,87],[54,55,87],[56,57,87],[57,87],[57,58,59,75,86,87],[57,58,59,75,78,87],[87,91],[60,65,75,86,87],[57,58,60,61,65,75,83,86,87],[60,62,75,83,86,87],[42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93],[57,63,87],[64,86,87],[54,57,65,75,87],[66,87],[67,87],[45,68,87],[69,85,87,91],[70,87],[71,87],[57,72,73,87],[72,74,87,89],[57,75,76,77,78,87],[75,77,87],[75,76,87],[78,87],[79,87],[57,81,82,87],[81,82,87],[51,65,75,83,87],[84,87],[65,85,87],[46,60,71,86,87],[51,87],[75,87,88],[87,89],[87,90],[46,51,57,59,68,75,86,87,89,91],[75,87,92],[57,60,62,75,83,86,87,92,94],[87,118],[87,154,155,156,157,158,159],[87,127,155,157],[87,144,147],[87,94,134,141,142,143],[87,142,144,146],[87,143,149],[87,134,135,142,148],[87,134,142,143,146],[87,117,118,143,145],[87,134],[87,142,148,150],[87,134,137],[87,134,137,138],[87,134,135,136],[87,135,137,138,139,140],[87,137,138],[87,134,141,151],[87,133,152,160,161],[87,161,162],[87,152],[127,133,160,161],[161,162],[127]],"referencedMap":[[128,1],[129,2],[130,2],[132,3],[133,4],[131,1],[123,5],[104,6],[122,7],[125,8],[120,9],[124,10],[121,11],[103,12],[126,13],[99,14],[96,15],[97,14],[100,16],[98,17],[102,18],[101,19],[127,20],[95,12],[112,12],[114,12],[113,21],[115,22],[105,12],[106,23],[107,12],[109,24],[111,25],[108,24],[117,26],[116,12],[110,12],[42,27],[43,27],[45,28],[46,29],[47,30],[48,31],[49,32],[50,33],[51,34],[52,35],[53,36],[54,37],[55,37],[56,38],[57,39],[58,40],[59,41],[44,42],[93,12],[60,43],[61,44],[62,45],[94,46],[63,47],[64,48],[65,49],[66,50],[67,51],[68,52],[69,53],[70,54],[71,55],[72,56],[73,56],[74,57],[75,58],[77,59],[76,60],[78,61],[79,62],[80,12],[81,63],[82,64],[83,65],[84,66],[85,67],[86,68],[87,69],[88,70],[89,71],[90,72],[91,73],[92,74],[118,75],[119,76],[8,12],[10,12],[9,12],[2,12],[11,12],[12,12],[13,12],[14,12],[15,12],[16,12],[17,12],[18,12],[3,12],[4,12],[22,12],[19,12],[20,12],[21,12],[23,12],[24,12],[25,12],[5,12],[26,12],[27,12],[28,12],[29,12],[6,12],[30,12],[31,12],[32,12],[33,12],[7,12],[34,12],[39,12],[40,12],[35,12],[36,12],[37,12],[38,12],[1,12],[41,12],[159,1],[157,1],[154,1],[155,1],[160,77],[158,78],[156,1],[153,20],[148,79],[144,80],[147,81],[150,82],[143,83],[149,84],[146,85],[142,86],[151,87],[138,88],[135,86],[136,88],[139,89],[137,90],[141,91],[140,92],[152,93],[134,12],[145,76],[162,94],[163,95],[161,96]],"exportedModulesMap":[[128,1],[129,2],[130,2],[132,3],[133,4],[131,1],[123,5],[104,6],[122,7],[125,8],[120,9],[124,10],[121,11],[103,12],[126,13],[99,14],[96,15],[97,14],[100,16],[98,17],[102,18],[101,19],[127,20],[95,12],[112,12],[114,12],[113,21],[115,22],[105,12],[106,23],[107,12],[109,24],[111,25],[108,24],[117,26],[116,12],[110,12],[42,27],[43,27],[45,28],[46,29],[47,30],[48,31],[49,32],[50,33],[51,34],[52,35],[53,36],[54,37],[55,37],[56,38],[57,39],[58,40],[59,41],[44,42],[93,12],[60,43],[61,44],[62,45],[94,46],[63,47],[64,48],[65,49],[66,50],[67,51],[68,52],[69,53],[70,54],[71,55],[72,56],[73,56],[74,57],[75,58],[77,59],[76,60],[78,61],[79,62],[80,12],[81,63],[82,64],[83,65],[84,66],[85,67],[86,68],[87,69],[88,70],[89,71],[90,72],[91,73],[92,74],[118,75],[119,76],[8,12],[10,12],[9,12],[2,12],[11,12],[12,12],[13,12],[14,12],[15,12],[16,12],[17,12],[18,12],[3,12],[4,12],[22,12],[19,12],[20,12],[21,12],[23,12],[24,12],[25,12],[5,12],[26,12],[27,12],[28,12],[29,12],[6,12],[30,12],[31,12],[32,12],[33,12],[7,12],[34,12],[39,12],[40,12],[35,12],[36,12],[37,12],[38,12],[1,12],[41,12],[159,1],[157,1],[154,1],[155,1],[160,77],[158,78],[156,1],[153,20],[148,79],[144,80],[147,81],[150,82],[143,83],[149,84],[146,85],[142,86],[151,87],[138,88],[135,86],[136,88],[139,89],[137,90],[141,91],[140,92],[152,93],[134,12],[145,76],[162,97],[163,98],[161,99]],"semanticDiagnosticsPerFile":[128,129,130,132,133,131,123,104,122,125,120,124,121,103,126,99,96,97,100,98,102,101,127,95,112,114,113,115,105,106,107,109,111,108,117,116,110,42,43,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,44,93,60,61,62,94,63,64,65,66,67,68,69,70,71,72,73,74,75,77,76,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,118,119,8,10,9,2,11,12,13,14,15,16,17,18,3,4,22,19,20,21,23,24,25,5,26,27,28,29,6,30,31,32,33,7,34,39,40,35,36,37,38,1,41,159,157,154,155,160,158,156,153,148,144,147,150,143,149,146,142,151,138,135,136,139,137,141,140,152,134,145,162,163,161]},"version":"4.7.4"}
|
package/dist/types.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { AgentPubKey, EntryHash, Record } from '@holochain/client';
|
|
2
2
|
export interface Commit {
|
|
3
3
|
state: Uint8Array;
|
|
4
|
-
created_at: number;
|
|
5
4
|
previous_commit_hashes: Array<EntryHash>;
|
|
6
5
|
authors: Array<AgentPubKey>;
|
|
7
6
|
witnesses: Array<AgentPubKey>;
|
|
@@ -9,12 +8,16 @@ export interface Commit {
|
|
|
9
8
|
}
|
|
10
9
|
export interface Workspace {
|
|
11
10
|
name: String;
|
|
12
|
-
|
|
11
|
+
initial_commit_hash: EntryHash;
|
|
13
12
|
}
|
|
14
13
|
/** Client API */
|
|
14
|
+
export interface CreateCommitInput {
|
|
15
|
+
commit: Commit;
|
|
16
|
+
root_hash: EntryHash;
|
|
17
|
+
}
|
|
15
18
|
export interface CreateWorkspaceInput {
|
|
16
19
|
workspace: Workspace;
|
|
17
|
-
|
|
20
|
+
root_hash: EntryHash;
|
|
18
21
|
}
|
|
19
22
|
export interface UpdateWorkspaceTipInput {
|
|
20
23
|
workspace_hash: EntryHash;
|
|
@@ -24,9 +27,15 @@ export interface JoinWorkspaceOutput {
|
|
|
24
27
|
current_tip: Record;
|
|
25
28
|
participants: Array<AgentPubKey>;
|
|
26
29
|
}
|
|
27
|
-
export
|
|
30
|
+
export declare type SynMessage = ({
|
|
31
|
+
type: 'WorkspaceMessage';
|
|
32
|
+
} & WorkspaceMessage) | {
|
|
33
|
+
type: 'NewRoot';
|
|
34
|
+
root: Record;
|
|
35
|
+
};
|
|
36
|
+
export interface SendMessageInput {
|
|
28
37
|
recipients: Array<AgentPubKey>;
|
|
29
|
-
|
|
38
|
+
message: SynMessage;
|
|
30
39
|
}
|
|
31
40
|
export interface WorkspaceMessage {
|
|
32
41
|
workspace_hash: EntryHash;
|
|
@@ -50,5 +59,5 @@ export declare type MessagePayload = {
|
|
|
50
59
|
};
|
|
51
60
|
export interface SynSignal {
|
|
52
61
|
provenance: AgentPubKey;
|
|
53
|
-
message:
|
|
62
|
+
message: SynMessage;
|
|
54
63
|
}
|
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@holochain-syn/client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"module": "./dist/index.js",
|
|
6
|
+
"type": "module",
|
|
6
7
|
"files": [
|
|
7
8
|
"dist"
|
|
8
9
|
],
|
|
@@ -17,14 +18,15 @@
|
|
|
17
18
|
"build:watch": "run-singleton \"tsc -w --preserveWatchOutput\""
|
|
18
19
|
},
|
|
19
20
|
"dependencies": {
|
|
20
|
-
"@holochain
|
|
21
|
-
"@holochain/client": "^0.7.
|
|
21
|
+
"@holochain/client": "^0.9.2",
|
|
22
|
+
"@holochain-open-dev/cell-client": "^0.7.3",
|
|
23
|
+
"@holochain-open-dev/utils": "^0.4.2",
|
|
22
24
|
"@msgpack/msgpack": "^2.7.0",
|
|
23
25
|
"automerge": "^1.0.1-preview.7",
|
|
24
26
|
"lodash-es": "^4.17.21"
|
|
25
27
|
},
|
|
26
28
|
"devDependencies": {
|
|
27
|
-
"@types/lodash-es": "^4.17.
|
|
29
|
+
"@types/lodash-es": "^4.17.6",
|
|
28
30
|
"gh-pages": "^3.2.3",
|
|
29
31
|
"rimraf": "^3.0.2",
|
|
30
32
|
"run-singleton-cli": "^0.0.5",
|