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

marina-provider

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

marina-provider - npm Package Compare versions

Comparing version 1.6.0 to 1.7.0

5

dist/provider.d.ts

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

import { AccountID, AddressInterface, Balance, DescriptorTemplate, EventListenerID, MarinaEventType, NetworkString, PsetBase64, RawHex, Recipient, SentTransaction, SignedMessage, Transaction, Utxo } from './types';
import { AccountID, AccountInfo, AddressInterface, Balance, Template, EventListenerID, MarinaEventType, NetworkString, PsetBase64, RawHex, Recipient, SentTransaction, SignedMessage, Transaction, Utxo } from './types';
/**

@@ -17,2 +17,3 @@ * Define the Marina provider methods.

getAccountsIDs(): Promise<AccountID[]>;
getAccountInfo(accountID: AccountID): Promise<AccountInfo>;
createAccount(accountID: AccountID): Promise<void>;

@@ -30,3 +31,3 @@ getBalances(accountIDs?: AccountID[]): Promise<Balance[]>;

/** all the methods above apply to the selected account **/
importTemplate(template: DescriptorTemplate, changeTemplate?: DescriptorTemplate): Promise<void>;
importTemplate(template: Template, changeTemplate?: Template): Promise<void>;
getNextAddress(): Promise<AddressInterface>;

@@ -33,0 +34,0 @@ getNextChangeAddress(): Promise<AddressInterface>;

13

dist/types.d.ts

@@ -83,7 +83,14 @@ /// <reference types="node" />

}
export interface DescriptorTemplate {
type: 'marina-descriptors';
template: string;
export declare type TemplateType = 'marina-descriptors' | 'ionio-artifact';
export interface Template<T = any> {
type: TemplateType;
template: T;
}
export declare type AccountID = string;
export interface AccountInfo {
accountID: AccountID;
masterXPub: string;
isReady: boolean;
[key: string]: any;
}
export {};
{
"name": "marina-provider",
"version": "1.6.0",
"version": "1.7.0",
"description": "Marina injected API",

@@ -5,0 +5,0 @@ "repository": "git@github.com:vulpemventures/marina-provider.git",

Sorry, the diff of this file is not supported yet

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