@wharfkit/antelope
Advanced tools
Comparing version 0.9.1 to 0.10.0-beta1
{ | ||
"name": "@wharfkit/antelope", | ||
"description": "Library for working with Antelope powered blockchains.", | ||
"version": "0.9.1", | ||
"version": "0.10.0-beta1", | ||
"homepage": "https://github.com/wharfkit/antelope", | ||
@@ -6,0 +6,0 @@ "license": "BSD-3-Clause-No-Military-License", |
@@ -89,1 +89,3 @@ **NOTICE:** This was formerly the `@greymass/eosio` library distributed on [npmjs](https://www.npmjs.com/package/@greymass/eosio). Future distributions will be made using the new organization and namespace, and distributed as `@wharfkit/antelope` again on [npmjs](https://www.npmjs.com/package/@wharfkit/antelope). | ||
[Notes on setting up IDE Debuggers](docs/IDE_Debug.md) | ||
Made with ☕️ & ❤️ by [Greymass](https://greymass.com), if you find this useful please consider [supporting us](https://greymass.com/support-us). |
import {APIProvider, APIResponse, FetchProvider, FetchProviderOptions} from './provider' | ||
import {ABISerializableConstructor, ABISerializableType} from '../serializer/serializable' | ||
import {abiDecode} from '../serializer/decoder' | ||
import {ChainAPI} from './v1/chain' | ||
import {HistoryAPI} from './v1/history' | ||
import {BuiltinTypes} from '../serializer/builtins' | ||
export {ChainAPI, HistoryAPI} | ||
export interface APIClientOptions extends FetchProviderOptions { | ||
/** API provider to use, if omitted and the url option is set the default provider will be used. */ | ||
provider?: APIProvider | ||
/** URL to the API node to use, only used if the provider option is not set. */ | ||
url?: string | ||
/** API provider to use, if omitted and the url option is set the default provider will be used. */ | ||
provider?: APIProvider | ||
} | ||
@@ -95,3 +91,3 @@ | ||
export class APIClient { | ||
export class BaseAPIClient { | ||
static __className = 'APIClient' | ||
@@ -111,7 +107,2 @@ | ||
v1 = { | ||
chain: new ChainAPI(this), | ||
history: new HistoryAPI(this), | ||
} | ||
async call<T extends ABISerializableConstructor>(args: { | ||
@@ -118,0 +109,0 @@ path: string |
@@ -12,3 +12,2 @@ // chain types | ||
export * from './api/provider' | ||
export * as API from './api/types' | ||
@@ -15,0 +14,0 @@ // p2p |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
91
870322
51
16217