Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 630 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 630 Bytes

This is a patched version of near-sdk-js that is used in AgorApp online IDE.

Changes:

  • We have exported type NearVmEnv, that allows us to mock the VM environment.
  • We have changed the module system to Common.js, as AgorApp currently does not support ESM.

How to release new version

pnpm i
pnpm run build

cd packages/near-sdk-js
pnpm pack

# Clone the repo to some other directory
git clone [email protected]:agorapp-dao/near-sdk-js.git
cd near-sdk-js
git checkout --orphan v2
git rm -rf .
# Copy the contents of the tarball generated by pnpm pack
git add .
git commit -am 'v2'
git push --set-upstream origin v2