@witnet/sdk 1.2.6 → 1.2.7

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/README.md CHANGED
@@ -1,17 +1,17 @@
1
- # Witnet SDK and CLI tools
1
+ # Witnet Javascript SDK and CLI tools
2
2
 
3
- > The **Witnet SDK** empowers devops and Web3 developers to seamlessly interact with the Witnet blockchain.
3
+ > Typescript library and CLI tooling for Web3 buidlers willing to interact with the Witnet blockchain.
4
+ > The **Witnet Javascript SDK** empowers devops and Web3 developers to seamlessly interact with the Witnet blockchain.
4
5
 
5
6
  ## ✨ Overview
6
7
 
7
- Users of the Witnet SDK library or the embedded CLI tools, will be able to:
8
+ Users of the Witnet Javascript library or the embedded CLI tools, will be able to:
8
9
 
9
10
  - 👛 Create self-custody HD-wallets to hold and transact with $WIT coins.
10
11
  - 🌱 Stake and withdraw $WIT coins into and from Witnet validators.
11
12
  - 🧮 Build oracle queries adapted to all sorts of data sources and use cases.
12
13
  - 🩺 Simulate resolution of oracle queries, locally and at no cost.
13
14
  - 🧑‍⚖️ Notarize resolution of oracle queries on the Witnet blockchain.
14
- - 📰 Report resolution of oracle queries into smart contracts.
15
15
  - ⛓️ Check dynamic information on the Witnet P2P network.
16
16
  - 🔎 Explore public data on the Witnet blockchain.
17
17
  - 🪪 Generate legit stake-authorization codes for external customers.
@@ -32,11 +32,13 @@ $ npm install --save-dev @witnet/sdk`
32
32
  ```
33
33
  - Import from Javascript:
34
34
  ```javascript
35
- const { assets, utils, Witnet } = require("@witnet/sdk")`
35
+ const { requests, modals } = require("@witnet/sdk/assets")
36
+ const { utils, Witnet } = require("@witnet/sdk")
36
37
  ```
37
38
  - Import from Typescript:
38
39
  ```typescript
39
- import { assets, utils, Witnet } from "@witnet/sdk"
40
+ import { requests, modals } from "@witnet/sdk/assets"
41
+ import { utils, Witnet } from "@witnet/sdk"
40
42
  ```
41
43
 
42
44
  ## ⚙️ Requirements
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@witnet/sdk",
3
- "version": "1.2.6",
3
+ "version": "1.2.7",
4
4
  "description": "Typescript library and CLI tooling for Web3 buidlers willing to interact with the Witnet blockchain.",
5
5
  "author": "Witnet Foundation",
6
6
  "license": "MIT",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@witnet/sdk",
3
- "version": "1.2.6",
3
+ "version": "1.2.7",
4
4
  "description": "Typescript library and CLI tooling for Web3 buidlers willing to interact with the Witnet blockchain.",
5
5
  "author": "Witnet Foundation",
6
6
  "license": "MIT",