@ardrive/turbo-sdk 1.0.1-alpha.1 → 1.0.1-alpha.3

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>
@@ -47309,7 +47309,7 @@ axiosRetry.isRetryableError = isRetryableError;
47309
47309
 
47310
47310
  // src/version.ts
47311
47311
  init_shim();
47312
- var version = "1.0.0";
47312
+ var version = "1.0.1-alpha.2";
47313
47313
 
47314
47314
  // src/utils/axiosClient.ts
47315
47315
  var defaultRequestHeaders = {
@@ -18,4 +18,4 @@
18
18
  Object.defineProperty(exports, "__esModule", { value: true });
19
19
  exports.version = void 0;
20
20
  // AUTOMATICALLY GENERATED FILE - DO NOT TOUCH
21
- exports.version = '1.0.0';
21
+ exports.version = '1.0.1-alpha.3';
@@ -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.3';
@@ -14,5 +14,5 @@
14
14
  * You should have received a copy of the GNU Affero General Public License
15
15
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
16
16
  */
17
- export declare const version = "1.0.0";
17
+ export declare const version = "1.0.1-alpha.2";
18
18
  //# sourceMappingURL=version.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,eAAO,MAAM,OAAO,UAAU,CAAC"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,eAAO,MAAM,OAAO,kBAAkB,CAAC"}
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.3",
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",