Browse Source
			
			
			fix: es modules syntax for buffer deps instead of commonjs require
			
			
				pull/110/head
			
			
		 
		
		
			
				
					
					No known key found for this signature in database
					
						
							GPG Key ID: 1A12361012426318
						
					
				
			
		
		
		
	
		
			
				 3 changed files with 
4 additions and 
7 deletions
			 
			
		 
		
			
				- 
					
					
					 
					src/libs/util.ts
				
 
			
				- 
					
					
					 
					src/views/ContactQRScanShowView.vue
				
 
			
				- 
					
					
					 
					src/views/ContactsView.vue
				
 
			
		
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
		
			
				
					| 
						
						
							
								
							
						
						
					 | 
					@ -12,8 +12,7 @@ import { deriveAddress, generateSeed, newIdentifier } from "@/libs/crypto"; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import { GenericServerRecord, containsHiddenDid } from "@/libs/endorserServer"; | 
					 | 
					 | 
					import { GenericServerRecord, containsHiddenDid } from "@/libs/endorserServer"; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import * as serverUtil from "@/libs/endorserServer"; | 
					 | 
					 | 
					import * as serverUtil from "@/libs/endorserServer"; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					// eslint-disable-next-line @typescript-eslint/no-var-requires
 | 
					 | 
					 | 
					import { Buffer } from "buffer/"; | 
				
			
			
				
				
			
		
	
		
		
			
				
					 | 
					 | 
					const Buffer = require("buffer/").Buffer; | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					// If you edit this, check that the numbers still line up on the side in the alert (on mobile, too),
 | 
					 | 
					 | 
					// If you edit this, check that the numbers still line up on the side in the alert (on mobile, too),
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					// and make sure they can take all actions while the notification shows.
 | 
					 | 
					 | 
					// and make sure they can take all actions while the notification shows.
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  | 
				
			
			
		
	
								
							
						
					 
					
				 
			 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
		
			
				
					| 
						
						
							
								
							
						
						
					 | 
					@ -88,9 +88,7 @@ import { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  CONTACT_URL_PREFIX, | 
					 | 
					 | 
					  CONTACT_URL_PREFIX, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  ENDORSER_JWT_URL_LOCATION, | 
					 | 
					 | 
					  ENDORSER_JWT_URL_LOCATION, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					} from "@/libs/endorserServer"; | 
					 | 
					 | 
					} from "@/libs/endorserServer"; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					
 | 
					 | 
					 | 
					import { Buffer } from "buffer/"; | 
				
			
			
				
				
			
		
	
		
		
			
				
					 | 
					 | 
					// eslint-disable-next-line @typescript-eslint/no-var-requires | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					const Buffer = require("buffer/").Buffer; | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					@Component({ | 
					 | 
					 | 
					@Component({ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  components: { | 
					 | 
					 | 
					  components: { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  | 
				
			
			
		
	
								
							
						
					 
					
				 
			 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
		
			
				
					| 
						
						
							
								
							
						
						
					 | 
					@ -313,8 +313,8 @@ import QuickNav from "@/components/QuickNav.vue"; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import EntityIcon from "@/components/EntityIcon.vue"; | 
					 | 
					 | 
					import EntityIcon from "@/components/EntityIcon.vue"; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import { Account } from "@/db/tables/accounts"; | 
					 | 
					 | 
					import { Account } from "@/db/tables/accounts"; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					// eslint-disable-next-line @typescript-eslint/no-var-requires | 
					 | 
					 | 
					import { Buffer } from "buffer/"; | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					const Buffer = require("buffer/").Buffer; | 
					 | 
					 | 
					
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					@Component({ | 
					 | 
					 | 
					@Component({ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  components: { QuickNav, EntityIcon }, | 
					 | 
					 | 
					  components: { QuickNav, EntityIcon }, | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |