{"_id":"@artela-next/aspect-libs","_rev":"1-ba16b760d224981f8219d4065c61e1f1","name":"@artela-next/aspect-libs","dist-tags":{"latest":"0.0.36"},"versions":{"0.0.36":{"name":"@artela-next/aspect-libs","version":"0.0.36","_id":"@artela-next/aspect-libs@0.0.36","maintainers":[{"name":"jack-artela","email":"jack@artela.network"}],"dist":{"shasum":"b8a1298e6cdc4f2c7ceba9e15780bdcdaed4a1ad","tarball":"https://registry.npmjs.org/@artela-next/aspect-libs/-/aspect-libs-0.0.36.tgz","fileCount":89,"integrity":"sha512-75lta6dIb0hfwa84Y7chbYM95QAIF75IEj9jEDRDQuECGg7coC7QTnD2kTboUaxBoLZ5mdxLz/9ClISChJ8FqA==","signatures":[{"sig":"MEYCIQCJ/UCMyD/ypS0C/FN7FQNX17Z0ede8kpZcMyG6tFnqwgIhAO0yWpiNK0+XZy/nrzI1Pqz9bOQq6tg8cGO241XWIj6b","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":207532},"main":"index.ts","types":"index.ts","module":"index.ts","ascMain":"index.ts","gitHead":"75d2c217615c535dc546e869ec4312cfba1fc3b9","scripts":{"lint":"prettier -c **/*.ts","build":"asc index.ts --lib aspect-libs -b aspect-libs.wasm --target release --optimize --disable bulk-memory --debug --runtime stub --exportRuntime --exportStart __aspect_start__","format":"prettier --write -c **/*.ts","typedoc":"npx typedoc --tsconfig typedoc.json"},"_npmUser":{"name":"jack-artela","email":"jack@artela.network"},"_npmVersion":"10.8.2","description":"AssemblyScript library for writing Artela Aspect","directories":{},"_nodeVersion":"22.7.0","dependencies":{"as-proto":"^1.3.0","assemblyscript":"^0.27.9"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typedoc":"^0.25.3","prettier":"^2.4.1","as-proto-gen":"^1.3.0","@mxssfd/typedoc-theme":"^1.1.3"},"_npmOperationalInternal":{"tmp":"tmp/aspect-libs_0.0.36_1724656075742_0.24113351382066228","host":"s3://npm-registry-packages"}}},"time":{"created":"2024-08-26T07:07:55.646Z","modified":"2024-09-11T04:17:08.140Z","0.0.36":"2024-08-26T07:07:55.910Z"},"description":"AssemblyScript library for writing Artela Aspect","maintainers":[{"email":"eric@artela.network","name":"eric.artela"},{"email":"jack@artela.network","name":"jack-artela"}],"readme":"# Aspect TypeScript Library (aspect-libs)\n\nTypeScript/AssemblyScript library for writing aspect to be deployed to\n[Artela](https://github.com/artela-network/artelamint).\n\n## Usage\n\nFor a detailed guide on how to create an Aspect, please see the\n[Aspect Dev Book]().\n\nOne step of creating the subgraph is writing mappings that will process blockchain events and will\nwrite entities into the store. These mappings are written in TypeScript/AssemblyScript.\n\nThe `aspect-libs` provides Host APIs to interact with the Aspect runtime, with this set of APIs, you can access blockchain data, smart\ncontracts, cryptographic functions, invoking system calls and more. To use it, all you have to do is add a\ndependency on it:\n\n```sh\nnpm install --dev @artela/aspect-libs # NPM\nyarn add --dev @artela/aspect-libs    # Yarn\n```\n\n! code example to be added:\n\n```typescript\n\n```\n\n## License\n\nCopyright &copy; 2023 Artela Network, Inc. and contributors.\n\nThe Aspect TypeScript library is dual-licensed under the [MIT license](LICENSE-MIT) and the\n[Apache License, Version 2.0](LICENSE-APACHE).\n\n\n","readmeFilename":"README.md"}