@ardrive/turbo-sdk 1.8.0 → 1.9.0-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.
@@ -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.8.0-alpha.1";
17
+ export declare const version = "1.9.0-alpha.1";
18
18
  //# sourceMappingURL=version.d.ts.map
@@ -1,9 +1,9 @@
1
1
  import { TurboBaseFactory } from '../common/factory.js';
2
2
  import { TurboAuthenticatedClient } from '../common/index.js';
3
3
  import { TurboDataItemAbstractSigner } from '../common/signer.js';
4
- import { CreditableTokenType, TurboAuthenticatedConfiguration, TurboSigner, TurboWallet } from '../types.js';
4
+ import { TokenType, TurboAuthenticatedConfiguration, TurboSigner, TurboWallet } from '../types.js';
5
5
  export declare class TurboFactory extends TurboBaseFactory {
6
- protected static getSigner(providedSigner: TurboSigner | undefined, providedPrivateKey: TurboWallet | undefined, token: CreditableTokenType): TurboDataItemAbstractSigner;
6
+ protected static getSigner(providedSigner: TurboSigner | undefined, providedPrivateKey: TurboWallet | undefined, token: TokenType): TurboDataItemAbstractSigner;
7
7
  static authenticated({ privateKey, signer: providedSigner, paymentServiceConfig, uploadServiceConfig, token, gatewayUrl, tokenMap, tokenTools, }: TurboAuthenticatedConfiguration): TurboAuthenticatedClient;
8
8
  }
9
9
  //# sourceMappingURL=factory.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"factory.d.ts","sourceRoot":"","sources":["../../../src/web/factory.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EACL,wBAAwB,EAIzB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAAE,2BAA2B,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,EACL,mBAAmB,EACnB,+BAA+B,EAC/B,WAAW,EACX,WAAW,EAEZ,MAAM,aAAa,CAAC;AAGrB,qBAAa,YAAa,SAAQ,gBAAgB;IAChD,SAAS,CAAC,MAAM,CAAC,SAAS,CACxB,cAAc,EAAE,WAAW,GAAG,SAAS,EACvC,kBAAkB,EAAE,WAAW,GAAG,SAAS,EAC3C,KAAK,EAAE,mBAAmB,GACzB,2BAA2B;IAyB9B,MAAM,CAAC,aAAa,CAAC,EACnB,UAAU,EACV,MAAM,EAAE,cAAc,EACtB,oBAAyB,EACzB,mBAAwB,EACxB,KAAK,EACL,UAAU,EACV,QAAQ,EACR,UAAU,GACX,EAAE,+BAA+B;CA+CnC"}
1
+ {"version":3,"file":"factory.d.ts","sourceRoot":"","sources":["../../../src/web/factory.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EACL,wBAAwB,EAIzB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAAE,2BAA2B,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,EACL,SAAS,EACT,+BAA+B,EAC/B,WAAW,EACX,WAAW,EAGZ,MAAM,aAAa,CAAC;AAGrB,qBAAa,YAAa,SAAQ,gBAAgB;IAChD,SAAS,CAAC,MAAM,CAAC,SAAS,CACxB,cAAc,EAAE,WAAW,GAAG,SAAS,EACvC,kBAAkB,EAAE,WAAW,GAAG,SAAS,EAC3C,KAAK,EAAE,SAAS,GACf,2BAA2B;IA+B9B,MAAM,CAAC,aAAa,CAAC,EACnB,UAAU,EACV,MAAM,EAAE,cAAc,EACtB,oBAAyB,EACzB,mBAAwB,EACxB,KAAK,EACL,UAAU,EACV,QAAQ,EACR,UAAU,GACX,EAAE,+BAA+B;CA+CnC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ardrive/turbo-sdk",
3
- "version": "1.8.0",
3
+ "version": "1.9.0-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",
@@ -77,6 +77,7 @@
77
77
  "axios-retry": "^3.7.0",
78
78
  "bignumber.js": "^9.1.2",
79
79
  "bs58": "^5.0.0",
80
+ "ethers": "^6.12.0",
80
81
  "tweetnacl": "^1.0.3",
81
82
  "winston": "^3.10.0"
82
83
  },