@welshman/util 0.8.5 → 0.8.7
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/util/src/Nip86.d.ts
CHANGED
|
@@ -2,8 +2,9 @@ import { SignedEvent } from "./Events.js";
|
|
|
2
2
|
export declare enum ManagementMethod {
|
|
3
3
|
SupportedMethods = "supportedmethods",
|
|
4
4
|
BanPubkey = "banpubkey",
|
|
5
|
+
UnbanPubkey = "unbanpubkey",
|
|
5
6
|
AllowPubkey = "allowpubkey",
|
|
6
|
-
|
|
7
|
+
UnallowPubkey = "unallowpubkey",
|
|
7
8
|
ListBannedPubkeys = "listbannedpubkeys",
|
|
8
9
|
ListAllowedPubkeys = "listallowedpubkeys",
|
|
9
10
|
ListEventsNeedingModeration = "listeventsneedingmoderation",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Nip86.d.ts","sourceRoot":"","sources":["../../../src/Nip86.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,aAAa,CAAA;AAGvC,oBAAY,gBAAgB;IAC1B,gBAAgB,qBAAqB;IACrC,SAAS,cAAc;IACvB,WAAW,gBAAgB;IAC3B,
|
|
1
|
+
{"version":3,"file":"Nip86.d.ts","sourceRoot":"","sources":["../../../src/Nip86.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,aAAa,CAAA;AAGvC,oBAAY,gBAAgB;IAC1B,gBAAgB,qBAAqB;IACrC,SAAS,cAAc;IACvB,WAAW,gBAAgB;IAC3B,WAAW,gBAAgB;IAC3B,aAAa,kBAAkB;IAC/B,iBAAiB,sBAAsB;IACvC,kBAAkB,uBAAuB;IACzC,2BAA2B,gCAAgC;IAC3D,UAAU,eAAe;IACzB,QAAQ,aAAa;IACrB,gBAAgB,qBAAqB;IACrC,eAAe,oBAAoB;IACnC,sBAAsB,2BAA2B;IACjD,eAAe,oBAAoB;IACnC,SAAS,cAAc;IACvB,YAAY,iBAAiB;IAC7B,gBAAgB,qBAAqB;IACrC,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,cAAc,mBAAmB;CAClC;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC9B,MAAM,EAAE,gBAAgB,CAAA;IACxB,MAAM,EAAE,MAAM,EAAE,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC/B,MAAM,CAAC,EAAE,GAAG,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AAED,eAAO,MAAM,qBAAqB,GAChC,KAAK,MAAM,EACX,SAAS,iBAAiB,EAC1B,WAAW,WAAW,KACrB,OAAO,CAAC,kBAAkB,CAiB5B,CAAA"}
|
package/dist/util/src/Nip86.js
CHANGED
|
@@ -3,8 +3,9 @@ export var ManagementMethod;
|
|
|
3
3
|
(function (ManagementMethod) {
|
|
4
4
|
ManagementMethod["SupportedMethods"] = "supportedmethods";
|
|
5
5
|
ManagementMethod["BanPubkey"] = "banpubkey";
|
|
6
|
+
ManagementMethod["UnbanPubkey"] = "unbanpubkey";
|
|
6
7
|
ManagementMethod["AllowPubkey"] = "allowpubkey";
|
|
7
|
-
ManagementMethod["
|
|
8
|
+
ManagementMethod["UnallowPubkey"] = "unallowpubkey";
|
|
8
9
|
ManagementMethod["ListBannedPubkeys"] = "listbannedpubkeys";
|
|
9
10
|
ManagementMethod["ListAllowedPubkeys"] = "listallowedpubkeys";
|
|
10
11
|
ManagementMethod["ListEventsNeedingModeration"] = "listeventsneedingmoderation";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Nip86.js","sourceRoot":"","sources":["../../../src/Nip86.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,kBAAkB,EAAC,MAAM,YAAY,CAAA;AAE7C,MAAM,CAAN,IAAY,
|
|
1
|
+
{"version":3,"file":"Nip86.js","sourceRoot":"","sources":["../../../src/Nip86.ts"],"names":[],"mappings":"AACA,OAAO,EAA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6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@welshman/util",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.7",
|
|
4
4
|
"author": "hodlbod",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "A collection of nostr-related utilities.",
|
|
@@ -21,14 +21,14 @@
|
|
|
21
21
|
"peerDependencies": {
|
|
22
22
|
"@noble/curves": "^1.9.7",
|
|
23
23
|
"nostr-tools": "^2.19.4",
|
|
24
|
-
"@welshman/lib": "0.8.
|
|
24
|
+
"@welshman/lib": "0.8.7"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@noble/curves": "^1.9.7",
|
|
28
28
|
"nostr-tools": "^2.19.4",
|
|
29
29
|
"rimraf": "~6.0.0",
|
|
30
30
|
"typescript": "~5.8.0",
|
|
31
|
-
"@welshman/lib": "0.8.
|
|
31
|
+
"@welshman/lib": "0.8.7"
|
|
32
32
|
},
|
|
33
33
|
"scripts": {
|
|
34
34
|
"build": "pnpm run clean && pnpm run compile --force",
|