@identity.com/cryptid-core
Advanced tools
Comparing version 0.3.0-alpha.4 to 0.3.0-alpha.5
@@ -11,3 +11,3 @@ import { Wallet } from "../types/crypto"; | ||
export declare abstract class AbstractCryptidClient implements CryptidClient { | ||
protected details: CryptidAccountDetails; | ||
readonly details: CryptidAccountDetails; | ||
protected options: CryptidOptions; | ||
@@ -14,0 +14,0 @@ protected constructor(details: CryptidAccountDetails, options: CryptidOptions); |
@@ -5,2 +5,3 @@ import { ConfirmOptions, Connection, PublicKey, Transaction, TransactionSignature } from "@solana/web3.js"; | ||
import { ProposalResult, TransactionAccount } from "../types"; | ||
import { CryptidAccountDetails } from "../lib/CryptidAccountDetails"; | ||
export declare type PayerOption = "DID_PAYS" | "SIGNER_PAYS"; | ||
@@ -40,2 +41,6 @@ export declare type CryptidOptions = { | ||
/** | ||
* The details behind the cryptid account (address, owner, etc). | ||
*/ | ||
readonly details: CryptidAccountDetails; | ||
/** | ||
* Signs a transaction from the DID. Returns a meta-transaction | ||
@@ -42,0 +47,0 @@ * that wraps the transaction into a call to the cryptid program |
@@ -1,5 +0,1 @@ | ||
/// <reference types="@solana/web3.js" /> | ||
/// <reference types="@solana/web3.js" /> | ||
/// <reference types="@identity.com/sol-did-client/node_modules/@solana/web3.js" /> | ||
/// <reference types="@identity.com/sol-did-client-legacy/node_modules/@solana/web3.js" /> | ||
export { CryptidBuilder as Cryptid } from "./api/cryptidBuilder"; | ||
@@ -6,0 +2,0 @@ export { CryptidAccountDetails } from "./lib/CryptidAccountDetails"; |
{ | ||
"name": "@identity.com/cryptid-core", | ||
"version": "0.3.0-alpha.4", | ||
"version": "0.3.0-alpha.5", | ||
"scripts": { | ||
@@ -16,3 +16,3 @@ "clean": "rimraf dist", | ||
"dependencies": { | ||
"@identity.com/cryptid-idl": "0.3.0-alpha.4", | ||
"@identity.com/cryptid-idl": "0.3.0-alpha.5", | ||
"@identity.com/sol-did-client": "^3.1.0", | ||
@@ -19,0 +19,0 @@ "@project-serum/anchor": "^0.25.0", |
Sorry, the diff of this file is not supported yet
1369
96836
+ Added@identity.com/cryptid-idl@0.3.0-alpha.5(transitive)
- Removed@identity.com/cryptid-idl@0.3.0-alpha.4(transitive)