@augustdigital/sdk 2.0.3 → 2.1.0

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
@@ -2,4 +2,22 @@
2
2
 
3
3
  This repo serves as the JS SDK powering the August Digital ecosystem that can easily be used in your web app.
4
4
 
5
- #### In progress
5
+ ** Note: there is not much logic found in this repo. Simply a centralized location that exports all other packages' logic. **
6
+
7
+ ## Available Modules
8
+
9
+ This repo, by default, exports the SDK class in addition to other helpful, stand-alone methods and variables that are commonly used.
10
+
11
+ The default exported class is primarily used to fetch data respective to your initialization configuration.
12
+
13
+ Other stand-alone methods and variables are also exported including all items from "@augustdigital/utils". Additionally, all ABIs and interfaces are exported from here with "ABI\_" and "I" prefixes.
14
+
15
+ ## Usage
16
+
17
+ Default exported class initialization and then fetching a lending pool:
18
+
19
+ ```javascript
20
+ import AugustDigitalSDK from '@augustdigital/sdk';
21
+
22
+ await new AugustDigitalSDK(config).pools.getPool(POOL_ADDRESS);
23
+ ```
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src.ts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,uDAAqC;AACrC,sDAAoC;AAEpC,gDAA2D;AAC9C,QAAA,cAAc,GAAG,2BAAmB,CAAC;AAElD,iCAAmC;AACnC,kBAAe,gBAAS,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src.ts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAGA,uDAAqC;AACrC,uDAAqC;AACrC,sDAAoC;AAKpC,gDAA2D;AAC9C,QAAA,cAAc,GAAG,2BAAmB,CAAC;AAKlD,iCAAmC;AACnC,kBAAe,gBAAS,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@augustdigital/sdk",
3
- "version": "2.0.3",
3
+ "version": "2.1.0",
4
4
  "main": "lib/index.js",
5
5
  "keywords": [
6
6
  "augustdigital",
@@ -27,8 +27,8 @@
27
27
  "ethers": "^6.13.1",
28
28
  "upshift-earn-app": "link:/Users/angellolazar/Desktop/dev/august/upshift-app",
29
29
  "@augustdigital/abis": "^2.1.2",
30
- "@augustdigital/pools": "^2.0.3",
31
- "@augustdigital/types": "^2.0.0",
30
+ "@augustdigital/pools": "^2.0.4",
31
+ "@augustdigital/types": "^2.0.1",
32
32
  "@augustdigital/utils": "^2.1.2"
33
33
  },
34
34
  "devDependencies": {