mirror of
				https://github.com/crypto-pro-web/crypto-pro-js.git
				synced 2025-10-31 14:23:22 +03:00 
			
		
		
		
	1.0.7
This commit is contained in:
		
							parent
							
								
									0b27f4a0b6
								
							
						
					
					
						commit
						28e928411d
					
				| @ -1,3 +1,8 @@ | ||||
| 1.0.7 / 2017-01-30 | ||||
| ================== | ||||
| 
 | ||||
|   * Улучшение: Указание хэша сертификата при ошибке доступа к нему | ||||
| 
 | ||||
| 1.0.6 / 2017-01-30 | ||||
| ================== | ||||
| 
 | ||||
|  | ||||
							
								
								
									
										2
									
								
								dist/1.crypto-pro.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/1.crypto-pro.js
									
									
									
									
										vendored
									
									
								
							| @ -232,7 +232,7 @@ webpackJsonpCryptoPro([1],[ | ||||
| 	                if (certs.Count) { | ||||
| 	                    cert = yield certs.Item(1); | ||||
| 	                } else { | ||||
| 	                    throw new Error('Нет доступных сертификатов'); | ||||
| 	                    throw new Error(hash); | ||||
| 	                } | ||||
| 	            } catch (err) { | ||||
| 	                reject('Не удалось получить сертификат по хэшу: ' + err.message); | ||||
|  | ||||
							
								
								
									
										2
									
								
								dist/1.crypto-pro.js.map
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/1.crypto-pro.js.map
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										2
									
								
								dist/2.crypto-pro.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/2.crypto-pro.js
									
									
									
									
										vendored
									
									
								
							| @ -1288,7 +1288,7 @@ webpackJsonpCryptoPro([2],[ | ||||
| 	            if (certs.Count) { | ||||
| 	                cert = certs.Item(1); | ||||
| 	            } else { | ||||
| 	                throw new Error('Нет доступных сертификатов'); | ||||
| 	                throw new Error(hash); | ||||
| 	            } | ||||
| 	        } catch (err) { | ||||
| 	            reject('Не удалось получить сертификат по хэшу: ' + err.message); | ||||
|  | ||||
							
								
								
									
										2
									
								
								dist/2.crypto-pro.js.map
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/2.crypto-pro.js.map
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										2
									
								
								dist/crypto-pro.js.map
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/crypto-pro.js.map
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										2
									
								
								npm-shrinkwrap.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								npm-shrinkwrap.json
									
									
									
										generated
									
									
									
								
							| @ -1,6 +1,6 @@ | ||||
| { | ||||
|   "name": "crypto-pro", | ||||
|   "version": "1.0.6", | ||||
|   "version": "1.0.7", | ||||
|   "dependencies": { | ||||
|     "acorn": { | ||||
|       "version": "3.3.0", | ||||
|  | ||||
| @ -1,6 +1,6 @@ | ||||
| { | ||||
|   "name": "crypto-pro", | ||||
|   "version": "1.0.6", | ||||
|   "version": "1.0.7", | ||||
|   "description": "API для взаимодействия с КриптоПро", | ||||
|   "main": "src/index.js", | ||||
|   "scripts": { | ||||
|  | ||||
| @ -226,7 +226,7 @@ function getCadesCert(hash) { | ||||
|                 if (certs.Count) { | ||||
|                     cert = yield certs.Item(1); | ||||
|                 } else { | ||||
|                     throw new Error('Нет доступных сертификатов'); | ||||
|                     throw new Error(hash); | ||||
|                 } | ||||
|             } catch (err) { | ||||
|                 reject('Не удалось получить сертификат по хэшу: ' + err.message); | ||||
|  | ||||
| @ -212,7 +212,7 @@ function getCadesCert(hash) { | ||||
|             if (certs.Count) { | ||||
|                 cert = certs.Item(1); | ||||
|             } else { | ||||
|                 throw new Error('Нет доступных сертификатов'); | ||||
|                 throw new Error(hash); | ||||
|             } | ||||
|         } catch (err) { | ||||
|             reject('Не удалось получить сертификат по хэшу: ' + err.message); | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Vitalii Goma
						Vitalii Goma