@ethersphere/bee-js 3.2.0 → 3.3.0

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 (183) hide show
  1. package/dist/cjs/bee-debug.js +615 -0
  2. package/dist/cjs/bee.js +922 -0
  3. package/dist/cjs/chunk/bmt.js +50 -0
  4. package/dist/cjs/chunk/cac.js +56 -0
  5. package/dist/cjs/chunk/serialize.js +19 -0
  6. package/dist/cjs/chunk/signer.js +132 -0
  7. package/dist/cjs/chunk/soc.js +172 -0
  8. package/dist/cjs/chunk/span.js +29 -0
  9. package/dist/cjs/feed/index.js +184 -0
  10. package/dist/cjs/feed/json.js +41 -0
  11. package/dist/cjs/feed/topic.js +25 -0
  12. package/dist/cjs/feed/type.js +15 -0
  13. package/dist/cjs/index.js +35 -0
  14. package/dist/cjs/modules/bytes.js +74 -0
  15. package/dist/cjs/modules/bzz.js +131 -0
  16. package/dist/cjs/modules/chunk.js +58 -0
  17. package/dist/cjs/modules/debug/balance.js +77 -0
  18. package/dist/cjs/modules/debug/chequebook.js +167 -0
  19. package/dist/cjs/modules/debug/chunk.js +51 -0
  20. package/dist/cjs/modules/debug/connectivity.js +75 -0
  21. package/dist/cjs/modules/debug/settlements.js +45 -0
  22. package/dist/cjs/modules/debug/stamps.js +89 -0
  23. package/dist/cjs/modules/debug/states.js +47 -0
  24. package/dist/cjs/modules/debug/status.js +153 -0
  25. package/dist/cjs/modules/debug/tag.js +30 -0
  26. package/dist/cjs/modules/debug/transactions.js +81 -0
  27. package/dist/cjs/modules/feed.js +76 -0
  28. package/dist/cjs/modules/pinning.js +84 -0
  29. package/dist/cjs/modules/pss.js +55 -0
  30. package/dist/cjs/modules/soc.js +40 -0
  31. package/dist/cjs/modules/status.js +26 -0
  32. package/dist/cjs/modules/stewardship.js +41 -0
  33. package/dist/cjs/modules/tag.js +96 -0
  34. package/dist/cjs/package.json +7 -0
  35. package/dist/cjs/types/debug.js +9 -0
  36. package/dist/cjs/types/index.js +46 -0
  37. package/dist/cjs/utils/bytes.js +107 -0
  38. package/dist/cjs/utils/collection.browser.js +36 -0
  39. package/dist/cjs/utils/collection.js +70 -0
  40. package/dist/cjs/utils/collection.node.js +115 -0
  41. package/dist/cjs/utils/data.browser.js +78 -0
  42. package/dist/cjs/utils/data.js +60 -0
  43. package/dist/cjs/utils/error.js +50 -0
  44. package/dist/cjs/utils/eth.js +206 -0
  45. package/dist/cjs/utils/expose.js +44 -0
  46. package/dist/cjs/utils/file.js +49 -0
  47. package/dist/cjs/utils/hash.js +16 -0
  48. package/dist/cjs/utils/headers.js +59 -0
  49. package/dist/cjs/utils/hex.js +150 -0
  50. package/dist/cjs/utils/http.js +166 -0
  51. package/dist/cjs/utils/merge.js +34 -0
  52. package/dist/cjs/utils/pss.js +18 -0
  53. package/dist/cjs/utils/stamps.js +17 -0
  54. package/dist/cjs/utils/stream.js +137 -0
  55. package/dist/cjs/utils/tar.js +25 -0
  56. package/dist/cjs/utils/type.js +327 -0
  57. package/dist/cjs/utils/uint64.js +29 -0
  58. package/dist/cjs/utils/url.js +56 -0
  59. package/dist/index.js +28326 -0
  60. package/dist/index.js.map +1 -0
  61. package/dist/mjs/bee-debug.js +509 -0
  62. package/dist/mjs/bee.js +845 -0
  63. package/dist/mjs/chunk/bmt.js +46 -0
  64. package/dist/mjs/chunk/cac.js +50 -0
  65. package/dist/mjs/chunk/serialize.js +15 -0
  66. package/dist/mjs/chunk/signer.js +112 -0
  67. package/dist/mjs/chunk/soc.js +127 -0
  68. package/dist/mjs/chunk/span.js +25 -0
  69. package/dist/mjs/feed/index.js +136 -0
  70. package/dist/mjs/feed/json.js +23 -0
  71. package/dist/mjs/feed/topic.js +20 -0
  72. package/dist/mjs/feed/type.js +10 -0
  73. package/dist/mjs/index.js +7 -0
  74. package/dist/mjs/modules/bytes.js +56 -0
  75. package/dist/mjs/modules/bzz.js +119 -0
  76. package/dist/mjs/modules/chunk.js +43 -0
  77. package/dist/mjs/modules/debug/balance.js +53 -0
  78. package/dist/mjs/modules/debug/chequebook.js +131 -0
  79. package/dist/mjs/modules/debug/chunk.js +33 -0
  80. package/dist/mjs/modules/debug/connectivity.js +45 -0
  81. package/dist/mjs/modules/debug/settlements.js +27 -0
  82. package/dist/mjs/modules/debug/stamps.js +59 -0
  83. package/dist/mjs/modules/debug/states.js +29 -0
  84. package/dist/mjs/modules/debug/status.js +114 -0
  85. package/dist/mjs/modules/debug/tag.js +15 -0
  86. package/dist/mjs/modules/debug/transactions.js +57 -0
  87. package/dist/mjs/modules/feed.js +61 -0
  88. package/dist/mjs/modules/pinning.js +60 -0
  89. package/dist/mjs/modules/pss.js +36 -0
  90. package/dist/mjs/modules/soc.js +28 -0
  91. package/dist/mjs/modules/status.js +11 -0
  92. package/dist/mjs/modules/stewardship.js +23 -0
  93. package/dist/mjs/modules/tag.js +69 -0
  94. package/dist/mjs/package.json +7 -0
  95. package/dist/mjs/types/debug.js +6 -0
  96. package/dist/mjs/types/index.js +33 -0
  97. package/dist/mjs/utils/bytes.js +95 -0
  98. package/dist/mjs/utils/collection.browser.js +18 -0
  99. package/dist/mjs/utils/collection.js +52 -0
  100. package/dist/mjs/utils/collection.node.js +63 -0
  101. package/dist/mjs/utils/data.browser.js +57 -0
  102. package/dist/mjs/utils/data.js +39 -0
  103. package/dist/mjs/utils/error.js +48 -0
  104. package/dist/mjs/utils/eth.js +184 -0
  105. package/dist/mjs/utils/expose.js +9 -0
  106. package/dist/mjs/utils/file.js +33 -0
  107. package/dist/mjs/utils/hash.js +12 -0
  108. package/dist/mjs/utils/headers.js +54 -0
  109. package/dist/mjs/utils/hex.js +139 -0
  110. package/dist/mjs/utils/http.js +136 -0
  111. package/dist/mjs/utils/merge.js +30 -0
  112. package/dist/mjs/utils/pss.js +14 -0
  113. package/dist/mjs/utils/stamps.js +13 -0
  114. package/dist/mjs/utils/stream.js +131 -0
  115. package/dist/mjs/utils/tar.js +18 -0
  116. package/dist/mjs/utils/type.js +296 -0
  117. package/dist/mjs/utils/uint64.js +23 -0
  118. package/dist/mjs/utils/url.js +50 -0
  119. package/dist/{src → types}/bee-debug.d.ts +47 -1
  120. package/dist/{src → types}/bee.d.ts +0 -0
  121. package/dist/{src → types}/chunk/bmt.d.ts +0 -0
  122. package/dist/{src → types}/chunk/cac.d.ts +0 -0
  123. package/dist/{src → types}/chunk/serialize.d.ts +0 -0
  124. package/dist/{src → types}/chunk/signer.d.ts +0 -0
  125. package/dist/{src → types}/chunk/soc.d.ts +0 -0
  126. package/dist/{src → types}/chunk/span.d.ts +0 -0
  127. package/dist/{src → types}/feed/index.d.ts +0 -0
  128. package/dist/{src → types}/feed/json.d.ts +0 -0
  129. package/dist/{src → types}/feed/topic.d.ts +0 -0
  130. package/dist/{src → types}/feed/type.d.ts +0 -0
  131. package/dist/{src → types}/index.d.ts +0 -0
  132. package/dist/{src → types}/modules/bytes.d.ts +0 -0
  133. package/dist/{src → types}/modules/bzz.d.ts +0 -0
  134. package/dist/{src → types}/modules/chunk.d.ts +0 -0
  135. package/dist/{src → types}/modules/debug/balance.d.ts +0 -0
  136. package/dist/{src → types}/modules/debug/chequebook.d.ts +0 -0
  137. package/dist/{src → types}/modules/debug/chunk.d.ts +0 -0
  138. package/dist/{src → types}/modules/debug/connectivity.d.ts +0 -0
  139. package/dist/{src → types}/modules/debug/settlements.d.ts +0 -0
  140. package/dist/{src → types}/modules/debug/stamps.d.ts +0 -0
  141. package/dist/{src → types}/modules/debug/states.d.ts +0 -0
  142. package/dist/types/modules/debug/status.d.ts +72 -0
  143. package/dist/{src → types}/modules/debug/tag.d.ts +0 -0
  144. package/dist/{src → types}/modules/debug/transactions.d.ts +0 -0
  145. package/dist/{src → types}/modules/feed.d.ts +0 -0
  146. package/dist/{src → types}/modules/pinning.d.ts +0 -0
  147. package/dist/{src → types}/modules/pss.d.ts +0 -0
  148. package/dist/{src → types}/modules/soc.d.ts +0 -0
  149. package/dist/{src → types}/modules/status.d.ts +0 -0
  150. package/dist/{src → types}/modules/stewardship.d.ts +0 -0
  151. package/dist/{src → types}/modules/tag.d.ts +0 -0
  152. package/dist/{src → types}/types/debug.d.ts +8 -0
  153. package/dist/{src → types}/types/index.d.ts +1 -0
  154. package/dist/{src → types}/utils/bytes.d.ts +0 -0
  155. package/dist/types/utils/collection.browser.d.ts +15 -0
  156. package/dist/{src → types}/utils/collection.d.ts +0 -14
  157. package/dist/types/utils/collection.node.d.ts +15 -0
  158. package/dist/{src → types}/utils/data.browser.d.ts +0 -0
  159. package/dist/{src → types}/utils/data.d.ts +0 -0
  160. package/dist/{src → types}/utils/error.d.ts +0 -0
  161. package/dist/{src → types}/utils/eth.d.ts +0 -0
  162. package/dist/{src → types}/utils/expose.d.ts +2 -1
  163. package/dist/{src → types}/utils/file.d.ts +0 -0
  164. package/dist/{src → types}/utils/hash.d.ts +0 -0
  165. package/dist/{src → types}/utils/headers.d.ts +0 -0
  166. package/dist/{src → types}/utils/hex.d.ts +0 -0
  167. package/dist/{src → types}/utils/http.d.ts +0 -0
  168. package/dist/{src → types}/utils/merge.d.ts +0 -0
  169. package/dist/{src → types}/utils/pss.d.ts +0 -0
  170. package/dist/{src → types}/utils/stamps.d.ts +0 -0
  171. package/dist/{src → types}/utils/stream.d.ts +0 -0
  172. package/dist/{src → types}/utils/tar.d.ts +0 -0
  173. package/dist/{src → types}/utils/type.d.ts +0 -0
  174. package/dist/{src → types}/utils/uint64.d.ts +0 -0
  175. package/dist/{src → types}/utils/url.d.ts +0 -0
  176. package/package.json +39 -23
  177. package/dist/index.browser.min.js +0 -3
  178. package/dist/index.browser.min.js.LICENSE.txt +0 -59
  179. package/dist/index.browser.min.js.map +0 -1
  180. package/dist/index.min.js +0 -3
  181. package/dist/index.min.js.LICENSE.txt +0 -50
  182. package/dist/index.min.js.map +0 -1
  183. package/dist/src/modules/debug/status.d.ts +0 -24
