@pkcprotocol/pkc-js 0.0.86 → 0.0.88
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/browser/community/schema.d.ts +10 -10
- package/dist/browser/community/schema.js +1 -1
- package/dist/browser/community/schema.js.map +1 -1
- package/dist/browser/generated-version.d.ts +1 -1
- package/dist/browser/generated-version.js +1 -1
- package/dist/browser/pkc/tracked-instance-registry-util.d.ts +3 -4
- package/dist/browser/pkc/tracked-instance-registry-util.js +43 -14
- package/dist/browser/pkc/tracked-instance-registry-util.js.map +1 -1
- package/dist/browser/runtime/node/community/local-community/db-state.js +5 -6
- package/dist/browser/runtime/node/community/local-community/db-state.js.map +1 -1
- package/dist/browser/runtime/node/community/local-community/editing.js +4 -4
- package/dist/browser/runtime/node/community/local-community/editing.js.map +1 -1
- package/dist/browser/runtime/node/community/local-community/lifecycle.js +6 -6
- package/dist/browser/runtime/node/community/local-community/lifecycle.js.map +1 -1
- package/dist/browser/runtime/node/community/local-community/registry.d.ts +14 -1
- package/dist/browser/runtime/node/community/local-community/registry.js +37 -0
- package/dist/browser/runtime/node/community/local-community/registry.js.map +1 -1
- package/dist/browser/runtime/node/util.js +2 -5
- package/dist/browser/runtime/node/util.js.map +1 -1
- package/dist/browser/schema/schema-util.d.ts +3 -3
- package/dist/browser/test/test-util.d.ts +3 -3
- package/dist/bundled/bundle-manifest.json +31 -31
- package/dist/bundled/chunks/{helia-for-pkc-yqf2rWMx.js → helia-for-pkc-CgG0H5g2.js} +2 -2
- package/dist/bundled/chunks/{local-community-NUwjwbZz.js → local-community-6_MVz1cc.js} +37 -26
- package/dist/bundled/chunks/{local-community-BURzF_1m.js → local-community-rFE0QOdJ.js} +1 -1
- package/dist/bundled/chunks/{node-BbvETZ1u.js → node-BjSTVzbx.js} +5 -5
- package/dist/bundled/chunks/{rpc-local-community-Cpw9_Nuo.js → rpc-local-community-Bu6Wp-tO.js} +3 -5
- package/dist/bundled/chunks/{schema-BT0023M6.js → schema-By3Sh-uW.js} +26 -16
- package/dist/bundled/chunks/{util-BmT_84kq.js → util-BxLdjyTF.js} +1 -1
- package/dist/bundled/index.js +1 -1
- package/dist/bundled/rpc/src/index.js +4 -4
- package/dist/node/community/schema.d.ts +10 -10
- package/dist/node/community/schema.js +1 -1
- package/dist/node/community/schema.js.map +1 -1
- package/dist/node/generated-version.d.ts +1 -1
- package/dist/node/generated-version.js +1 -1
- package/dist/node/pkc/tracked-instance-registry-util.d.ts +3 -4
- package/dist/node/pkc/tracked-instance-registry-util.js +43 -14
- package/dist/node/pkc/tracked-instance-registry-util.js.map +1 -1
- package/dist/node/runtime/node/community/local-community/db-state.js +5 -6
- package/dist/node/runtime/node/community/local-community/db-state.js.map +1 -1
- package/dist/node/runtime/node/community/local-community/editing.js +4 -4
- package/dist/node/runtime/node/community/local-community/editing.js.map +1 -1
- package/dist/node/runtime/node/community/local-community/lifecycle.js +6 -6
- package/dist/node/runtime/node/community/local-community/lifecycle.js.map +1 -1
- package/dist/node/runtime/node/community/local-community/registry.d.ts +14 -1
- package/dist/node/runtime/node/community/local-community/registry.js +37 -0
- package/dist/node/runtime/node/community/local-community/registry.js.map +1 -1
- package/dist/node/runtime/node/util.js +2 -5
- package/dist/node/runtime/node/util.js.map +1 -1
- package/dist/node/schema/schema-util.d.ts +3 -3
- package/dist/node/test/test-util.d.ts +3 -3
- package/package.json +6 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as __toESM, r as __require, t as __commonJSMin } from "./chunk-2rV9d50f.js";
|
|
2
|
-
import { $ as pubsubTopicToDhtKey, $n as n$4, Bn as CommentEditReservedFields, C as contentContainsMarkdownAudio, Ct as findStartedCommunity, F as getIpnsRecordInLocalKuboNode, Fr as ZodError, Ft as untrackStartedCommunity, G as isLinkOfAudio, Hn as CommentEditsTableRowSchema, Ht as CommunityEditPublicationPubsubReservedFields, J as isLinkOfVideo, Jt as CommentModerationReservedFields, K as isLinkOfImage, Kn as AuthorReservedFields, L as hideClassPrivateProps, Lt as untrackUpdatingCommunity, M as genToArray, Mn as CommentsTableRowSchema, Mt as trackStartedCommunity, N as getEquivalentCommunityAddresses, O as derivePublicationFromChallengeRequest, P as getErrorCodeFromMessage, Pt as trackUpdatingCommunity, Q as isStringDomain, R as ipnsNameToIpnsOverPubsubTopic, Rn as CommentEditPubsubMessagePublicationSchema, Rt as require_sha256, S as calculateStringSizeSameAsIpfsAddCidV0, Sn as CommentPubsubMessageReservedFields, Sr as logger_default, St as findCommunityInRegistry, T as contentContainsMarkdownVideos, Tt as findUpdatingCommunity, W as isLinkOfAnimatedImage, Xt as CommentModerationsTableRowSchema, Y as isLinkValid, _t as statMfsPathSafely, a as ChallengeRequestMessageSchema, an as CommunityIpfsSchema, ar as e$1, at as removeMfsFilesSafely, b as areEquivalentCommunityAddresses, br as PKCError, cr as t$4, d as DecryptedChallengeRequestSchema, dr as t$5, dt as retryKuboBlockPutPinAndProvidePubsubTopic, er as t$8, fr as t$3, gn as VotePubsubReservedFields, gt as sleepUntilTimeoutOrAbort, hn as VotePubsubMessagePublicationSchema, ir as e, it as removeBlocksFromKuboNode, jn as CommentUpdateTableRowSchema, jt as syncCommunityRegistryEntry, k as doesDomainAddressHaveCapitalLetter, kn as CommentUpdateSchema, mr as require_retry, nr as t$7, on as CommunitySignedPropertyNames, pt as retryKuboIpfsAddAndProvide, q as isLinkOfMedia, qt as CommentModerationPubsubMessagePublicationSchema, r as ChallengeMessageSchema, rr as t$6, s as ChallengeVerificationMessageSchema, sr as r$1, st as removeNullUndefinedValues, t as ChallengeAnswerMessageSchema, tr as n$3, u as DecryptedChallengeRequestPublicationSchema, vn as VoteTablesRowSchema, w as contentContainsMarkdownImages, x as calculateIpfsCidV0, xn as CommentIpfsSchema, xr as messages, xt as writeKuboFilesWithTimeout, y as version_default, yt as timestamp, zn as CommentEditPubsubMessagePublicationWithFlexibleAuthorSchema } from "./schema-
|
|
3
|
-
import { $t as getPublicKeyFromPrivateKey, A as deriveDbPosts, At as verifyCommentIpfs, Bt as getAuthorNameFromWire, C as BackupAbortError, Cn as parseDecryptedChallengeAnswerWithPKCErrorIfItFails, Dt as verifyChallengeRequest, E as calculateInlineRepliesBudget, En as parseJsonWithPKCErrorIfFails, F as importSignerIntoKuboNode, Ft as verifyCommunityEdit, G as REPLY_REPLIES_SORT_TYPES, Gt as getCommunityPublicKeyFromWire, It as verifyVote, Jt as encode, K as TIMEFRAMES_TO_SECONDS, Lt as buildRuntimeAuthor, M as getDefaultCommunityDbConfig, Mt as verifyCommentPubsubMessage, Nt as verifyCommentUpdate, O as deleteOldCommunityInWindows, P as getThumbnailPropsOfLink, Pt as verifyCommunity, Qt as getPKCAddressFromPublicKeySync, R as moveCommunityDbToDeletedDirectory, Rt as cleanWireAuthor, S as encryptEd25519AesGcmPublicKeyBuffer, St as signCommunity, T as calculateExpectedSignatureSize, Tt as verifyChallengeAnswer, U as POSTS_SORT_TYPES, W as POST_REPLIES_SORT_TYPES, Wt as getCommunityNameFromWire, Xt as getIpfsKeyFromPrivateKey, Z as iterateOverPageCidsToFindAllCids, Zt as getPKCAddressFromPublicKey, _t as signComment, a as loadChallengeFileFromCommunityChallengeSettings, ar as t$11, b as decryptEd25519AesGcmPublicKeyBuffer, bt as signCommentUpdate, c as LRUCache, d as KeyvBetterSqlite3, dn as parseCommunityEditOptionsSchemaWithPKCErrorIfItFails, dr as STORAGE_KEYS, en as createSchemaRowParser, er as crosspostChainDepthUpTo, fr as require_lodash_merge, ft as cleanUpBeforePublishing, g as SignerWithPublicKeyAddress, gt as signChallengeVerification, i as getCommunityChallengeFromCommunityChallengeSettings, ir as r$2, j as deriveDbReplies, jt as verifyCommentModeration, k as deriveCommentIpfsFromCommentTableRow, kt as verifyCommentEdit, lr as t$10, lt as pLimit, mt as signChallengeMessage, nr as t$9, o as pkcJsChallenges, or as n$6, pn as parseCommunityIpfsSchemaPassthroughWithPKCErrorIfItFails, qt as decode, r as getChallengeVerification, rr as t$12, s as TrackedInstanceRegistry, sr as n$5, t as RpcLocalCommunity, tr as effectiveMaxCrosspostDepth, u as MAX_FILE_SIZE_BYTES_FOR_COMMUNITY_IPFS, ur as stringify, vt as signCommentEdit, w as backupCommunityDb, xt as signCommentUpdateForChallengeVerification, z as resolveDbPostsCidRefs } from "./rpc-local-community-
|
|
2
|
+
import { $ as pubsubTopicToDhtKey, $n as n$4, Bn as CommentEditReservedFields, C as contentContainsMarkdownAudio, Ct as findStartedCommunity, F as getIpnsRecordInLocalKuboNode, Fr as ZodError, Ft as untrackStartedCommunity, G as isLinkOfAudio, Hn as CommentEditsTableRowSchema, Ht as CommunityEditPublicationPubsubReservedFields, J as isLinkOfVideo, Jt as CommentModerationReservedFields, K as isLinkOfImage, Kn as AuthorReservedFields, L as hideClassPrivateProps, Lt as untrackUpdatingCommunity, M as genToArray, Mn as CommentsTableRowSchema, Mt as trackStartedCommunity, N as getEquivalentCommunityAddresses, O as derivePublicationFromChallengeRequest, P as getErrorCodeFromMessage, Pt as trackUpdatingCommunity, Q as isStringDomain, R as ipnsNameToIpnsOverPubsubTopic, Rn as CommentEditPubsubMessagePublicationSchema, Rt as require_sha256, S as calculateStringSizeSameAsIpfsAddCidV0, Sn as CommentPubsubMessageReservedFields, Sr as logger_default, St as findCommunityInRegistry, T as contentContainsMarkdownVideos, Tt as findUpdatingCommunity, W as isLinkOfAnimatedImage, Xt as CommentModerationsTableRowSchema, Y as isLinkValid, _t as statMfsPathSafely, a as ChallengeRequestMessageSchema, an as CommunityIpfsSchema, ar as e$1, at as removeMfsFilesSafely, b as areEquivalentCommunityAddresses, br as PKCError, cr as t$4, d as DecryptedChallengeRequestSchema, dr as t$5, dt as retryKuboBlockPutPinAndProvidePubsubTopic, er as t$8, fr as t$3, gn as VotePubsubReservedFields, gt as sleepUntilTimeoutOrAbort, hn as VotePubsubMessagePublicationSchema, ir as e, it as removeBlocksFromKuboNode, jn as CommentUpdateTableRowSchema, jt as syncCommunityRegistryEntry, k as doesDomainAddressHaveCapitalLetter, kn as CommentUpdateSchema, mr as require_retry, nr as t$7, on as CommunitySignedPropertyNames, pt as retryKuboIpfsAddAndProvide, q as isLinkOfMedia, qt as CommentModerationPubsubMessagePublicationSchema, r as ChallengeMessageSchema, rr as t$6, s as ChallengeVerificationMessageSchema, sr as r$1, st as removeNullUndefinedValues, t as ChallengeAnswerMessageSchema, tr as n$3, u as DecryptedChallengeRequestPublicationSchema, vn as VoteTablesRowSchema, w as contentContainsMarkdownImages, x as calculateIpfsCidV0, xn as CommentIpfsSchema, xr as messages, xt as writeKuboFilesWithTimeout, y as version_default, yt as timestamp, zn as CommentEditPubsubMessagePublicationWithFlexibleAuthorSchema } from "./schema-By3Sh-uW.js";
|
|
3
|
+
import { $t as getPublicKeyFromPrivateKey, A as deriveDbPosts, At as verifyCommentIpfs, Bt as getAuthorNameFromWire, C as BackupAbortError, Cn as parseDecryptedChallengeAnswerWithPKCErrorIfItFails, Dt as verifyChallengeRequest, E as calculateInlineRepliesBudget, En as parseJsonWithPKCErrorIfFails, F as importSignerIntoKuboNode, Ft as verifyCommunityEdit, G as REPLY_REPLIES_SORT_TYPES, Gt as getCommunityPublicKeyFromWire, It as verifyVote, Jt as encode, K as TIMEFRAMES_TO_SECONDS, Lt as buildRuntimeAuthor, M as getDefaultCommunityDbConfig, Mt as verifyCommentPubsubMessage, Nt as verifyCommentUpdate, O as deleteOldCommunityInWindows, P as getThumbnailPropsOfLink, Pt as verifyCommunity, Qt as getPKCAddressFromPublicKeySync, R as moveCommunityDbToDeletedDirectory, Rt as cleanWireAuthor, S as encryptEd25519AesGcmPublicKeyBuffer, St as signCommunity, T as calculateExpectedSignatureSize, Tt as verifyChallengeAnswer, U as POSTS_SORT_TYPES, W as POST_REPLIES_SORT_TYPES, Wt as getCommunityNameFromWire, Xt as getIpfsKeyFromPrivateKey, Z as iterateOverPageCidsToFindAllCids, Zt as getPKCAddressFromPublicKey, _t as signComment, a as loadChallengeFileFromCommunityChallengeSettings, ar as t$11, b as decryptEd25519AesGcmPublicKeyBuffer, bt as signCommentUpdate, c as LRUCache, d as KeyvBetterSqlite3, dn as parseCommunityEditOptionsSchemaWithPKCErrorIfItFails, dr as STORAGE_KEYS, en as createSchemaRowParser, er as crosspostChainDepthUpTo, fr as require_lodash_merge, ft as cleanUpBeforePublishing, g as SignerWithPublicKeyAddress, gt as signChallengeVerification, i as getCommunityChallengeFromCommunityChallengeSettings, ir as r$2, j as deriveDbReplies, jt as verifyCommentModeration, k as deriveCommentIpfsFromCommentTableRow, kt as verifyCommentEdit, lr as t$10, lt as pLimit, mt as signChallengeMessage, nr as t$9, o as pkcJsChallenges, or as n$6, pn as parseCommunityIpfsSchemaPassthroughWithPKCErrorIfItFails, qt as decode, r as getChallengeVerification, rr as t$12, s as TrackedInstanceRegistry, sr as n$5, t as RpcLocalCommunity, tr as effectiveMaxCrosspostDepth, u as MAX_FILE_SIZE_BYTES_FOR_COMMUNITY_IPFS, ur as stringify, vt as signCommentEdit, w as backupCommunityDb, xt as signCommentUpdateForChallengeVerification, z as resolveDbPostsCidRefs } from "./rpc-local-community-Bu6Wp-tO.js";
|
|
4
4
|
import { randomFillSync, randomUUID } from "node:crypto";
|
|
5
5
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
6
6
|
import path from "node:path";
|
|
@@ -1812,6 +1812,32 @@ async function throwIfChallengeSettingsAreInvalid({ challengeSettings, pkc, comm
|
|
|
1812
1812
|
//#endregion
|
|
1813
1813
|
//#region dist/node/runtime/node/community/local-community/registry.js
|
|
1814
1814
|
const processStartedCommunities = new TrackedInstanceRegistry();
|
|
1815
|
+
function normalizeRegistryDataPath(dataPath) {
|
|
1816
|
+
if (dataPath === void 0) return void 0;
|
|
1817
|
+
const resolved = path$1.resolve(dataPath);
|
|
1818
|
+
let existing = resolved;
|
|
1819
|
+
let tail = "";
|
|
1820
|
+
while (true) try {
|
|
1821
|
+
return path$1.join(fs.realpathSync.native(existing), tail);
|
|
1822
|
+
} catch {
|
|
1823
|
+
const parent = path$1.dirname(existing);
|
|
1824
|
+
if (parent === existing) return resolved;
|
|
1825
|
+
tail = path$1.join(path$1.basename(existing), tail);
|
|
1826
|
+
existing = parent;
|
|
1827
|
+
}
|
|
1828
|
+
}
|
|
1829
|
+
function getLookup(community) {
|
|
1830
|
+
return {
|
|
1831
|
+
publicKey: community.publicKey,
|
|
1832
|
+
name: community.name
|
|
1833
|
+
};
|
|
1834
|
+
}
|
|
1835
|
+
function findProcessStartedCommunity(community) {
|
|
1836
|
+
return findCommunityInRegistry(processStartedCommunities, getLookup(community), normalizeRegistryDataPath(community._pkc.dataPath));
|
|
1837
|
+
}
|
|
1838
|
+
function syncProcessStartedCommunity(community) {
|
|
1839
|
+
syncCommunityRegistryEntry(processStartedCommunities, community, normalizeRegistryDataPath(community._pkc.dataPath));
|
|
1840
|
+
}
|
|
1815
1841
|
//#endregion
|
|
1816
1842
|
//#region node_modules/graceful-fs/polyfills.js
|
|
1817
1843
|
var require_polyfills = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
@@ -6081,10 +6107,7 @@ async function updateInstancePropsWithStartedCommunityOrDb(community) {
|
|
|
6081
6107
|
const startedCommunity = findStartedCommunity(community._pkc, {
|
|
6082
6108
|
publicKey: community.publicKey,
|
|
6083
6109
|
name: community.name
|
|
6084
|
-
}) ||
|
|
6085
|
-
publicKey: community.publicKey,
|
|
6086
|
-
name: community.name
|
|
6087
|
-
});
|
|
6110
|
+
}) || findProcessStartedCommunity(community);
|
|
6088
6111
|
if (startedCommunity) {
|
|
6089
6112
|
log("Loading local community", community.address, "from started community instance");
|
|
6090
6113
|
if (startedCommunity.updatedAt) await community.initInternalCommunityAfterFirstUpdateNoMerge(startedCommunity.toJSONInternalAfterFirstUpdate());
|
|
@@ -6236,7 +6259,7 @@ async function initInternalCommunityAfterFirstUpdateNoMerge(community, newProps)
|
|
|
6236
6259
|
if (Array.isArray(newProps._cidsToUnPin)) newProps._cidsToUnPin.forEach((cid) => community._cidsToUnPin.add(cid));
|
|
6237
6260
|
if (Array.isArray(newProps._mfsPathsToRemove)) newProps._mfsPathsToRemove.forEach((path) => community._mfsPathsToRemove.add(path));
|
|
6238
6261
|
community._updateIpnsPubsubPropsIfNeeded(newProps);
|
|
6239
|
-
if (processStartedCommunities.has(community))
|
|
6262
|
+
if (processStartedCommunities.has(community)) syncProcessStartedCommunity(community);
|
|
6240
6263
|
if (community.updateCid) community.raw.localCommunity = community.toJSONInternalRpcAfterFirstUpdate();
|
|
6241
6264
|
}
|
|
6242
6265
|
async function initInternalCommunityBeforeFirstUpdateNoMerge(community, newProps) {
|
|
@@ -6258,7 +6281,7 @@ async function initInternalCommunityBeforeFirstUpdateNoMerge(community, newProps
|
|
|
6258
6281
|
await initSignerProps(community, newProps.signer);
|
|
6259
6282
|
community._internalStateUpdateId = newProps._internalStateUpdateId;
|
|
6260
6283
|
community._updateIpnsPubsubPropsIfNeeded(newProps);
|
|
6261
|
-
if (processStartedCommunities.has(community))
|
|
6284
|
+
if (processStartedCommunities.has(community)) syncProcessStartedCommunity(community);
|
|
6262
6285
|
community.raw.localCommunity = community.toJSONInternalRpcBeforeFirstUpdate();
|
|
6263
6286
|
}
|
|
6264
6287
|
async function initDbHandlerIfNeeded(community) {
|
|
@@ -6745,10 +6768,7 @@ async function start(community) {
|
|
|
6745
6768
|
if (community.started || findStartedCommunity(community._pkc, {
|
|
6746
6769
|
publicKey: community.publicKey,
|
|
6747
6770
|
name: community.name
|
|
6748
|
-
}) ||
|
|
6749
|
-
publicKey: community.publicKey,
|
|
6750
|
-
name: community.name
|
|
6751
|
-
})) throw new PKCError("ERR_COMMUNITY_ALREADY_STARTED", { address: community.address });
|
|
6771
|
+
}) || findProcessStartedCommunity(community)) throw new PKCError("ERR_COMMUNITY_ALREADY_STARTED", { address: community.address });
|
|
6752
6772
|
try {
|
|
6753
6773
|
await initBeforeStarting(community);
|
|
6754
6774
|
if (community.anchor && !getPersistedAnchorRecordBytes(community)) throw new PKCError("ERR_DELEGATED_COMMUNITY_HAS_NO_ANCHOR_RECORD", {
|
|
@@ -6760,7 +6780,7 @@ async function start(community) {
|
|
|
6760
6780
|
await community._updateStartedValue();
|
|
6761
6781
|
await community._dbHandler.lockCommunityStart();
|
|
6762
6782
|
trackStartedCommunity(community._pkc, community);
|
|
6763
|
-
|
|
6783
|
+
syncProcessStartedCommunity(community);
|
|
6764
6784
|
await community._updateStartedValue();
|
|
6765
6785
|
await community._dbHandler.initDbIfNeeded();
|
|
6766
6786
|
await community._dbHandler.createOrMigrateTablesIfNeeded();
|
|
@@ -6864,10 +6884,7 @@ async function updateOnce(community) {
|
|
|
6864
6884
|
const startedCommunity = findStartedCommunity(community._pkc, {
|
|
6865
6885
|
publicKey: community.publicKey,
|
|
6866
6886
|
name: community.name
|
|
6867
|
-
}) ||
|
|
6868
|
-
publicKey: community.publicKey,
|
|
6869
|
-
name: community.name
|
|
6870
|
-
});
|
|
6887
|
+
}) || findProcessStartedCommunity(community);
|
|
6871
6888
|
if (community._mirroredStartedOrUpdatingCommunity) return;
|
|
6872
6889
|
else if (startedCommunity) {
|
|
6873
6890
|
await initMirroringStartedOrUpdatingCommunity(community, startedCommunity);
|
|
@@ -6994,10 +7011,7 @@ async function deleteCommunity(community) {
|
|
|
6994
7011
|
const startedCommunity = findStartedCommunity(community._pkc, {
|
|
6995
7012
|
publicKey: community.publicKey,
|
|
6996
7013
|
name: community.name
|
|
6997
|
-
}) ||
|
|
6998
|
-
publicKey: community.publicKey,
|
|
6999
|
-
name: community.name
|
|
7000
|
-
});
|
|
7014
|
+
}) || findProcessStartedCommunity(community);
|
|
7001
7015
|
if (startedCommunity && startedCommunity !== community) {
|
|
7002
7016
|
await startedCommunity.delete();
|
|
7003
7017
|
await community.stop();
|
|
@@ -7149,7 +7163,7 @@ async function editPropsOnStartedCommunity(community, parsedEditOptions) {
|
|
|
7149
7163
|
community.emit("update", community);
|
|
7150
7164
|
if (community.address !== oldAddress) {
|
|
7151
7165
|
trackStartedCommunity(community._pkc, community);
|
|
7152
|
-
|
|
7166
|
+
syncProcessStartedCommunity(community);
|
|
7153
7167
|
}
|
|
7154
7168
|
return community;
|
|
7155
7169
|
}
|
|
@@ -7179,10 +7193,7 @@ async function edit(community, newCommunityOptions) {
|
|
|
7179
7193
|
const startedCommunity = findStartedCommunity(community._pkc, {
|
|
7180
7194
|
publicKey: community.publicKey,
|
|
7181
7195
|
name: community.name
|
|
7182
|
-
}) ||
|
|
7183
|
-
publicKey: community.publicKey,
|
|
7184
|
-
name: community.name
|
|
7185
|
-
});
|
|
7196
|
+
}) || findProcessStartedCommunity(community);
|
|
7186
7197
|
if (startedCommunity && community.state !== "started") {
|
|
7187
7198
|
const editRes = await startedCommunity.edit(newCommunityOptions);
|
|
7188
7199
|
community.setAddress(editRes.address);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as createNewLocalCommunityDb, r as updateInstancePropsWithStartedCommunityOrDb, t as LocalCommunity } from "./local-community-
|
|
1
|
+
import { n as createNewLocalCommunityDb, r as updateInstancePropsWithStartedCommunityOrDb, t as LocalCommunity } from "./local-community-6_MVz1cc.js";
|
|
2
2
|
export { LocalCommunity, createNewLocalCommunityDb, updateInstancePropsWithStartedCommunityOrDb };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as __toESM, r as __require, t as __commonJSMin } from "./chunk-2rV9d50f.js";
|
|
2
|
-
import { $n as n$2, B as isIpfsCid, Bt as pTimeout, Ct as findStartedCommunity, D as deepMergeRuntimeFields, Dt as listUpdatingComments, E as createAbortError, En as CommentUpdateForChallengeVerificationSchema, Et as listStartedCommunities, H as isIpns, Ir as joinValues, It as untrackUpdatingComment, L as hideClassPrivateProps, Lr as parsedType, Nt as trackUpdatingComment, Ot as listUpdatingCommunities, Q as isStringDomain, R as ipnsNameToIpnsOverPubsubTopic, Rr as stringifyPrimitive, Rt as require_sha256, Sr as logger_default, Tr as setErrorMap, Tt as findUpdatingCommunity, a as ChallengeRequestMessageSchema, an as CommunityIpfsSchema, ar as e$1, b as areEquivalentCommunityAddresses, br as PKCError, bt as waitForUpdateInCommunityInstanceWithErrorAndTimeout, ct as removeUndefinedValuesRecursively, dn as PubsubTopicSchema, en as CommunityAnchorSchema, ft as retryKuboIpfsAdd, gt as sleepUntilTimeoutOrAbort, hr as FailedToFetchCommentIpfsFromGatewaysError, ht as shortifyCid, ir as e, k as doesDomainAddressHaveCapitalLetter, kn as CommentUpdateSchema, kt as refreshTrackedCommentAliases, lt as replaceXWithY, mr as require_retry, mt as shortifyAddress, nt as rejectWhenAbortSignalFires, r as ChallengeMessageSchema, rr as t$1, rt as rejectWhenCommunityStopsOrAborts, s as ChallengeVerificationMessageSchema, sr as r, t as ChallengeAnswerMessageSchema, tr as n$1, ut as resolveWhenPredicateIsTrue, vt as throwIfAbortSignalAborted, wt as findUpdatingComment, xn as CommentIpfsSchema, xr as messages, y as version_default, yt as timestamp, z as isAbortError, zt as TimeoutError } from "./schema-
|
|
3
|
-
import { $ as RepliesPages, $n as RpcUnsubscribeParamSchema, An as parseSetNewSettingsPKCWsServerSchemaWithPKCErrorIfItFails, At as verifyCommentIpfs, B as setNativeFunctions$1, Bn as RpcEditCommunityParamSchema, Cn as parseDecryptedChallengeAnswerWithPKCErrorIfItFails, Ct as signCommunityEdit, D as createKuboRpcClient, Dn as parsePKCUserOptionsSchemaWithPKCErrorIfItFails, En as parseJsonWithPKCErrorIfFails, Et as verifyChallengeMessage, Fn as RpcCancelExportParamSchema, Ft as verifyCommunityEdit, Gn as RpcFetchCidParamSchema, Gt as getCommunityPublicKeyFromWire, H as CommentClientsManager, Hn as RpcExportCommunityModLogsResultSchema, Ht as buildRuntimeCommunityFields, I as listCommunitiesSync, In as RpcCidParamSchema, It as verifyVote, Jn as RpcPublishChallengeAnswersParamSchema, Kn as RpcFetchCidResultSchema, Kt as normalizeCommunityInputFromCommunity, L as monitorCommunitiesDirectory, Ln as RpcCommentRepliesPageParamSchema, Lt as buildRuntimeAuthor, Mn as parseVotePubsubMessagePublicationSchemaWithPKCErrorIfItFails, Mt as verifyCommentPubsubMessage, N as getDefaultDataPath, Nn as RpcAnchorPublishPreparationResultSchema, Nt as verifyCommentUpdate, On as parseRpcCommentEventWithPKCErrorIfItFails, Ot as verifyChallengeVerification, Pn as RpcAuthorNameParamSchema, Q as parseRawPages, Qn as RpcSuccessResultSchema, Qt as getPKCAddressFromPublicKeySync, Rn as RpcCommunityIdentifierParamSchema, Rt as cleanWireAuthor, Sn as parseCreateVoteOptionsSchemaWithPKCErrorIfItFails, Tn as parseDecryptedChallengeWithPKCErrorIfItFails, Un as RpcExportCommunityParamSchema, Ut as getCommunityAddressFromRecord, V as tryToDeleteCommunitiesThatFailedToBeDeletedBefore, Vn as RpcExportCommunityModLogsParamSchema, Vt as normalizeCreatePublicationAuthor, Wn as RpcExportCommunityResultSchema, Wt as getCommunityNameFromWire, X as findCommentInPageInstanceRecursively, Xn as RpcResolveAuthorNameResultSchema, Y as extractCommunityRuntimeFieldsFromParsedPages, Yn as RpcPublishedAnchorRecordResultSchema, Yt as getBufferedPKCAddressFromPublicKey, Zn as RpcSubscriptionIdResultSchema, _ as createSigner, _n as parseCreateCommunityEditPublicationOptionsSchemaWithPKCErrorIfItFails, _t as signComment, an as parseCommentIpfsSchemaWithPKCErrorIfItFails, ar as t$3, at as PublicationClientsManager, bn as parseCreateRemoteCommunityFunctionArgumentSchemaWithPKCErrorIfItFails, c as LRUCache, cn as parseCommentPubsubMessagePublicationWithPKCErrorIfItFails, cr as t$2, d as KeyvBetterSqlite3, dt as require_lib$1, et as applyNameResolvedCacheToCrosspost, f as decodeRpcChallengeAnswerPubsubMsg, fn as parseCommunityEditPubsubMessagePublicationSchemaWithPKCErrorIfItFails, ft as cleanUpBeforePublishing, gn as parseCreateCommentOptionsSchemaWithPKCErrorIfItFails, h as decodeRpcChallengeVerificationPubsubMsg, hn as parseCreateCommentModerationOptionsSchemaWithPKCErrorIfItFails, ht as signChallengeRequest, in as parseCommentEditPubsubMessagePublicationSchemaWithPKCErrorIfItFails, it as stripNameResolvedFromCrosspost, jt as verifyCommentModeration, kn as parseRpcCommentUpdateEventWithPKCErrorIfItFails, kt as verifyCommentEdit, l as RemoteCommunity, ln as parseCommunityAddressWithPKCErrorIfItFails, lr as t$5, m as decodeRpcChallengeRequestPubsubMsg, mn as parseCreateCommentEditOptionsSchemaWithPKCErrorIfItFails, mr as require_undici, n as RpcRemoteCommunity, nr as t$4, nt as collectCrosspostAuthorsToResolve, o as pkcJsChallenges, or as n$3, ot as PKCClientsManager, p as decodeRpcChallengePubsubMsg, pr as nativeFunctions$2, pt as signChallengeAnswer, qn as RpcPublishAnchorRecordParamSchema, qt as decode, s as TrackedInstanceRegistry, sn as parseCommentModerationPubsubMessagePublicationSchemaWithPKCErrorIfItFails, st as InflightFetchManager, t as RpcLocalCommunity, tn as parseCidStringSchemaWithPKCErrorIfItFails, tt as cloneCrosspostForRuntime, ut as PKCTypedEmitter, v as createAnchorIpnsRecord$1, vt as signCommentEdit, wn as parseDecryptedChallengeVerification, wt as signVote, x as encryptEd25519AesGcm, xn as parseCreateRpcCommunityFunctionArgumentSchemaWithPKCErrorIfItFails, y as decryptEd25519AesGcm, yt as signCommentModeration, zn as RpcCommunityPageParamSchema, zt as getAuthorNameFromRuntime } from "./rpc-local-community-
|
|
4
|
-
import { o as getHeliaDebugContext } from "./util-
|
|
2
|
+
import { $n as n$2, B as isIpfsCid, Bt as pTimeout, Ct as findStartedCommunity, D as deepMergeRuntimeFields, Dt as listUpdatingComments, E as createAbortError, En as CommentUpdateForChallengeVerificationSchema, Et as listStartedCommunities, H as isIpns, Ir as joinValues, It as untrackUpdatingComment, L as hideClassPrivateProps, Lr as parsedType, Nt as trackUpdatingComment, Ot as listUpdatingCommunities, Q as isStringDomain, R as ipnsNameToIpnsOverPubsubTopic, Rr as stringifyPrimitive, Rt as require_sha256, Sr as logger_default, Tr as setErrorMap, Tt as findUpdatingCommunity, a as ChallengeRequestMessageSchema, an as CommunityIpfsSchema, ar as e$1, b as areEquivalentCommunityAddresses, br as PKCError, bt as waitForUpdateInCommunityInstanceWithErrorAndTimeout, ct as removeUndefinedValuesRecursively, dn as PubsubTopicSchema, en as CommunityAnchorSchema, ft as retryKuboIpfsAdd, gt as sleepUntilTimeoutOrAbort, hr as FailedToFetchCommentIpfsFromGatewaysError, ht as shortifyCid, ir as e, k as doesDomainAddressHaveCapitalLetter, kn as CommentUpdateSchema, kt as refreshTrackedCommentAliases, lt as replaceXWithY, mr as require_retry, mt as shortifyAddress, nt as rejectWhenAbortSignalFires, r as ChallengeMessageSchema, rr as t$1, rt as rejectWhenCommunityStopsOrAborts, s as ChallengeVerificationMessageSchema, sr as r, t as ChallengeAnswerMessageSchema, tr as n$1, ut as resolveWhenPredicateIsTrue, vt as throwIfAbortSignalAborted, wt as findUpdatingComment, xn as CommentIpfsSchema, xr as messages, y as version_default, yt as timestamp, z as isAbortError, zt as TimeoutError } from "./schema-By3Sh-uW.js";
|
|
3
|
+
import { $ as RepliesPages, $n as RpcUnsubscribeParamSchema, An as parseSetNewSettingsPKCWsServerSchemaWithPKCErrorIfItFails, At as verifyCommentIpfs, B as setNativeFunctions$1, Bn as RpcEditCommunityParamSchema, Cn as parseDecryptedChallengeAnswerWithPKCErrorIfItFails, Ct as signCommunityEdit, D as createKuboRpcClient, Dn as parsePKCUserOptionsSchemaWithPKCErrorIfItFails, En as parseJsonWithPKCErrorIfFails, Et as verifyChallengeMessage, Fn as RpcCancelExportParamSchema, Ft as verifyCommunityEdit, Gn as RpcFetchCidParamSchema, Gt as getCommunityPublicKeyFromWire, H as CommentClientsManager, Hn as RpcExportCommunityModLogsResultSchema, Ht as buildRuntimeCommunityFields, I as listCommunitiesSync, In as RpcCidParamSchema, It as verifyVote, Jn as RpcPublishChallengeAnswersParamSchema, Kn as RpcFetchCidResultSchema, Kt as normalizeCommunityInputFromCommunity, L as monitorCommunitiesDirectory, Ln as RpcCommentRepliesPageParamSchema, Lt as buildRuntimeAuthor, Mn as parseVotePubsubMessagePublicationSchemaWithPKCErrorIfItFails, Mt as verifyCommentPubsubMessage, N as getDefaultDataPath, Nn as RpcAnchorPublishPreparationResultSchema, Nt as verifyCommentUpdate, On as parseRpcCommentEventWithPKCErrorIfItFails, Ot as verifyChallengeVerification, Pn as RpcAuthorNameParamSchema, Q as parseRawPages, Qn as RpcSuccessResultSchema, Qt as getPKCAddressFromPublicKeySync, Rn as RpcCommunityIdentifierParamSchema, Rt as cleanWireAuthor, Sn as parseCreateVoteOptionsSchemaWithPKCErrorIfItFails, Tn as parseDecryptedChallengeWithPKCErrorIfItFails, Un as RpcExportCommunityParamSchema, Ut as getCommunityAddressFromRecord, V as tryToDeleteCommunitiesThatFailedToBeDeletedBefore, Vn as RpcExportCommunityModLogsParamSchema, Vt as normalizeCreatePublicationAuthor, Wn as RpcExportCommunityResultSchema, Wt as getCommunityNameFromWire, X as findCommentInPageInstanceRecursively, Xn as RpcResolveAuthorNameResultSchema, Y as extractCommunityRuntimeFieldsFromParsedPages, Yn as RpcPublishedAnchorRecordResultSchema, Yt as getBufferedPKCAddressFromPublicKey, Zn as RpcSubscriptionIdResultSchema, _ as createSigner, _n as parseCreateCommunityEditPublicationOptionsSchemaWithPKCErrorIfItFails, _t as signComment, an as parseCommentIpfsSchemaWithPKCErrorIfItFails, ar as t$3, at as PublicationClientsManager, bn as parseCreateRemoteCommunityFunctionArgumentSchemaWithPKCErrorIfItFails, c as LRUCache, cn as parseCommentPubsubMessagePublicationWithPKCErrorIfItFails, cr as t$2, d as KeyvBetterSqlite3, dt as require_lib$1, et as applyNameResolvedCacheToCrosspost, f as decodeRpcChallengeAnswerPubsubMsg, fn as parseCommunityEditPubsubMessagePublicationSchemaWithPKCErrorIfItFails, ft as cleanUpBeforePublishing, gn as parseCreateCommentOptionsSchemaWithPKCErrorIfItFails, h as decodeRpcChallengeVerificationPubsubMsg, hn as parseCreateCommentModerationOptionsSchemaWithPKCErrorIfItFails, ht as signChallengeRequest, in as parseCommentEditPubsubMessagePublicationSchemaWithPKCErrorIfItFails, it as stripNameResolvedFromCrosspost, jt as verifyCommentModeration, kn as parseRpcCommentUpdateEventWithPKCErrorIfItFails, kt as verifyCommentEdit, l as RemoteCommunity, ln as parseCommunityAddressWithPKCErrorIfItFails, lr as t$5, m as decodeRpcChallengeRequestPubsubMsg, mn as parseCreateCommentEditOptionsSchemaWithPKCErrorIfItFails, mr as require_undici, n as RpcRemoteCommunity, nr as t$4, nt as collectCrosspostAuthorsToResolve, o as pkcJsChallenges, or as n$3, ot as PKCClientsManager, p as decodeRpcChallengePubsubMsg, pr as nativeFunctions$2, pt as signChallengeAnswer, qn as RpcPublishAnchorRecordParamSchema, qt as decode, s as TrackedInstanceRegistry, sn as parseCommentModerationPubsubMessagePublicationSchemaWithPKCErrorIfItFails, st as InflightFetchManager, t as RpcLocalCommunity, tn as parseCidStringSchemaWithPKCErrorIfItFails, tt as cloneCrosspostForRuntime, ut as PKCTypedEmitter, v as createAnchorIpnsRecord$1, vt as signCommentEdit, wn as parseDecryptedChallengeVerification, wt as signVote, x as encryptEd25519AesGcm, xn as parseCreateRpcCommunityFunctionArgumentSchemaWithPKCErrorIfItFails, y as decryptEd25519AesGcm, yt as signCommentModeration, zn as RpcCommunityPageParamSchema, zt as getAuthorNameFromRuntime } from "./rpc-local-community-Bu6Wp-tO.js";
|
|
4
|
+
import { o as getHeliaDebugContext } from "./util-BxLdjyTF.js";
|
|
5
5
|
import path from "path";
|
|
6
6
|
import assert from "assert";
|
|
7
7
|
import fs from "fs";
|
|
@@ -6948,7 +6948,7 @@ var PKC$1 = class extends PKCTypedEmitter {
|
|
|
6948
6948
|
this.clients.libp2pJsClients = {};
|
|
6949
6949
|
if (!this.libp2pJsClientsOptions) return;
|
|
6950
6950
|
if (!this.httpRoutersOptions) throw Error("httpRoutersOptions is required for libp2pJsClient");
|
|
6951
|
-
const { createLibp2pJsClientOrUseExistingOne } = await import("./helia-for-pkc-
|
|
6951
|
+
const { createLibp2pJsClientOrUseExistingOne } = await import("./helia-for-pkc-CgG0H5g2.js");
|
|
6952
6952
|
for (const clientOptions of this.libp2pJsClientsOptions) {
|
|
6953
6953
|
const heliaNode = await createLibp2pJsClientOrUseExistingOne({
|
|
6954
6954
|
...clientOptions,
|
|
@@ -7227,7 +7227,7 @@ var PKC$1 = class extends PKCTypedEmitter {
|
|
|
7227
7227
|
const log = logger_default("pkc-js:pkc:createLocalCommunity");
|
|
7228
7228
|
log.trace("Received community options to create a local community instance:", options);
|
|
7229
7229
|
if (!this._canCreateNewLocalCommunity()) throw new PKCError("ERR_CAN_NOT_CREATE_A_LOCAL_COMMUNITY", { pkcOptions: this._userPKCOptions });
|
|
7230
|
-
const { LocalCommunity, createNewLocalCommunityDb, updateInstancePropsWithStartedCommunityOrDb } = await import("./local-community-
|
|
7230
|
+
const { LocalCommunity, createNewLocalCommunityDb, updateInstancePropsWithStartedCommunityOrDb } = await import("./local-community-rFE0QOdJ.js");
|
|
7231
7231
|
const isLocalCommunity = (await listCommunitiesSync(this)).includes(options.address);
|
|
7232
7232
|
const community = new LocalCommunity(this);
|
|
7233
7233
|
if (isLocalCommunity) {
|
package/dist/bundled/chunks/{rpc-local-community-Cpw9_Nuo.js → rpc-local-community-Bu6Wp-tO.js}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { i as __toESM, n as __exportAll, r as __require, t as __commonJSMin } from "./chunk-2rV9d50f.js";
|
|
2
|
-
import { $ as pubsubTopicToDhtKey, $n as n$10, $t as ChallengeFileSchema, A as extractNetworkErrorDetails, An as CommentUpdateSignedPropertyNames, Ar as literal, At as refreshTrackedCommunityAliases, B as isIpfsCid, Bt as pTimeout, Cn as CommentPubsubMessageWithFlexibleAuthorRefinementSchema, Cr as require_supports_color, Ct as findStartedCommunity, D as deepMergeRuntimeFields, Dn as CommentUpdateForChallengeVerificationSignedPropertyNames, Dr as array, E as createAbortError, Er as _enum, Et as listStartedCommunities, Fn as ModQueuePageIpfsSchema, Ft as untrackStartedCommunity, Gn as AuthorCommentIpfsReservedFields, Gt as CreateCommunityEditPublicationOptionsWithRefinementSchema, H as isIpns, I as getPostUpdateTimestampRange, In as PageIpfsSchema, It as untrackUpdatingComment, Jn as CidPathSchema, Kt as CommentModerationChallengeRequestToEncryptSchema, L as hideClassPrivateProps, Ln as CommentEditChallengeRequestToEncryptSchema, Lt as untrackUpdatingCommunity, Mr as object, Mt as trackStartedCommunity, Nn as CreateCommentOptionsWithRefinementSchema, Nr as record, O as derivePublicationFromChallengeRequest, On as CommentUpdateReservedFields, Or as boolean, Ot as listUpdatingCommunities, Pn as GetPageParamSchema, Pr as string, Pt as trackUpdatingCommunity, Q as isStringDomain, Qn as CreateSignerSchema, Qt as ChallengeFileFactorySchema, R as ipnsNameToIpnsOverPubsubTopic, Rt as require_sha256$1, Sr as logger_default, Tn as CommentUpdateChallengeReservedFieldNames, Tt as findUpdatingCommunity, U as isIpnsPath, Un as CreateCommentEditOptionsWithRefinementSchema, Ut as CommunityEditPublicationSignedPropertyNames, V as isIpfsPath, Vn as CommentEditSignedPropertyNames, Vt as CommunityEditPublicationChallengeRequestToEncryptSchema, Wn as AuthorAddressSchema, Wt as CommunityEditPubsubMessagePublicationSchema, X as isRequestPubsubPublicationOfPost, Xn as CommunityAddressSchema, Xt as CommentModerationsTableRowSchema, Yn as CidStringSchema, Yt as CommentModerationSignedPropertyNames, Z as isRequestPubsubPublicationOfReply, Zn as CommunityAuthorChallengeReservedFieldNames, Zt as CreateCommentModerationOptionsWithRefinementSchema, _ as PKCUserOptionBaseSchema, _n as VoteSignedPropertyNames, _r as FailedToFetchCommunityFromGatewaysError, an as CommunityIpfsSchema, ar as e$5, b as areEquivalentCommunityAddresses, bn as CommentIpfsReservedFields, br as PKCError, bt as waitForUpdateInCommunityInstanceWithErrorAndTimeout, c as ChallengeVerificationMessageSignedPropertyNames, cn as CreateRemoteCommunityFunctionArgumentSchema, cr as t$12, dr as t$10, f as DecryptedChallengeSchema, fn as RpcRemoteCommunityUpdateEventResultSchema, fr as t$9, g as PKCParsedOptionsSchema, gr as FailedToFetchCommentUpdateFromGatewaysError, gt as sleepUntilTimeoutOrAbort, h as NameResolverSerializedSchema, hn as VotePubsubMessagePublicationSchema, hr as FailedToFetchCommentIpfsFromGatewaysError, ht as shortifyCid, i as ChallengeMessageSignedPropertyNames, in as CommunityIpfsReservedFields, ir as e$6, j as fetchAndValidateIpnsRecordFromGateway, jr as number, k as doesDomainAddressHaveCapitalLetter, kn as CommentUpdateSchema, kr as custom, l as DecryptedChallengeAnswerSchema, ln as CreateRpcCommunityFunctionArgumentSchema, lr as n$8, m as NameResolveCacheOptionsSchema, mn as VoteChallengeRequestToEncryptSchema, mr as require_retry$1, mt as shortifyAddress, n as ChallengeAnswerMessageSignedPropertyNames, nn as CommunityEditOptionsSchema, o as ChallengeRequestMessageSignedPropertyNames, on as CommunitySignedPropertyNames, or as t$11, ot as removeNullUndefinedEmptyObjectsValuesRecursively, p as DecryptedChallengeVerificationSchema, pn as CreateVoteUserOptionsWithRefinementSchema, pr as e$4, qn as ChallengeAnswersSchema, qt as CommentModerationPubsubMessagePublicationSchema, rn as CommunityExportRecordsSchema, rr as t$13, sn as CreateNewLocalCommunityUserOptionsSchema, sr as r$8, tn as CommunityChallengeSettingSchema, tr as n$9, tt as raceAgainstAbort, un as ExportCommunityModLogsOptionsSchema, ur as r$7, ut as resolveWhenPredicateIsTrue, v as PKCUserOptionsSchema, vr as FailedToFetchGenericIpfsFromGatewaysError, vt as throwIfAbortSignalAborted, wn as CommentSignedPropertyNames, wr as require_ms$1, wt as findUpdatingComment, x as calculateIpfsCidV0, xn as CommentIpfsSchema, xr as messages, yn as CommentChallengeRequestToEncryptSchema, yr as FailedToFetchPageIpfsFromGatewaysError, yt as timestamp, z as isAbortError, zn as CommentEditPubsubMessagePublicationWithFlexibleAuthorSchema } from "./schema-
|
|
2
|
+
import { $ as pubsubTopicToDhtKey, $n as n$10, $t as ChallengeFileSchema, A as extractNetworkErrorDetails, An as CommentUpdateSignedPropertyNames, Ar as literal, At as refreshTrackedCommunityAliases, B as isIpfsCid, Bt as pTimeout, Cn as CommentPubsubMessageWithFlexibleAuthorRefinementSchema, Cr as require_supports_color, Ct as findStartedCommunity, D as deepMergeRuntimeFields, Dn as CommentUpdateForChallengeVerificationSignedPropertyNames, Dr as array, E as createAbortError, Er as _enum, Et as listStartedCommunities, Fn as ModQueuePageIpfsSchema, Ft as untrackStartedCommunity, Gn as AuthorCommentIpfsReservedFields, Gt as CreateCommunityEditPublicationOptionsWithRefinementSchema, H as isIpns, I as getPostUpdateTimestampRange, In as PageIpfsSchema, It as untrackUpdatingComment, Jn as CidPathSchema, Kt as CommentModerationChallengeRequestToEncryptSchema, L as hideClassPrivateProps, Ln as CommentEditChallengeRequestToEncryptSchema, Lt as untrackUpdatingCommunity, Mr as object, Mt as trackStartedCommunity, Nn as CreateCommentOptionsWithRefinementSchema, Nr as record, O as derivePublicationFromChallengeRequest, On as CommentUpdateReservedFields, Or as boolean, Ot as listUpdatingCommunities, Pn as GetPageParamSchema, Pr as string, Pt as trackUpdatingCommunity, Q as isStringDomain, Qn as CreateSignerSchema, Qt as ChallengeFileFactorySchema, R as ipnsNameToIpnsOverPubsubTopic, Rt as require_sha256$1, Sr as logger_default, Tn as CommentUpdateChallengeReservedFieldNames, Tt as findUpdatingCommunity, U as isIpnsPath, Un as CreateCommentEditOptionsWithRefinementSchema, Ut as CommunityEditPublicationSignedPropertyNames, V as isIpfsPath, Vn as CommentEditSignedPropertyNames, Vt as CommunityEditPublicationChallengeRequestToEncryptSchema, Wn as AuthorAddressSchema, Wt as CommunityEditPubsubMessagePublicationSchema, X as isRequestPubsubPublicationOfPost, Xn as CommunityAddressSchema, Xt as CommentModerationsTableRowSchema, Yn as CidStringSchema, Yt as CommentModerationSignedPropertyNames, Z as isRequestPubsubPublicationOfReply, Zn as CommunityAuthorChallengeReservedFieldNames, Zt as CreateCommentModerationOptionsWithRefinementSchema, _ as PKCUserOptionBaseSchema, _n as VoteSignedPropertyNames, _r as FailedToFetchCommunityFromGatewaysError, an as CommunityIpfsSchema, ar as e$5, b as areEquivalentCommunityAddresses, bn as CommentIpfsReservedFields, br as PKCError, bt as waitForUpdateInCommunityInstanceWithErrorAndTimeout, c as ChallengeVerificationMessageSignedPropertyNames, cn as CreateRemoteCommunityFunctionArgumentSchema, cr as t$12, dr as t$10, f as DecryptedChallengeSchema, fn as RpcRemoteCommunityUpdateEventResultSchema, fr as t$9, g as PKCParsedOptionsSchema, gr as FailedToFetchCommentUpdateFromGatewaysError, gt as sleepUntilTimeoutOrAbort, h as NameResolverSerializedSchema, hn as VotePubsubMessagePublicationSchema, hr as FailedToFetchCommentIpfsFromGatewaysError, ht as shortifyCid, i as ChallengeMessageSignedPropertyNames, in as CommunityIpfsReservedFields, ir as e$6, j as fetchAndValidateIpnsRecordFromGateway, jr as number, k as doesDomainAddressHaveCapitalLetter, kn as CommentUpdateSchema, kr as custom, l as DecryptedChallengeAnswerSchema, ln as CreateRpcCommunityFunctionArgumentSchema, lr as n$8, m as NameResolveCacheOptionsSchema, mn as VoteChallengeRequestToEncryptSchema, mr as require_retry$1, mt as shortifyAddress, n as ChallengeAnswerMessageSignedPropertyNames, nn as CommunityEditOptionsSchema, o as ChallengeRequestMessageSignedPropertyNames, on as CommunitySignedPropertyNames, or as t$11, ot as removeNullUndefinedEmptyObjectsValuesRecursively, p as DecryptedChallengeVerificationSchema, pn as CreateVoteUserOptionsWithRefinementSchema, pr as e$4, qn as ChallengeAnswersSchema, qt as CommentModerationPubsubMessagePublicationSchema, rn as CommunityExportRecordsSchema, rr as t$13, sn as CreateNewLocalCommunityUserOptionsSchema, sr as r$8, tn as CommunityChallengeSettingSchema, tr as n$9, tt as raceAgainstAbort, un as ExportCommunityModLogsOptionsSchema, ur as r$7, ut as resolveWhenPredicateIsTrue, v as PKCUserOptionsSchema, vr as FailedToFetchGenericIpfsFromGatewaysError, vt as throwIfAbortSignalAborted, wn as CommentSignedPropertyNames, wr as require_ms$1, wt as findUpdatingComment, x as calculateIpfsCidV0, xn as CommentIpfsSchema, xr as messages, yn as CommentChallengeRequestToEncryptSchema, yr as FailedToFetchPageIpfsFromGatewaysError, yt as timestamp, z as isAbortError, zn as CommentEditPubsubMessagePublicationWithFlexibleAuthorSchema } from "./schema-By3Sh-uW.js";
|
|
3
3
|
import { t as all } from "./src-CYIMjhjK.js";
|
|
4
4
|
import { createHash } from "node:crypto";
|
|
5
5
|
import { pathToFileURL } from "node:url";
|
|
6
6
|
import dns from "node:dns";
|
|
7
7
|
import os from "os";
|
|
8
|
-
import { closeSync, createReadStream, existsSync, openSync, promises, readSync, readdirSync,
|
|
8
|
+
import { closeSync, createReadStream, existsSync, openSync, promises, readSync, readdirSync, watch } from "node:fs";
|
|
9
9
|
import path from "path";
|
|
10
10
|
import assert from "assert";
|
|
11
11
|
import { Agent } from "https";
|
|
@@ -102212,9 +102212,7 @@ async function moveCommunityDbToDeletedDirectory(communityAddress, pkc) {
|
|
|
102212
102212
|
await sourceDb.backup(newPath);
|
|
102213
102213
|
sourceDb.close();
|
|
102214
102214
|
if (os.type() === "Windows_NT") await deleteOldCommunityInWindows(oldPath, pkc);
|
|
102215
|
-
else rm(oldPath,
|
|
102216
|
-
if (err) throw err;
|
|
102217
|
-
});
|
|
102215
|
+
else await promises.rm(oldPath, { force: true });
|
|
102218
102216
|
} catch (error) {
|
|
102219
102217
|
error.details = {
|
|
102220
102218
|
...error.details,
|
|
@@ -6737,7 +6737,7 @@ const CommunityIpfsSchema = object({
|
|
|
6737
6737
|
createdAt: PKCTimestampSchema,
|
|
6738
6738
|
updatedAt: PKCTimestampSchema,
|
|
6739
6739
|
pubsubTopic: PubsubTopicSchema.optional(),
|
|
6740
|
-
statsCid: CidStringSchema,
|
|
6740
|
+
statsCid: CidStringSchema.optional(),
|
|
6741
6741
|
protocolVersion: ProtocolVersionSchema,
|
|
6742
6742
|
postUpdates: record(nonNegativeIntStringSchema, CidStringSchema).optional(),
|
|
6743
6743
|
title: string().optional(),
|
|
@@ -15245,51 +15245,61 @@ function getEquivalentCommunityAliases(address) {
|
|
|
15245
15245
|
function dedupeAliases(aliases) {
|
|
15246
15246
|
return [...new Set(aliases.filter((alias) => typeof alias === "string" && alias.length > 0))];
|
|
15247
15247
|
}
|
|
15248
|
-
function getTrackedAliasHistory(target) {
|
|
15248
|
+
function getTrackedAliasHistory(target, registry) {
|
|
15249
15249
|
const holder = target;
|
|
15250
15250
|
if (!holder[trackedAliasHistorySymbol]) Object.defineProperty(holder, trackedAliasHistorySymbol, {
|
|
15251
|
-
value: /* @__PURE__ */ new
|
|
15251
|
+
value: /* @__PURE__ */ new WeakMap(),
|
|
15252
15252
|
enumerable: false,
|
|
15253
15253
|
configurable: false,
|
|
15254
15254
|
writable: false
|
|
15255
15255
|
});
|
|
15256
|
-
|
|
15256
|
+
const histories = holder[trackedAliasHistorySymbol];
|
|
15257
|
+
let history = histories.get(registry);
|
|
15258
|
+
if (!history) {
|
|
15259
|
+
history = /* @__PURE__ */ new Set();
|
|
15260
|
+
histories.set(registry, history);
|
|
15261
|
+
}
|
|
15262
|
+
return history;
|
|
15257
15263
|
}
|
|
15258
|
-
function persistAliases(target, aliases) {
|
|
15259
|
-
const aliasHistory = getTrackedAliasHistory(target);
|
|
15264
|
+
function persistAliases(target, registry, aliases) {
|
|
15265
|
+
const aliasHistory = getTrackedAliasHistory(target, registry);
|
|
15260
15266
|
aliases.forEach((alias) => aliasHistory.add(alias));
|
|
15261
15267
|
return [...aliasHistory];
|
|
15262
15268
|
}
|
|
15263
|
-
|
|
15269
|
+
const REGISTRY_SCOPE_SEPARATOR = "\0";
|
|
15270
|
+
function scopeAliasesToDataPath(aliases, dataPath) {
|
|
15271
|
+
if (dataPath === void 0) return aliases;
|
|
15272
|
+
return aliases.map((alias) => `${dataPath}${REGISTRY_SCOPE_SEPARATOR}${alias}`);
|
|
15273
|
+
}
|
|
15274
|
+
function getCommunityRegistryAliases(community, dataPath) {
|
|
15264
15275
|
const aliases = dedupeAliases([
|
|
15265
|
-
community.address,
|
|
15266
15276
|
community.name,
|
|
15267
15277
|
community.publicKey,
|
|
15268
15278
|
community.signer?.address
|
|
15269
15279
|
]);
|
|
15270
15280
|
if (aliases.length === 0) throw new PKCError("ERR_COMMUNITY_REGISTRY_LOOKUP_HAS_NO_ALIASES", { community });
|
|
15271
|
-
return dedupeAliases(aliases.flatMap((alias) => {
|
|
15281
|
+
return scopeAliasesToDataPath(dedupeAliases(aliases.flatMap((alias) => {
|
|
15272
15282
|
if (isEthAliasDomain$1(alias)) return getEquivalentCommunityAliases(alias);
|
|
15273
15283
|
return [alias];
|
|
15274
|
-
}));
|
|
15284
|
+
})), dataPath);
|
|
15275
15285
|
}
|
|
15276
15286
|
function getCommentRegistryAliases(comment) {
|
|
15277
15287
|
return dedupeAliases([comment.cid]);
|
|
15278
15288
|
}
|
|
15279
|
-
function syncCommunityRegistryEntry(registry, community) {
|
|
15289
|
+
function syncCommunityRegistryEntry(registry, community, dataPath) {
|
|
15280
15290
|
return registry.track({
|
|
15281
15291
|
value: community,
|
|
15282
|
-
aliases: persistAliases(community, getCommunityRegistryAliases(community))
|
|
15292
|
+
aliases: scopeAliasesToDataPath(persistAliases(community, registry, getCommunityRegistryAliases(community)), dataPath)
|
|
15283
15293
|
});
|
|
15284
15294
|
}
|
|
15285
15295
|
function syncCommentRegistryEntry(registry, comment) {
|
|
15286
15296
|
return registry.track({
|
|
15287
15297
|
value: comment,
|
|
15288
|
-
aliases: persistAliases(comment, getCommentRegistryAliases(comment))
|
|
15298
|
+
aliases: persistAliases(comment, registry, getCommentRegistryAliases(comment))
|
|
15289
15299
|
});
|
|
15290
15300
|
}
|
|
15291
|
-
function findCommunityInRegistry(registry, lookup) {
|
|
15292
|
-
return registry.findByAliases(getCommunityRegistryAliases(lookup));
|
|
15301
|
+
function findCommunityInRegistry(registry, lookup, dataPath) {
|
|
15302
|
+
return registry.findByAliases(getCommunityRegistryAliases(lookup, dataPath));
|
|
15293
15303
|
}
|
|
15294
15304
|
function findCommentInRegistry(registry, lookup) {
|
|
15295
15305
|
return registry.findByAliases(getCommentRegistryAliases(lookup));
|
|
@@ -16195,7 +16205,7 @@ function extractNetworkErrorDetails(err, depth = 0) {
|
|
|
16195
16205
|
}
|
|
16196
16206
|
//#endregion
|
|
16197
16207
|
//#region dist/node/generated-version.js
|
|
16198
|
-
const version = "0.0.
|
|
16208
|
+
const version = "0.0.88";
|
|
16199
16209
|
//#endregion
|
|
16200
16210
|
//#region dist/node/version.js
|
|
16201
16211
|
const protocolVersion = ProtocolVersionSchema.parse("1.0.0");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { br as PKCError, et as pubsubTopicToDhtKeyCid } from "./schema-
|
|
1
|
+
import { br as PKCError, et as pubsubTopicToDhtKeyCid } from "./schema-By3Sh-uW.js";
|
|
2
2
|
import { ipnsSelector } from "ipns/selector";
|
|
3
3
|
import { equals } from "uint8arrays/equals";
|
|
4
4
|
//#region dist/node/helia/util.js
|
package/dist/bundled/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as getShortCid, i as getShortAddress, n as challenges, o as nativeFunctions, r as createAnchorIpnsRecord, s as setNativeFunctions, t as PKC } from "./chunks/node-
|
|
1
|
+
import { a as getShortCid, i as getShortAddress, n as challenges, o as nativeFunctions, r as createAnchorIpnsRecord, s as setNativeFunctions, t as PKC } from "./chunks/node-BjSTVzbx.js";
|
|
2
2
|
export { challenges, createAnchorIpnsRecord, PKC as default, getShortAddress, getShortCid, nativeFunctions, setNativeFunctions };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Ct as findStartedCommunity, L as hideClassPrivateProps, Sr as logger_default, br as PKCError, lt as replaceXWithY, rr as t, tr as n } from "../../chunks/schema-
|
|
2
|
-
import { _ as parseRpcPublishAnchorRecordParam, c as parseRpcAuthorNameParam, d as parseRpcCommentRepliesPageParam, f as parseRpcCommunityIdentifierParam, g as parseRpcExportCommunityParam, h as parseRpcExportCommunityModLogsParam, l as parseRpcCancelExportParam, m as parseRpcEditCommunityParam, p as parseRpcCommunityPageParam, t as PKC, u as parseRpcCidParam, v as parseRpcPublishChallengeAnswersParam, y as parseRpcUnsubscribeParam } from "../../chunks/node-
|
|
3
|
-
import { An as parseSetNewSettingsPKCWsServerSchemaWithPKCErrorIfItFails, Cn as parseDecryptedChallengeAnswerWithPKCErrorIfItFails, J as buildPagesRuntimeFields, ct as pRetry, dn as parseCommunityEditOptionsSchemaWithPKCErrorIfItFails, dt as require_lib, jn as parseVoteChallengeRequestToEncryptSchemaWithPKCErrorIfItFails, lt as pLimit, nn as parseCommentChallengeRequestToEncryptSchemaWithPKCErrorIfItFails, on as parseCommentModerationChallengeRequestToEncryptSchemaWithPKCErrorIfItFails, q as buildPageRuntimeFields, rn as parseCommentEditChallengeRequestToEncryptSchemaWithPKCErrorIfItFails, rr as t$1, rt as extractCrosspostRuntimeFields, un as parseCommunityEditChallengeRequestToEncryptSchemaWithPKCErrorIfItFails, ur as stringify, vn as parseCreateNewLocalCommunityUserOptionsSchemaWithPKCErrorIfItFails, yn as parseCreatePKCWsServerOptionsSchemaWithPKCErrorIfItFails } from "../../chunks/rpc-local-community-
|
|
4
|
-
import { t as LocalCommunity } from "../../chunks/local-community-
|
|
1
|
+
import { Ct as findStartedCommunity, L as hideClassPrivateProps, Sr as logger_default, br as PKCError, lt as replaceXWithY, rr as t, tr as n } from "../../chunks/schema-By3Sh-uW.js";
|
|
2
|
+
import { _ as parseRpcPublishAnchorRecordParam, c as parseRpcAuthorNameParam, d as parseRpcCommentRepliesPageParam, f as parseRpcCommunityIdentifierParam, g as parseRpcExportCommunityParam, h as parseRpcExportCommunityModLogsParam, l as parseRpcCancelExportParam, m as parseRpcEditCommunityParam, p as parseRpcCommunityPageParam, t as PKC, u as parseRpcCidParam, v as parseRpcPublishChallengeAnswersParam, y as parseRpcUnsubscribeParam } from "../../chunks/node-BjSTVzbx.js";
|
|
3
|
+
import { An as parseSetNewSettingsPKCWsServerSchemaWithPKCErrorIfItFails, Cn as parseDecryptedChallengeAnswerWithPKCErrorIfItFails, J as buildPagesRuntimeFields, ct as pRetry, dn as parseCommunityEditOptionsSchemaWithPKCErrorIfItFails, dt as require_lib, jn as parseVoteChallengeRequestToEncryptSchemaWithPKCErrorIfItFails, lt as pLimit, nn as parseCommentChallengeRequestToEncryptSchemaWithPKCErrorIfItFails, on as parseCommentModerationChallengeRequestToEncryptSchemaWithPKCErrorIfItFails, q as buildPageRuntimeFields, rn as parseCommentEditChallengeRequestToEncryptSchemaWithPKCErrorIfItFails, rr as t$1, rt as extractCrosspostRuntimeFields, un as parseCommunityEditChallengeRequestToEncryptSchemaWithPKCErrorIfItFails, ur as stringify, vn as parseCreateNewLocalCommunityUserOptionsSchemaWithPKCErrorIfItFails, yn as parseCreatePKCWsServerOptionsSchemaWithPKCErrorIfItFails } from "../../chunks/rpc-local-community-Bu6Wp-tO.js";
|
|
4
|
+
import { t as LocalCommunity } from "../../chunks/local-community-6_MVz1cc.js";
|
|
5
5
|
import { fileURLToPath } from "node:url";
|
|
6
6
|
import path from "path";
|
|
7
7
|
import assert from "assert";
|
|
@@ -885,7 +885,7 @@ export declare const CommunityIpfsSchema: z.ZodObject<{
|
|
|
885
885
|
createdAt: z.ZodNumber;
|
|
886
886
|
updatedAt: z.ZodNumber;
|
|
887
887
|
pubsubTopic: z.ZodOptional<z.ZodString>;
|
|
888
|
-
statsCid: z.ZodString
|
|
888
|
+
statsCid: z.ZodOptional<z.ZodString>;
|
|
889
889
|
protocolVersion: z.ZodString;
|
|
890
890
|
postUpdates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
891
891
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -955,7 +955,7 @@ export declare const CommunityIpfsSchema: z.ZodObject<{
|
|
|
955
955
|
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
956
956
|
}, z.core.$loose>>>>;
|
|
957
957
|
}, z.core.$strict>;
|
|
958
|
-
export declare const CommunitySignedPropertyNames: ("name" | "flairs" | "protocolVersion" | "lastCommentCid" | "anchor" | "encryption" | "createdAt" | "updatedAt" | "
|
|
958
|
+
export declare const CommunitySignedPropertyNames: ("name" | "flairs" | "protocolVersion" | "lastCommentCid" | "anchor" | "encryption" | "createdAt" | "updatedAt" | "title" | "posts" | "modQueue" | "challenges" | "description" | "pubsubTopic" | "statsCid" | "postUpdates" | "roles" | "rules" | "lastPostCid" | "features" | "suggested")[];
|
|
959
959
|
export declare const RpcRemoteCommunityUpdateEventResultSchema: z.ZodObject<{
|
|
960
960
|
community: z.ZodOptional<z.ZodObject<{
|
|
961
961
|
posts: z.ZodOptional<z.ZodObject<{
|
|
@@ -1231,7 +1231,7 @@ export declare const RpcRemoteCommunityUpdateEventResultSchema: z.ZodObject<{
|
|
|
1231
1231
|
createdAt: z.ZodNumber;
|
|
1232
1232
|
updatedAt: z.ZodNumber;
|
|
1233
1233
|
pubsubTopic: z.ZodOptional<z.ZodString>;
|
|
1234
|
-
statsCid: z.ZodString
|
|
1234
|
+
statsCid: z.ZodOptional<z.ZodString>;
|
|
1235
1235
|
protocolVersion: z.ZodString;
|
|
1236
1236
|
postUpdates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1237
1237
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -1370,7 +1370,7 @@ export declare const CreateRemoteCommunityOptionsSchema: z.ZodObject<{
|
|
|
1370
1370
|
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
1371
1371
|
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
1372
1372
|
pubsubTopic: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1373
|
-
statsCid: z.ZodOptional<z.ZodString
|
|
1373
|
+
statsCid: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1374
1374
|
protocolVersion: z.ZodOptional<z.ZodString>;
|
|
1375
1375
|
postUpdates: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
1376
1376
|
title: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -2139,7 +2139,7 @@ export declare const CreateRemoteCommunityFunctionArgumentSchema: z.ZodUnion<[z.
|
|
|
2139
2139
|
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
2140
2140
|
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
2141
2141
|
pubsubTopic: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2142
|
-
statsCid: z.ZodOptional<z.ZodString
|
|
2142
|
+
statsCid: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2143
2143
|
protocolVersion: z.ZodOptional<z.ZodString>;
|
|
2144
2144
|
postUpdates: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
2145
2145
|
title: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -2711,7 +2711,7 @@ export declare const CreateRemoteCommunityFunctionArgumentSchema: z.ZodUnion<[z.
|
|
|
2711
2711
|
createdAt: z.ZodNumber;
|
|
2712
2712
|
updatedAt: z.ZodNumber;
|
|
2713
2713
|
pubsubTopic: z.ZodOptional<z.ZodString>;
|
|
2714
|
-
statsCid: z.ZodString
|
|
2714
|
+
statsCid: z.ZodOptional<z.ZodString>;
|
|
2715
2715
|
protocolVersion: z.ZodString;
|
|
2716
2716
|
postUpdates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2717
2717
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -2841,7 +2841,7 @@ export declare const CreateRpcCommunityFunctionArgumentSchema: z.ZodUnion<[z.Zod
|
|
|
2841
2841
|
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
2842
2842
|
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
2843
2843
|
pubsubTopic: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2844
|
-
statsCid: z.ZodOptional<z.ZodString
|
|
2844
|
+
statsCid: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2845
2845
|
protocolVersion: z.ZodOptional<z.ZodString>;
|
|
2846
2846
|
postUpdates: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
2847
2847
|
title: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -3413,7 +3413,7 @@ export declare const CreateRpcCommunityFunctionArgumentSchema: z.ZodUnion<[z.Zod
|
|
|
3413
3413
|
createdAt: z.ZodNumber;
|
|
3414
3414
|
updatedAt: z.ZodNumber;
|
|
3415
3415
|
pubsubTopic: z.ZodOptional<z.ZodString>;
|
|
3416
|
-
statsCid: z.ZodString
|
|
3416
|
+
statsCid: z.ZodOptional<z.ZodString>;
|
|
3417
3417
|
protocolVersion: z.ZodString;
|
|
3418
3418
|
postUpdates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3419
3419
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -3787,7 +3787,7 @@ export declare const CreateCommunityFunctionArgumentsSchema: z.ZodUnion<[z.ZodOb
|
|
|
3787
3787
|
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
3788
3788
|
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
3789
3789
|
pubsubTopic: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3790
|
-
statsCid: z.ZodOptional<z.ZodString
|
|
3790
|
+
statsCid: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3791
3791
|
protocolVersion: z.ZodOptional<z.ZodString>;
|
|
3792
3792
|
postUpdates: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
3793
3793
|
title: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -4359,7 +4359,7 @@ export declare const CreateCommunityFunctionArgumentsSchema: z.ZodUnion<[z.ZodOb
|
|
|
4359
4359
|
createdAt: z.ZodNumber;
|
|
4360
4360
|
updatedAt: z.ZodNumber;
|
|
4361
4361
|
pubsubTopic: z.ZodOptional<z.ZodString>;
|
|
4362
|
-
statsCid: z.ZodString
|
|
4362
|
+
statsCid: z.ZodOptional<z.ZodString>;
|
|
4363
4363
|
protocolVersion: z.ZodString;
|
|
4364
4364
|
postUpdates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4365
4365
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -222,7 +222,7 @@ export const CommunityIpfsSchema = z
|
|
|
222
222
|
createdAt: PKCTimestampSchema,
|
|
223
223
|
updatedAt: PKCTimestampSchema,
|
|
224
224
|
pubsubTopic: PubsubTopicSchema.optional(),
|
|
225
|
-
statsCid: CidStringSchema,
|
|
225
|
+
statsCid: CidStringSchema.optional(),
|
|
226
226
|
protocolVersion: ProtocolVersionSchema,
|
|
227
227
|
postUpdates: z.record(nonNegativeIntStringSchema, CidStringSchema).optional(),
|
|
228
228
|
title: z.string().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../src/community/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACH,mBAAmB,EACnB,2BAA2B,EAC3B,eAAe,EACf,kBAAkB,EAClB,WAAW,EACX,mBAAmB,EACnB,kBAAkB,EAClB,qBAAqB,EACrB,gCAAgC,EAChC,sBAAsB,EACtB,UAAU,EACV,0BAA0B,EAC7B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAEnF,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAEzD,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,qCAAqC;AACrC,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,WAAW,CAAC;IACnD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,EA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;IACX,CAAC;AACL,CAAC,CAAC,CAAC;AAEP,MAAM,CAAC,MAAM,4BAA4B,GAAG,2BAA2B,CAAC,KAAK,EAAE,CAAC;AAEhF,kBAAkB;AAElB,kDAAkD;AAClD,MAAM,CAAC,MAAM,2BAA2B,GAAG,UAAU,CACjD;IACI,KAAK;IACL,UAAU;IACV,WAAW;IACX,gBAAgB;IAChB,cAAc;IACd,cAAc;IACd,UAAU;IACV,QAAQ;IACR,KAAK;IACL,uBAAuB;IACvB,SAAS;IACT,QAAQ;IACR,OAAO;IACP,SAAS;IACT,cAAc;IACd,UAAU;IACV,UAAU;IACV,iBAAiB;IACjB,eAAe;IACf,SAAS;IACT,SAAS;IACT,+DAA+D;IAC/D,aAAa;IACb,4FAA4F;IAC5F,oFAAoF;IACpF,yFAAyF;IACzF,+BAA+B;CAClC,EACD,IAAI,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAClC,CAAC"}
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../src/community/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACH,mBAAmB,EACnB,2BAA2B,EAC3B,eAAe,EACf,kBAAkB,EAClB,WAAW,EACX,mBAAmB,EACnB,kBAAkB,EAClB,qBAAqB,EACrB,gCAAgC,EAChC,sBAAsB,EACtB,UAAU,EACV,0BAA0B,EAC7B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAEnF,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAEzD,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,qCAAqC;AACrC,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,WAAW,CAAC;IACnD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,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,EAAE,GAAG,KAAK,0DAA0D;aAC9E,CAAC,CAAC;IACX,CAAC;AACL,CAAC,CAAC,CAAC;AAEP,MAAM,CAAC,MAAM,4BAA4B,GAAG,2BAA2B,CAAC,KAAK,EAAE,CAAC;AAEhF,kBAAkB;AAElB,kDAAkD;AAClD,MAAM,CAAC,MAAM,2BAA2B,GAAG,UAAU,CACjD;IACI,KAAK;IACL,UAAU;IACV,WAAW;IACX,gBAAgB;IAChB,cAAc;IACd,cAAc;IACd,UAAU;IACV,QAAQ;IACR,KAAK;IACL,uBAAuB;IACvB,SAAS;IACT,QAAQ;IACR,OAAO;IACP,SAAS;IACT,cAAc;IACd,UAAU;IACV,UAAU;IACV,iBAAiB;IACjB,eAAe;IACf,SAAS;IACT,SAAS;IACT,+DAA+D;IAC/D,aAAa;IACb,4FAA4F;IAC5F,oFAAoF;IACpF,yFAAyF;IACzF,+BAA+B;CAClC,EACD,IAAI,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAClC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "0.0.
|
|
1
|
+
export declare const version = "0.0.88";
|
|
@@ -12,7 +12,6 @@ type CommunityLookup = {
|
|
|
12
12
|
publicKey?: string;
|
|
13
13
|
};
|
|
14
14
|
type CommunityWithAliases = {
|
|
15
|
-
address?: string;
|
|
16
15
|
name?: string;
|
|
17
16
|
publicKey?: string;
|
|
18
17
|
signer?: {
|
|
@@ -22,11 +21,11 @@ type CommunityWithAliases = {
|
|
|
22
21
|
type CommentLookup = {
|
|
23
22
|
cid?: string;
|
|
24
23
|
};
|
|
25
|
-
export declare function getCommunityRegistryAliases(community: CommunityWithAliases): string[];
|
|
24
|
+
export declare function getCommunityRegistryAliases(community: CommunityWithAliases, dataPath?: string): string[];
|
|
26
25
|
export declare function getCommentRegistryAliases(comment: CommentLookup): string[];
|
|
27
|
-
export declare function syncCommunityRegistryEntry<T extends CommunityWithAliases>(registry: TrackedInstanceRegistry<T>, community: T): T;
|
|
26
|
+
export declare function syncCommunityRegistryEntry<T extends CommunityWithAliases>(registry: TrackedInstanceRegistry<T>, community: T, dataPath?: string): T;
|
|
28
27
|
export declare function syncCommentRegistryEntry<T extends CommentLookup>(registry: TrackedInstanceRegistry<T>, comment: T): T;
|
|
29
|
-
export declare function findCommunityInRegistry<T extends CommunityWithAliases>(registry: TrackedInstanceRegistry<T>, lookup: CommunityLookup): T | undefined;
|
|
28
|
+
export declare function findCommunityInRegistry<T extends CommunityWithAliases>(registry: TrackedInstanceRegistry<T>, lookup: CommunityLookup, dataPath?: string): T | undefined;
|
|
30
29
|
export declare function findCommentInRegistry<T extends CommentLookup>(registry: TrackedInstanceRegistry<T>, lookup: CommentLookup): T | undefined;
|
|
31
30
|
export declare function listRegistryValues<T extends object>(registry: TrackedInstanceRegistry<T>): T[];
|
|
32
31
|
export declare function trackUpdatingCommunity(pkc: PKC, community: TrackedCommunity): TrackedCommunity;
|