@windingtree/org.id-core
Advanced tools
Comparing version 0.3.6 to 0.3.7
import Web3 from 'web3'; | ||
import { Contract } from 'web3-eth-contract'; | ||
import { OrgIdData, CallbackFn } from '../core'; | ||
import { OrgIdData, CallbackFn } from '../types'; | ||
export declare const createOrgId: (web3: Web3, contract: Contract, salt: string, orgJsonUri: string, orgIdOwner: string, gasPrice?: string | number | undefined, gasLimit?: string | number | undefined, transactionHashCb?: CallbackFn | void) => Promise<OrgIdData | null>; |
import Web3 from 'web3'; | ||
import { Contract } from 'web3-eth-contract'; | ||
import { OrgIdData } from '../core'; | ||
import { OrgIdData } from '../types'; | ||
export declare const getOrgId: (web3: Web3, contract: Contract, orgIdHash: string) => Promise<OrgIdData | null>; |
import Web3 from 'web3'; | ||
import { Contract } from 'web3-eth-contract'; | ||
import { OrgIdData, CallbackFn } from '../core'; | ||
import { OrgIdData, CallbackFn } from '../types'; | ||
export declare const setOrgJson: (web3: Web3, contract: Contract, orgIdHash: string, orgJsonUri: string, orgIdOwner: string, gasPrice?: string | number | undefined, gasLimit?: string | number | undefined, transactionHashCb?: CallbackFn | void) => Promise<OrgIdData | null>; |
import Web3 from 'web3'; | ||
import { Contract } from 'web3-eth-contract'; | ||
import { OrgIdData, CallbackFn } from '../core'; | ||
import { OrgIdData, CallbackFn } from '../types'; | ||
export declare const transferOrgIdOwnership: (web3: Web3, contract: Contract, orgIdHash: string, newOrgIdOwner: string, orgIdOwner: string, gasPrice?: string | number | undefined, gasLimit?: string | number | undefined, transactionHashCb?: CallbackFn | void) => Promise<OrgIdData | null>; |
@@ -1,5 +0,5 @@ | ||
import type { Web3Provider, OrgIdData, CallbackFn } from './core'; | ||
import type { Web3Provider, OrgIdData, CallbackFn } from './types'; | ||
import type { Contract } from 'web3-eth-contract'; | ||
import Web3 from 'web3'; | ||
export type { OrgIdAddresses, Web3Provider, OrgIdData, OrgIdRawResult } from './core'; | ||
export type { OrgIdAddresses, Web3Provider, OrgIdData, OrgIdRawResult } from './types'; | ||
export declare class OrgIdContract { | ||
@@ -6,0 +6,0 @@ address: string; |
@@ -1,4 +0,4 @@ | ||
import type { CallbackFn } from '../core'; | ||
import type { CallbackFn } from '../types'; | ||
import type { Contract } from 'web3-eth-contract'; | ||
import type { TransactionReceipt } from 'web3-eth'; | ||
export declare const sendHelper: (contract: Contract, method: string, methodArguments: unknown[], owner: string, gasLimit?: string | number | undefined, gasPrice?: string | number | undefined, transactionHashCb?: CallbackFn | void) => Promise<TransactionReceipt>; |
{ | ||
"name": "@windingtree/org.id-core", | ||
"version": "0.3.6", | ||
"version": "0.3.7", | ||
"description": "Core ORGiD Javascript library", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
31528
29
349