@pkcprotocol/pkc-js 0.0.157 → 0.0.158

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.
Files changed (90) hide show
  1. package/README.md +55 -3
  2. package/dist/browser/clients/rpc-client/schema.d.ts +1 -0
  3. package/dist/browser/community/schema.d.ts +13 -0
  4. package/dist/browser/generated-version.d.ts +1 -1
  5. package/dist/browser/generated-version.js +1 -1
  6. package/dist/browser/index-with-compile-cache.d.ts +2 -0
  7. package/dist/browser/index.d.ts +4 -0
  8. package/dist/browser/pages/schema.d.ts +3 -0
  9. package/dist/browser/publications/comment/comment.d.ts +1 -0
  10. package/dist/browser/publications/comment/comment.js +1 -0
  11. package/dist/browser/publications/comment/comment.js.map +1 -1
  12. package/dist/browser/publications/comment/schema.d.ts +4 -2
  13. package/dist/browser/publications/comment/schema.js +2 -0
  14. package/dist/browser/publications/comment/schema.js.map +1 -1
  15. package/dist/browser/publications/comment-moderation/schema.js +2 -2
  16. package/dist/browser/publications/comment-moderation/schema.js.map +1 -1
  17. package/dist/browser/rpc/src/lib/pkc-js/index.d.ts +2 -0
  18. package/dist/browser/rpc/src/schema.d.ts +12 -0
  19. package/dist/browser/runtime/node/community/db-handler.d.ts +1 -0
  20. package/dist/browser/runtime/node/community/db-handler.js +28 -5
  21. package/dist/browser/runtime/node/community/db-handler.js.map +1 -1
  22. package/dist/browser/runtime/node/community/local-community/cleanup.js +6 -0
  23. package/dist/browser/runtime/node/community/local-community/cleanup.js.map +1 -1
  24. package/dist/browser/runtime/node/community/local-community/ipns-publishing.js +36 -2
  25. package/dist/browser/runtime/node/community/local-community/ipns-publishing.js.map +1 -1
  26. package/dist/browser/runtime/node/community/local-community/post-updates-bucket.d.ts +21 -0
  27. package/dist/browser/runtime/node/community/local-community/post-updates-bucket.js +141 -4
  28. package/dist/browser/runtime/node/community/local-community/post-updates-bucket.js.map +1 -1
  29. package/dist/browser/runtime/node/community/local-community.d.ts +3 -0
  30. package/dist/browser/runtime/node/community/local-community.js +11 -0
  31. package/dist/browser/runtime/node/community/local-community.js.map +1 -1
  32. package/dist/browser/schema/schema-util.d.ts +5 -0
  33. package/dist/browser/schema/schema.d.ts +9 -0
  34. package/dist/browser/schema/schema.js +9 -1
  35. package/dist/browser/schema/schema.js.map +1 -1
  36. package/dist/browser/schema.d.ts +16 -0
  37. package/dist/browser/test/test-util.d.ts +5 -0
  38. package/dist/browser/version.js +1 -1
  39. package/dist/bundled/bundle-manifest.json +47 -47
  40. package/dist/bundled/challenges.js +1 -1
  41. package/dist/bundled/chunks/{helia-for-pkc-BT2UmDem.js → helia-for-pkc-D3uvabO4.js} +2 -2
  42. package/dist/bundled/chunks/{local-community-BexngGU7.js → local-community-ChB5dbEH.js} +1 -1
  43. package/dist/bundled/chunks/{local-community-oqjqTa9T.js → local-community-SgssDrxj.js} +198 -22
  44. package/dist/bundled/chunks/{node-CvXtQ-4A.js → node-Bx3xTqFv.js} +6 -5
  45. package/dist/bundled/chunks/{page-sort-scoring-VN_GGInQ.js → page-sort-scoring-CZmdHvps.js} +1 -1
  46. package/dist/bundled/chunks/{rpc-local-community-BjIHRbYy.js → rpc-local-community-D66Be62U.js} +2 -2
  47. package/dist/bundled/chunks/{util-DDsWXOtP.js → util-BuTE1Bd1.js} +7 -8
  48. package/dist/bundled/chunks/{util-Bu3ItQsN.js → util-CodXreIl.js} +1 -1
  49. package/dist/bundled/chunks/{validate-package-factories-CmJt781W.js → validate-package-factories-Bc4uoozL.js} +2 -2
  50. package/dist/bundled/index.js +1 -1
  51. package/dist/bundled/page-sorts.js +1 -1
  52. package/dist/bundled/rpc/src/index.js +4 -4
  53. package/dist/node/clients/rpc-client/schema.d.ts +1 -0
  54. package/dist/node/community/schema.d.ts +13 -0
  55. package/dist/node/generated-version.d.ts +1 -1
  56. package/dist/node/generated-version.js +1 -1
  57. package/dist/node/index-with-compile-cache.d.ts +2 -0
  58. package/dist/node/index.d.ts +4 -0
  59. package/dist/node/pages/schema.d.ts +3 -0
  60. package/dist/node/publications/comment/comment.d.ts +1 -0
  61. package/dist/node/publications/comment/comment.js +1 -0
  62. package/dist/node/publications/comment/comment.js.map +1 -1
  63. package/dist/node/publications/comment/schema.d.ts +4 -2
  64. package/dist/node/publications/comment/schema.js +2 -0
  65. package/dist/node/publications/comment/schema.js.map +1 -1
  66. package/dist/node/publications/comment-moderation/schema.js +2 -2
  67. package/dist/node/publications/comment-moderation/schema.js.map +1 -1
  68. package/dist/node/rpc/src/lib/pkc-js/index.d.ts +2 -0
  69. package/dist/node/rpc/src/schema.d.ts +12 -0
  70. package/dist/node/runtime/node/community/db-handler.d.ts +1 -0
  71. package/dist/node/runtime/node/community/db-handler.js +28 -5
  72. package/dist/node/runtime/node/community/db-handler.js.map +1 -1
  73. package/dist/node/runtime/node/community/local-community/cleanup.js +6 -0
  74. package/dist/node/runtime/node/community/local-community/cleanup.js.map +1 -1
  75. package/dist/node/runtime/node/community/local-community/ipns-publishing.js +36 -2
  76. package/dist/node/runtime/node/community/local-community/ipns-publishing.js.map +1 -1
  77. package/dist/node/runtime/node/community/local-community/post-updates-bucket.d.ts +21 -0
  78. package/dist/node/runtime/node/community/local-community/post-updates-bucket.js +141 -4
  79. package/dist/node/runtime/node/community/local-community/post-updates-bucket.js.map +1 -1
  80. package/dist/node/runtime/node/community/local-community.d.ts +3 -0
  81. package/dist/node/runtime/node/community/local-community.js +11 -0
  82. package/dist/node/runtime/node/community/local-community.js.map +1 -1
  83. package/dist/node/schema/schema-util.d.ts +5 -0
  84. package/dist/node/schema/schema.d.ts +9 -0
  85. package/dist/node/schema/schema.js +9 -1
  86. package/dist/node/schema/schema.js.map +1 -1
  87. package/dist/node/schema.d.ts +16 -0
  88. package/dist/node/test/test-util.d.ts +5 -0
  89. package/dist/node/version.js +1 -1
  90. package/package.json +1 -1
