diff --git a/package-lock.json b/package-lock.json index 1b1f804c..7d58d1e5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "dependencies": { "@ethereumjs/wallet": "^2.0.4", "@ethersphere/bee-js": "^12.0.0", - "@upcoming/swarm-core": "^0.0.8", + "@ethersphere/core-sdk": "^0.1.1", "cafe-utility": "^33.3.1", "chalk": "^2.4.2", "cli-progress": "^3.11.2", @@ -1139,6 +1139,46 @@ "integrity": "sha512-4gxiVyngFbRa1G10+DIDUjk/Qu8OMxgK5bnNXMj4y80Tc+RLdZlk+pE7scgediQS2cxn8L+3XauS8tE62EfsTg==", "license": "MIT" }, + "node_modules/@ethersphere/core-sdk": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/@ethersphere/core-sdk/-/core-sdk-0.1.1.tgz", + "integrity": "sha512-qnDZleD2YK3s5PN/tXc8LnEtzh6BdcPTBjv7baoKSPMQPLeZ9wN/9qH1Zr2FNwhMgAIhgsqV7fB65LlzQ/a7oQ==", + "license": "BSD-3-Clause", + "dependencies": { + "@noble/curves": "^1.9.7", + "@noble/hashes": "^1.8.0" + }, + "engines": { + "node": ">=22" + } + }, + "node_modules/@ethersphere/core-sdk/node_modules/@noble/curves": { + "version": "1.9.7", + "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.9.7.tgz", + "integrity": "sha512-gbKGcRUYIjA3/zCCNaWDciTMFI0dCkvou3TL8Zmy5Nc7sJ47a0jtOeZoTaMxkuqRo9cRhjOdZJXegxYE5FN/xw==", + "license": "MIT", + "dependencies": { + "@noble/hashes": "1.8.0" + }, + "engines": { + "node": "^14.21.3 || >=16" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/@ethersphere/core-sdk/node_modules/@noble/hashes": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.8.0.tgz", + "integrity": "sha512-jCs9ldd7NwzpgXDIf6P3+NrHh9/sD6CQdxHyjQI+h/6rDNo88ypBxxz45UDuZHz9r3tNz7N/VInSVoVdtXEI4A==", + "license": "MIT", + "engines": { + "node": "^14.21.3 || >=16" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, "node_modules/@humanwhocodes/config-array": { "version": "0.11.7", "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.7.tgz", @@ -2535,45 +2575,6 @@ "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } }, - "node_modules/@upcoming/swarm-core": { - "version": "0.0.8", - "resolved": "https://registry.npmjs.org/@upcoming/swarm-core/-/swarm-core-0.0.8.tgz", - "integrity": "sha512-gLiHUAUib7dDSM1KqHzKSTWIBx/8zXDOU1K6kXXft3R9tAGCahK/uLYnVbPOu28UKkY49Wfon9fQbnyf7dusxQ==", - "dependencies": { - "@noble/curves": "^1.9.7", - "@noble/hashes": "^1.8.0" - }, - "engines": { - "node": ">=22" - } - }, - "node_modules/@upcoming/swarm-core/node_modules/@noble/curves": { - "version": "1.9.7", - "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.9.7.tgz", - "integrity": "sha512-gbKGcRUYIjA3/zCCNaWDciTMFI0dCkvou3TL8Zmy5Nc7sJ47a0jtOeZoTaMxkuqRo9cRhjOdZJXegxYE5FN/xw==", - "license": "MIT", - "dependencies": { - "@noble/hashes": "1.8.0" - }, - "engines": { - "node": "^14.21.3 || >=16" - }, - "funding": { - "url": "https://paulmillr.com/funding/" - } - }, - "node_modules/@upcoming/swarm-core/node_modules/@noble/hashes": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.8.0.tgz", - "integrity": "sha512-jCs9ldd7NwzpgXDIf6P3+NrHh9/sD6CQdxHyjQI+h/6rDNo88ypBxxz45UDuZHz9r3tNz7N/VInSVoVdtXEI4A==", - "license": "MIT", - "engines": { - "node": "^14.21.3 || >=16" - }, - "funding": { - "url": "https://paulmillr.com/funding/" - } - }, "node_modules/acorn": { "version": "8.8.1", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.1.tgz", diff --git a/package.json b/package.json index eed614b8..daf2496d 100644 --- a/package.json +++ b/package.json @@ -64,8 +64,8 @@ }, "dependencies": { "@ethereumjs/wallet": "^2.0.4", - "@ethersphere/bee-js": "^12.0.0", - "@upcoming/swarm-core": "^0.0.8", + "@ethersphere/bee-js": "^13.0.0", + "@ethersphere/core-sdk": "^0.1.1", "cafe-utility": "^33.3.1", "chalk": "^2.4.2", "cli-progress": "^3.11.2", diff --git a/src/command/manifest/sync.ts b/src/command/manifest/sync.ts index ff55b8c2..419c556c 100644 --- a/src/command/manifest/sync.ts +++ b/src/command/manifest/sync.ts @@ -1,5 +1,5 @@ import { MantarayNode, RedundancyLevel } from '@ethersphere/bee-js' -import { ChunkSplitter, makeErasureBatch, makeIntermediateChunkHandler } from '@upcoming/swarm-core' +import { ChunkSplitter, makeErasureBatch, makeIntermediateChunkHandler } from '@ethersphere/core-sdk' import { Binary, Optional } from 'cafe-utility' import chalk from 'chalk' import { readFileSync } from 'fs'