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

nft-react

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nft-react - npm Package Compare versions

Comparing version 0.0.4 to 0.0.8

src/util.ts

23

package.json
{
"name": "nft-react",
"version": "0.0.4",
"version": "0.0.8",
"description": "React components for interacting with NFTs",
"main": "./dist/index.js",
"type": "commonjs",
"types": "./dist/index.d.ts",
"exports": "./dist/index.js",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"license": "UNLICENSED",
"scripts": {
"prebuild": "rm -rf dist",
"build": "tsc",
"build": "yarn build:esm && yarn build:cjs",
"build:esm": "tsc",
"build:cjs": "tsc --module commonjs --outdir dist/cjs",
"start": "tsc --watch",
"publish": "npm publish",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"sb": "yarn storybook",
"client:gen": "mkdir -p src/client/gen && openapi --input ./openapi.json --output src/client/gen --client axios --name CenterClient --useOptions"
"publish": "npm publish"
},

@@ -23,6 +20,3 @@ "author": "Omar Bohsali <omar@center.app>",

"@babel/core": "^7.17.8",
"@types/axios": "^0.14.0",
"babel-loader": "^8.2.4",
"form-data": "4.x",
"openapi-typescript-codegen": "^0.20.1",
"typescript": "^4.6.2"

@@ -37,2 +31,3 @@ },

"dependencies": {
"@center-inc/api-client": "^0.0.7",
"axios": "^0.26.1",

@@ -39,0 +34,0 @@ "cross-env": "5.0.5",

@@ -0,3 +1,2 @@

export { NFT } from './NFT'
export { Provider } from './Provider'
export { NFT } from './NFT'
export { CenterContext } from './CenterContext'
import React from 'react'
import { CenterContext } from '../components/CenterContext'
import { CenterContext } from '../components/Provider'

@@ -4,0 +4,0 @@ export const useCenter = () => {

@@ -1,5 +0,4 @@

import { Asset } from './../client/gen/models/Asset'
import type { Asset } from '@center-inc/api-client'
import { useCenter } from './useCenter'
import React from 'react'
import axios from 'axios'

@@ -6,0 +5,0 @@ export const useNFT = ({

import { useCenter } from './useCenter'
import React from 'react'
import { Collection } from '../client/gen'
import type { Collection } from '@center-inc/api-client'

@@ -5,0 +5,0 @@ export const useNFTCollection = ({

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