@steemit/steem-js 1.0.7 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/types.d.ts CHANGED
@@ -1,14 +1,12 @@
1
1
  export interface SteemConfig {
2
2
  addressPrefix: string;
3
3
  chainId: string;
4
- node: string;
5
4
  nodes: string[];
6
- uri?: string;
7
5
  /**
8
6
  * WebSocket URL
9
7
  * NOTE: WebSocket functionality is currently not supported.
10
8
  * This field is kept for backward compatibility only.
11
- * Please use HTTP transport (via node or uri field) for API calls.
9
+ * Please use HTTP transport (via nodes array) for API calls.
12
10
  */
13
11
  websocket?: string;
14
12
  }
package/dist/umd.d.ts CHANGED
@@ -8,6 +8,7 @@ import * as serializer from './serializer';
8
8
  import * as utils from './utils';
9
9
  import { Buffer as BufferPolyfill } from 'buffer';
10
10
  declare const steem: {
11
+ version: string;
11
12
  config: {
12
13
  set: (options: Record<string, unknown>) => void;
13
14
  get: (key: string) => unknown;
@@ -26,6 +27,7 @@ declare const steem: {
26
27
  sign: (message: string | Buffer, privateKey: string) => string;
27
28
  verify: (message: string | Buffer, signature: string, publicKey: string) => boolean;
28
29
  api: Api;
30
+ Api: typeof Api;
29
31
  auth: typeof auth;
30
32
  broadcast: typeof broadcast;
31
33
  formatter: typeof formatter;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steemit/steem-js",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "description": "Steem blockchain JavaScript/TypeScript library",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",