@vechain/connex
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -458,6 +458,6 @@ /** | ||
transfers: Transfer[] | ||
decoded?: Decoded | { revertReason: string } | ||
decoded?: Decoded & { revertReason?: string } | ||
} | ||
type Decoded = { __length__: number } & { [field: string]: string } | ||
type Decoded = { [name: string]: any } & { [index: number]: any } | ||
} | ||
@@ -464,0 +464,0 @@ |
{ | ||
"name": "@vechain/connex", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "Standard interface to connect DApp with VeChain and user", | ||
@@ -5,0 +5,0 @@ "main": "", |
@@ -75,6 +75,6 @@ # Connex [![Gitter](https://badges.gitter.im/vechain/thor.svg)](https://gitter.im/vechain/thor?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) | ||
#### Angular does not find Connex | ||
I am using angular, have done all of the above and my IDE recognizes the Connex namespace however when I run or compile, i get the errors `Cannot find namespace 'Connex'` and / or `Property 'connex' does not exist on type 'Window'.` What is going wrong?<br> | ||
You are probably using a larger project with multiple project roots, just adding `@vechain/connex` to the root config is not enough in this case. You also have to find all `tsconfig.app.ts` and `tsconfig.spec.ts` files in your subprojects. While these inherrit from the main `tsconfig.json` you have to make sure it does not override the types with for example `"types": []` and that there is no confict with `typesRoots` | ||
#### TypeScript complier does not find Connex | ||
First, check `tsconfig.json` and make sure `@vechain/connex` is present in `compilerOptions.types`. Furthermore if you are doing an angular project and still get the error, you are probably using a larger project with multiple project roots, just adding `@vechain/connex` to the root config is not enough in this case. You also have to find all `tsconfig.app.ts` and `tsconfig.spec.ts` files in your sub-projects. While these inherit from the main `tsconfig.json` you have to make sure it does not override the types with for example `"types": []` and that there is no conflict with `typesRoots` | ||
## License | ||
@@ -81,0 +81,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25884