diff --git a/README.md b/README.md index 5e416e7..63d4849 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ See more output options by running `npx func-js -h` ```typescript import {compileFunc, compilerVersion} from '@ton-community/func-js'; -import {Cell} from 'ton'; +import {Cell} from '@ton/core'; async function main() { // You can get compiler version diff --git a/package.json b/package.json index f444b24..90a3f0f 100644 --- a/package.json +++ b/package.json @@ -23,8 +23,8 @@ "devDependencies": { "@types/jest": "^29.5.0", "jest": "^29.5.0", - "ton-core": "^0.49.0", - "ton-crypto": "^3.2.0", + "@ton/core": "^0.49.1", + "@ton/crypto": "^3.2.0", "ts-jest": "^29.1.0", "typescript": "^4.9.5" }, diff --git a/test/compiler.spec.ts b/test/compiler.spec.ts index e084962..2474dc5 100644 --- a/test/compiler.spec.ts +++ b/test/compiler.spec.ts @@ -1,6 +1,6 @@ import {compileFunc, compilerVersion, SuccessResult, ErrorResult, mapSourceResolver, latestCompiler} from '../src/index'; import fs from 'fs'; -import {Cell} from 'ton-core'; +import {Cell} from '@ton/core'; describe('func-js', () => { const walletCodeCellHash = Buffer.from("hA3nAz+xEJePYGrDyjJ+BXBcxSp9Y2xaAFLRgGntfDs=", 'base64'); @@ -165,4 +165,4 @@ describe('func-js', () => { it('should validate version', async () => { expect(await latestCompiler.validateVersion()).toBe(true); }) -}); \ No newline at end of file +}); diff --git a/yarn.lock b/yarn.lock index 0260149..a01ee4a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -723,6 +723,29 @@ resolved "https://registry.yarnpkg.com/@ton-community/func-js-bin/-/func-js-bin-0.4.6-wasmfix.debugger.0.tgz#26af588cf4c0a10ba4d2cdfdcdc50b330edea19e" integrity sha512-g23zEoaTn5Rja6TBTZxX3E4zh+PlWnt7iRJJT5mPuUvQXhWB9wkx9VNZN8KpTdICJIXTW5b5wEE/801W14xQvg== +"@ton/core@^0.49.1": + version "0.49.2" + resolved "https://registry.yarnpkg.com/@ton/core/-/core-0.49.2.tgz#bb5f714f727cb98768d53bfb76b87133858e6bda" + integrity sha512-jzW7ZGNkkkv131uvgX/4JgHBdtEnanT8i1fnZ6NOL7lxXjlVIKTuAfr1J2wJQAGHn0wLrbceAHix3jKX+4F5CA== + dependencies: + symbol.inspect "1.0.1" + +"@ton/crypto-primitives@2.1.0": + version "2.1.0" + resolved "https://registry.yarnpkg.com/@ton/crypto-primitives/-/crypto-primitives-2.1.0.tgz#8c9277c250b59aae3c819e0d6bd61e44d998e9ca" + integrity sha512-PQesoyPgqyI6vzYtCXw4/ZzevePc4VGcJtFwf08v10OevVJHVfW238KBdpj1kEDQkxWLeuNHEpTECNFKnP6tow== + dependencies: + jssha "3.2.0" + +"@ton/crypto@^3.2.0": + version "3.3.0" + resolved "https://registry.yarnpkg.com/@ton/crypto/-/crypto-3.3.0.tgz#019103df6540fbc1d8102979b4587bc85ff9779e" + integrity sha512-/A6CYGgA/H36OZ9BbTaGerKtzWp50rg67ZCH2oIjV1NcrBaCK9Z343M+CxedvM7Haf3f/Ee9EhxyeTp0GKMUpA== + dependencies: + "@ton/crypto-primitives" "2.1.0" + jssha "3.2.0" + tweetnacl "1.0.3" + "@types/babel__core@^7.1.14": version "7.20.0" resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.20.0.tgz#61bc5a4cae505ce98e1e36c5445e4bee060d8891" @@ -2250,29 +2273,6 @@ to-regex-range@^5.0.1: dependencies: is-number "^7.0.0" -ton-core@^0.49.0: - version "0.49.0" - resolved "https://registry.yarnpkg.com/ton-core/-/ton-core-0.49.0.tgz#69d338daa72e33b36aea4fb02cb0c7b3bf2c668b" - integrity sha512-t3fhs9rb7JfOccSU966bLSHq5G4PYippaXpQJGZPvUwoNVdlM3/nUwz6S6cr/hsGbthRBzApl4FhJsDlx9r4vA== - dependencies: - symbol.inspect "1.0.1" - -ton-crypto-primitives@2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/ton-crypto-primitives/-/ton-crypto-primitives-2.0.0.tgz#e85cd68c0d523f6bdf3f306201a76e51b7e9312e" - integrity sha512-K+qKjpS0h9sPW6oExcpxnzuQ7nEgHEiDKwIqE/jWD25o8iFGe3FWj1gKxFNbKE9wwYKc5IV8FwrU+raF0KO5nQ== - dependencies: - jssha "3.2.0" - -ton-crypto@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/ton-crypto/-/ton-crypto-3.2.0.tgz#cf8cd5410d8f04b04b359f80415b11efb312c60e" - integrity sha512-fltdBNQ45gARMuGMEOjPZWPJ5eSql8p3CA0Dj7tPv5lhU5ziT8SxXLAzDraR9HJ8YpjBHLVvYyhMLRiEwxgtMQ== - dependencies: - jssha "3.2.0" - ton-crypto-primitives "2.0.0" - tweetnacl "1.0.3" - ts-jest@^29.1.0: version "29.1.0" resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-29.1.0.tgz#4a9db4104a49b76d2b368ea775b6c9535c603891"