@@ -0,0 +1,72 @@
1
+ import type { Health, NodeInfo } from '../../types/debug';
2
+ import { Ky } from '../../types';
3
+ import { BeeVersions } from '../../types/debug';
4
+ export declare const SUPPORTED_BEE_VERSION_EXACT = "1.4.3-1213e063";
5
+ export declare const SUPPORTED_API_VERSION = "2.0.0";
6
+ export declare const SUPPORTED_DEBUG_API_VERSION = "1.2.1";
7
+ export declare const SUPPORTED_BEE_VERSION: string;
8
+ /**
9
+ * Get health of node
10
+ *
11
+ * @param ky Ky debug instance
12
+ */
13
+ export declare function getHealth(ky: Ky): Promise<Health>;
14
+ /**
15
+ * Get information about Bee node
16
+ *
17
+ * @param ky Ky debug instance
18
+ */
19
+ export declare function getNodeInfo(ky: Ky): Promise<NodeInfo>;
20
+ /**
21
+ * Connects to a node and checks if it is a supported Bee version by the bee-js
22
+ *
23
+ * @param ky Ky debug instance
24
+ *
25
+ * @returns true if the Bee node version is supported
26
+ * @deprecated Use `isSupportedExactVersion` instead
27
+ */
28
+ export declare function isSupportedVersion(ky: Ky): Promise<boolean>;
29
+ /**
30
+ * Connects to a node and checks if its version matches with the one that bee-js supports.
31
+ *
32
+ * Be aware that this is the most strict version check and most probably
33
+ * you will want to use more relaxed API-versions based checks like
34
+ * `isSupportedApiVersion`, `isSupportedMainApiVersion` or `isSupportedDebugApiVersion`
35
+ * based on your use-case.
36
+ *
37
+ * @param ky
38
+ */
39
+ export declare function isSupportedExactVersion(ky: Ky): Promise<boolean>;
40
+ /**
41
+ * Connects to a node and checks if its main's API version matches with the one that bee-js supports.
42
+ *
43
+ * This is useful if you are not using `BeeDebug` class (for anything else then this check)
44
+ * and want to make sure about compatibility.
45
+ *
46
+ * @param ky
47
+ */
48
+ export declare function isSupportedMainApiVersion(ky: Ky): Promise<boolean>;
49
+ /**
50
+ * Connects to a node and checks if its Debug API version matches with the one that bee-js supports.
51
+ *
52
+ * This is useful if you are not using `Bee` class in your application and want to make sure
53
+ * about compatibility.
54
+ *
55
+ * @param ky
56
+ */
57
+ export declare function isSupportedDebugApiVersion(ky: Ky): Promise<boolean>;
58
+ /**
59
+ * Connects to a node and checks if its Main and Debug API versions matches with the one that bee-js supports.
60
+ *
61
+ * This should be the main way how to check compatibility for your app and Bee node.
62
+ *
63
+ * @param ky
64
+ */
65
+ export declare function isSupportedApiVersion(ky: Ky): Promise<boolean>;
66
+ /**
67
+ * Returns object with all versions specified by the connected Bee node (properties prefixed with `bee*`)
68
+ * and versions that bee-js supports (properties prefixed with `supported*`).
69
+ *
70
+ * @param ky
71
+ */
72
+ export declare function getVersions(ky: Ky): Promise<BeeVersions>;
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -121,6 +121,14 @@ export interface Health {
121
121
  apiVersion: string;
122
122
  debugApiVersion: string;
123
123
  }
