dark-payment
Advanced tools
Comparing version 0.1.1 to 0.1.3
@@ -28,3 +28,3 @@ // | ||
this.provider = provider; | ||
this.config = Object.assign({}, config, elementIds); | ||
this.config = Object.assign({}, config, { elementIds }); | ||
if (!{}.propertyIsEnumerable.call(connectors, provider)) { | ||
@@ -37,3 +37,3 @@ throw new Error(`provider connector does not exist: ${provider}`); | ||
return new Promise((resolve, reject) => | ||
this.client.init(config, (status, data) => { | ||
this.client.init(this.config, (status, data) => { | ||
if (status === 'error') { | ||
@@ -40,0 +40,0 @@ return reject(new Error(data)); |
{ | ||
"name": "dark-payment", | ||
"version": "0.1.1", | ||
"version": "0.1.3", | ||
"description": "Provide payment client", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20840