@paperxyz/sdk-common-utilities
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -1,2 +0,2 @@ | ||
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var e={Ethereum:"https://ethereum.rpc.thirdweb.com",Goerli:"https://goerli.rpc.thirdweb.com",Mumbai:"https://mumbai.rpc.thirdweb.com",Polygon:"https://polygon.rpc.thirdweb.com",Avalanche:"https://avalanche.rpc.thirdweb.com",Optimism:"https://optimism.rpc.thirdweb.com",OptimismGoerli:"https://optimism-goerli.rpc.thirdweb.com",BSC:"https://binance.rpc.thirdweb.com",BSCTestnet:"https://binance-testnet.rpc.thirdweb.com",ArbitrumOne:"https://arbitrum.rpc.thirdweb.com",ArbitrumGoerli:"https://arbitrum-goerli.rpc.thirdweb.com",Fantom:"https://fantom.rpc.thirdweb.com",FantomTestnet:"https://fantom-testnet.rpc.thirdweb.com",Sepolia:"https://sepolia.rpc.thirdweb.com",AvalancheFuji:"https://avalanche-fuji.rpc.thirdweb.com"};var o=()=>typeof window!="undefined"&&window.localStorage.getItem("IS_PAPER_DEV")==="true",r=()=>typeof window!="undefined"&&window.location.origin.includes("paper.xyz"),i= exports.getPaperOriginUrl =()=>{var t;return o()?(t=window.localStorage.getItem("PAPER_DEV_URL"))!=null?t:"http://localhost:3000":r()?window.location.origin:"https://withpaper.com"};var n={colorPrimary:"#cf3781",colorBackground:"#ffffff",colorText:"#1a202c",borderRadius:12,fontFamily:"Open Sans"};exports.ChainToPublicRpc = e; exports.DEFAULT_BRAND_OPTIONS = n; exports.getPaperOriginUrl = i; | ||
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var o={Ethereum:"https://ethereum.rpc.thirdweb.com",Goerli:"https://goerli.rpc.thirdweb.com",Mumbai:"https://mumbai.rpc.thirdweb.com",Polygon:"https://polygon.rpc.thirdweb.com",Avalanche:"https://avalanche.rpc.thirdweb.com",Optimism:"https://optimism.rpc.thirdweb.com",OptimismGoerli:"https://optimism-goerli.rpc.thirdweb.com",BSC:"https://binance.rpc.thirdweb.com",BSCTestnet:"https://binance-testnet.rpc.thirdweb.com",ArbitrumOne:"https://arbitrum.rpc.thirdweb.com",ArbitrumGoerli:"https://arbitrum-goerli.rpc.thirdweb.com",Fantom:"https://fantom.rpc.thirdweb.com",FantomTestnet:"https://fantom-testnet.rpc.thirdweb.com",Sepolia:"https://sepolia.rpc.thirdweb.com",AvalancheFuji:"https://avalanche-fuji.rpc.thirdweb.com"};var e=()=>typeof window!="undefined"&&window.localStorage.getItem("IS_PAPER_DEV")==="true",i=()=>typeof window!="undefined"&&window.location.origin.includes("paper.xyz"),r=()=>typeof window!="undefined"&&window.location.origin.includes("thirdweb.com"),n= exports.getPaperOriginUrl =()=>{var t;return e()?(t=window.localStorage.getItem("PAPER_DEV_URL"))!=null?t:"http://localhost:3000":i()||r()?window.location.origin:"https://withpaper.com"};var a={colorPrimary:"#cf3781",colorBackground:"#ffffff",colorText:"#1a202c",borderRadius:12,fontFamily:"Open Sans"};exports.ChainToPublicRpc = o; exports.DEFAULT_BRAND_OPTIONS = a; exports.getPaperOriginUrl = n; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@paperxyz/sdk-common-utilities", | ||
"description": "Internal utilities for Paper's internal SDK", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"license": "Apache-2.0", | ||
@@ -6,0 +6,0 @@ "main": "./dist/index.js", |
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
13572
47