New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@rarible/sdk-common

Package Overview
Dependencies
Maintainers
1
Versions
129
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rarible/sdk-common - npm Package Compare versions

Comparing version 0.13.60-beta.1 to 0.13.60-beta.2

1

build/utils/address.d.ts

@@ -17,1 +17,2 @@ import type { AssetType, CollectionId, CurrencyId, ItemId, OrderId, OwnershipId } from "@rarible/api-client";

};
export declare function isSupportedBlockchain(blockchain: string): blockchain is SupportedBlockchain;

8

build/utils/address.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.FLOW_TOKEN_MAP = exports.validateBlockchain = exports.getEntityData = exports.extractId = exports.extractBlockchain = exports.extractBlockchainFromAssetType = void 0;
exports.isSupportedBlockchain = exports.FLOW_TOKEN_MAP = exports.validateBlockchain = exports.getEntityData = exports.extractId = exports.extractBlockchain = exports.extractBlockchainFromAssetType = void 0;
const blockchain_1 = require("./blockchain");

@@ -50,3 +50,3 @@ function extractBlockchainFromAssetType(assetType) {

function validateBlockchain(blockchain) {
if (!(blockchain in blockchain_1.SupportedBlockchains)) {
if (!isSupportedBlockchain(blockchain)) {
throw new Error(`Value: "${blockchain}" is not a supported blockchain type`);

@@ -61,1 +61,5 @@ }

};
function isSupportedBlockchain(blockchain) {
return blockchain_1.SupportedBlockchains.includes(blockchain);
}
exports.isSupportedBlockchain = isSupportedBlockchain;
{
"name": "@rarible/sdk-common",
"version": "0.13.60-beta.1",
"version": "0.13.60-beta.2",
"homepage": "",

@@ -34,3 +34,3 @@ "license": "ISC",

},
"gitHead": "a1e7a8d5c8b7f0060ecc2d8853f764a76d8ab618"
"gitHead": "868b81ea286b43f22b1d852245059c09d17ade3e"
}
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