124
+ export interface BeeVersions {
125
+ supportedBeeVersion: string;
126
+ supportedBeeApiVersion: string;
127
+ supportedBeeDebugApiVersion: string;
128
+ beeVersion: string;
129
+ beeApiVersion: string;
130
+ beeDebugApiVersion: string;
131
+ }
124
132
  export declare enum BeeModes {
125
133
  FULL = "full",
126
134
  LIGHT = "light",
@@ -362,6 +362,7 @@ export interface FeedWriter extends FeedReader {
362
362
  * Interface for downloading single owner chunks
363
363
  */
364
364
  export interface SOCReader {
365
+ readonly owner: HexEthAddress;
365
366
  /**
366
367
  * Downloads a single owner chunk
367
368
  *
File without changes
@@ -0,0 +1,15 @@
1
+ import { Collection } from '../types';
2
+ /**
3
+ * Creates array in the format of Collection with data loaded from directory on filesystem.
4
+ * The function loads all the data into memory!
5
+ *
6
+ * @param dir path to the directory
7
+ */
8
+ export declare function makeCollectionFromFS(dir: string): Promise<Collection<Uint8Array>>;
9
+ /**
10
+ * Calculate folder size recursively
11
+ *
12
+ * @param dir the path to the folder to check
13
+ * @returns size in bytes
14
+ */
15
+ export declare function getFolderSize(dir: string): Promise<number>;
@@ -1,13 +1,6 @@
1
1
  import { Collection } from '../types';
2
2
  export declare function isCollection(data: unknown): data is Collection<Uint8Array>;
3
3
  export declare function assertCollection(data: unknown): asserts data is Collection<Uint8Array>;
4
- /**
5
- * Creates array in the format of Collection with data loaded from directory on filesystem.
6
- * The function loads all the data into memory!
7
- *
8
- * @param dir path to the directory
9
- */
10
- export declare function makeCollectionFromFS(dir: string): Promise<Collection<Uint8Array>>;
11
4
  export declare function makeCollectionFromFileList(fileList: FileList | File[]): Promise<Collection<Uint8Array>>;
12
5
  /**
13
6
  * Calculate cumulative size of files
@@ -16,10 +9,3 @@ export declare function makeCollectionFromFileList(fileList: FileList | File[]):
16
9
  * @returns size in bytes
17
10
  */
18
11
  export declare function getCollectionSize(fileList: FileList | File[]): number;
19
- /**
20
- * Calculate folder size recursively
21
- *
22
- * @param dir the path to the folder to check
23
- * @returns size in bytes
24
- */
25
- export declare function getFolderSize(dir: string): Promise<number>;
@@ -0,0 +1,15 @@
1
+ import { Collection } from '../types';
2
+ /**
3
+ * Creates array in the format of Collection with data loaded from directory on filesystem.
4
+ * The function loads all the data into memory!
5
+ *
6
+ * @param dir path to the directory
7
+ */
8
+ export declare function makeCollectionFromFS(dir: string): Promise<Collection<Uint8Array>>;
9
+ /**
10
+ * Calculate folder size recursively
11
+ *
12
+ * @param dir the path to the folder to check
13
+ * @returns size in bytes
14
+ */
15
+ export declare function getFolderSize(dir: string): Promise<number>;
File without changes
File without changes
File without changes
File without changes
@@ -1,4 +1,5 @@
1
- export { getCollectionSize, getFolderSize } from './collection';
1
+ export { getCollectionSize } from './collection';
2
+ export { getFolderSize } from './collection.node';
2
3
  export { Bytes, FlexBytes, isBytes, assertBytes, isFlexBytes, assertFlexBytes, bytesAtOffset, flexBytesAtOffset, bytesEqual, } from './bytes';
3
4
  export { HexString, PrefixedHexString, makeHexString, hexToBytes, bytesToHex, intToHex, isHexString, assertHexString, assertPrefixedHexString, } from './hex';
4
5
  export { EthAddress, makeEthAddress, makeHexEthAddress, isHexEthAddress, ethToSwarmAddress, toLittleEndian, fromLittleEndian, makeEthereumWalletSigner, } from './eth';
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ethersphere/bee-js",
3
- "version": "3.2.0",
3
+ "version": "3.3.0",
4
4
  "description": "Javascript client for Bee",
5
5
  "keywords": [
6
6
  "bee",
@@ -18,30 +18,42 @@
18
18
  "url": "https://github.com/ethersphere/bee-js/issues/"
19
19
  },
20
20
  "license": "BSD-3-Clause",
21
- "main": "dist/index.min.js",
22
21
  "repository": {
23
22
  "type": "git",
24
23
  "url": "https://github.com/ethersphere/bee-js.git"
25
24
  },
25
+ "main": "dist/cjs/index.js",
26
+ "module": "dist/mjs/index.js",
27
+ "exports": {
28
+ ".": {
29
+ "import": "./dist/mjs/index.js",
30
+ "require": "./dist/cjs/index.js"
31
+ }
32
+ },
33
+ "types": "dist/types/index.d.ts",
26
34
  "browser": {
27
- "./dist/index.min.js": "./dist/index.browser.min.js",
28
- "data": "data.browser"
35
+ "./src/utils/data.ts": "./src/utils/data.browser.ts",
36
+ "./dist/cjs/utils/data.js": "./dist/cjs/utils/data.browser.js",
37
+ "./dist/mjs/utils/data.js": "./dist/mjs/utils/data.browser.js",
38
+ "./dist/cjs/utils/collection.node.js": "./dist/cjs/utils/collection.browser.js",
39
+ "./dist/mjs/utils/collection.node.js": "./dist/mjs/utils/collection.browser.js",
40
+ "./src/utils/collection.node.ts": "./src/utils/collection.browser.ts"
29
41
  },
30
42
  "files": [
31
43
  "dist"
32
44
  ],
33
- "types": "dist/src/index.d.ts",
34
45
  "scripts": {
35
- "prepublishOnly": "rimraf dist && npm run compile:types && npm run compile:browser --env mode=production && npm run compile:node --env mode=production",
36
- "compile:node": "webpack --progress --env target=node",
37
- "compile:types": "tsc --emitDeclarationOnly --declaration",
38
- "compile:browser": "webpack --progress --env target=web",
46
+ "prepublishOnly": "npm run build",
47
+ "build": "rimraf dist && npm run build:node && npm run build:types && npm run build:browser",
48
+ "build:node": "tsc -p tsconfig.json && tsc -p tsconfig-mjs.json && ./build-fixup",
49
+ "build:types": "tsc --emitDeclarationOnly --declaration --outDir dist/types",
50
+ "build:browser": "webpack --progress",
39
51
  "mock-ci": "npm run lint:check && npm run check:types && npm run test",
40
52
  "docs": "rimraf docs && typedoc",
41
- "test": "npm run compile:browser && jest --verbose --selectProjects=node:unit node:integration dom:integration --config=jest.config.ts",
42
- "test:integration:browser": "npm run compile:browser && jest --verbose --selectProjects=dom:integration --config=jest.config.ts",
53
+ "test": "npm run build:browser && jest --verbose --selectProjects=node:unit node:integration dom:integration --config=jest.config.ts",
54
+ "test:integration:browser": "npm run build:browser && jest --verbose --selectProjects=dom:integration --config=jest.config.ts",
43
55
  "test:integration:node": "jest --verbose --selectProjects=node:integration --config=jest.config.ts",
44
- "test:integration": "npm run compile:browser && jest --verbose --selectProjects=node:integration dom:integration --config=jest.config.ts",
56
+ "test:integration": "npm run build:browser && jest --verbose --selectProjects=node:integration dom:integration --config=jest.config.ts",
45
57
  "test:unit": "jest --verbose --selectProjects=node:unit --config=jest.config.ts ",
46
58
  "test:node": "jest --verbose --selectProjects=node:unit node:integration --config=jest.config.ts",
47
59
  "test:browser": "npm run test:integration:browser",
@@ -51,7 +63,7 @@
51
63
  "depcheck": "depcheck ."
52
64
  },
53
65
  "dependencies": {
54
- "@types/readable-stream": "^2.3.11",
66
+ "@types/readable-stream": "^2.3.13",
55
67
  "bufferutil": "^4.0.3",
56
68
  "cross-blob": "^2.0.1",
57
69
  "elliptic": "^6.5.4",
@@ -60,31 +72,33 @@
60
72
  "ky": "^0.25.1",
61
73
  "ky-universal": "^0.8.2",
62
74
  "readable-stream": "^3.6.0",
75
+ "semver": "^7.3.5",
63
76
  "tar-js": "^0.3.0",
64
77
  "utf-8-validate": "^5.0.8",
65
78
  "web-streams-polyfill": "^3.1.0",
66
- "ws": "^7.5.0"
79
+ "ws": "^8.5.0"
67
80
  },
68
81
  "devDependencies": {
69
82
  "@babel/core": "^7.14.6",
70
83
  "@babel/plugin-proposal-class-properties": "^7.16.7",
71
84
  "@babel/plugin-transform-runtime": "^7.14.5",
72
- "@babel/preset-env": "^7.14.7",
85
+ "@babel/preset-env": "^7.16.11",
73
86
  "@babel/preset-typescript": "^7.14.5",
74
87
  "@commitlint/cli": "^12.1.1",
75
88
  "@commitlint/config-conventional": "^16.0.0",
76
89
  "@fluffy-spoon/substitute": "^1.208.0",
77
- "@jest/test-sequencer": "^27.0.5",
90
+ "@jest/test-sequencer": "^27.5.0",
78
91
  "@jest/types": "^27.0.2",
79
92
  "@types/content-disposition": "^0.5.4",
80
93
  "@types/debug": "^4.1.7",
81
94
  "@types/elliptic": "^6.4.12",
82
- "@types/expect-puppeteer": "^4.4.5",
95
+ "@types/expect-puppeteer": "^4.4.7",
83
96
  "@types/glob": "^7.1.3",
84
97
  "@types/jest": "^26.0.23",
85
98
  "@types/jest-environment-puppeteer": "^4.4.1",
86
99
  "@types/node": "^15.12.4",
87
100
  "@types/puppeteer": "^5.4.3",
101
+ "@types/semver": "^7.3.9",
88
102
  "@types/ws": "^7.4.5",
89
103
  "@typescript-eslint/eslint-plugin": "^5.10.0",
90
104
  "@typescript-eslint/parser": "^5.10.0",
@@ -92,31 +106,33 @@
92
106
  "babel-loader": "^8.2.2",
93
107
  "debug": "^4.3.1",
94
108
  "depcheck": "^1.4.3",
95
- "eslint": "^8.7.0",
109
+ "eslint": "^8.8.0",
96
110
  "eslint-config-prettier": "^8.3.0",
97
111
  "eslint-plugin-jest": "^25.7.0",
98
112
  "eslint-plugin-prettier": "^4.0.0",
99
113
  "eslint-plugin-unused-imports": "^2.0.0",
100
114
  "glob": "^7.1.7",
101
115
  "husky": "^6.0.0",
102
- "jest": "^27.0.5",
116
+ "jest": "^27.4.7",
103
117
  "jest-puppeteer": "^5.0.4",
104
118
  "nock": "^13.2.2",
105
119
  "prettier": "^2.3.1",
106
- "puppeteer": "^9.1.1",
120
+ "puppeteer": "^13.2.0",
107
121
  "rimraf": "^3.0.2",
108
122
  "terser-webpack-plugin": "^5.3.0",
109
- "ts-node": "^10.0.0",
123
+ "ts-node": "^10.4.0",
110
124
  "typedoc": "^0.22.11",
111
125
  "typedoc-plugin-markdown": "^3.11.12",
112
126
  "typescript": "^4.5.4",
113
- "webpack": "^5.65.0",
127
+ "webpack": "^5.68.0",
114
128
  "webpack-bundle-analyzer": "^4.4.1",
115
129
  "webpack-cli": "^4.9.2"
116
130
  },
117
131
  "engines": {
118
132
  "node": ">=12.0.0",
119
133
  "npm": ">=6.0.0",
120
- "bee": "1.4.1-238867f1"
134
+ "beeApiVersion": "2.0.0",
135
+ "beeDebugApiVersion": "1.2.1",
136
+ "bee": "1.4.3-1213e063"
121
137
  }
122
138
  }