tool-db 2.5.1 → 2.5.3

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 (159) hide show
  1. package/README.md +82 -82
  2. package/bundle.js +1 -1
  3. package/dist/adapters-base/networkAdapter.d.ts +58 -58
  4. package/dist/adapters-base/networkAdapter.js +215 -213
  5. package/dist/adapters-base/networkAdapter.js.map +1 -1
  6. package/dist/adapters-base/storageAdapter.d.ts +11 -11
  7. package/dist/adapters-base/storageAdapter.js +35 -35
  8. package/dist/adapters-base/userAdapter.d.ts +15 -15
  9. package/dist/adapters-base/userAdapter.js +41 -41
  10. package/dist/crdt/baseCrdt.d.ts +9 -9
  11. package/dist/crdt/baseCrdt.js +26 -26
  12. package/dist/crdt/counterCrdt.d.ts +30 -30
  13. package/dist/crdt/counterCrdt.js +105 -105
  14. package/dist/crdt/listCrdt.d.ts +42 -42
  15. package/dist/crdt/listCrdt.js +158 -158
  16. package/dist/crdt/mapCrdt.d.ts +32 -32
  17. package/dist/crdt/mapCrdt.js +117 -117
  18. package/dist/index.d.ts +34 -34
  19. package/dist/index.js +82 -82
  20. package/dist/logger.d.ts +2 -2
  21. package/dist/logger.js +28 -28
  22. package/dist/messageHandlers/handleCrdtGet.d.ts +2 -2
  23. package/dist/messageHandlers/handleCrdtGet.js +28 -28
  24. package/dist/messageHandlers/handleCrdtPut.d.ts +2 -2
  25. package/dist/messageHandlers/handleCrdtPut.js +92 -92
  26. package/dist/messageHandlers/handleGet.d.ts +2 -2
  27. package/dist/messageHandlers/handleGet.js +28 -28
  28. package/dist/messageHandlers/handlePing.d.ts +2 -2
  29. package/dist/messageHandlers/handlePing.js +35 -35
  30. package/dist/messageHandlers/handlePong.d.ts +2 -2
  31. package/dist/messageHandlers/handlePong.js +25 -25
  32. package/dist/messageHandlers/handlePut.d.ts +2 -2
  33. package/dist/messageHandlers/handlePut.js +56 -56
  34. package/dist/messageHandlers/handleQuery.d.ts +2 -2
  35. package/dist/messageHandlers/handleQuery.js +22 -22
  36. package/dist/messageHandlers/handleSubscribe.d.ts +2 -2
  37. package/dist/messageHandlers/handleSubscribe.js +43 -43
  38. package/dist/server.d.ts +1 -1
  39. package/dist/server.js +8 -8
  40. package/dist/shared.d.ts +2 -2
  41. package/dist/shared.js +6 -6
  42. package/dist/toolDbAnonSignIn.d.ts +2 -2
  43. package/dist/toolDbAnonSignIn.js +6 -6
  44. package/dist/toolDbClientOnMessage.d.ts +2 -2
  45. package/dist/toolDbClientOnMessage.js +58 -58
  46. package/dist/toolDbCrdtGet.d.ts +9 -9
  47. package/dist/toolDbCrdtGet.js +76 -76
  48. package/dist/toolDbCrdtPut.d.ts +9 -9
  49. package/dist/toolDbCrdtPut.js +62 -62
  50. package/dist/toolDbGet.d.ts +9 -9
  51. package/dist/toolDbGet.js +76 -76
  52. package/dist/toolDbKeysSignIn.d.ts +2 -2
  53. package/dist/toolDbKeysSignIn.js +15 -15
  54. package/dist/toolDbPut.d.ts +9 -9
  55. package/dist/toolDbPut.js +68 -68
  56. package/dist/toolDbQueryKeys.d.ts +8 -8
  57. package/dist/toolDbQueryKeys.js +65 -65
  58. package/dist/toolDbSignIn.d.ts +2 -2
  59. package/dist/toolDbSignIn.js +26 -26
  60. package/dist/toolDbSignUp.d.ts +2 -2
  61. package/dist/toolDbSignUp.js +100 -100
  62. package/dist/toolDbSubscribe.d.ts +9 -9
  63. package/dist/toolDbSubscribe.js +49 -49
  64. package/dist/toolDbVerificationWrapper.d.ts +2 -2
  65. package/dist/toolDbVerificationWrapper.js +97 -97
  66. package/dist/tooldb.d.ts +108 -108
  67. package/dist/tooldb.js +285 -283
  68. package/dist/tooldb.js.map +1 -1
  69. package/dist/types/message.d.ts +100 -100
  70. package/dist/types/message.js +16 -16
  71. package/dist/types/tooldb.d.ts +84 -79
  72. package/dist/types/tooldb.js +2 -2
  73. package/dist/utils/catchReturn.d.ts +1 -1
  74. package/dist/utils/catchReturn.js +7 -7
  75. package/dist/utils/encoding/arrayBufferToHex.d.ts +1 -1
  76. package/dist/utils/encoding/arrayBufferToHex.js +18 -18
  77. package/dist/utils/encoding/arrayBufferToString.d.ts +1 -1
  78. package/dist/utils/encoding/arrayBufferToString.js +11 -11
  79. package/dist/utils/encoding/hexToArrayBuffer.d.ts +1 -1
  80. package/dist/utils/encoding/hexToArrayBuffer.js +14 -14
  81. package/dist/utils/encoding/hexToString.d.ts +1 -1
  82. package/dist/utils/encoding/hexToString.js +11 -11
  83. package/dist/utils/encoding/hexToUint8.d.ts +1 -1
  84. package/dist/utils/encoding/hexToUint8.js +7 -7
  85. package/dist/utils/encoding/stringToArrayBuffer.d.ts +1 -1
  86. package/dist/utils/encoding/stringToArrayBuffer.js +11 -11
  87. package/dist/utils/getPeerSignature.d.ts +2 -2
  88. package/dist/utils/getPeerSignature.js +8 -8
  89. package/dist/utils/getTimestamp.d.ts +1 -1
  90. package/dist/utils/getTimestamp.js +6 -6
  91. package/dist/utils/proofOfWork.d.ts +4 -4
  92. package/dist/utils/proofOfWork.js +15 -15
  93. package/dist/utils/randomAnimal.d.ts +1 -1
  94. package/dist/utils/randomAnimal.js +76 -76
  95. package/dist/utils/sha1.d.ts +1 -1
  96. package/dist/utils/sha1.js +12 -12
  97. package/dist/utils/sha256.d.ts +3 -3
  98. package/dist/utils/sha256.js +12 -12
  99. package/dist/utils/textRandom.d.ts +1 -1
  100. package/dist/utils/textRandom.js +14 -14
  101. package/dist/utils/uniq.d.ts +1 -1
  102. package/dist/utils/uniq.js +6 -6
  103. package/dist/utils/verifyMessage.d.ts +8 -8
  104. package/dist/utils/verifyMessage.js +128 -128
  105. package/dist/utils/verifyPeer.d.ts +2 -2
  106. package/dist/utils/verifyPeer.js +14 -14
  107. package/lib/adapters-base/networkAdapter.ts +217 -215
  108. package/lib/adapters-base/storageAdapter.ts +35 -35
  109. package/lib/adapters-base/userAdapter.ts +49 -49
  110. package/lib/crdt/baseCrdt.ts +21 -21
  111. package/lib/crdt/counterCrdt.ts +111 -111
  112. package/lib/crdt/listCrdt.ts +190 -190
  113. package/lib/crdt/mapCrdt.ts +119 -119
  114. package/lib/index.ts +42 -42
  115. package/lib/logger.ts +30 -30
  116. package/lib/messageHandlers/handleCrdtGet.ts +29 -29
  117. package/lib/messageHandlers/handleCrdtPut.ts +118 -118
  118. package/lib/messageHandlers/handleGet.ts +29 -29
  119. package/lib/messageHandlers/handlePing.ts +40 -40
  120. package/lib/messageHandlers/handlePong.ts +30 -30
  121. package/lib/messageHandlers/handlePut.ts +54 -54
  122. package/lib/messageHandlers/handleQuery.ts +25 -25
  123. package/lib/messageHandlers/handleSubscribe.ts +46 -46
  124. package/lib/server.ts +7 -7
  125. package/lib/shared.ts +5 -5
  126. package/lib/toolDbAnonSignIn.ts +5 -5
  127. package/lib/toolDbClientOnMessage.ts +75 -75
  128. package/lib/toolDbCrdtGet.ts +82 -82
  129. package/lib/toolDbCrdtPut.ts +77 -77
  130. package/lib/toolDbGet.ts +80 -80
  131. package/lib/toolDbKeysSignIn.ts +16 -16
  132. package/lib/toolDbPut.ts +83 -83
  133. package/lib/toolDbQueryKeys.ts +64 -64
  134. package/lib/toolDbSignIn.ts +31 -31
  135. package/lib/toolDbSignUp.ts +71 -71
  136. package/lib/toolDbSubscribe.ts +53 -53
  137. package/lib/toolDbVerificationWrapper.ts +55 -55
  138. package/lib/tooldb.ts +316 -314
  139. package/lib/types/message.ts +133 -133
  140. package/lib/types/tooldb.ts +97 -89
  141. package/lib/utils/catchReturn.ts +4 -4
  142. package/lib/utils/encoding/arrayBufferToHex.ts +18 -18
  143. package/lib/utils/encoding/arrayBufferToString.ts +8 -8
  144. package/lib/utils/encoding/hexToArrayBuffer.ts +13 -13
  145. package/lib/utils/encoding/hexToString.ts +8 -8
  146. package/lib/utils/encoding/hexToUint8.ts +5 -5
  147. package/lib/utils/encoding/stringToArrayBuffer.ts +8 -8
  148. package/lib/utils/getPeerSignature.ts +12 -12
  149. package/lib/utils/getTimestamp.ts +3 -3
  150. package/lib/utils/proofOfWork.ts +16 -16
  151. package/lib/utils/randomAnimal.ts +77 -77
  152. package/lib/utils/sha1.ts +7 -7
  153. package/lib/utils/sha256.ts +7 -7
  154. package/lib/utils/textRandom.ts +11 -11
  155. package/lib/utils/uniq.ts +3 -3
  156. package/lib/utils/verifyMessage.ts +88 -88
  157. package/lib/utils/verifyPeer.ts +15 -15
  158. package/package.json +2 -2
  159. package/tsconfig.json +14 -14
@@ -1,77 +1,77 @@
1
- const adjectives = [
2
- "Fast",
3
- "Slow",
4
- "Cute",
5
- "Evil",
6
- "Anxious",
7
- "Cursed",
8
- "Average",
9
- "Zombie",
10
- "Smart",
11
- "Small",
12
- "Tall",
13
- "Amazing",
14
- "Splendid",
15
- "Fat",
16
- "Invisible",
17
- "Regular",
18
- "Domestic",
19
- "Unique",
20
- "Soft",
21
- "Lazy",
22
- "Angry",
23
- "Relaxed",
24
- "Huge",
25
- "Shy",
26
- "Playful",
27
- "Creepy",
28
- "Ancient",
29
- "Beautiful",
30
- ];
31
-
32
- const animals = [
33
- "Snake",
34
- "Monkey",
35
- "Platypus",
36
- "Fox",
37
- "Lynx",
38
- "Pug",
39
- "Chicken",
40
- "Slug",
41
- "Snail",
42
- "Pig",
43
- "Cow",
44
- "Sheep",
45
- "Horse",
46
- "Squirrel",
47
- "Turtle",
48
- "Unicorn",
49
- "Dragon",
50
- "Dolphin",
51
- "Cat",
52
- "Chow Chow",
53
- "Elephant",
54
- "Meerkat",
55
- "Polar Bear",
56
- "Bear",
57
- "Rabbit",
58
- "Koala",
59
- "Parrot",
60
- "Raven",
61
- "Frog",
62
- "Rat",
63
- "Mouse",
64
- "Bee",
65
- "Tiger",
66
- "Lion",
67
- "Giraffe",
68
- "Ant",
69
- "Spider",
70
- "Zebra",
71
- ];
72
-
73
- export default function randomAnimal() {
74
- return `${adjectives[Math.floor(Math.random() * adjectives.length)]} ${
75
- animals[Math.floor(Math.random() * animals.length)]
76
- }`;
77
- }
1
+ const adjectives = [
2
+ "Fast",
3
+ "Slow",
4
+ "Cute",
5
+ "Evil",
6
+ "Anxious",
7
+ "Cursed",
8
+ "Average",
9
+ "Zombie",
10
+ "Smart",
11
+ "Small",
12
+ "Tall",
13
+ "Amazing",
14
+ "Splendid",
15
+ "Fat",
16
+ "Invisible",
17
+ "Regular",
18
+ "Domestic",
19
+ "Unique",
20
+ "Soft",
21
+ "Lazy",
22
+ "Angry",
23
+ "Relaxed",
24
+ "Huge",
25
+ "Shy",
26
+ "Playful",
27
+ "Creepy",
28
+ "Ancient",
29
+ "Beautiful",
30
+ ];
31
+
32
+ const animals = [
33
+ "Snake",
34
+ "Monkey",
35
+ "Platypus",
36
+ "Fox",
37
+ "Lynx",
38
+ "Pug",
39
+ "Chicken",
40
+ "Slug",
41
+ "Snail",
42
+ "Pig",
43
+ "Cow",
44
+ "Sheep",
45
+ "Horse",
46
+ "Squirrel",
47
+ "Turtle",
48
+ "Unicorn",
49
+ "Dragon",
50
+ "Dolphin",
51
+ "Cat",
52
+ "Chow Chow",
53
+ "Elephant",
54
+ "Meerkat",
55
+ "Polar Bear",
56
+ "Bear",
57
+ "Rabbit",
58
+ "Koala",
59
+ "Parrot",
60
+ "Raven",
61
+ "Frog",
62
+ "Rat",
63
+ "Mouse",
64
+ "Bee",
65
+ "Tiger",
66
+ "Lion",
67
+ "Giraffe",
68
+ "Ant",
69
+ "Spider",
70
+ "Zebra",
71
+ ];
72
+
73
+ export default function randomAnimal() {
74
+ return `${adjectives[Math.floor(Math.random() * adjectives.length)]} ${
75
+ animals[Math.floor(Math.random() * animals.length)]
76
+ }`;
77
+ }
package/lib/utils/sha1.ts CHANGED
@@ -1,7 +1,7 @@
1
- import crypto from "crypto";
2
-
3
- export default function sha1(str: string): string {
4
- const hash = crypto.createHash("sha1");
5
- hash.update(str);
6
- return hash.digest("hex");
7
- }
1
+ import crypto from "crypto";
2
+
3
+ export default function sha1(str: string): string {
4
+ const hash = crypto.createHash("sha1");
5
+ hash.update(str);
6
+ return hash.digest("hex");
7
+ }
@@ -1,7 +1,7 @@
1
- import crypto, { BinaryLike } from "crypto";
2
-
3
- export default function sha256(str: BinaryLike): string {
4
- const hash = crypto.createHash("sha256");
5
- hash.update(str);
6
- return hash.digest("hex");
7
- }
1
+ import crypto, { BinaryLike } from "crypto";
2
+
3
+ export default function sha256(str: BinaryLike): string {
4
+ const hash = crypto.createHash("sha256");
5
+ hash.update(str);
6
+ return hash.digest("hex");
7
+ }
@@ -1,11 +1,11 @@
1
- export default function textRandom(_l = 24, _c?: string): string {
2
- let l = _l;
3
- let s = "";
4
- const c =
5
- _c || "0123456789ABCDEFGHIJKLMNOPQRSTUVWXZabcdefghijklmnopqrstuvwxyz";
6
- while (l > 0) {
7
- s += c.charAt(Math.floor(Math.random() * c.length));
8
- l -= 1;
9
- }
10
- return s;
11
- }
1
+ export default function textRandom(_l = 24, _c?: string): string {
2
+ let l = _l;
3
+ let s = "";
4
+ const c =
5
+ _c || "0123456789ABCDEFGHIJKLMNOPQRSTUVWXZabcdefghijklmnopqrstuvwxyz";
6
+ while (l > 0) {
7
+ s += c.charAt(Math.floor(Math.random() * c.length));
8
+ l -= 1;
9
+ }
10
+ return s;
11
+ }
package/lib/utils/uniq.ts CHANGED
@@ -1,3 +1,3 @@
1
- export default function uniq<T>(array: T[]): T[] {
2
- return Array.from(new Set(array));
3
- }
1
+ export default function uniq<T>(array: T[]): T[] {
2
+ return Array.from(new Set(array));
3
+ }
@@ -1,88 +1,88 @@
1
- import { ToolDb, VerifyResult, VerificationData, sha256 } from "..";
2
-
3
- /**
4
- * Verifies a message validity (PoW, Address, timestamp, signatures)
5
- * @param msg AnyMessage
6
- * @param pow amount of proof of work required, number of leading zeroes (default is 0/no pow)
7
- * @returns boolean or undefined if the message type does not match
8
- */
9
- export default async function verifyMessage<T>(
10
- this: ToolDb,
11
- msg: Partial<VerificationData<T>>,
12
- pow = 0
13
- ): Promise<VerifyResult> {
14
- // this.logger("verify: ", msg);
15
- const strData = JSON.stringify(msg.v);
16
-
17
- if (
18
- msg.t === undefined ||
19
- msg.k === undefined ||
20
- msg.h === undefined ||
21
- msg.a === undefined ||
22
- msg.s === undefined ||
23
- msg.c === undefined
24
- ) {
25
- return VerifyResult.InvalidData;
26
- }
27
-
28
- // Max clock shift allowed is 30 seconds.
29
- // Ten seconds was my original threshold but it failed some times.
30
- if (msg.t > new Date().getTime() + 30000) {
31
- // this.logger("Invalid message timestamp.");
32
- return VerifyResult.InvalidTimestamp;
33
- }
34
-
35
- // This is a user namespace
36
- let addressNamespace: false | string = false;
37
- if (msg.k.slice(0, 1) == ":") {
38
- addressNamespace = msg.k.split(".")[0].slice(1);
39
- }
40
-
41
- // This namespace can only be written if data does not exist previously
42
- // This violates the offline first principle..?
43
- if (msg.k.slice(0, 2) == "==") {
44
- const key = msg.k;
45
- const data = await this.store
46
- .get(key)
47
- .then((data) => {
48
- try {
49
- const message = JSON.parse(data);
50
- return message;
51
- } catch (e) {
52
- return null;
53
- }
54
- })
55
- .catch(() => {
56
- return null;
57
- });
58
- if (data && data.a !== msg.a) return VerifyResult.CantOverwrite;
59
- }
60
-
61
- if (addressNamespace && addressNamespace !== msg.a) {
62
- // this.logger("Provided address does not match");
63
- return VerifyResult.AddressMismatch;
64
- }
65
-
66
- // Verify hash and nonce (adjust zeroes for difficulty of the network)
67
- // While this POW does not enforce security per-se, it does make it harder
68
- // for attackers to spam the network, and could be adjusted by peers.
69
- // Disabled for now because it is painful on large requests
70
- if (pow > 0) {
71
- if (msg.h.slice(0, pow) !== new Array(pow).fill("0").join("")) {
72
- // this.logger("No valid hash (no pow)");
73
- return VerifyResult.NoProofOfWork;
74
- }
75
-
76
- if (sha256(`${strData}${msg.a}${msg.t}${msg.n}`) !== msg.h) {
77
- // this.logger("Specified hash does not generate a valid pow");
78
- return VerifyResult.InvalidHashNonce;
79
- }
80
- }
81
-
82
- const verified = this.userAccount
83
- ? await this.userAccount.verifySignature(msg)
84
- : false;
85
- // this.logger(`Signature validation: ${verified ? "Sucess" : "Failed"}`);
86
-
87
- return verified ? VerifyResult.Verified : VerifyResult.InvalidSignature;
88
- }
1
+ import { ToolDb, VerifyResult, VerificationData, sha256 } from "..";
2
+
3
+ /**
4
+ * Verifies a message validity (PoW, Address, timestamp, signatures)
5
+ * @param msg AnyMessage
6
+ * @param pow amount of proof of work required, number of leading zeroes (default is 0/no pow)
7
+ * @returns boolean or undefined if the message type does not match
8
+ */
9
+ export default async function verifyMessage<T>(
10
+ this: ToolDb,
11
+ msg: Partial<VerificationData<T>>,
12
+ pow = 0
13
+ ): Promise<VerifyResult> {
14
+ // this.logger("verify: ", msg);
15
+ const strData = JSON.stringify(msg.v);
16
+
17
+ if (
18
+ msg.t === undefined ||
19
+ msg.k === undefined ||
20
+ msg.h === undefined ||
21
+ msg.a === undefined ||
22
+ msg.s === undefined ||
23
+ msg.c === undefined
24
+ ) {
25
+ return VerifyResult.InvalidData;
26
+ }
27
+
28
+ // Max clock shift allowed is 30 seconds.
29
+ // Ten seconds was my original threshold but it failed some times.
30
+ if (msg.t > new Date().getTime() + 30000) {
31
+ // this.logger("Invalid message timestamp.");
32
+ return VerifyResult.InvalidTimestamp;
33
+ }
34
+
35
+ // This is a user namespace
36
+ let addressNamespace: false | string = false;
37
+ if (msg.k.slice(0, 1) == ":") {
38
+ addressNamespace = msg.k.split(".")[0].slice(1);
39
+ }
40
+
41
+ // This namespace can only be written if data does not exist previously
42
+ // This violates the offline first principle..?
43
+ if (msg.k.slice(0, 2) == "==") {
44
+ const key = msg.k;
45
+ const data = await this.store
46
+ .get(key)
47
+ .then((data) => {
48
+ try {
49
+ const message = JSON.parse(data);
50
+ return message;
51
+ } catch (e) {
52
+ return null;
53
+ }
54
+ })
55
+ .catch(() => {
56
+ return null;
57
+ });
58
+ if (data && data.a !== msg.a) return VerifyResult.CantOverwrite;
59
+ }
60
+
61
+ if (addressNamespace && addressNamespace !== msg.a) {
62
+ // this.logger("Provided address does not match");
63
+ return VerifyResult.AddressMismatch;
64
+ }
65
+
66
+ // Verify hash and nonce (adjust zeroes for difficulty of the network)
67
+ // While this POW does not enforce security per-se, it does make it harder
68
+ // for attackers to spam the network, and could be adjusted by peers.
69
+ // Disabled for now because it is painful on large requests
70
+ if (pow > 0) {
71
+ if (msg.h.slice(0, pow) !== new Array(pow).fill("0").join("")) {
72
+ // this.logger("No valid hash (no pow)");
73
+ return VerifyResult.NoProofOfWork;
74
+ }
75
+
76
+ if (sha256(`${strData}${msg.a}${msg.t}${msg.n}`) !== msg.h) {
77
+ // this.logger("Specified hash does not generate a valid pow");
78
+ return VerifyResult.InvalidHashNonce;
79
+ }
80
+ }
81
+
82
+ const verified = this.userAccount
83
+ ? await this.userAccount.verifySignature(msg)
84
+ : false;
85
+ // this.logger(`Signature validation: ${verified ? "Sucess" : "Failed"}`);
86
+
87
+ return verified ? VerifyResult.Verified : VerifyResult.InvalidSignature;
88
+ }
@@ -1,15 +1,15 @@
1
- import { ToolDb, sha256, Peer } from "..";
2
-
3
- export default function verifyPeer(tooldb: ToolDb, peer: Peer) {
4
- const data = sha256(
5
- `${peer.topic}-${peer.timestamp}-${peer.host}:${peer.port}`
6
- );
7
-
8
- // its not really a message but this function works with a Partial
9
- // I want to keep it like this so the signature verification is in a single place
10
- return tooldb.verifyMessage({
11
- h: data,
12
- a: peer.address,
13
- s: peer.sig,
14
- });
15
- }
1
+ import { ToolDb, sha256, Peer } from "..";
2
+
3
+ export default function verifyPeer(tooldb: ToolDb, peer: Peer) {
4
+ const data = sha256(
5
+ `${peer.topic}-${peer.timestamp}-${peer.host}:${peer.port}`
6
+ );
7
+
8
+ // its not really a message but this function works with a Partial
9
+ // I want to keep it like this so the signature verification is in a single place
10
+ return tooldb.verifyMessage({
11
+ h: data,
12
+ a: peer.address,
13
+ s: peer.sig,
14
+ });
15
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tool-db",
3
- "version": "2.5.1",
3
+ "version": "2.5.3",
4
4
  "description": "A decentralized database model for federated p2p networks.n",
5
5
  "author": "Manwe <manuel.etchegaray7@gmail.com>",
6
6
  "homepage": "https://github.com/Manwe-777/tool-db#readme",
@@ -28,5 +28,5 @@
28
28
  "typescript": "^4.7.4",
29
29
  "uglify-js": "^3.16.2"
30
30
  },
31
- "gitHead": "d1e3aeff76a68504f16688aa17888fd67507c822"
31
+ "gitHead": "ace404a432b6fadafea594d0d3ed56ab7631fb80"
32
32
  }
package/tsconfig.json CHANGED
@@ -1,15 +1,15 @@
1
- {
2
- "extends": "../../tsconfig.json",
3
- "compilerOptions": {
4
- "baseUrl": ".",
5
- "outDir": "dist",
6
- "isolatedModules": true
7
- },
8
- "include": [
9
- "lib"
10
- ],
11
- "exclude": [
12
- "node_modules",
13
- "**/__tests__/*",
14
- ]
1
+ {
2
+ "extends": "../../tsconfig.json",
3
+ "compilerOptions": {
4
+ "baseUrl": ".",
5
+ "outDir": "dist",
6
+ "isolatedModules": true
7
+ },
8
+ "include": [
9
+ "lib"
10
+ ],
11
+ "exclude": [
12
+ "node_modules",
13
+ "**/__tests__/*",
14
+ ]
15
15
  }