@automerge/automerge-repo
Advanced tools
Comparing version 2.0.0-alpha.16 to 2.0.0-alpha.17
@@ -29,2 +29,5 @@ /** | ||
export type AnyDocumentId = AutomergeUrl | DocumentId | BinaryDocumentId | LegacyDocumentId; | ||
export type UrlHeads = string[] & { | ||
__automergeUrlHeads: unknown; | ||
}; | ||
/** A branded type for peer IDs */ | ||
@@ -36,4 +39,4 @@ export type PeerId = string & { | ||
export type SessionId = string & { | ||
__SessionId: true; | ||
__sessionId: true; | ||
}; | ||
//# sourceMappingURL=types.d.ts.map |
{ | ||
"name": "@automerge/automerge-repo", | ||
"version": "2.0.0-alpha.16", | ||
"version": "2.0.0-alpha.17", | ||
"description": "A repository object to manage a collection of automerge documents", | ||
@@ -63,3 +63,3 @@ "repository": "https://github.com/automerge/automerge-repo/tree/master/packages/automerge-repo", | ||
}, | ||
"gitHead": "04e79be28aca7dc566ced3b2c32e05ca5d37ce69" | ||
"gitHead": "79f8b8fad0a65555e4cbbdebfd42c99eea326111" | ||
} |
@@ -30,2 +30,5 @@ /** | ||
// We need to define our own version of heads because the AutomergeHeads type is not bs58check encoded | ||
export type UrlHeads = string[] & { __automergeUrlHeads: unknown } | ||
/** A branded type for peer IDs */ | ||
@@ -35,2 +38,2 @@ export type PeerId = string & { __peerId: true } | ||
/** A randomly generated string created when the {@link Repo} starts up */ | ||
export type SessionId = string & { __SessionId: true } | ||
export type SessionId = string & { __sessionId: true } |
Sorry, the diff of this file is not supported yet
495153
11531