@4everland/content-id-registry-sdk
Advanced tools
Comparing version 0.1.6 to 0.1.7
@@ -0,4 +1,5 @@ | ||
import { ContentIDRegistry } from '@4everland/content-id-registry-contracts'; | ||
import { CID } from 'multiformats/cid'; | ||
import { Signer } from 'ethers'; | ||
export interface FilesStat { | ||
interface FilesStat { | ||
cid: string; | ||
@@ -14,3 +15,3 @@ type: 'file' | 'directory'; | ||
} | ||
export interface IPFS { | ||
interface IPFS { | ||
files: { | ||
@@ -20,3 +21,3 @@ stat: (cid: CID, options?: any) => Promise<FilesStat>; | ||
} | ||
export declare class ContentIDRegistrySDK { | ||
declare class ContentIDRegistrySDK { | ||
private ipfs; | ||
@@ -36,1 +37,2 @@ private signer; | ||
} | ||
export { FilesStat, IPFS, ContentIDRegistry, CID, ContentIDRegistrySDK }; |
@@ -39,4 +39,6 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ContentIDRegistrySDK = void 0; | ||
exports.ContentIDRegistrySDK = exports.CID = void 0; | ||
var content_id_registry_contracts_1 = require("@4everland/content-id-registry-contracts"); | ||
var cid_1 = require("multiformats/cid"); | ||
Object.defineProperty(exports, "CID", { enumerable: true, get: function () { return cid_1.CID; } }); | ||
var ContentIDRegistrySDK = /** @class */ (function () { | ||
@@ -43,0 +45,0 @@ function ContentIDRegistrySDK(resgistry, ipfs, signer) { |
{ | ||
"name": "@4everland/content-id-registry-sdk", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
11580
218