@bitgo/statics 6.16.0-rc.1 → 6.16.0-rc.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -15,7 +15,7 @@
15
15
 
16
16
  ### Get the number of decimal places in a Bitcoin
17
17
 
18
- #### Javascript
18
+ #### JavaScript
19
19
  ```js
20
20
  const { coins } = require('@bitgo/statics');
21
21
 
@@ -23,7 +23,7 @@ const btc = coins.get('btc');
23
23
  console.log(btc.decimalPlaces);
24
24
  ```
25
25
 
26
- #### Typescript
26
+ #### TypeScript
27
27
  ```typescript
28
28
  import { coins } from '@bitgo/statics';
29
29
 
@@ -33,7 +33,7 @@ console.log(btc.decimalPlaces);
33
33
 
34
34
  ### Get the contract address for the OmiseGo ERC20 Token
35
35
 
36
- #### Javascript
36
+ #### JavaScript
37
37
  ```js
38
38
  const { coins } = require('@bitgo/statics');
39
39
 
@@ -41,7 +41,7 @@ const omg = coins.get('omg');
41
41
  console.log(omg.contractAddress);
42
42
  ```
43
43
 
44
- #### Typescript
44
+ #### TypeScript
45
45
  ```typescript
46
46
  import { coins, Erc20Coin } from '@bitgo/statics';
47
47
 
@@ -53,7 +53,7 @@ if (omg instanceof Erc20Coin) {
53
53
 
54
54
  ### List full names of all defined coins
55
55
 
56
- #### Javascript
56
+ #### JavaScript
57
57
  ```js
58
58
  const { coins } = require('@bitgo/statics');
59
59
 
@@ -62,7 +62,7 @@ coins.forEach((coin) => {
62
62
  });
63
63
  ```
64
64
 
65
- #### Typescript
65
+ #### TypeScript
66
66
  ```typescript
67
67
  import { coins } from '@bitgo/statics';
68
68
 
@@ -97,13 +97,13 @@ $ # (optionally) nvm use 8.6.0
97
97
  $ npm install
98
98
  ```
99
99
 
100
- To build the project (from TypeScript to Javascript):
100
+ To build the project (from TypeScript to JavaScript):
101
101
 
102
102
  ```
103
103
  $ npm run build
104
104
  ```
105
105
 
106
- This builds the Javascript and adds it to `dist/src/`. You will receive compilation errors if you have invalid syntax.
106
+ This builds the JavaScript and adds it to `dist/src/`. You will receive compilation errors if you have invalid syntax.
107
107
 
108
108
 
109
109
  ## Tests