Skip to content

Commit effb120

Browse files
committed
removed symbols
1 parent 6e89f4a commit effb120

File tree

4 files changed

+2
-783
lines changed

4 files changed

+2
-783
lines changed

README.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,10 @@ console.log(price.timestamp); // the exact timestamp of the price
7272
You can use a `symbols` object to explore all available symbols right in the code.
7373
```js
7474
import redstone from 'redstone-api';
75-
const { symbols } = redstone;
7675

77-
const price = await redstone.getPrice(symbols.AR);
76+
const price = await redstone.getPrice("AR");
7877
```
79-
![redstone code example](docs/redstone-symbols-example.gif)
78+
<!-- ![redstone code example](docs/redstone-symbols-example.gif) -->
8079

8180
<br/>
8281

__tests__/get-price-from-arweave.test.ts

-77
This file was deleted.

src/index.ts

-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
import Api from "./api";
22
import Query from "./query";
3-
import symbols from "./symbols";
43

54
class Redstone extends Api {
65
query = Query;
7-
symbols = symbols;
86
Api = Api;
97

108
constructor(opts?: any) {

0 commit comments

Comments
 (0)