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

@celo/base

Package Overview
Dependencies
Maintainers
18
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@celo/base - npm Package Compare versions

Comparing version 2.0.0-alpha.4 to 2.0.0-alpha.5

9

lib/currencies.d.ts

@@ -6,2 +6,11 @@ export declare enum CURRENCY_ENUM {

}
export declare enum StableToken {
cUSD = "cUSD",
cEUR = "cEUR",
cREAL = "cREAL"
}
export declare enum Token {
CELO = "CELO"
}
export declare type CeloTokenType = StableToken | Token;
interface Currency {

@@ -8,0 +17,0 @@ symbol: string;

12

lib/currencies.js
"use strict";
var _a, _b;
Object.defineProperty(exports, "__esModule", { value: true });
exports.currencyToShortMap = exports.SHORT_CURRENCIES = exports.resolveCurrency = exports.CURRENCIES = exports.CURRENCY_ENUM = void 0;
exports.currencyToShortMap = exports.SHORT_CURRENCIES = exports.resolveCurrency = exports.CURRENCIES = exports.Token = exports.StableToken = exports.CURRENCY_ENUM = void 0;
var CURRENCY_ENUM;

@@ -11,2 +11,12 @@ (function (CURRENCY_ENUM) {

})(CURRENCY_ENUM = exports.CURRENCY_ENUM || (exports.CURRENCY_ENUM = {}));
var StableToken;
(function (StableToken) {
StableToken["cUSD"] = "cUSD";
StableToken["cEUR"] = "cEUR";
StableToken["cREAL"] = "cREAL";
})(StableToken = exports.StableToken || (exports.StableToken = {}));
var Token;
(function (Token) {
Token["CELO"] = "CELO";
})(Token = exports.Token || (exports.Token = {}));
exports.CURRENCIES = (_a = {},

@@ -13,0 +23,0 @@ _a[CURRENCY_ENUM.GOLD] = {

2

package.json
{
"name": "@celo/base",
"version": "2.0.0-alpha.4",
"version": "2.0.0-alpha.5",
"description": "Celo base common utils, no dependencies",

@@ -5,0 +5,0 @@ "author": "Celo",

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