Browse Source

paypro: move root certs to common.

patch-2
Christopher Jeffrey 11 years ago
parent
commit
85d5e69fc1
  1. 2
      browser/root-certs
  2. 2
      lib/PayPro.js
  3. 2
      lib/browser/PayPro.js
  4. 0
      lib/common/RootCerts.js

2
browser/root-certs

@ -172,7 +172,7 @@ function main(argv, callback) {
argv = null;
}
return getRootCerts(function(err, certs) {
var file = path.resolve(__dirname, '..', 'lib', 'RootCerts.js');
var file = path.resolve(__dirname, '..', 'lib', 'common', 'RootCerts.js');
return fs.writeFile(file, certs, callback);
});
}

2
lib/PayPro.js

@ -2,7 +2,7 @@
var protobufjs = protobufjs || require('protobufjs/dist/ProtoBuf');
var Message = Message || require('./Message');
var RootCerts = require('./RootCerts');
var RootCerts = require('./common/RootCerts');
// BIP 70 - payment protocol
function PayPro() {

2
lib/browser/PayPro.js

@ -4,7 +4,7 @@ var Key = require('./Key');
var KJUR = require('./x509');
var assert = require('assert');
var PayPro = require('../PayPro');
var RootCerts = require('../RootCerts');
var RootCerts = require('../common/RootCerts');
PayPro.sign = function(key) {
if (this.messageType !== 'PaymentRequest')

0
lib/RootCerts.js → lib/common/RootCerts.js

Loading…
Cancel
Save