@rarible/types
Advanced tools
Comparing version 0.10.0-alpha.0 to 0.10.0-alpha.1
export type ActivityId = string & { | ||
"__IS_ACTIVITY_ID__": true; | ||
__IS_ACTIVITY_ID__: true; | ||
}; | ||
export declare function toActivityId(value: string): ActivityId; |
export type Address = string & { | ||
"__IS_ADDRESS__": true; | ||
__IS_ADDRESS__: true; | ||
}; | ||
@@ -4,0 +4,0 @@ export declare function toAddress(value: string): Address; |
export type AuctionId = string & { | ||
"__IS_AUCTION_ID__": true; | ||
__IS_AUCTION_ID__: true; | ||
}; | ||
export declare function toAuctionId(value: string): AuctionId; |
export type BigNumber = string & { | ||
"__IS_BIG_NUMBER__": true; | ||
__IS_BIG_NUMBER__: true; | ||
}; | ||
export declare function toBigNumber(value: string): BigNumber; | ||
export declare const ZERO_NUMBER: BigNumber; |
export type Binary = string & { | ||
"__IS_BINARY__": true; | ||
__IS_BINARY__: true; | ||
}; | ||
export declare function toBinary(value: string): Binary; | ||
export declare function randomBinary(size: number): Binary; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.isRealBlockchainSpecified = exports.isBlockchainSpecified = void 0; | ||
var blockchains = [ | ||
"ETHEREUM", | ||
"FLOW", | ||
"TEZOS", | ||
"SOLANA", | ||
]; | ||
var realBlockchains = [ | ||
"ETHEREUM", | ||
"FLOW", | ||
"TEZOS", | ||
"POLYGON", | ||
"SOLANA", | ||
"IMMUTABLEX", | ||
]; | ||
var blockchains = ["ETHEREUM", "FLOW", "TEZOS", "SOLANA"]; | ||
var realBlockchains = ["ETHEREUM", "FLOW", "TEZOS", "POLYGON", "SOLANA", "IMMUTABLEX"]; | ||
function isBlockchainSpecified(value) { | ||
@@ -19,0 +7,0 @@ for (var _i = 0, blockchains_1 = blockchains; _i < blockchains_1.length; _i++) { |
export type CollectionId = string & { | ||
"__IS_COLLECTION_ID__": true; | ||
__IS_COLLECTION_ID__: true; | ||
}; | ||
export declare function toCollectionId(value: string): CollectionId; |
export type ContractAddress = string & { | ||
"__IS_CONTRACT_ADDRESS__": true; | ||
__IS_CONTRACT_ADDRESS__: true; | ||
}; | ||
export declare function toContractAddress(value: string): ContractAddress; |
export type CurrencyId = string & { | ||
"__IS_CURRENCY_ID__": true; | ||
__IS_CURRENCY_ID__: true; | ||
}; | ||
export declare function toCurrencyId(value: string): CurrencyId; |
export type FlowAddress = string & { | ||
"__IS_FLOW_ADDRESS__": true; | ||
__IS_FLOW_ADDRESS__: true; | ||
}; | ||
@@ -4,0 +4,0 @@ export declare function toFlowAddress(value: string): FlowAddress; |
export type ItemId = string & { | ||
"__IS_ITEM_ID__": true; | ||
__IS_ITEM_ID__: true; | ||
}; | ||
export declare function toItemId(value: string): ItemId; |
export type OrderId = string & { | ||
"__IS_ORDER_ID__": true; | ||
__IS_ORDER_ID__: true; | ||
}; | ||
export declare function toOrderId(value: string): OrderId; |
export type OwnershipId = string & { | ||
"__IS_OWNERSHIP_ID__": true; | ||
__IS_OWNERSHIP_ID__: true; | ||
}; | ||
export declare function toOwnershipId(value: string): OwnershipId; |
export type UnionAddress = string & { | ||
"__IS_UNION_ADDRESS__": true; | ||
__IS_UNION_ADDRESS__: true; | ||
}; | ||
export declare function toUnionAddress(value: string): UnionAddress; |
export type Word = string & { | ||
"__IS_WORD__": true; | ||
__IS_WORD__: true; | ||
}; | ||
@@ -4,0 +4,0 @@ export declare function toWord(value: string): Word; |
{ | ||
"name": "@rarible/types", | ||
"version": "0.10.0-alpha.0", | ||
"version": "0.10.0-alpha.1", | ||
"keywords": [ | ||
@@ -32,3 +32,3 @@ "rarible", | ||
}, | ||
"gitHead": "cf8991ba75fcbd09c8a423cc1ddeab172348fd49" | ||
"gitHead": "4db59b352e3e4e4bb12833d964087006dc9e4d81" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
43634
355