@ardrive/turbo-sdk 1.0.1-alpha.1 → 1.0.1-alpha.2
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 +3 -2
- package/lib/esm/version.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
@@ -102,8 +102,9 @@ const rates = await turbo.getFiatRates();
|
|
102
102
|
#### Browser
|
103
103
|
|
104
104
|
```html
|
105
|
-
<script
|
106
|
-
|
105
|
+
<script type="module">
|
106
|
+
import { TurboFactory } from 'https://unpkg.com/@ardrive/turbo-sdk';
|
107
|
+
|
107
108
|
const turbo = TurboFactory.unauthenticated();
|
108
109
|
const rates = await turbo.getFiatRates();
|
109
110
|
</script>
|
package/lib/esm/version.js
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ardrive/turbo-sdk",
|
3
|
-
"version": "1.0.1-alpha.
|
3
|
+
"version": "1.0.1-alpha.2",
|
4
4
|
"main": "./lib/cjs/node/index.js",
|
5
5
|
"types": "./lib/types/node/index.d.ts",
|
6
6
|
"module": "./lib/esm/node/index.js",
|
@@ -60,7 +60,7 @@
|
|
60
60
|
"prepare": "husky install",
|
61
61
|
"example:mjs": "cd examples/mjs && yarn && node index.mjs",
|
62
62
|
"example:cjs": "cd examples/cjs && yarn && node index.cjs",
|
63
|
-
"example:web": "
|
63
|
+
"example:web": "http-server --port 8080 --host -o examples/web"
|
64
64
|
},
|
65
65
|
"dependencies": {
|
66
66
|
"arbundles": "^0.9.9",
|