@ardrive/turbo-sdk 1.14.0-alpha.1 → 1.14.0-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 +15 -0
- package/bundles/web.bundle.min.js +9721 -15515
- package/lib/cjs/cli/cli.js +4 -13
- package/lib/cjs/cli/commands.js +25 -12
- package/lib/cjs/cli/options.js +7 -2
- package/lib/cjs/cli/types.js +16 -0
- package/lib/cjs/cli/utils.js +17 -5
- package/lib/cjs/common/signer.js +1 -1
- package/lib/cjs/common/token/arweave.js +10 -5
- package/lib/cjs/common/token/kyve.js +1 -1
- package/lib/cjs/node/factory.js +1 -1
- package/lib/cjs/node/signer.js +1 -1
- package/lib/cjs/utils/common.js +1 -1
- package/lib/cjs/version.js +1 -1
- package/lib/cjs/web/factory.js +1 -1
- package/lib/cjs/web/signer.js +1 -1
- package/lib/esm/cli/cli.js +7 -16
- package/lib/esm/cli/commands.js +25 -13
- package/lib/esm/cli/options.js +6 -1
- package/lib/esm/cli/types.js +16 -0
- package/lib/esm/cli/utils.js +17 -6
- package/lib/esm/common/signer.js +1 -1
- package/lib/esm/common/token/arweave.js +10 -5
- package/lib/esm/common/token/kyve.js +1 -1
- package/lib/esm/node/factory.js +1 -1
- package/lib/esm/node/signer.js +1 -1
- package/lib/esm/utils/common.js +1 -1
- package/lib/esm/version.js +1 -1
- package/lib/esm/web/factory.js +1 -1
- package/lib/esm/web/signer.js +1 -1
- package/lib/types/cli/commands.d.ts +3 -9
- package/lib/types/cli/commands.d.ts.map +1 -1
- package/lib/types/cli/options.d.ts +19 -2
- package/lib/types/cli/options.d.ts.map +1 -1
- package/lib/types/cli/types.d.ts +8 -3
- package/lib/types/cli/types.d.ts.map +1 -1
- package/lib/types/cli/utils.d.ts +3 -2
- package/lib/types/cli/utils.d.ts.map +1 -1
- package/lib/types/common/token/arweave.d.ts +1 -1
- package/lib/types/common/token/arweave.d.ts.map +1 -1
- package/lib/types/node/signer.d.ts +1 -1
- package/lib/types/node/signer.d.ts.map +1 -1
- package/lib/types/types.d.ts +1 -1
- package/lib/types/types.d.ts.map +1 -1
- package/lib/types/utils/common.d.ts.map +1 -1
- package/lib/types/version.d.ts +1 -1
- package/lib/types/version.d.ts.map +1 -1
- package/lib/types/web/signer.d.ts +1 -1
- package/lib/types/web/signer.d.ts.map +1 -1
- package/package.json +4 -3
package/README.md
CHANGED
@@ -70,6 +70,7 @@ Welcome to the `@ardrive/turbo-sdk`! This SDK provides functionality for interac
|
|
70
70
|
- [`top-up`](#top-up)
|
71
71
|
- [`crypto-fund`](#crypto-fund)
|
72
72
|
- [`upload-folder`](#upload-folder)
|
73
|
+
- [`upload-file`](#upload-file)
|
73
74
|
- [Developers](#developers)
|
74
75
|
- [Requirements](#requirements)
|
75
76
|
- [Setup & Build](#setup--build)
|
@@ -756,6 +757,20 @@ e.g:
|
|
756
757
|
turbo upload-folder --folder-path '../path/to/my/folder' --token solana --wallet-file ../path/to/sol/sec/key.json
|
757
758
|
```
|
758
759
|
|
760
|
+
##### `upload-file`
|
761
|
+
|
762
|
+
Upload a file to the Turbo Upload Service.
|
763
|
+
|
764
|
+
Command Options:
|
765
|
+
|
766
|
+
- `-f, --file-path <filePath>` - Path to the file to upload
|
767
|
+
|
768
|
+
e.g:
|
769
|
+
|
770
|
+
```shell
|
771
|
+
turbo upload-file --file-path '../path/to/my/file.txt' --token ethereum --wallet-file ../path/to/eth/private/key.txt
|
772
|
+
```
|
773
|
+
|
759
774
|
## Developers
|
760
775
|
|
761
776
|
### Requirements
|