diff --git a/.circleci/config.yml b/.circleci/config.yml index 6dc658866..01f231695 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -152,32 +152,6 @@ jobs: - clear_environment: cache_key: aleo-clippy-cache - aleo-sdk-integration-tests: - docker: - - image: cimg/rust:1.71.1-node - resource_class: xlarge - steps: - - checkout - - setup_environment: - cache_key: aleo-executable-cache - - run: - name: Aleo SDK Integration Tests - no_output_timeout: 30m - command: | - curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh - cd wasm - wasm-pack build --target nodejs -- --features serial --no-default-features - cd .. - sudo npm install --global typescript - cargo install snarkos - snarkos start --dev 0 --beacon --nodisplay 1> /dev/null & - snarkos start --dev 1 --beacon --nodisplay 1> /dev/null & - snarkos start --dev 2 --beacon --nodisplay 1> /dev/null & - snarkos start --dev 3 --beacon --nodisplay 1> /dev/null & - cd sdk && npm install - sleep 200 - npm run integration - workflows: version: 2 diff --git a/sdk/package.json b/sdk/package.json index f4a10dc3f..4a7cc1d06 100644 --- a/sdk/package.json +++ b/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@aleohq/sdk", - "version": "0.5.10", + "version": "0.5.11", "description": "A Software Development Kit (SDK) for Zero-Knowledge Transactions", "collaborators": [ "The Aleo Team " @@ -38,8 +38,8 @@ }, "homepage": "https://github.com/AleoHQ/sdk#readme", "dependencies": { - "@aleohq/nodejs": "file:../wasm/pkg", - "@aleohq/wasm": "file:../wasm/pkg-parallel", + "@aleohq/nodejs": "0.5.10", + "@aleohq/wasm": "0.5.10", "axios": "^1.1.3", "comlink": "^4.4.1", "jsdoc": "^3.6.11", diff --git a/sdk/src/index.ts b/sdk/src/index.ts index c00477038..88f3833d1 100644 --- a/sdk/src/index.ts +++ b/sdk/src/index.ts @@ -153,7 +153,7 @@ export { }; // If using the SDK in a browser context, uncomment this line and run `npm run build:browser` -export * from './browser'; +// export * from './browser'; // The following imports and exports are for a NodeJS context - if using the SDK in a browser context, delete or comment out this line -//export * from './node'; +export * from './node';