@ardrive/turbo-sdk 1.38.0 → 1.38.1
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 +5 -1
- package/lib/cjs/version.js +1 -1
- package/lib/esm/version.js +1 -1
- package/lib/types/version.d.ts +1 -1
- package/package.json +3 -7
- package/bundles/web.bundle.min.js +0 -305133
package/README.md
CHANGED
|
@@ -149,15 +149,19 @@ const rates = await turbo.getFiatRates();
|
|
|
149
149
|
|
|
150
150
|
#### Browser
|
|
151
151
|
|
|
152
|
+
The web bundle is available as a GitHub release artifact. You can reference it directly via jsDelivr CDN:
|
|
153
|
+
|
|
152
154
|
```html
|
|
153
155
|
<script type="module">
|
|
154
|
-
import { TurboFactory } from 'https://
|
|
156
|
+
import { TurboFactory } from 'https://cdn.jsdelivr.net/gh/ardriveapp/turbo-sdk@latest/bundles/web.bundle.min.js';
|
|
155
157
|
|
|
156
158
|
const turbo = TurboFactory.unauthenticated();
|
|
157
159
|
const rates = await turbo.getFiatRates();
|
|
158
160
|
</script>
|
|
159
161
|
```
|
|
160
162
|
|
|
163
|
+
Or download the bundle from [GitHub Releases](https://github.com/ardriveapp/turbo-sdk/releases) and serve it locally.
|
|
164
|
+
|
|
161
165
|
### NodeJS
|
|
162
166
|
|
|
163
167
|
#### CommonJS
|
package/lib/cjs/version.js
CHANGED
package/lib/esm/version.js
CHANGED
package/lib/types/version.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ardrive/turbo-sdk",
|
|
3
|
-
"version": "1.38.
|
|
3
|
+
"version": "1.38.1",
|
|
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",
|
|
7
|
-
"browser": "./bundles/web.bundle.min.js",
|
|
8
7
|
"type": "module",
|
|
9
8
|
"repository": {
|
|
10
9
|
"type": "git",
|
|
@@ -12,7 +11,6 @@
|
|
|
12
11
|
},
|
|
13
12
|
"files": [
|
|
14
13
|
"lib",
|
|
15
|
-
"bundles",
|
|
16
14
|
"LICENSE",
|
|
17
15
|
"README.md"
|
|
18
16
|
],
|
|
@@ -25,8 +23,7 @@
|
|
|
25
23
|
".": {
|
|
26
24
|
"import": "./lib/esm/node/index.js",
|
|
27
25
|
"require": "./lib/cjs/node/index.js",
|
|
28
|
-
"types": "./lib/types/node/index.d.ts"
|
|
29
|
-
"browser": "./bundles/web.bundle.min.js"
|
|
26
|
+
"types": "./lib/types/node/index.d.ts"
|
|
30
27
|
},
|
|
31
28
|
"./node": {
|
|
32
29
|
"import": "./lib/esm/node/index.js",
|
|
@@ -36,8 +33,7 @@
|
|
|
36
33
|
"./web": {
|
|
37
34
|
"import": "./lib/esm/web/index.js",
|
|
38
35
|
"require": "./lib/cjs/web/index.js",
|
|
39
|
-
"types": "./lib/types/web/index.d.ts"
|
|
40
|
-
"browser": "./bundles/web.bundle.min.js"
|
|
36
|
+
"types": "./lib/types/web/index.d.ts"
|
|
41
37
|
}
|
|
42
38
|
},
|
|
43
39
|
"bin": {
|