@snapshot-labs/snapshot.js 0.7.2 → 0.7.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snapshot-labs/snapshot.js",
3
- "version": "0.7.2",
3
+ "version": "0.7.3",
4
4
  "repository": "snapshot-labs/snapshot.js",
5
5
  "license": "MIT",
6
6
  "main": "dist/snapshot.cjs.js",
@@ -0,0 +1,18 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$ref": "#/definitions/Alias",
4
+ "definitions": {
5
+ "Alias": {
6
+ "title": "Alias",
7
+ "type": "object",
8
+ "properties": {
9
+ "alias": {
10
+ "type": "string",
11
+ "format": "address"
12
+ }
13
+ },
14
+ "required": ["alias"],
15
+ "additionalProperties": false
16
+ }
17
+ }
18
+ }
@@ -5,6 +5,7 @@ import vote from './vote.json';
5
5
  import profile from './profile.json';
6
6
  import statement from './statement.json';
7
7
  import zodiac from './zodiac.json';
8
+ import alias from './alias.json';
8
9
 
9
10
  export default {
10
11
  space: space.definitions.Space,
@@ -13,5 +14,6 @@ export default {
13
14
  vote: vote.definitions.Vote,
14
15
  profile: profile.definitions.Profile,
15
16
  statement: statement.definitions.Statement,
16
- zodiac: zodiac.definitions.Zodiac
17
+ zodiac: zodiac.definitions.Zodiac,
18
+ alias: alias.definitions.Alias
17
19
  };