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

@onflow/util-address

Package Overview
Dependencies
Maintainers
14
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@onflow/util-address - npm Package Compare versions

Comparing version 1.0.0-alpha.0 to 1.0.0-alpha.1

8

CHANGELOG.md

@@ -0,1 +1,9 @@

# @onflow/util-address
## 1.0.0-alpha.1
### Patch Changes
- [#1164](https://github.com/onflow/fcl-js/pull/1164) [`11229868`](https://github.com/onflow/fcl-js/commit/11229868cf916d204901f8bb3f76ee234e9152a8) Thanks [@justinbarry](https://github.com/justinbarry)! - No longer minify released source code.
## 1.0.0-alpha.0

@@ -2,0 +10,0 @@

16

dist/util-address.js

@@ -1,2 +0,16 @@

function n(n){return null==n?null:n.replace(/^0x/,"").replace(/^Fx/,"")}function r(r){return null==r?null:"0x"+n(r)}exports.display=function(n){return r(n)},exports.sansPrefix=n,exports.withPrefix=r;
function sansPrefix(address) {
if (address == null) return null;
return address.replace(/^0x/, "").replace(/^Fx/, "");
}
function withPrefix(address) {
if (address == null) return null;
return "0x" + sansPrefix(address);
}
function display(address) {
return withPrefix(address);
}
exports.display = display;
exports.sansPrefix = sansPrefix;
exports.withPrefix = withPrefix;
//# sourceMappingURL=util-address.js.map

@@ -1,2 +0,14 @@

function n(n){return null==n?null:n.replace(/^0x/,"").replace(/^Fx/,"")}function l(l){return null==l?null:"0x"+n(l)}function u(n){return l(n)}export{u as display,n as sansPrefix,l as withPrefix};
function sansPrefix(address) {
if (address == null) return null;
return address.replace(/^0x/, "").replace(/^Fx/, "");
}
function withPrefix(address) {
if (address == null) return null;
return "0x" + sansPrefix(address);
}
function display(address) {
return withPrefix(address);
}
export { display, sansPrefix, withPrefix };
//# sourceMappingURL=util-address.modern.js.map

@@ -1,2 +0,14 @@

function n(n){return null==n?null:n.replace(/^0x/,"").replace(/^Fx/,"")}function l(l){return null==l?null:"0x"+n(l)}function u(n){return l(n)}export{u as display,n as sansPrefix,l as withPrefix};
function sansPrefix(address) {
if (address == null) return null;
return address.replace(/^0x/, "").replace(/^Fx/, "");
}
function withPrefix(address) {
if (address == null) return null;
return "0x" + sansPrefix(address);
}
function display(address) {
return withPrefix(address);
}
export { display, sansPrefix, withPrefix };
//# sourceMappingURL=util-address.module.js.map

@@ -1,2 +0,23 @@

!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((e=e||self).utilAddress={})}(this,function(e){function n(e){return null==e?null:e.replace(/^0x/,"").replace(/^Fx/,"")}function t(e){return null==e?null:"0x"+n(e)}e.display=function(e){return t(e)},e.sansPrefix=n,e.withPrefix=t});
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = global || self, factory(global.utilAddress = {}));
}(this, (function (exports) {
function sansPrefix(address) {
if (address == null) return null;
return address.replace(/^0x/, "").replace(/^Fx/, "");
}
function withPrefix(address) {
if (address == null) return null;
return "0x" + sansPrefix(address);
}
function display(address) {
return withPrefix(address);
}
exports.display = display;
exports.sansPrefix = sansPrefix;
exports.withPrefix = withPrefix;
})));
//# sourceMappingURL=util-address.umd.js.map

6

package.json
{
"name": "@onflow/util-address",
"version": "1.0.0-alpha.0",
"version": "1.0.0-alpha.1",
"description": "Flow JS SDK Util -- Address",

@@ -21,3 +21,3 @@ "license": "Apache-2.0",

"devDependencies": {
"@onflow/types": "^1.0.0-alpha.0",
"@onflow/types": "^1.0.0-alpha.1",
"jest": "26.4.2",

@@ -34,3 +34,3 @@ "jest-esm-transformer": "1.0.0",

"test": "jest",
"build": "microbundle",
"build": "microbundle --no-compress",
"test:watch": "jest --watch",

@@ -37,0 +37,0 @@ "start": "microbundle watch"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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