Socket
Socket
Sign inDemoInstall

@atomicfinance/provider

Package Overview
Dependencies
Maintainers
3
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atomicfinance/provider - npm Package Compare versions

Comparing version 2.5.1 to 3.0.0

.turbo/turbo-lint:fix.log

11

CHANGELOG.md
# @atomicfinance/provider
## 3.0.0
### Major Changes
- a06082e: Create unified standalone `bitcoin-abstraction-layer` package
### Patch Changes
- Updated dependencies [a06082e]
- @atomicfinance/types@3.0.0
## 2.5.1

@@ -4,0 +15,0 @@

10

dist/Provider.d.ts

@@ -1,9 +0,9 @@

import { IFinanceClient } from '@atomicfinance/types';
import { IClient } from '@atomicfinance/types';
export default abstract class Provider {
client: IFinanceClient;
client: IClient;
/**
* Set client to a provider instance.
* @param {!ChainAbstractionLayer} client - The ChainAbstractionLayer instance
* @param client - The client instance
*/
setClient(client?: any): void;
setClient(client?: IClient): void;
/**

@@ -15,3 +15,3 @@ * Get method for the provider

*/
getMethod(method: string, requestor?: any): any;
getMethod(method: string, requestor?: any): (...args: any[]) => any;
}

@@ -6,3 +6,3 @@ "use strict";

* Set client to a provider instance.
* @param {!ChainAbstractionLayer} client - The ChainAbstractionLayer instance
* @param client - The client instance
*/

@@ -18,2 +18,3 @@ setClient(client) {

*/
// eslint-disable-next-line @typescript-eslint/no-explicit-any
getMethod(method, requestor = this) {

@@ -20,0 +21,0 @@ return this.client.getMethod(method, requestor).bind(this);

@@ -1,10 +0,10 @@

import { IFinanceClient } from '@atomicfinance/types';
import { IClient } from '@atomicfinance/types';
export default abstract class Provider {
client: IFinanceClient;
client: IClient;
/**
* Set client to a provider instance.
* @param {!ChainAbstractionLayer} client - The ChainAbstractionLayer instance
* @param client - The client instance
*/
setClient(client?: any) {
setClient(client?: IClient): void {
this.client = client;

@@ -19,5 +19,6 @@ }

*/
getMethod(method: string, requestor: any = this) {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
getMethod(method: string, requestor: any = this): (...args: any[]) => any {
return this.client.getMethod(method, requestor).bind(this);
}
}
{
"name": "@atomicfinance/provider",
"umdName": "Provider",
"version": "2.5.1",
"description": "CAL Finance Provider",
"version": "3.0.0",
"description": "Bitcoin Abstraction Layer Provider",
"author": "Atomic Finance <info@atomic.finance>",

@@ -18,3 +18,3 @@ "homepage": "",

"dependencies": {
"@atomicfinance/types": "^2.5.1",
"@atomicfinance/types": "^3.0.0",
"lodash": "^4.17.20"

@@ -21,0 +21,0 @@ },

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