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

@rarible/types

Package Overview
Dependencies
Maintainers
1
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rarible/types - npm Package Compare versions

Comparing version 0.5.1 to 0.5.2

build/contract-address.d.ts

1

build/blockchains.d.ts
export declare function isBlockchainSpecified(value: string): boolean;
export declare function isRealBlockchainSpecified(value: string): boolean;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isBlockchainSpecified = void 0;
exports.isRealBlockchainSpecified = exports.isBlockchainSpecified = void 0;
var blockchains = [

@@ -9,2 +9,8 @@ "ETHEREUM",

];
var realBlockchains = [
"ETHEREUM",
"FLOW",
"TEZOS",
"POLYGON",
];
function isBlockchainSpecified(value) {

@@ -20,1 +26,11 @@ for (var _i = 0, blockchains_1 = blockchains; _i < blockchains_1.length; _i++) {

exports.isBlockchainSpecified = isBlockchainSpecified;
function isRealBlockchainSpecified(value) {
for (var _i = 0, realBlockchains_1 = realBlockchains; _i < realBlockchains_1.length; _i++) {
var blockchain = realBlockchains_1[_i];
if (value.startsWith(blockchain + ":")) {
return true;
}
}
return false;
}
exports.isRealBlockchainSpecified = isRealBlockchainSpecified;

@@ -11,2 +11,3 @@ export * from "./address";

export * from "./union-address";
export * from "./contract-address";
export * from "./maybe";

@@ -14,2 +14,3 @@ "use strict";

(0, tslib_1.__exportStar)(require("./union-address"), exports);
(0, tslib_1.__exportStar)(require("./contract-address"), exports);
(0, tslib_1.__exportStar)(require("./maybe"), exports);

4

package.json
{
"name": "@rarible/types",
"version": "0.5.1",
"version": "0.5.2",
"keywords": [

@@ -38,3 +38,3 @@ "rarible",

},
"gitHead": "389319c69fc8c76a8075b0d4e9b0b1315e3938eb"
"gitHead": "3449ab449a4f05055e793e1f29f8e2bf43e66bcb"
}

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