mirror of
				https://github.com/Xahau/xahau.js.git
				synced 2025-11-04 04:55:48 +00:00 
			
		
		
		
	refactor: use xrpl-codec-gen for definitions.json (#2037)
				
					
				
			* Update definitions.json * update CONTRIBUTING * fix tests * fix UNL
This commit is contained in:
		@@ -83,6 +83,9 @@ npm run docgen
 | 
			
		||||
 | 
			
		||||
This updates `docs/` at the top level, where GitHub Pages looks for the docs.
 | 
			
		||||
 | 
			
		||||
## Update `definitions.json`
 | 
			
		||||
Use [this repo](https://github.com/RichardAH/xrpl-codec-gen) to generate a new `definitions.json` file from the rippled source code. Instructions are available in that README.
 | 
			
		||||
 | 
			
		||||
## Adding and removing packages
 | 
			
		||||
 | 
			
		||||
`xrpl.js` uses `lerna` and `npm`'s workspaces features to manage a monorepo.
 | 
			
		||||
 
 | 
			
		||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							@@ -483,13 +483,6 @@
 | 
			
		||||
            "type": 5,
 | 
			
		||||
            "expected_hex": "5013"
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
            "type_name": "Hash256",
 | 
			
		||||
            "name": "TicketID",
 | 
			
		||||
            "nth_of_type": 20,
 | 
			
		||||
            "type": 5,
 | 
			
		||||
            "expected_hex": "5014"
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
            "type_name": "Hash256",
 | 
			
		||||
            "name": "Digest",
 | 
			
		||||
@@ -721,13 +714,6 @@
 | 
			
		||||
            "type": 8,
 | 
			
		||||
            "expected_hex": "84"
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
            "type_name": "AccountID",
 | 
			
		||||
            "name": "Target",
 | 
			
		||||
            "nth_of_type": 7,
 | 
			
		||||
            "type": 8,
 | 
			
		||||
            "expected_hex": "87"
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
            "type_name": "AccountID",
 | 
			
		||||
            "name": "RegularKey",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user