@ar.io/sdk 3.11.0-alpha.5 → 3.11.0-alpha.6

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.
@@ -51,6 +51,10 @@ class ARIO {
51
51
  ...config,
52
52
  process: new ao_process_js_1.AOProcess({
53
53
  processId: constants_js_1.ARIO_MAINNET_PROCESS_ID,
54
+ ao: (0, aoconnect_1.connect)({
55
+ CU_URL: 'https://cu.ardrive.io',
56
+ ...config?.process?.ao,
57
+ }),
54
58
  }),
55
59
  });
56
60
  }
@@ -17,4 +17,4 @@
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
18
  exports.version = void 0;
19
19
  // AUTOMATICALLY GENERATED FILE - DO NOT TOUCH
20
- exports.version = '3.11.0-alpha.5';
20
+ exports.version = '3.11.0-alpha.6';
@@ -48,6 +48,10 @@ export class ARIO {
48
48
  ...config,
49
49
  process: new AOProcess({
50
50
  processId: ARIO_MAINNET_PROCESS_ID,
51
+ ao: connect({
52
+ CU_URL: 'https://cu.ardrive.io',
53
+ ...config?.process?.ao,
54
+ }),
51
55
  }),
52
56
  });
53
57
  }
@@ -14,4 +14,4 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  // AUTOMATICALLY GENERATED FILE - DO NOT TOUCH
17
- export const version = '3.11.0-alpha.5';
17
+ export const version = '3.11.0-alpha.6';
@@ -9,12 +9,8 @@ export declare class ARIO {
9
9
  static init(config: ARIOConfigWithSigner): AoARIOWrite;
10
10
  static init(config: ARIOConfigNoSigner): AoARIORead;
11
11
  static mainnet(): AoARIORead;
12
- static mainnet(config: ARIOConfigNoSigner & {
13
- faucetUrl?: string;
14
- }): AoARIORead;
15
- static mainnet(config: ARIOConfigWithSigner & {
16
- faucetUrl?: string;
17
- }): AoARIOWrite;
12
+ static mainnet(config: ARIOConfigNoSigner): AoARIORead;
13
+ static mainnet(config: ARIOConfigWithSigner): AoARIOWrite;
18
14
  static testnet(): ARIOWithFaucet<AoARIORead>;
19
15
  static testnet(config: ARIOConfigNoSigner & {
20
16
  faucetUrl?: string;
@@ -13,4 +13,4 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- export declare const version = "3.11.0-alpha.4";
16
+ export declare const version = "3.11.0-alpha.5";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ar.io/sdk",
3
- "version": "3.11.0-alpha.5",
3
+ "version": "3.11.0-alpha.6",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/ar-io/ar-io-sdk.git"
@@ -1,34 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- /**
4
- * Copyright (C) 2022-2024 Permanent Data Solutions, Inc.
5
- *
6
- * Licensed under the Apache License, Version 2.0 (the "License");
7
- * you may not use this file except in compliance with the License.
8
- * You may obtain a copy of the License at
9
- *
10
- * http://www.apache.org/licenses/LICENSE-2.0
11
- *
12
- * Unless required by applicable law or agreed to in writing, software
13
- * distributed under the License is distributed on an "AS IS" BASIS,
14
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
- * See the License for the specific language governing permissions and
16
- * limitations under the License.
17
- */
18
- const commander_1 = require("commander");
19
- const version_js_1 = require("../version.js");
20
- const options_js_1 = require("./options.js");
21
- const utils_js_1 = require("./utils.js");
22
- (0, utils_js_1.applyOptions)(commander_1.program
23
- .name('ar.io')
24
- .version(version_js_1.version)
25
- .description('AR.IO Network CLI')
26
- .helpCommand(true), options_js_1.globalOptions);
27
- (0, utils_js_1.makeCommand)({
28
- name: '',
29
- description: 'Get network info',
30
- action: () => {
31
- console.log('wayfinder');
32
- return Promise.resolve({});
33
- },
34
- });
@@ -1,32 +0,0 @@
1
- /**
2
- * Copyright (C) 2022-2024 Permanent Data Solutions, Inc.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { program } from 'commander';
17
- import { version } from '../version.js';
18
- import { globalOptions } from './options.js';
19
- import { applyOptions, makeCommand } from './utils.js';
20
- applyOptions(program
21
- .name('ar.io')
22
- .version(version)
23
- .description('AR.IO Network CLI')
24
- .helpCommand(true), globalOptions);
25
- makeCommand({
26
- name: '',
27
- description: 'Get network info',
28
- action: () => {
29
- console.log('wayfinder');
30
- return Promise.resolve({});
31
- },
32
- });
@@ -1 +0,0 @@
1
- export {};