Page MenuHomePhabricator

[ecash-lib] Prepare ecash-lib for 0.1.0 release
ClosedPublic

Authored by tobias_ruck on May 11 2024, 00:16.

Details

Reviewers
bytesofman
Fabien
Group Reviewers
Restricted Project
Commits
rABC56702fcddf25: [ecash-lib] Prepare ecash-lib for 0.1.0 release
Summary
  • Removes the files from ./tests from the npm package (saving around 70kB)
  • Update package-lock.json (updates the chronik-client version)
Test Plan
  • Make sure ./src/ffi and ./dist are clean
  • Run build using ecash-lib-wasm ./dockerbuild.sh then npm run build in ecash-lib
  • In ecash-lib, run npm publish --dry-run, it should look like this:
npm notice 
npm notice 📦  ecash-lib@0.1.0
npm notice === Tarball Contents === 
npm notice 113B   .eslintignore                               
npm notice 72B    .nycrc                                      
npm notice 2.7kB  README.md                                   
npm notice 948B   dist/ecc.d.ts                               
npm notice 695B   dist/ecc.d.ts.map                           
npm notice 768B   dist/ecc.js                                 
npm notice 500B   dist/ecc.js.map                             
npm notice 72.1kB dist/ffi/ecash_lib_wasm_bg_browser.wasm     
npm notice 1.0kB  dist/ffi/ecash_lib_wasm_bg_browser.wasm.d.ts
npm notice 72.1kB dist/ffi/ecash_lib_wasm_bg_nodejs.wasm      
npm notice 1.0kB  dist/ffi/ecash_lib_wasm_bg_nodejs.wasm.d.ts 
npm notice 2.9kB  dist/ffi/ecash_lib_wasm_browser.d.ts        
npm notice 10.3kB dist/ffi/ecash_lib_wasm_browser.js          
npm notice 1.1kB  dist/ffi/ecash_lib_wasm_nodejs.d.ts         
npm notice 8.2kB  dist/ffi/ecash_lib_wasm_nodejs.js           
npm notice 473B   dist/hash.d.ts                              
npm notice 477B   dist/hash.d.ts.map                          
npm notice 744B   dist/hash.js                                
npm notice 523B   dist/hash.js.map                            
npm notice 656B   dist/index.d.ts                             
npm notice 544B   dist/index.d.ts.map                         
npm notice 2.0kB  dist/index.js                               
npm notice 415B   dist/index.js.map                           
npm notice 104B   dist/indexBrowser.d.ts                      
npm notice 160B   dist/indexBrowser.d.ts.map                  
npm notice 1.1kB  dist/indexBrowser.js                        
npm notice 195B   dist/indexBrowser.js.map                    
npm notice 102B   dist/indexNodeJs.d.ts                       
npm notice 158B   dist/indexNodeJs.d.ts.map                   
npm notice 1.1kB  dist/indexNodeJs.js                         
npm notice 193B   dist/indexNodeJs.js.map                     
npm notice 143B   dist/initBrowser.d.ts                       
npm notice 152B   dist/initBrowser.d.ts.map                   
npm notice 1.9kB  dist/initBrowser.js                         
npm notice 480B   dist/initBrowser.js.map                     
npm notice 145B   dist/initNodeJs.d.ts                        
npm notice 150B   dist/initNodeJs.d.ts.map                    
npm notice 1.8kB  dist/initNodeJs.js                          
npm notice 446B   dist/initNodeJs.js.map                      
npm notice 705B   dist/io/bytes.d.ts                          
npm notice 466B   dist/io/bytes.d.ts.map                      
npm notice 2.0kB  dist/io/bytes.js                            
npm notice 1.8kB  dist/io/bytes.js.map                        
npm notice 273B   dist/io/hex.d.ts                            
npm notice 318B   dist/io/hex.d.ts.map                        
npm notice 1.8kB  dist/io/hex.js                              
npm notice 2.1kB  dist/io/hex.js.map                          
npm notice 138B   dist/io/int.d.ts                            
npm notice 163B   dist/io/int.d.ts.map                        
npm notice 292B   dist/io/int.js                              
npm notice 142B   dist/io/int.js.map                          
npm notice 147B   dist/io/str.d.ts                            
npm notice 171B   dist/io/str.d.ts.map                        
npm notice 503B   dist/io/str.js                              
npm notice 293B   dist/io/str.js.map                          
npm notice 661B   dist/io/varsize.d.ts                        
npm notice 378B   dist/io/varsize.d.ts.map                    
npm notice 1.7kB  dist/io/varsize.js                          
npm notice 1.2kB  dist/io/varsize.js.map                      
npm notice 561B   dist/io/writer.d.ts                         
npm notice 486B   dist/io/writer.d.ts.map                     
npm notice 295B   dist/io/writer.js                           
npm notice 148B   dist/io/writer.js.map                       
npm notice 1.0kB  dist/io/writerbytes.d.ts                    
npm notice 652B   dist/io/writerbytes.d.ts.map                
npm notice 2.6kB  dist/io/writerbytes.js                      
npm notice 2.2kB  dist/io/writerbytes.js.map                  
npm notice 746B   dist/io/writerlength.d.ts                   
npm notice 546B   dist/io/writerlength.d.ts.map               
npm notice 1.1kB  dist/io/writerlength.js                     
npm notice 666B   dist/io/writerlength.js.map                 
npm notice 938B   dist/op.d.ts                                
npm notice 656B   dist/op.d.ts.map                            
npm notice 3.5kB  dist/op.js                                  
npm notice 3.1kB  dist/op.js.map                              
npm notice 4.6kB  dist/opcode.d.ts                            
npm notice 3.9kB  dist/opcode.d.ts.map                        
npm notice 6.2kB  dist/opcode.js                              
npm notice 4.0kB  dist/opcode.js.map                          
npm notice 2.6kB  dist/script.d.ts                            
npm notice 910B   dist/script.d.ts.map                        
npm notice 5.2kB  dist/script.js                              
npm notice 3.0kB  dist/script.js.map                          
npm notice 2.5kB  dist/sigHashType.d.ts                       
npm notice 1.4kB  dist/sigHashType.d.ts.map                   
npm notice 6.0kB  dist/sigHashType.js                         
npm notice 3.7kB  dist/sigHashType.js.map                     
npm notice 723B   dist/test/testRunner.d.ts                   
npm notice 739B   dist/test/testRunner.d.ts.map               
npm notice 7.1kB  dist/test/testRunner.js                     
npm notice 5.0kB  dist/test/testRunner.js.map                 
npm notice 1.3kB  dist/token/alp.d.ts                         
npm notice 806B   dist/token/alp.d.ts.map                     
npm notice 4.8kB  dist/token/alp.js                           
npm notice 4.0kB  dist/token/alp.js.map                       
npm notice 937B   dist/token/common.d.ts                      
npm notice 679B   dist/token/common.d.ts.map                  
npm notice 610B   dist/token/common.js                        
npm notice 374B   dist/token/common.js.map                    
npm notice 203B   dist/token/empp.d.ts                        
npm notice 222B   dist/token/empp.d.ts.map                    
npm notice 1.1kB  dist/token/empp.js                          
npm notice 723B   dist/token/empp.js.map                      
npm notice 1.6kB  dist/token/slp.d.ts                         
npm notice 1.0kB  dist/token/slp.d.ts.map                     
npm notice 6.7kB  dist/token/slp.js                           
npm notice 5.2kB  dist/token/slp.js.map                       
npm notice 3.2kB  dist/tx.d.ts                                
npm notice 1.8kB  dist/tx.d.ts.map                            
npm notice 4.0kB  dist/tx.js                                  
npm notice 2.9kB  dist/tx.js.map                              
npm notice 2.8kB  dist/txBuilder.d.ts                         
npm notice 1.5kB  dist/txBuilder.d.ts.map                     
npm notice 6.9kB  dist/txBuilder.js                           
npm notice 5.4kB  dist/txBuilder.js.map                       
npm notice 1.8kB  dist/unsignedTx.d.ts                        
npm notice 985B   dist/unsignedTx.d.ts.map                    
npm notice 6.7kB  dist/unsignedTx.js                          
npm notice 5.0kB  dist/unsignedTx.js.map                      
npm notice 421B   eslint.config.js                            
npm notice 1.6kB  package.json                                
npm notice 323B   tsconfig.build.json                         
npm notice 494B   tsconfig.json                               
npm notice === Tarball Details === 
npm notice name:          ecash-lib                               
npm notice version:       0.1.0                                   
npm notice filename:      ecash-lib-0.1.0.tgz                     
npm notice package size:  105.5 kB                                
npm notice unpacked size: 356.5 kB                                
npm notice shasum:        6889a0ca88a15c4fe86312529544d234acceea13
npm notice integrity:     sha512-Tfe03d8PsDV/8[...]9vlRADSWRHyww==
npm notice total files:   123                                     
npm notice 
npm notice Publishing to https://registry.npmjs.org/ with tag latest and default access (dry-run)
+ ecash-lib@0.1.0

Diff Detail