From 446c0310a5247362f9fb2eb6cb27a84622ce9f29 Mon Sep 17 00:00:00 2001 From: danielailie Date: Wed, 16 Oct 2024 11:51:17 +0300 Subject: [PATCH 1/3] Update sdk-core version --- package-lock.json | 49 +++++++++++++++++++++++++++++++++++++++++------ package.json | 2 +- 2 files changed, 44 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 709b56b49..e93299fa0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,7 @@ "@aws-sdk/lib-storage": "^3.438.0", "@elastic/elasticsearch": "7.12.0", "@golevelup/nestjs-rabbitmq": "5.5.0", - "@multiversx/sdk-core": "13.7.0", + "@multiversx/sdk-core": "13.10.0-alpha.0", "@multiversx/sdk-native-auth-server": "1.0.20", "@multiversx/sdk-nestjs-cache": "3.7.8", "@multiversx/sdk-nestjs-common": "3.7.8", @@ -6393,23 +6393,42 @@ } }, "node_modules/@multiversx/sdk-core": { - "version": "13.7.0", - "resolved": "https://registry.npmjs.org/@multiversx/sdk-core/-/sdk-core-13.7.0.tgz", - "integrity": "sha512-79hy6fP1FpSKZ0kmcvLUQ3nbgzWYDt6uVRQS8NejLAw/J8Cgi3QQIOlFx5JvxS7t5cLUzPS7ovftFz1PTJdLuA==", + "version": "13.10.0-alpha.0", + "resolved": "https://registry.npmjs.org/@multiversx/sdk-core/-/sdk-core-13.10.0-alpha.0.tgz", + "integrity": "sha512-0oXCcVpXaQ/ULN/CkNgl3TyRwiGDaul8uWx2Is+fPLB2M1gB9eQLmuiBSK4UyPMqtvzchu+d3rU/Kmf8/cuZ0Q==", "dependencies": { "@multiversx/sdk-transaction-decoder": "1.0.2", + "@noble/ed25519": "1.7.3", + "@noble/hashes": "1.3.0", "bech32": "1.1.4", + "bip39": "3.1.0", "blake2b": "2.1.3", "buffer": "6.0.3", + "ed25519-hd-key": "1.1.2", + "ed2curve": "0.3.0", "json-bigint": "1.0.0", - "keccak": "3.0.2" + "keccak": "3.0.2", + "scryptsy": "2.1.0", + "tweetnacl": "1.0.3", + "uuid": "8.3.2" + }, + "optionalDependencies": { + "@multiversx/sdk-bls-wasm": "0.3.5", + "axios": "^1.7.4" }, "peerDependencies": { - "axios": "^1.7.4", "bignumber.js": "^9.0.1", "protobufjs": "^7.2.6" } }, + "node_modules/@multiversx/sdk-core/node_modules/bip39": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/bip39/-/bip39-3.1.0.tgz", + "integrity": "sha512-c9kiwdk45Do5GL0vJMe7tS95VjCii65mYAH7DfWl3uW8AVzXKQVUm64i3hzVybBDMp9r7j9iNxR85+ul8MdN/A==", + "dependencies": { + "@noble/hashes": "^1.2.0" + } + }, "node_modules/@multiversx/sdk-native-auth-client": { "version": "1.0.9", "resolved": "https://registry.npmjs.org/@multiversx/sdk-native-auth-client/-/sdk-native-auth-client-1.0.9.tgz", @@ -6482,6 +6501,24 @@ "@nestjs/swagger": "^7.x" } }, + "node_modules/@multiversx/sdk-nestjs-common/node_modules/@multiversx/sdk-core": { + "version": "13.9.0", + "resolved": "https://registry.npmjs.org/@multiversx/sdk-core/-/sdk-core-13.9.0.tgz", + "integrity": "sha512-WYA5fssMt/jTRTT+dkZW6V0ykCrkczhJ3BbZni6LhHjwFti7lMboVdoUMCIyPbecWZIEdmLq0OTcjOLy9tZX0g==", + "dependencies": { + "@multiversx/sdk-transaction-decoder": "1.0.2", + "bech32": "1.1.4", + "blake2b": "2.1.3", + "buffer": "6.0.3", + "json-bigint": "1.0.0", + "keccak": "3.0.2" + }, + "peerDependencies": { + "axios": "^1.7.4", + "bignumber.js": "^9.0.1", + "protobufjs": "^7.2.6" + } + }, "node_modules/@multiversx/sdk-nestjs-elastic": { "version": "3.7.8", "resolved": "https://registry.npmjs.org/@multiversx/sdk-nestjs-elastic/-/sdk-nestjs-elastic-3.7.8.tgz", diff --git a/package.json b/package.json index 7672fa580..1bfd629a7 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "@aws-sdk/lib-storage": "^3.438.0", "@elastic/elasticsearch": "7.12.0", "@golevelup/nestjs-rabbitmq": "5.5.0", - "@multiversx/sdk-core": "13.7.0", + "@multiversx/sdk-core": "13.10.0-alpha.0", "@multiversx/sdk-native-auth-server": "1.0.20", "@multiversx/sdk-nestjs-cache": "3.7.8", "@multiversx/sdk-nestjs-common": "3.7.8", From 089ae8933d9f81577561bb697236be10b7f66b93 Mon Sep 17 00:00:00 2001 From: danielailie Date: Wed, 16 Oct 2024 14:04:54 +0300 Subject: [PATCH 2/3] Update version with alpha --- package-lock.json | 48 +++++++++++++++++++++++------------------------ package.json | 5 +++++ 2 files changed, 29 insertions(+), 24 deletions(-) diff --git a/package-lock.json b/package-lock.json index e93299fa0..9a8d5ef4e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6421,14 +6421,6 @@ "protobufjs": "^7.2.6" } }, - "node_modules/@multiversx/sdk-core/node_modules/bip39": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/bip39/-/bip39-3.1.0.tgz", - "integrity": "sha512-c9kiwdk45Do5GL0vJMe7tS95VjCii65mYAH7DfWl3uW8AVzXKQVUm64i3hzVybBDMp9r7j9iNxR85+ul8MdN/A==", - "dependencies": { - "@noble/hashes": "^1.2.0" - } - }, "node_modules/@multiversx/sdk-native-auth-client": { "version": "1.0.9", "resolved": "https://registry.npmjs.org/@multiversx/sdk-native-auth-client/-/sdk-native-auth-client-1.0.9.tgz", @@ -6618,15 +6610,15 @@ "integrity": "sha512-LcknSilhIGatDAsY1ak2I8VtGaHNhgMSYVxFrGLXv+xLHytaKZKcaUJJUE7qmBr7h33o5YQwP55pMI0xmkpJwg==" }, "node_modules/@multiversx/sdk-wallet": { - "version": "4.5.1", - "resolved": "https://registry.npmjs.org/@multiversx/sdk-wallet/-/sdk-wallet-4.5.1.tgz", - "integrity": "sha512-rvaMUV6OxNj9gchOn7wSCPZcWc6hjs1nQuY6QwnaEcBfPsHtFemNNt+t3uxPZOrDhAwXqUgyy9WdltvOs8somg==", + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/@multiversx/sdk-wallet/-/sdk-wallet-4.6.0.tgz", + "integrity": "sha512-SxO/hBTnAB+uWH4MJdwKLvfRk8cxdA8zi6JC4I9j1+V+XQJpfs2YHCvMmaVyIAqjmSg9i7Uk61exrDkR3bjPAw==", "dependencies": { "@multiversx/sdk-bls-wasm": "0.3.5", "@noble/ed25519": "1.7.3", "@noble/hashes": "1.3.0", "bech32": "1.1.4", - "bip39": "3.0.2", + "bip39": "3.1.0", "blake2b": "2.1.3", "ed25519-hd-key": "1.1.2", "ed2curve": "0.3.0", @@ -11168,21 +11160,13 @@ "integrity": "sha512-VOMgTMwjAaUG580SXn3LacVgjurrbMme7ZZNYGSSV7mmtY6QQRh0Eg3pwIcntQ77DErK1L0NxkbetjcoXzVwKw==" }, "node_modules/bip39": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/bip39/-/bip39-3.0.2.tgz", - "integrity": "sha512-J4E1r2N0tUylTKt07ibXvhpT2c5pyAFgvuA5q1H9uDy6dEGpjV8jmymh3MTYJDLCNbIVClSB9FbND49I6N24MQ==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/bip39/-/bip39-3.1.0.tgz", + "integrity": "sha512-c9kiwdk45Do5GL0vJMe7tS95VjCii65mYAH7DfWl3uW8AVzXKQVUm64i3hzVybBDMp9r7j9iNxR85+ul8MdN/A==", "dependencies": { - "@types/node": "11.11.6", - "create-hash": "^1.1.0", - "pbkdf2": "^3.0.9", - "randombytes": "^2.0.1" + "@noble/hashes": "^1.2.0" } }, - "node_modules/bip39/node_modules/@types/node": { - "version": "11.11.6", - "resolved": "https://registry.npmjs.org/@types/node/-/node-11.11.6.tgz", - "integrity": "sha512-Exw4yUWMBXM3X+8oqzJNRqZSwUAaS4+7NdvHqQuFi/d+synz++xmX3QIf+BFqneW8N31R8Ky+sikfZUXq07ggQ==" - }, "node_modules/bitsyntax": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/bitsyntax/-/bitsyntax-0.1.0.tgz", @@ -12663,6 +12647,22 @@ "tweetnacl": "1.0.3" } }, + "node_modules/ed25519-hd-key/node_modules/@types/node": { + "version": "11.11.6", + "resolved": "https://registry.npmjs.org/@types/node/-/node-11.11.6.tgz", + "integrity": "sha512-Exw4yUWMBXM3X+8oqzJNRqZSwUAaS4+7NdvHqQuFi/d+synz++xmX3QIf+BFqneW8N31R8Ky+sikfZUXq07ggQ==" + }, + "node_modules/ed25519-hd-key/node_modules/bip39": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/bip39/-/bip39-3.0.2.tgz", + "integrity": "sha512-J4E1r2N0tUylTKt07ibXvhpT2c5pyAFgvuA5q1H9uDy6dEGpjV8jmymh3MTYJDLCNbIVClSB9FbND49I6N24MQ==", + "dependencies": { + "@types/node": "11.11.6", + "create-hash": "^1.1.0", + "pbkdf2": "^3.0.9", + "randombytes": "^2.0.1" + } + }, "node_modules/ed2curve": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/ed2curve/-/ed2curve-0.3.0.tgz", diff --git a/package.json b/package.json index 1bfd629a7..f96d4540e 100644 --- a/package.json +++ b/package.json @@ -102,6 +102,11 @@ "typeorm": "0.3.16", "winston": "3.7.2" }, + "overrides": { + "@multiversx/sdk-native-auth-server": { + "@multiversx/sdk-core": "13.10.0-alpha.0" + } + }, "devDependencies": { "@nestjs/cli": "10.4.5", "@nestjs/schematics": "10.1.4", From d44a37b1dc3c5dc95d37e9a0cabc6fe2f03654e3 Mon Sep 17 00:00:00 2001 From: danielailie Date: Wed, 16 Oct 2024 15:30:52 +0300 Subject: [PATCH 3/3] Remove overrides --- package-lock.json | 26 ++++---------------------- package.json | 7 +------ 2 files changed, 5 insertions(+), 28 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9a8d5ef4e..2a286812c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,7 @@ "@aws-sdk/lib-storage": "^3.438.0", "@elastic/elasticsearch": "7.12.0", "@golevelup/nestjs-rabbitmq": "5.5.0", - "@multiversx/sdk-core": "13.10.0-alpha.0", + "@multiversx/sdk-core": "13.10.0", "@multiversx/sdk-native-auth-server": "1.0.20", "@multiversx/sdk-nestjs-cache": "3.7.8", "@multiversx/sdk-nestjs-common": "3.7.8", @@ -6393,9 +6393,9 @@ } }, "node_modules/@multiversx/sdk-core": { - "version": "13.10.0-alpha.0", - "resolved": "https://registry.npmjs.org/@multiversx/sdk-core/-/sdk-core-13.10.0-alpha.0.tgz", - "integrity": "sha512-0oXCcVpXaQ/ULN/CkNgl3TyRwiGDaul8uWx2Is+fPLB2M1gB9eQLmuiBSK4UyPMqtvzchu+d3rU/Kmf8/cuZ0Q==", + "version": "13.10.0", + "resolved": "https://registry.npmjs.org/@multiversx/sdk-core/-/sdk-core-13.10.0.tgz", + "integrity": "sha512-VYkVn3RwK+7raNx8QCfrJMhxrZ6x8LsuPsGrVkgoaL0ze7aNQejBwh5Ci5CxexCV6dv0gxqRwkn+ezaZBTG3/A==", "dependencies": { "@multiversx/sdk-transaction-decoder": "1.0.2", "@noble/ed25519": "1.7.3", @@ -6493,24 +6493,6 @@ "@nestjs/swagger": "^7.x" } }, - "node_modules/@multiversx/sdk-nestjs-common/node_modules/@multiversx/sdk-core": { - "version": "13.9.0", - "resolved": "https://registry.npmjs.org/@multiversx/sdk-core/-/sdk-core-13.9.0.tgz", - "integrity": "sha512-WYA5fssMt/jTRTT+dkZW6V0ykCrkczhJ3BbZni6LhHjwFti7lMboVdoUMCIyPbecWZIEdmLq0OTcjOLy9tZX0g==", - "dependencies": { - "@multiversx/sdk-transaction-decoder": "1.0.2", - "bech32": "1.1.4", - "blake2b": "2.1.3", - "buffer": "6.0.3", - "json-bigint": "1.0.0", - "keccak": "3.0.2" - }, - "peerDependencies": { - "axios": "^1.7.4", - "bignumber.js": "^9.0.1", - "protobufjs": "^7.2.6" - } - }, "node_modules/@multiversx/sdk-nestjs-elastic": { "version": "3.7.8", "resolved": "https://registry.npmjs.org/@multiversx/sdk-nestjs-elastic/-/sdk-nestjs-elastic-3.7.8.tgz", diff --git a/package.json b/package.json index f96d4540e..19b5fe31b 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "@aws-sdk/lib-storage": "^3.438.0", "@elastic/elasticsearch": "7.12.0", "@golevelup/nestjs-rabbitmq": "5.5.0", - "@multiversx/sdk-core": "13.10.0-alpha.0", + "@multiversx/sdk-core": "13.10.0", "@multiversx/sdk-native-auth-server": "1.0.20", "@multiversx/sdk-nestjs-cache": "3.7.8", "@multiversx/sdk-nestjs-common": "3.7.8", @@ -102,11 +102,6 @@ "typeorm": "0.3.16", "winston": "3.7.2" }, - "overrides": { - "@multiversx/sdk-native-auth-server": { - "@multiversx/sdk-core": "13.10.0-alpha.0" - } - }, "devDependencies": { "@nestjs/cli": "10.4.5", "@nestjs/schematics": "10.1.4",