Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@axelar-network/axelarjs-types

Package Overview
Dependencies
Maintainers
6
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@axelar-network/axelarjs-types - npm Package Compare versions

Comparing version 0.28.0-alpha.6 to 0.32.2

60

package.json
{
"name": "@axelar-network/axelarjs-types",
"version": "0.28.0-alpha.6",
"description": "JS and TS types relating to Protocol Buffers used by AxelarJS-SDK and other related projects",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/axelarnetwork/axelarjs-types"
"version": "0.32.2",
"description": "Axelarcore supporting protobuf types",
"files": [
"build",
"cosmos",
"gogoproto",
"google",
"sifnode"
],
"exports": {
"./*": {
"import": "./build/module/*.js",
"require": "./build/commonjs/*.js"
}
},
"publishConfig": {
"access": "public"
"typesVersions": {
"*": {
"*": [
"./build/module/*"
]
}
},
"files": [
"axelar/",
"cosmos/",
"google/",
"ibc/"
],
"scripts": {
"format": "prettier --write --loglevel warn \"./src/**/*.ts\"",
"codegen": "./scripts/codegen-axelar-sdk.sh && yarn format",
"prepare": "./scripts/prepare.sh",
"build": "tsc && yarn prepare"
"sync": "rimraf proto && degit axelarnetwork/axelar-core/proto/axelar#${TAG:-'main'} proto/axelar && degit axelarnetwork/axelar-core/third_party/proto#${TAG:-'main'} proto/third_party",
"codegen": "rimraf src/generated/proto/* && protoc -I=proto -I=proto/third_party proto/axelar/**/**/*.proto --plugin=./node_modules/.bin/protoc-gen-ts_proto --ts_proto_out=src --ts_proto_opt='esModuleInterop=true,forceLong=long,useOptionals=messages'",
"build": "rimraf build && pnpm tsc -m commonjs --outDir build/commonjs && pnpm tsc -m esnext --outDir build/module && cp -Rf build/commonjs/* .",
"compile": "pnpm tsc --noEmit"
},
"license": "Apache-2.0",
"dependencies": {
"long": "^4.0.0",
"protobufjs": "~6.11.2"
"long": "^5.2.0",
"protobufjs": "^7.0.0"
},
"devDependencies": {
"@types/long": "^4.0.1",
"@types/node": "^15.6.2",
"prettier": "^2.6",
"ts-proto": "^1.110",
"typescript": "~4.4"
},
"packageManager": "yarn@3.1.0"
"@tsconfig/node16-strictest-esm": "^1.0.3",
"degit": "^2.8.4",
"rimraf": "^4.1.3",
"ts-proto": "^1.121.5",
"typescript": "4.8.4"
}
}

@@ -1,26 +0,22 @@

# axelarjs-types
# @sifchain/proto-types
## Maintenance
JS and TS types relating to Protocol Buffers used by [SifNode](https://github.com/Sifchain/sifnode) and other related projects
This section is for maintainers of this repo, not users.
## Dependencies
### Getting started
To generate JS/TS code from protocol buufers, you need to install:
```sh
# Pull external code
git submodule init
git submodule update
- https://formulae.brew.sh/formula/protobuf#default
# Install dependencies
yarn install
You can use Brew on macOS:
# Setup SDK for IDE support (see https://next.yarnpkg.com/getting-started/editor-sdks)
yarn dlx @yarnpkg/sdks vscode
```
brew install protobuf
```
### Rebuilding types
## Rebuilding types
```sh
yarn codegen # Generate .ts files into ./src
yarn build # Build .js/.d.ts files
pnpm syncProto # sync protobuf definition files from sifnode
pnpm codegen # generate .js/.d.ts files
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc