@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 CHANGED
@@ -102,8 +102,9 @@ const rates = await turbo.getFiatRates();
102
102
  #### Browser
103
103
 
104
104
  ```html
105
- <script src="https://cdn.jsdelivr.net/npm/@ardrive/turbo-sdk"></script>
106
- <script>
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>
@@ -15,4 +15,4 @@
15
15
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
16
16
  */
17
17
  // AUTOMATICALLY GENERATED FILE - DO NOT TOUCH
18
- export const version = '1.0.0';
18
+ export const version = '1.0.1-alpha.2';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ardrive/turbo-sdk",
3
- "version": "1.0.1-alpha.1",
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": "yarn build:web && cp -r bundles/* examples/web && http-server --port 8080 --host -o examples/web"
63
+ "example:web": "http-server --port 8080 --host -o examples/web"
64
64
  },
65
65
  "dependencies": {
66
66
  "arbundles": "^0.9.9",