@@ -379,6 +379,7 @@ export declare function parseRpcRemoteCommunityUpdateEventWithPKCErrorIfItFails(
379
379
  archived?: boolean | undefined;
380
380
  removed?: boolean | undefined;
381
381
  reason?: string | undefined;
382
+ authorBanExpiresAt?: number | undefined;
382
383
  approved?: boolean | undefined;
383
384
  author?: {
384
385
  [x: string]: unknown;
@@ -1461,6 +1462,7 @@ export declare function parseCreateCommunityFunctionArgumentsSchemaWithPKCErrorI
1461
1462
  archived?: boolean | undefined;
1462
1463
  removed?: boolean | undefined;
1463
1464
  reason?: string | undefined;
1465
+ authorBanExpiresAt?: number | undefined;
1464
1466
  approved?: boolean | undefined;
1465
1467
  author?: {
1466
1468
  [x: string]: unknown;
@@ -2035,6 +2037,7 @@ export declare function parseCreateCommunityFunctionArgumentsSchemaWithPKCErrorI
2035
2037
  archived?: boolean | undefined;
2036
2038
  removed?: boolean | undefined;
2037
2039
  reason?: string | undefined;
2040
+ authorBanExpiresAt?: number | undefined;
2038
2041
  approved?: boolean | undefined;
2039
2042
  author?: {
2040
2043
  [x: string]: unknown;
@@ -2296,6 +2299,7 @@ export declare function parseCreateRpcCommunityFunctionArgumentSchemaWithPKCErro
2296
2299
  archived?: boolean | undefined;
2297
2300
  removed?: boolean | undefined;
2298
2301
  reason?: string | undefined;
2302
+ authorBanExpiresAt?: number | undefined;
2299
2303
  approved?: boolean | undefined;
2300
2304
  author?: {
2301
2305
  [x: string]: unknown;
@@ -2870,6 +2874,7 @@ export declare function parseCreateRpcCommunityFunctionArgumentSchemaWithPKCErro
2870
2874
  archived?: boolean | undefined;
2871
2875
  removed?: boolean | undefined;
2872
2876
  reason?: string | undefined;
2877
+ authorBanExpiresAt?: number | undefined;
2873
2878
  approved?: boolean | undefined;
2874
2879
  author?: {
2875
2880
  [x: string]: unknown;
@@ -200,6 +200,15 @@ export declare const CommentAuthorSchema: z.ZodObject<{
200
200
  }, z.core.$loose>>>;
201
201
  banExpiresAt: z.ZodOptional<z.ZodNumber>;
202
202
  }, z.core.$loose>;
203
+ export declare const CommentModerationAuthorSchema: z.ZodObject<{
204
+ flairs: z.ZodOptional<z.ZodArray<z.ZodObject<{
205
+ text: z.ZodString;
206
+ backgroundColor: z.ZodOptional<z.ZodString>;
207
+ textColor: z.ZodOptional<z.ZodString>;
208
+ expiresAt: z.ZodOptional<z.ZodNumber>;
209
+ }, z.core.$loose>>>;
210
+ banExpiresAt: z.ZodOptional<z.ZodNumber>;
211
+ }, z.core.$loose>;
203
212
  export declare const AuthorWithOptionalCommentUpdateSchema: z.ZodObject<{
204
213
  name: z.ZodOptional<z.ZodString>;
205
214
  previousCommentCid: z.ZodOptional<z.ZodString>;
@@ -140,7 +140,7 @@ export const PublicationBaseBeforeSigning = z.object({
140
140
  export const CommunityAuthorSchema = z.looseObject({
141
141
  postScore: z.number(), // total post karma in the community
142
142
  replyScore: z.number(), // total reply karma in the community
143
- banExpiresAt: PKCTimestampSchema.optional(), // timestamp in second, if defined the author was banned for this comment
143
+ banExpiresAt: PKCTimestampSchema.optional(), // timestamp in seconds: the author's latest ban in this community, an author aggregate that lands on the author's comments (which ones depends on the pseudonymity mode), not a mark of which comment the ban was published on. A value in the past means the ban ran out or was lifted. For the comment a mod banned the author from, see commentUpdate.authorBanExpiresAt
144
144
  flairs: FlairSchema.array().optional(), // not part of the signature, mod can edit it after comment is published
145
145
  firstCommentTimestamp: PKCTimestampSchema, // timestamp of the first comment by the author in the community, used for account age based challenges
146
146
  lastCommentCid: CidStringSchema // last comment by the author in the community, can be used with author.previousCommentCid to get a recent author comment history in all communities
@@ -163,6 +163,14 @@ export const CommunityAuthorChallengeReservedFieldNames = [
163
163
  "lastCommentCid"
164
164
  ];
165
165
  export const CommentAuthorSchema = CommunityAuthorSchema.pick({ banExpiresAt: true, flairs: true });
166
+ // What a mod can set on the author through commentModeration.author. `banExpiresAt` takes three kinds of value
167
+ // (issue #363): a future timestamp bans the author and marks the comment (commentUpdate.authorBanExpiresAt), a past
168
+ // timestamp lifts the ban and leaves the mark, and 0 removes the mark from this comment without touching the ban
169
+ // (author.community.banExpiresAt skips 0 rows). 0 is an input only, no published field ever carries it. null cannot
170
+ // stand in for it because signing strips null values.
171
+ export const CommentModerationAuthorSchema = CommentAuthorSchema.extend({
172
+ banExpiresAt: z.number().nonnegative().int().optional()
173
+ });
166
174
  export const AuthorWithOptionalCommentUpdateSchema = AuthorPubsubSchema.extend({
167
175
  community: CommunityAuthorSchema.optional() // (added by CommentUpdate) up to date author properties specific to the community it's in
168
176
  });
@@ -1 +1 @@
1
- {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../src/schema/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAC,CAAC,2FAA2F;AACnI,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE1C,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC;KACtC,MAAM,EAAE;KACR,KAAK,CAAC,OAAO,CAAC;KACd,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;IACjC,OAAO,EAAE,gCAAgC;CAC5C,CAAC,CAAC;AAEP,2CAA2C;AAC3C,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,CAAC,CAAC,EAAE,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;AAElG,MAAM,CAAC,MAAM,gCAAgC,GAAG,kBAAkB,CAAC,MAAM,CAAC;IACtE,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,8CAA8C;IACnE,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,0CAA0C;CACnE,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,4CAA4C,GAAG,gCAAgC,C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AAC,CAAC,CAAC"}
@@ -658,6 +658,7 @@ export declare const PKCUserOptionBaseSchema: z.ZodObject<{
658
658
  archived?: boolean | undefined;
659
659
  removed?: boolean | undefined;
660
660
  reason?: string | undefined;
661
+ authorBanExpiresAt?: number | undefined;
661
662
  approved?: boolean | undefined;
662
663
  author?: {
663
664
  [x: string]: unknown;
@@ -855,6 +856,7 @@ export declare const PKCUserOptionBaseSchema: z.ZodObject<{
855
856
  archived?: boolean | undefined;
856
857
  removed?: boolean | undefined;
857
858
  reason?: string | undefined;
859
+ authorBanExpiresAt?: number | undefined;
858
860
  approved?: boolean | undefined;
859
861
  author?: {
860
862
  [x: string]: unknown;
@@ -1250,6 +1252,7 @@ export declare const PKCUserOptionBaseSchema: z.ZodObject<{
1250
1252
  archived?: boolean | undefined;
1251
1253
  removed?: boolean | undefined;
1252
1254
  reason?: string | undefined;
1255
+ authorBanExpiresAt?: number | undefined;
1253
1256
  approved?: boolean | undefined;
1254
1257
  author?: {
1255
1258
  [x: string]: unknown;
@@ -1447,6 +1450,7 @@ export declare const PKCUserOptionBaseSchema: z.ZodObject<{
1447
1450
  archived?: boolean | undefined;
1448
1451
  removed?: boolean | undefined;
1449
1452
  reason?: string | undefined;
1453
+ authorBanExpiresAt?: number | undefined;
1450
1454
  approved?: boolean | undefined;
1451
1455
  author?: {
1452
1456
  [x: string]: unknown;
@@ -2187,6 +2191,7 @@ export declare const PKCUserOptionsSchema: z.ZodPipe<z.ZodObject<{
2187
2191
  archived?: boolean | undefined;
2188
2192
  removed?: boolean | undefined;
2189
2193
  reason?: string | undefined;
2194
+ authorBanExpiresAt?: number | undefined;
2190
2195
  approved?: boolean | undefined;
2191
2196
  author?: {
2192
2197
  [x: string]: unknown;
@@ -2384,6 +2389,7 @@ export declare const PKCUserOptionsSchema: z.ZodPipe<z.ZodObject<{
2384
2389
  archived?: boolean | undefined;
2385
2390
  removed?: boolean | undefined;
2386
2391
  reason?: string | undefined;
2392
+ authorBanExpiresAt?: number | undefined;
2387
2393
  approved?: boolean | undefined;
2388
2394
  author?: {
2389
2395
  [x: string]: unknown;
@@ -2779,6 +2785,7 @@ export declare const PKCUserOptionsSchema: z.ZodPipe<z.ZodObject<{
2779
2785
  archived?: boolean | undefined;
2780
2786
  removed?: boolean | undefined;
2781
2787
  reason?: string | undefined;
2788
+ authorBanExpiresAt?: number | undefined;
2782
2789
  approved?: boolean | undefined;
2783
2790
  author?: {
2784
2791
  [x: string]: unknown;
@@ -2976,6 +2983,7 @@ export declare const PKCUserOptionsSchema: z.ZodPipe<z.ZodObject<{
2976
2983
  archived?: boolean | undefined;
2977
2984
  removed?: boolean | undefined;
2978
2985
  reason?: string | undefined;
2986
+ authorBanExpiresAt?: number | undefined;
2979
2987
  approved?: boolean | undefined;
2980
2988
  author?: {
2981
2989
  [x: string]: unknown;
@@ -3569,6 +3577,7 @@ export declare const PKCUserOptionsSchema: z.ZodPipe<z.ZodObject<{
3569
3577
  archived?: boolean | undefined;
3570
3578
  removed?: boolean | undefined;
3571
3579
  reason?: string | undefined;
3580
+ authorBanExpiresAt?: number | undefined;
3572
3581
  approved?: boolean | undefined;
3573
3582
  author?: {
3574
3583
  [x: string]: unknown;
@@ -3766,6 +3775,7 @@ export declare const PKCUserOptionsSchema: z.ZodPipe<z.ZodObject<{
3766
3775
  archived?: boolean | undefined;
3767
3776
  removed?: boolean | undefined;
3768
3777
  reason?: string | undefined;
3778
+ authorBanExpiresAt?: number | undefined;
3769
3779
  approved?: boolean | undefined;
3770
3780
  author?: {
3771
3781
  [x: string]: unknown;
@@ -4350,6 +4360,7 @@ export declare const PKCUserOptionsSchema: z.ZodPipe<z.ZodObject<{
4350
4360
  archived?: boolean | undefined;
4351
4361
  removed?: boolean | undefined;
4352
4362
  reason?: string | undefined;
4363
+ authorBanExpiresAt?: number | undefined;
4353
4364
  approved?: boolean | undefined;
4354
4365
  author?: {
4355
4366
  [x: string]: unknown;
@@ -4547,6 +4558,7 @@ export declare const PKCUserOptionsSchema: z.ZodPipe<z.ZodObject<{
4547
4558
  archived?: boolean | undefined;
4548
4559
  removed?: boolean | undefined;
4549
4560
  reason?: string | undefined;
4561
+ authorBanExpiresAt?: number | undefined;
4550
4562
  approved?: boolean | undefined;
4551
4563
  author?: {
4552
4564
  [x: string]: unknown;
@@ -5293,6 +5305,7 @@ export declare const PKCParsedOptionsSchema: z.ZodObject<{
5293
5305
  archived?: boolean | undefined;
5294
5306
  removed?: boolean | undefined;
5295
5307
  reason?: string | undefined;
5308
+ authorBanExpiresAt?: number | undefined;
5296
5309
  approved?: boolean | undefined;
5297
5310
  author?: {
5298
5311
  [x: string]: unknown;
@@ -5490,6 +5503,7 @@ export declare const PKCParsedOptionsSchema: z.ZodObject<{
5490
5503
  archived?: boolean | undefined;
5491
5504
  removed?: boolean | undefined;
5492
5505
  reason?: string | undefined;
5506
+ authorBanExpiresAt?: number | undefined;
5493
5507
  approved?: boolean | undefined;
5494
5508
  author?: {
5495
5509
  [x: string]: unknown;
@@ -5885,6 +5899,7 @@ export declare const PKCParsedOptionsSchema: z.ZodObject<{
5885
5899
  archived?: boolean | undefined;
5886
5900
  removed?: boolean | undefined;
5887
5901
  reason?: string | undefined;
5902
+ authorBanExpiresAt?: number | undefined;
5888
5903
  approved?: boolean | undefined;
5889
5904
  author?: {
5890
5905
  [x: string]: unknown;
@@ -6082,6 +6097,7 @@ export declare const PKCParsedOptionsSchema: z.ZodObject<{
6082
6097
  archived?: boolean | undefined;
6083
6098
  removed?: boolean | undefined;
6084
6099
  reason?: string | undefined;
6100
+ authorBanExpiresAt?: number | undefined;
6085
6101
  approved?: boolean | undefined;
6086
6102
  author?: {
6087
6103
  [x: string]: unknown;
@@ -465,6 +465,7 @@ export declare function createDelegatedCommunityIpns(communityOpts?: Partial<Com
465
465
  archived?: boolean | undefined;
466
466
  removed?: boolean | undefined;
467
467
  reason?: string | undefined;
468
+ authorBanExpiresAt?: number | undefined;
468
469
  approved?: boolean | undefined;
469
470
  author?: {
470
471
  [x: string]: unknown;
@@ -836,6 +837,7 @@ export declare function createMockedCommunityIpns(communityOpts: CreateNewLocalC
836
837
  archived?: boolean | undefined;
837
838
  removed?: boolean | undefined;
838
839
  reason?: string | undefined;
840
+ authorBanExpiresAt?: number | undefined;
839
841
  approved?: boolean | undefined;
840
842
  author?: {
841
843
  [x: string]: unknown;
@@ -1223,6 +1225,7 @@ export declare function publishStaticCommunityWithPostInPages(opts?: {
1223
1225
  archived?: boolean | undefined;
1224
1226
  removed?: boolean | undefined;
1225
1227
  reason?: string | undefined;
1228
+ authorBanExpiresAt?: number | undefined;
1226
1229
  approved?: boolean | undefined;
1227
1230
  author?: {
1228
1231
  [x: string]: unknown;
@@ -1575,6 +1578,7 @@ export declare function createCommentUpdateWithInvalidSignature(commentCid: stri
1575
1578
  archived?: boolean | undefined;
1576
1579
  removed?: boolean | undefined;
1577
1580
  reason?: string | undefined;
1581
+ authorBanExpiresAt?: number | undefined;
1578
1582
  approved?: boolean | undefined;
1579
1583
  author?: {
1580
1584
  [x: string]: unknown;
@@ -1766,6 +1770,7 @@ export declare function createCommentUpdateWithInvalidSignature(commentCid: stri
1766
1770
  archived?: boolean | undefined;
1767
1771
  removed?: boolean | undefined;
1768
1772
  reason?: string | undefined;
1773
+ authorBanExpiresAt?: number | undefined;
1769
1774
  approved?: boolean | undefined;
1770
1775
  author?: {
1771
1776
  [x: string]: unknown;
@@ -5,7 +5,7 @@ const pkcJsVersion = version;
5
5
  const userAgent = UserAgentSchema.parse(`/pkc-js:${pkcJsVersion}/`);
6
6
  export default {
7
7
  PKC_JS_VERSION: pkcJsVersion,
8
- DB_VERSION: 47,
8
+ DB_VERSION: 48,
9
9
  PROTOCOL_VERSION: protocolVersion,
10
10
  USER_AGENT: userAgent
11
11
  };
@@ -3,7 +3,7 @@
3
3
  "challenges.js": {
4
4
  "isEntry": true,
5
5
  "imports": [
6
- "chunks/validate-package-factories-CmJt781W.js"
6
+ "chunks/validate-package-factories-Bc4uoozL.js"
7
7
  ],
8
8
  "dynamicImports": [],
9
9
  "inputs": [
@@ -16,7 +16,7 @@
16
16
  "node:module"
17
17
  ],
18
18
  "dynamicImports": [
19
- "chunks/node-CvXtQ-4A.js"
19
+ "chunks/node-Bx3xTqFv.js"
20
20
  ],
21
21
  "inputs": [
22
22
  "dist/node/runtime/node/compile-cache.js",
@@ -26,7 +26,7 @@
26
26
  "index.js": {
27
27
  "isEntry": true,
28
28
  "imports": [
29
- "chunks/node-CvXtQ-4A.js"
29
+ "chunks/node-Bx3xTqFv.js"
30
30
  ],
31
31
  "dynamicImports": [],
32
32
  "inputs": []
@@ -34,7 +34,7 @@
34
34
  "page-sorts.js": {
35
35
  "isEntry": true,
36
36
  "imports": [
37
- "chunks/validate-package-factories-CmJt781W.js"
37
+ "chunks/validate-package-factories-Bc4uoozL.js"
38
38
  ],
39
39
  "dynamicImports": [],
40
40
  "inputs": [
@@ -44,10 +44,10 @@
44
44
  "rpc/src/index.js": {
45
45
  "isEntry": true,
46
46
  "imports": [
47
- "chunks/rpc-local-community-BjIHRbYy.js",
48
- "chunks/node-CvXtQ-4A.js",
49
- "chunks/util-DDsWXOtP.js",
50
- "chunks/local-community-oqjqTa9T.js",
47
+ "chunks/rpc-local-community-D66Be62U.js",
48
+ "chunks/node-Bx3xTqFv.js",
49
+ "chunks/util-BuTE1Bd1.js",
50
+ "chunks/local-community-SgssDrxj.js",
51
51
  "node:url",
52
52
  "path",
53
53
  "assert",
@@ -77,12 +77,12 @@
77
77
  "\u0000rolldown/runtime.js"
78
78
  ]
79
79
  },
80
- "chunks/helia-for-pkc-BT2UmDem.js": {
80
+ "chunks/helia-for-pkc-D3uvabO4.js": {
81
81
  "isEntry": false,
82
82
  "imports": [
83
83
  "chunks/chunk-2rV9d50f.js",
84
- "chunks/util-DDsWXOtP.js",
85
- "chunks/util-Bu3ItQsN.js",
84
+ "chunks/util-BuTE1Bd1.js",
85
+ "chunks/util-CodXreIl.js",
86
86
  "chunks/src-DKntVmyX.js",
87
87
  "chunks/src-Cpx2Sts8.js",
88
88
  "node:url",
@@ -204,21 +204,21 @@
204
204
  "dist/node/helia/helia-for-pkc.js"
205
205
  ]
206
206
  },
207
- "chunks/local-community-BexngGU7.js": {
207
+ "chunks/local-community-ChB5dbEH.js": {
208
208
  "isEntry": false,
209
209
  "imports": [
210
- "chunks/local-community-oqjqTa9T.js"
210
+ "chunks/local-community-SgssDrxj.js"
211
211
  ],
212
212
  "dynamicImports": [],
213
213
  "inputs": []
214
214
  },
215
- "chunks/local-community-oqjqTa9T.js": {
215
+ "chunks/local-community-SgssDrxj.js": {
216
216
  "isEntry": false,
217
217
  "imports": [
218
218
  "chunks/chunk-2rV9d50f.js",
219
- "chunks/rpc-local-community-BjIHRbYy.js",
220
- "chunks/util-DDsWXOtP.js",
221
- "chunks/page-sort-scoring-VN_GGInQ.js",
219
+ "chunks/rpc-local-community-D66Be62U.js",
220
+ "chunks/util-BuTE1Bd1.js",
221
+ "chunks/page-sort-scoring-CZmdHvps.js",
222
222
  "chunks/src-BSYNGtIQ.js",
223
223
  "chunks/src-CAvdjq_i.js",
224
224
  "node:perf_hooks",
@@ -278,13 +278,13 @@
278
278
  "dist/node/runtime/node/community/local-community.js"
279
279
  ]
280
280
  },
281
- "chunks/node-CvXtQ-4A.js": {
281
+ "chunks/node-Bx3xTqFv.js": {
282
282
  "isEntry": false,
283
283
  "imports": [
284
284
  "chunks/chunk-2rV9d50f.js",
285
- "chunks/rpc-local-community-BjIHRbYy.js",
286
- "chunks/util-DDsWXOtP.js",
287
- "chunks/util-Bu3ItQsN.js",
285
+ "chunks/rpc-local-community-D66Be62U.js",
286
+ "chunks/util-BuTE1Bd1.js",
287
+ "chunks/util-CodXreIl.js",
288
288
  "path",
289
289
  "assert",
290
290
  "fs",
@@ -295,8 +295,8 @@
295
295
  "rpc-websockets"
296
296
  ],
297
297
  "dynamicImports": [
298
- "chunks/helia-for-pkc-BT2UmDem.js",
299
- "chunks/local-community-oqjqTa9T.js"
298
+ "chunks/helia-for-pkc-D3uvabO4.js",
299
+ "chunks/local-community-SgssDrxj.js"
300
300
  ],
301
301
  "inputs": [
302
302
  "dist/node/zod-error-map.js",
@@ -456,22 +456,22 @@
456
456
  "dist/node/index.js"
457
457
  ]
458
458
  },
459
- "chunks/page-sort-scoring-VN_GGInQ.js": {
459
+ "chunks/page-sort-scoring-CZmdHvps.js": {
460
460
  "isEntry": false,
461
461
  "imports": [
462
- "chunks/util-DDsWXOtP.js"
462
+ "chunks/util-BuTE1Bd1.js"
463
463
  ],
464
464
  "dynamicImports": [],
465
465
  "inputs": [
466
466
  "dist/node/pages/page-sort-scoring.js"
467
467
  ]
468
468
  },
469
- "chunks/rpc-local-community-BjIHRbYy.js": {
469
+ "chunks/rpc-local-community-D66Be62U.js": {
470
470
  "isEntry": false,
471
471
  "imports": [
472
472
  "chunks/chunk-2rV9d50f.js",
473
- "chunks/util-DDsWXOtP.js",
474
- "chunks/page-sort-scoring-VN_GGInQ.js",
473
+ "chunks/util-BuTE1Bd1.js",
474
+ "chunks/page-sort-scoring-CZmdHvps.js",
475
475
  "chunks/src-CYIMjhjK.js",
476
476
  "node:crypto",
477
477
  "node:url",
@@ -1592,22 +1592,7 @@
1592
1592
  "node_modules/kubo-rpc-client/dist/src/index.js"
1593
1593
  ]
1594
1594
  },
1595
- "chunks/util-Bu3ItQsN.js": {
1596
- "isEntry": false,
1597
- "imports": [
1598
- "chunks/util-DDsWXOtP.js",
1599
- "ipns/selector",
1600
- "ipns/validator",
1601
- "ipns",
1602
- "uint8arrays/equals",
1603
- "@libp2p/utils"
1604
- ],
1605
- "dynamicImports": [],
1606
- "inputs": [
1607
- "dist/node/helia/util.js"
1608
- ]
1609
- },
1610
- "chunks/util-DDsWXOtP.js": {
1595
+ "chunks/util-BuTE1Bd1.js": {
1611
1596
  "isEntry": false,
1612
1597
  "imports": [
1613
1598
  "chunks/chunk-2rV9d50f.js",
@@ -1702,11 +1687,26 @@
1702
1687
  "dist/node/util.js"
1703
1688
  ]
1704
1689
  },
1705
- "chunks/validate-package-factories-CmJt781W.js": {
1690
+ "chunks/util-CodXreIl.js": {
1691
+ "isEntry": false,
1692
+ "imports": [
1693
+ "chunks/util-BuTE1Bd1.js",
1694
+ "ipns/selector",
1695
+ "ipns/validator",
1696
+ "ipns",
1697
+ "uint8arrays/equals",
1698
+ "@libp2p/utils"
1699
+ ],
1700
+ "dynamicImports": [],
1701
+ "inputs": [
1702
+ "dist/node/helia/util.js"
1703
+ ]
1704
+ },
1705
+ "chunks/validate-package-factories-Bc4uoozL.js": {
1706
1706
  "isEntry": false,
1707
1707
  "imports": [
1708
- "chunks/util-DDsWXOtP.js",
1709
- "chunks/page-sort-scoring-VN_GGInQ.js"
1708
+ "chunks/util-BuTE1Bd1.js",
1709
+ "chunks/page-sort-scoring-CZmdHvps.js"
1710
1710
  ],
1711
1711
  "dynamicImports": [],
1712
1712
  "inputs": [
@@ -1,2 +1,2 @@
1
- import { t as validateChallengeFileFactory } from "./chunks/validate-package-factories-CmJt781W.js";
1
+ import { t as validateChallengeFileFactory } from "./chunks/validate-package-factories-Bc4uoozL.js";
2
2
  export { validateChallengeFileFactory };
@@ -1,6 +1,6 @@
1
1
  import { i as __toESM, r as __require, t as __commonJSMin } from "./chunk-2rV9d50f.js";
2
- import { C as hideClassPrivateProps, T as ipnsNameToIpnsOverPubsubTopic, Vr as logger_default, n as binaryKeyToPubsubTopic, zr as PKCError } from "./util-DDsWXOtP.js";
3
- import { a as directFetchIpnsRecordFromProviders, c as readFreshCachedIpnsRecordFromPubsubLocalStore, i as connectToPubsubPeers, l as selectBitswapSessionSeedPeers, n as REACHABILITY_DOCS_URL, o as fetchBlockWithStalledSessionFailover, r as cacheIpnsRecordInPubsubLocalStore, s as getHeliaDebugContext, u as summarizeProviderReachability } from "./util-Bu3ItQsN.js";
2
+ import { C as hideClassPrivateProps, T as ipnsNameToIpnsOverPubsubTopic, Vr as logger_default, n as binaryKeyToPubsubTopic, zr as PKCError } from "./util-BuTE1Bd1.js";
3
+ import { a as directFetchIpnsRecordFromProviders, c as readFreshCachedIpnsRecordFromPubsubLocalStore, i as connectToPubsubPeers, l as selectBitswapSessionSeedPeers, n as REACHABILITY_DOCS_URL, o as fetchBlockWithStalledSessionFailover, r as cacheIpnsRecordInPubsubLocalStore, s as getHeliaDebugContext, u as summarizeProviderReachability } from "./util-CodXreIl.js";
4
4
  import { t as map } from "./src-Cpx2Sts8.js";
5
5
  import { t as parallelBatch } from "./src-DKntVmyX.js";
6
6
  import { fileURLToPath } from "node:url";
@@ -1,2 +1,2 @@
1
- import { n as createNewLocalCommunityDb, r as updateInstancePropsWithStartedCommunityOrDb, t as LocalCommunity } from "./local-community-oqjqTa9T.js";
1
+ import { n as createNewLocalCommunityDb, r as updateInstancePropsWithStartedCommunityOrDb, t as LocalCommunity } from "./local-community-SgssDrxj.js";
2
2
  export { LocalCommunity, createNewLocalCommunityDb, updateInstancePropsWithStartedCommunityOrDb };