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

@0xcert/scaffold

Package Overview
Dependencies
Maintainers
2
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@0xcert/scaffold - npm Package Compare versions

Comparing version 1.0.0-rc3 to 1.0.0-rc4

.nyc_output/7b0258af-00ca-428c-86b2-d34b968fc3a9.json

4

CHANGELOG.json

@@ -5,4 +5,4 @@ {

{
"version": "1.0.0-rc3",
"tag": "@0xcert/scaffold_v1.0.0-rc3",
"version": "1.0.0-rc4",
"tag": "@0xcert/scaffold_v1.0.0-rc4",
"date": "Thu, 22 Nov 2018 00:51:03 GMT",

@@ -9,0 +9,0 @@ "comments": {}

export interface AssetMetadata {
description: string;
image: string;
name: string;
description?: string;
image?: string;
name?: string;
}
{
"name": "@0xcert/scaffold",
"version": "1.0.0-rc3",
"version": "1.0.0-rc4",
"description": "Overarching module with types, enums, and interfaces for easier development of interoperable modules.",

@@ -69,3 +69,3 @@ "main": "./dist/index.js",

"@hayspec/spec": "^0.8.3",
"@types/node": "^10.12.10",
"@types/node": "^10.12.24",
"nyc": "^13.1.0",

@@ -72,0 +72,0 @@ "ts-node": "^7.0.1",

@@ -8,1 +8,7 @@ <img src="https://github.com/0xcert/framework/raw/master/assets/cover-sub.png" />

This module is one of the bricks of the [0xcert Framework](https://docs.0xcert.org). It's written with [TypeScript](https://www.typescriptlang.org) and it's actively maintained. The source code is available on [GitHub](https://github.com/0xcert/framework) where you can also find our [issue tracker](https://github.com/0xcert/framework/issues).
# Scaffold Interfaces
These TypeScript interfaces are platform-agnostic base types which are implemented separately in for each provider.
Or in plain English, these are the base data structures in the 0xcert protocol regardless of whether you are using it on a blockchain or MongoDB.

@@ -5,5 +5,10 @@ /**

export interface AssetMetadata {
description: string;
image: string;
name: string;
/** A detailed description of an asset */
description?: string;
/** A valid URI pointing to a resource with mime type image/* representing the asset to which this NFT represents. Consider making any images at a width between 320 and 1080 pixels and aspect ratio between 1.91:1 and 4:5 inclusive. */
image?: string;
/** A name of an asset */
name?: string;
}
/**
*
* A provider is a connection to a blockchain or other database store.
*/

@@ -4,0 +4,0 @@ export interface ProviderBase {

@@ -239,11 +239,2 @@ {

"ban-ts-ignore": true,
"no-console": [
true,
"log",
"debug",
"info",
"time",
"timeEnd",
"trace"
],
"no-debugger": true,

@@ -250,0 +241,0 @@ "no-eval": true,

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