Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@moneybutton/config

Package Overview
Dependencies
Maintainers
2
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@moneybutton/config - npm Package Compare versions

Comparing version 0.21.5 to 0.21.7

dist/mb-config.cjs.js

4

dist/moneybutton.iife.js

@@ -20,3 +20,3 @@ /**

* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/var MoneyButtonConfigBuilder=function(){"use strict";function a(a,b){for(var c,d=0;d<b.length;d++)c=b[d],c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(a,c.key,c)}var b=function(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")},c=function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b},d=function(){function a(c){b(this,a),this.keyDefined=function(a){return a in c},this.getValue=function(a){return c[a]}}return c(a,[{key:"get",value:function(a){if(this.keyDefined(a))return this.getValue(a);throw new Error("Unknown configuration: ".concat(a))}}]),a}(),e=function(){function a(){b(this,a),this.variables={}}return c(a,[{key:"build",value:function(){return new d(this.variables)}},{key:"addValue",value:function(a,b){if(void 0===b)throw new Error("Failed to add \"".concat(a,"\" property. The value cannot be undefined"));if(a in this.variables)throw new Error("\"".concat(a,"\" already has a value defined."));return this.variables[a]=b,this}},{key:"addValueWithDefault",value:function(a,b,c){if(void 0===c)throw new Error("Failed to add \"".concat(a,"\" property. Default value cannot be undefined"));return this.addValue(a,void 0===b?c:b)}}]),a}();return e}();
//# sourceMappingURL=moneybutton.iife.js.map
*/var MoneyButtonConfigBuilder = (function () { 'use strict'; function a (a, b) { for (var c, d = 0; d < b.length; d++)c = b[d], c.enumerable = c.enumerable || !1, c.configurable = !0, 'value' in c && (c.writable = !0), Object.defineProperty(a, c.key, c) } var b = function (a, b) { if (!(a instanceof b)) throw new TypeError('Cannot call a class as a function') }; var c = function (b, c, d) { return c && a(b.prototype, c), d && a(b, d), b }; var d = (function () { function a (c) { b(this, a), this.keyDefined = function (a) { return a in c }, this.getValue = function (a) { return c[a] } } return c(a, [{ key: 'get', value: function (a) { if (this.keyDefined(a)) return this.getValue(a); throw new Error('Unknown configuration: '.concat(a)) } }]), a }()); var e = (function () { function a () { b(this, a), this.variables = {} } return c(a, [{ key: 'build', value: function () { return new d(this.variables) } }, { key: 'addValue', value: function (a, b) { if (void 0 === b) throw new Error('Failed to add "'.concat(a, '" property. The value cannot be undefined')); if (a in this.variables) throw new Error('"'.concat(a, '" already has a value defined.')); return this.variables[a] = b, this } }, { key: 'addValueWithDefault', value: function (a, b, c) { if (void 0 === c) throw new Error('Failed to add "'.concat(a, '" property. Default value cannot be undefined')); return this.addValue(a, void 0 === b ? c : b) } }]), a }()); return e }())
// # sourceMappingURL=moneybutton.iife.js.map
{
"name": "@moneybutton/config",
"version": "0.21.5",
"version": "0.21.7",
"description": "Money Button configuration.",

@@ -27,3 +27,3 @@ "main": "dist/moneybutton.config.cjs.js",

"author": "Yours Inc.",
"license": "MIT",
"license": "BSV",
"publishConfig": {

@@ -71,3 +71,3 @@ "access": "public"

},
"gitHead": "1140693bf8eb445920deeb5d0c76e6e5ba341876"
"gitHead": "df72fd253124e3ee6f964433e120369e51a1eab2"
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc