@pkcprotocol/pkc-js 0.0.118 → 0.0.120
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/README.md +3 -2
- package/dist/browser/clients/rpc-client/rpc-schema-util.d.ts +1 -0
- package/dist/browser/clients/rpc-client/schema.d.ts +1 -0
- package/dist/browser/community/community-client-manager.js +8 -2
- package/dist/browser/community/community-client-manager.js.map +1 -1
- package/dist/browser/community/schema.d.ts +15 -0
- package/dist/browser/community/schema.js +2 -1
- package/dist/browser/community/schema.js.map +1 -1
- package/dist/browser/errors.d.ts +2 -0
- package/dist/browser/errors.js +2 -0
- package/dist/browser/errors.js.map +1 -1
- package/dist/browser/generated-version.d.ts +1 -1
- package/dist/browser/generated-version.js +1 -1
- package/dist/browser/pages/page-sort-options.d.ts +1 -0
- package/dist/browser/pages/page-sort-options.js +7 -6
- package/dist/browser/pages/page-sort-options.js.map +1 -1
- package/dist/browser/pages/page-sort-scoring.d.ts +5 -1
- package/dist/browser/pages/page-sort-scoring.js +23 -13
- package/dist/browser/pages/page-sort-scoring.js.map +1 -1
- package/dist/browser/pages/types.d.ts +1 -1
- package/dist/browser/pkc-error.d.ts +1 -1
- package/dist/browser/publications/community-edit/schema.d.ts +4 -0
- package/dist/browser/publications/publication.d.ts +2 -0
- package/dist/browser/publications/publication.js +24 -1
- package/dist/browser/publications/publication.js.map +1 -1
- package/dist/browser/pubsub-messages/schema.d.ts +2 -0
- package/dist/browser/rpc/src/index.d.ts +4 -0
- package/dist/browser/rpc/src/index.js +74 -19
- package/dist/browser/rpc/src/index.js.map +1 -1
- package/dist/browser/runtime/node/community/db-handler.d.ts +2 -2
- package/dist/browser/runtime/node/community/db-handler.js +42 -58
- package/dist/browser/runtime/node/community/db-handler.js.map +1 -1
- package/dist/browser/runtime/node/community/local-community/editing.d.ts +1 -0
- package/dist/browser/runtime/node/community/local-community/editing.js +25 -4
- package/dist/browser/runtime/node/community/local-community/editing.js.map +1 -1
- package/dist/browser/runtime/node/community/local-community/ipns-publishing.js +7 -4
- package/dist/browser/runtime/node/community/local-community/ipns-publishing.js.map +1 -1
- package/dist/browser/runtime/node/community/local-community/lifecycle.js +17 -4
- package/dist/browser/runtime/node/community/local-community/lifecycle.js.map +1 -1
- package/dist/browser/runtime/node/community/local-community/publication-validation.js +4 -0
- package/dist/browser/runtime/node/community/local-community/publication-validation.js.map +1 -1
- package/dist/browser/runtime/node/community/local-community.d.ts +4 -1
- package/dist/browser/runtime/node/community/local-community.js +12 -1
- package/dist/browser/runtime/node/community/local-community.js.map +1 -1
- package/dist/browser/runtime/node/community/page-generator.d.ts +0 -1
- package/dist/browser/runtime/node/community/page-generator.js.map +1 -1
- package/dist/browser/runtime/node/community/page-sorts/index.js +22 -4
- package/dist/browser/runtime/node/community/page-sorts/index.js.map +1 -1
- package/dist/browser/runtime/node/util.d.ts +4 -1
- package/dist/browser/runtime/node/util.js +41 -24
- package/dist/browser/runtime/node/util.js.map +1 -1
- package/dist/browser/schema/schema-util.d.ts +9 -0
- package/dist/browser/test/test-util.d.ts +4 -0
- package/dist/bundled/bundle-manifest.json +46 -46
- package/dist/bundled/challenges.js +1 -1
- package/dist/bundled/chunks/{helia-for-pkc-DMzV8Gsa.js → helia-for-pkc-Dk9JTeUn.js} +33 -33
- package/dist/bundled/chunks/{local-community-DvEh9Nte.js → local-community-BbJyIuOc.js} +118 -101
- package/dist/bundled/chunks/{local-community-YoJAmva8.js → local-community-BkZDlh4z.js} +1 -1
- package/dist/bundled/chunks/{node-CH9-YjYa.js → node-CsHuIZmP.js} +21 -5
- package/dist/bundled/chunks/{page-sort-scoring-C1XYRQ1w.js → page-sort-scoring-B2iu-tyC.js} +11 -7
- package/dist/bundled/chunks/{rpc-local-community-DqKbZLIy.js → rpc-local-community-DMDs0XGh.js} +60 -27
- package/dist/bundled/chunks/{util-DEmcezee.js → util-CXxGmK2P.js} +5 -2
- package/dist/bundled/chunks/{util-CpoO437x.js → util-_DJ6MgmW.js} +1 -1
- package/dist/bundled/chunks/{validate-package-factories-C9A4AtCN.js → validate-package-factories-BpJjVrRb.js} +2 -2
- package/dist/bundled/index.js +1 -1
- package/dist/bundled/page-sorts.js +1 -1
- package/dist/bundled/rpc/src/index.js +56 -19
- package/dist/node/clients/rpc-client/rpc-schema-util.d.ts +1 -0
- package/dist/node/clients/rpc-client/schema.d.ts +1 -0
- package/dist/node/community/community-client-manager.js +8 -2
- package/dist/node/community/community-client-manager.js.map +1 -1
- package/dist/node/community/schema.d.ts +15 -0
- package/dist/node/community/schema.js +2 -1
- package/dist/node/community/schema.js.map +1 -1
- package/dist/node/errors.d.ts +2 -0
- package/dist/node/errors.js +2 -0
- package/dist/node/errors.js.map +1 -1
- package/dist/node/generated-version.d.ts +1 -1
- package/dist/node/generated-version.js +1 -1
- package/dist/node/pages/page-sort-options.d.ts +1 -0
- package/dist/node/pages/page-sort-options.js +7 -6
- package/dist/node/pages/page-sort-options.js.map +1 -1
- package/dist/node/pages/page-sort-scoring.d.ts +5 -1
- package/dist/node/pages/page-sort-scoring.js +23 -13
- package/dist/node/pages/page-sort-scoring.js.map +1 -1
- package/dist/node/pages/types.d.ts +1 -1
- package/dist/node/pkc-error.d.ts +1 -1
- package/dist/node/publications/community-edit/schema.d.ts +4 -0
- package/dist/node/publications/publication.d.ts +2 -0
- package/dist/node/publications/publication.js +24 -1
- package/dist/node/publications/publication.js.map +1 -1
- package/dist/node/pubsub-messages/schema.d.ts +2 -0
- package/dist/node/rpc/src/index.d.ts +4 -0
- package/dist/node/rpc/src/index.js +74 -19
- package/dist/node/rpc/src/index.js.map +1 -1
- package/dist/node/runtime/node/community/db-handler.d.ts +2 -2
- package/dist/node/runtime/node/community/db-handler.js +42 -58
- package/dist/node/runtime/node/community/db-handler.js.map +1 -1
- package/dist/node/runtime/node/community/local-community/editing.d.ts +1 -0
- package/dist/node/runtime/node/community/local-community/editing.js +25 -4
- package/dist/node/runtime/node/community/local-community/editing.js.map +1 -1
- package/dist/node/runtime/node/community/local-community/ipns-publishing.js +7 -4
- package/dist/node/runtime/node/community/local-community/ipns-publishing.js.map +1 -1
- package/dist/node/runtime/node/community/local-community/lifecycle.js +17 -4
- package/dist/node/runtime/node/community/local-community/lifecycle.js.map +1 -1
- package/dist/node/runtime/node/community/local-community/publication-validation.js +4 -0
- package/dist/node/runtime/node/community/local-community/publication-validation.js.map +1 -1
- package/dist/node/runtime/node/community/local-community.d.ts +4 -1
- package/dist/node/runtime/node/community/local-community.js +12 -1
- package/dist/node/runtime/node/community/local-community.js.map +1 -1
- package/dist/node/runtime/node/community/page-generator.d.ts +0 -1
- package/dist/node/runtime/node/community/page-generator.js.map +1 -1
- package/dist/node/runtime/node/community/page-sorts/index.js +22 -4
- package/dist/node/runtime/node/community/page-sorts/index.js.map +1 -1
- package/dist/node/runtime/node/util.d.ts +4 -1
- package/dist/node/runtime/node/util.js +41 -24
- package/dist/node/runtime/node/util.js.map +1 -1
- package/dist/node/schema/schema-util.d.ts +9 -0
- package/dist/node/test/test-util.d.ts +4 -0
- package/package.json +1 -1
|
@@ -456,6 +456,7 @@ export declare function parseRpcRemoteCommunityUpdateEventWithPKCErrorIfItFails(
|
|
|
456
456
|
bannerUrl?: string | undefined;
|
|
457
457
|
backgroundUrl?: string | undefined;
|
|
458
458
|
language?: string | undefined;
|
|
459
|
+
uiType?: string | undefined;
|
|
459
460
|
} | undefined;
|
|
460
461
|
flairs?: Record<string, {
|
|
461
462
|
[x: string]: unknown;
|
|
@@ -552,6 +553,7 @@ export declare function parseCommunityEditPubsubMessagePublicationSchemaWithPKCE
|
|
|
552
553
|
bannerUrl?: string | undefined;
|
|
553
554
|
backgroundUrl?: string | undefined;
|
|
554
555
|
language?: string | undefined;
|
|
556
|
+
uiType?: string | undefined;
|
|
555
557
|
} | undefined;
|
|
556
558
|
address?: string | undefined;
|
|
557
559
|
settings?: {
|
|
@@ -719,6 +721,7 @@ export declare function parseCreateCommunityEditPublicationOptionsSchemaWithPKCE
|
|
|
719
721
|
bannerUrl?: string | undefined;
|
|
720
722
|
backgroundUrl?: string | undefined;
|
|
721
723
|
language?: string | undefined;
|
|
724
|
+
uiType?: string | undefined;
|
|
722
725
|
} | undefined;
|
|
723
726
|
address?: string | undefined;
|
|
724
727
|
settings?: {
|
|
@@ -1517,6 +1520,7 @@ export declare function parseCreateCommunityFunctionArgumentsSchemaWithPKCErrorI
|
|
|
1517
1520
|
bannerUrl?: string | undefined;
|
|
1518
1521
|
backgroundUrl?: string | undefined;
|
|
1519
1522
|
language?: string | undefined;
|
|
1523
|
+
uiType?: string | undefined;
|
|
1520
1524
|
} | undefined;
|
|
1521
1525
|
flairs?: Record<string, {
|
|
1522
1526
|
[x: string]: unknown;
|
|
@@ -1598,6 +1602,7 @@ export declare function parseCreateCommunityFunctionArgumentsSchemaWithPKCErrorI
|
|
|
1598
1602
|
bannerUrl?: string | undefined;
|
|
1599
1603
|
backgroundUrl?: string | undefined;
|
|
1600
1604
|
language?: string | undefined;
|
|
1605
|
+
uiType?: string | undefined;
|
|
1601
1606
|
} | undefined;
|
|
1602
1607
|
settings?: {
|
|
1603
1608
|
fetchThumbnailUrls?: boolean | undefined;
|
|
@@ -1790,6 +1795,7 @@ export declare function parseCreateCommunityFunctionArgumentsSchemaWithPKCErrorI
|
|
|
1790
1795
|
bannerUrl?: string | undefined;
|
|
1791
1796
|
backgroundUrl?: string | undefined;
|
|
1792
1797
|
language?: string | undefined;
|
|
1798
|
+
uiType?: string | undefined;
|
|
1793
1799
|
} | undefined;
|
|
1794
1800
|
flairs?: Record<string, {
|
|
1795
1801
|
[x: string]: unknown;
|
|
@@ -2325,6 +2331,7 @@ export declare function parseCreateRpcCommunityFunctionArgumentSchemaWithPKCErro
|
|
|
2325
2331
|
bannerUrl?: string | undefined;
|
|
2326
2332
|
backgroundUrl?: string | undefined;
|
|
2327
2333
|
language?: string | undefined;
|
|
2334
|
+
uiType?: string | undefined;
|
|
2328
2335
|
} | undefined;
|
|
2329
2336
|
flairs?: Record<string, {
|
|
2330
2337
|
[x: string]: unknown;
|
|
@@ -2406,6 +2413,7 @@ export declare function parseCreateRpcCommunityFunctionArgumentSchemaWithPKCErro
|
|
|
2406
2413
|
bannerUrl?: string | undefined;
|
|
2407
2414
|
backgroundUrl?: string | undefined;
|
|
2408
2415
|
language?: string | undefined;
|
|
2416
|
+
uiType?: string | undefined;
|
|
2409
2417
|
} | undefined;
|
|
2410
2418
|
settings?: {
|
|
2411
2419
|
fetchThumbnailUrls?: boolean | undefined;
|
|
@@ -2598,6 +2606,7 @@ export declare function parseCreateRpcCommunityFunctionArgumentSchemaWithPKCErro
|
|
|
2598
2606
|
bannerUrl?: string | undefined;
|
|
2599
2607
|
backgroundUrl?: string | undefined;
|
|
2600
2608
|
language?: string | undefined;
|
|
2609
|
+
uiType?: string | undefined;
|
|
2601
2610
|
} | undefined;
|
|
2602
2611
|
flairs?: Record<string, {
|
|
2603
2612
|
[x: string]: unknown;
|
|
@@ -540,6 +540,7 @@ export declare function createDelegatedCommunityIpns(communityOpts?: Partial<Com
|
|
|
540
540
|
bannerUrl?: string | undefined;
|
|
541
541
|
backgroundUrl?: string | undefined;
|
|
542
542
|
language?: string | undefined;
|
|
543
|
+
uiType?: string | undefined;
|
|
543
544
|
} | undefined;
|
|
544
545
|
flairs?: Record<string, {
|
|
545
546
|
[x: string]: unknown;
|
|
@@ -900,6 +901,7 @@ export declare function createMockedCommunityIpns(communityOpts: CreateNewLocalC
|
|
|
900
901
|
bannerUrl?: string | undefined;
|
|
901
902
|
backgroundUrl?: string | undefined;
|
|
902
903
|
language?: string | undefined;
|
|
904
|
+
uiType?: string | undefined;
|
|
903
905
|
} | undefined;
|
|
904
906
|
flairs?: Record<string, {
|
|
905
907
|
[x: string]: unknown;
|
|
@@ -1268,6 +1270,7 @@ export declare function publishStaticCommunityWithPostInPages(opts?: {
|
|
|
1268
1270
|
bannerUrl?: string | undefined;
|
|
1269
1271
|
backgroundUrl?: string | undefined;
|
|
1270
1272
|
language?: string | undefined;
|
|
1273
|
+
uiType?: string | undefined;
|
|
1271
1274
|
} | undefined;
|
|
1272
1275
|
flairs?: Record<string, {
|
|
1273
1276
|
[x: string]: unknown;
|
|
@@ -1404,6 +1407,7 @@ export declare function jsonifyLocalCommunityWithNoInternalProps(community: Loca
|
|
|
1404
1407
|
bannerUrl?: string | undefined;
|
|
1405
1408
|
backgroundUrl?: string | undefined;
|
|
1406
1409
|
language?: string | undefined;
|
|
1410
|
+
uiType?: string | undefined;
|
|
1407
1411
|
} | undefined;
|
|
1408
1412
|
settings: import("../community/types.js").RpcLocalCommunityLocalProps["settings"];
|
|
1409
1413
|
raw: RpcLocalCommunity["raw"];
|